| | | |
Offset 170, 162 lines modified | Offset 170, 162 lines modified |
170 | .end·field | 170 | .end·field |
| |
| |
171 | #·direct·methods | 171 | #·direct·methods |
172 | .method·public·constructor·<init>(Landroid/view/View;)V | 172 | .method·public·constructor·<init>(Landroid/view/View;)V |
173 | ····.locals·2 | 173 | ····.locals·2 |
| |
174 | ····.line·129 | 174 | ····.line·131 |
175 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 175 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
176 | ····.line·86 | 176 | ····.line·88 |
177 | ····new-instance·v0,·Ljava/util/HashSet; | 177 | ····new-instance·v0,·Ljava/util/HashSet; |
| |
178 | ····invoke-direct·{v0},·Ljava/util/HashSet;-><init>()V | 178 | ····invoke-direct·{v0},·Ljava/util/HashSet;-><init>()V |
| |
179 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnSearchListeners:Ljava/util/Set; | 179 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnSearchListeners:Ljava/util/Set; |
| |
180 | ····.line·87 | 180 | ····.line·89 |
181 | ····new-instance·v0,·Ljava/util/HashSet; | 181 | ····new-instance·v0,·Ljava/util/HashSet; |
| |
182 | ····invoke-direct·{v0},·Ljava/util/HashSet;-><init>()V | 182 | ····invoke-direct·{v0},·Ljava/util/HashSet;-><init>()V |
| |
183 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnSearchCompletedListeners:Ljava/util/Set; | 183 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnSearchCompletedListeners:Ljava/util/Set; |
| |
184 | ····.line·90 | 184 | ····.line·92 |
185 | ····new-instance·v0,·Ljava/util/HashSet; | 185 | ····new-instance·v0,·Ljava/util/HashSet; |
| |
186 | ····invoke-direct·{v0},·Ljava/util/HashSet;-><init>()V | 186 | ····invoke-direct·{v0},·Ljava/util/HashSet;-><init>()V |
| |
187 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnBackListeners:Ljava/util/Set; | 187 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnBackListeners:Ljava/util/Set; |
| |
188 | ····.line·91 | 188 | ····.line·93 |
189 | ····new-instance·v0,·Ljava/util/HashSet; | 189 | ····new-instance·v0,·Ljava/util/HashSet; |
| |
190 | ····invoke-direct·{v0},·Ljava/util/HashSet;-><init>()V | 190 | ····invoke-direct·{v0},·Ljava/util/HashSet;-><init>()V |
| |
191 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnTabSelectedListeners:Ljava/util/Set; | 191 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnTabSelectedListeners:Ljava/util/Set; |
| |
192 | ····.line·92 | 192 | ····.line·94 |
193 | ····new-instance·v0,·Ljava/util/HashSet; | 193 | ····new-instance·v0,·Ljava/util/HashSet; |
| |
194 | ····invoke-direct·{v0},·Ljava/util/HashSet;-><init>()V | 194 | ····invoke-direct·{v0},·Ljava/util/HashSet;-><init>()V |
| |
195 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnHeightChangedListeners:Ljava/util/Set; | 195 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnHeightChangedListeners:Ljava/util/Set; |
| |
196 | ····const/4·v0,·0x0 | 196 | ····const/4·v0,·0x0 |
| |
197 | ····.line·96 | 197 | ····.line·98 |
198 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mShowTabsInSubpage:Z | 198 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mShowTabsInSubpage:Z |
| |
199 | ····.line·97 | 199 | ····.line·99 |
200 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mHasLogo:Z | 200 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mHasLogo:Z |
| |
201 | ····.line·99 | 201 | ····.line·101 |
202 | ····sget-object·v1,·Lcom/android/car/ui/toolbar/Toolbar$State;->HOME:Lcom/android/car/ui/toolbar/Toolbar$State; | 202 | ····sget-object·v1,·Lcom/android/car/ui/toolbar/Toolbar$State;->HOME:Lcom/android/car/ui/toolbar/Toolbar$State; |
| |
203 | ····iput-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mState:Lcom/android/car/ui/toolbar/Toolbar$State; | 203 | ····iput-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mState:Lcom/android/car/ui/toolbar/Toolbar$State; |
| |
204 | ····.line·100 | 204 | ····.line·102 |
205 | ····sget-object·v1,·Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;->BACK:Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode; | 205 | ····sget-object·v1,·Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;->BACK:Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode; |
| |
206 | ····iput-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mNavButtonMode:Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode; | 206 | ····iput-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mNavButtonMode:Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode; |
| |
207 | ····.line·102 | 207 | ····.line·104 |
208 | ····invoke-static·{},·Ljava/util/Collections;->emptyList()Ljava/util/List; | 208 | ····invoke-static·{},·Ljava/util/Collections;->emptyList()Ljava/util/List; |
| |
209 | ····move-result-object·v1 | 209 | ····move-result-object·v1 |
| |
210 | ····iput-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItems:Ljava/util/List; | 210 | ····iput-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItems:Ljava/util/List; |
| |
211 | ····.line·103 | 211 | ····.line·105 |
212 | ····new-instance·v1,·Ljava/util/ArrayList; | 212 | ····new-instance·v1,·Ljava/util/ArrayList; |
| |
213 | ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V | 213 | ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V |
| |
214 | ····iput-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowItems:Ljava/util/List; | 214 | ····iput-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowItems:Ljava/util/List; |
| |
215 | ····.line·104 | 215 | ····.line·106 |
216 | ····new-instance·v1,·Ljava/util/ArrayList; | 216 | ····new-instance·v1,·Ljava/util/ArrayList; |
| |
217 | ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V | 217 | ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V |
| |
218 | ····iput-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mUiOverflowItems:Ljava/util/List; | 218 | ····iput-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mUiOverflowItems:Ljava/util/List; |
| |
219 | ····.line·106 | 219 | ····.line·108 |
220 | ····new-instance·v1,·Ljava/util/ArrayList; | 220 | ····new-instance·v1,·Ljava/util/ArrayList; |
| |
221 | ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V | 221 | ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V |
| |
222 | ····iput-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemRenderers:Ljava/util/List; | 222 | ····iput-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemRenderers:Ljava/util/List; |
| |
223 | ····.line·108 | 223 | ····.line·110 |
224 | ····iput·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemsXmlId:I | 224 | ····iput·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemsXmlId:I |
| |
225 | ····.line·114 | 225 | ····.line·116 |
226 | ····new-instance·v0,·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$1IOFQtCJ5rtG6IDzmeG4aoQaKKw; | 226 | ····new-instance·v0,·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$1IOFQtCJ5rtG6IDzmeG4aoQaKKw; |
| |
227 | ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$1IOFQtCJ5rtG6IDzmeG4aoQaKKw;-><init>(Lcom/android/car/ui/toolbar/ToolbarControllerImpl;)V | 227 | ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$1IOFQtCJ5rtG6IDzmeG4aoQaKKw;-><init>(Lcom/android/car/ui/toolbar/ToolbarControllerImpl;)V |
| |
228 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowItemListener:Lcom/android/car/ui/toolbar/MenuItem$Listener; | 228 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowItemListener:Lcom/android/car/ui/toolbar/MenuItem$Listener; |
| |
229 | ····.line·121 | 229 | ····.line·123 |
230 | ····new-instance·v0,·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$XuH-he7uMvOrHcAZyCrw8AehzNg; | 230 | ····new-instance·v0,·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$XuH-he7uMvOrHcAZyCrw8AehzNg; |
| |
231 | ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$XuH-he7uMvOrHcAZyCrw8AehzNg;-><init>(Lcom/android/car/ui/toolbar/ToolbarControllerImpl;)V | 231 | ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$XuH-he7uMvOrHcAZyCrw8AehzNg;-><init>(Lcom/android/car/ui/toolbar/ToolbarControllerImpl;)V |
| |
232 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnUxRestrictionsChangedListener:Lcom/android/car/ui/utils/CarUxRestrictionsUtil$OnUxRestrictionsChangedListener; | 232 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnUxRestrictionsChangedListener:Lcom/android/car/ui/utils/CarUxRestrictionsUtil$OnUxRestrictionsChangedListener; |
| |
233 | ····.line·130 | 233 | ····.line·132 |
234 | ····invoke-virtual·{p1},·Landroid/view/View;->getContext()Landroid/content/Context; | 234 | ····invoke-virtual·{p1},·Landroid/view/View;->getContext()Landroid/content/Context; |
| |
235 | ····move-result-object·v0 | 235 | ····move-result-object·v0 |
| |
236 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mContext:Landroid/content/Context; | 236 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mContext:Landroid/content/Context; |
| |
237 | ····.line·131 | 237 | ····.line·133 |
238 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; | 238 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; |
| |
239 | ····move-result-object·v0 | 239 | ····move-result-object·v0 |
| |
240 | ····invoke-static·{v0},·Lcom/android/car/ui/toolbar/MenuItem;->builder(Landroid/content/Context;)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 240 | ····invoke-static·{v0},·Lcom/android/car/ui/toolbar/MenuItem;->builder(Landroid/content/Context;)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
241 | ····move-result-object·v0 | 241 | ····move-result-object·v0 |
| |
242 | ····sget·v1,·Lcom/android/car/ui/R$drawable;->car_ui_icon_overflow_menu:I | 242 | ····sget·v1,·Lcom/android/car/ui/R$drawable;->car_ui_icon_overflow_menu:I |
| |
243 | ····.line·132 | 243 | ····.line·134 |
244 | ····invoke-virtual·{v0,·v1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setIcon(I)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 244 | ····invoke-virtual·{v0,·v1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setIcon(I)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
245 | ····move-result-object·v0 | 245 | ····move-result-object·v0 |
| |
246 | ····sget·v1,·Lcom/android/car/ui/R$string;->car_ui_toolbar_menu_item_overflow_title:I | 246 | ····sget·v1,·Lcom/android/car/ui/R$string;->car_ui_toolbar_menu_item_overflow_title:I |
| |
247 | ····.line·133 | 247 | ····.line·135 |
248 | ····invoke-virtual·{v0,·v1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setTitle(I)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 248 | ····invoke-virtual·{v0,·v1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setTitle(I)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
249 | ····move-result-object·v0 | 249 | ····move-result-object·v0 |
| |
250 | ····new-instance·v1,·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$oO5mRdAg3c9VhIPnkrwlE9PbRrU; | 250 | ····new-instance·v1,·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$oO5mRdAg3c9VhIPnkrwlE9PbRrU; |
| |
251 | ····invoke-direct·{v1,·p0},·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$oO5mRdAg3c9VhIPnkrwlE9PbRrU;-><init>(Lcom/android/car/ui/toolbar/ToolbarControllerImpl;)V | 251 | ····invoke-direct·{v1,·p0},·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$oO5mRdAg3c9VhIPnkrwlE9PbRrU;-><init>(Lcom/android/car/ui/toolbar/ToolbarControllerImpl;)V |
| |
252 | ····.line·134 | 252 | ····.line·136 |
253 | ····invoke-virtual·{v0,·v1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setOnClickListener(Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 253 | ····invoke-virtual·{v0,·v1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setOnClickListener(Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
254 | ····move-result-object·v0 | 254 | ····move-result-object·v0 |
| |
255 | ····.line·143 | 255 | ····.line·145 |
256 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->build()Lcom/android/car/ui/toolbar/MenuItem; | 256 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->build()Lcom/android/car/ui/toolbar/MenuItem; |
| |
257 | ····move-result-object·v0 | 257 | ····move-result-object·v0 |
| |
258 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowButton:Lcom/android/car/ui/toolbar/MenuItem; | 258 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowButton:Lcom/android/car/ui/toolbar/MenuItem; |
| |
259 | ····.line·145 | 259 | ····.line·147 |
260 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; | 260 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; |
| |
261 | ····move-result-object·v0 | 261 | ····move-result-object·v0 |
| |
262 | ····invoke-virtual·{v0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 262 | ····invoke-virtual·{v0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
263 | ····move-result-object·v0 | 263 | ····move-result-object·v0 |
Offset 334, 15 lines modified | Offset 334, 15 lines modified |
| |
334 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z | 334 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z |
| |
335 | ····move-result·v0 | 335 | ····move-result·v0 |
| |
336 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mIsTabsInSecondRow:Z | 336 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mIsTabsInSecondRow:Z |
| |
337 | ····.line·147 | 337 | ····.line·149 |
338 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; | 338 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; |
| |
339 | ····move-result-object·v0 | 339 | ····move-result-object·v0 |
| |
340 | ····invoke-virtual·{v0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 340 | ····invoke-virtual·{v0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
341 | ····move-result-object·v0 | 341 | ····move-result-object·v0 |
Offset 351, 15 lines modified | Offset 351, 15 lines modified |
| |
351 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z | 351 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z |
| |
352 | ····move-result·v0 | 352 | ····move-result·v0 |
| |
353 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mNavIconSpaceReserved:Z | 353 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mNavIconSpaceReserved:Z |
| |
354 | ····.line·149 | 354 | ····.line·151 |
355 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; | 355 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; |
| |
356 | ····move-result-object·v0 | 356 | ····move-result-object·v0 |
| |
357 | ····invoke-virtual·{v0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 357 | ····invoke-virtual·{v0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
358 | ····move-result-object·v0 | 358 | ····move-result-object·v0 |
Offset 368, 15 lines modified | Offset 368, 15 lines modified |
| |
368 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z | 368 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z |
| |
369 | ····move-result·v0 | 369 | ····move-result·v0 |
| |
370 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mLogoFillsNavIconSpace:Z | 370 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mLogoFillsNavIconSpace:Z |
| |
371 | ····.line·151 | 371 | ····.line·153 |
372 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; | 372 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; |
| |
373 | ····move-result-object·v0 | 373 | ····move-result-object·v0 |
| |
374 | ····invoke-virtual·{v0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 374 | ····invoke-virtual·{v0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
375 | ····move-result-object·v0 | 375 | ····move-result-object·v0 |
Offset 385, 235 lines modified | Offset 385, 239 lines modified |
| |
385 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z | 385 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z |
| |
386 | ····move-result·v0 | 386 | ····move-result·v0 |
| |
387 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mShowLogo:Z | 387 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mShowLogo:Z |
| |
388 | ····.line·153 | 388 | ····.line·155 |
389 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; | 389 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; |
| |
390 | ····move-result-object·v0 | 390 | ····move-result-object·v0 |
| |
391 | ····sget·v1,·Lcom/android/car/ui/R$string;->car_ui_toolbar_default_search_hint:I | 391 | ····sget·v1,·Lcom/android/car/ui/R$string;->car_ui_toolbar_default_search_hint:I |
| |
392 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getString(I)Ljava/lang/String; | 392 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getString(I)Ljava/lang/String; |
| |
393 | ····move-result-object·v0 | 393 | ····move-result-object·v0 |
| |
394 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mSearchHint:Ljava/lang/CharSequence; | 394 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mSearchHint:Ljava/lang/CharSequence; |
| |
395 | ····.line·155 | 395 | ····.line·157 |
396 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_background:I | 396 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_background:I |
| |
397 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 397 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->findViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
398 | ····move-result-object·v0 | 398 | ····move-result-object·v0 |
| |
399 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mBackground:Landroid/view/View; | 399 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mBackground:Landroid/view/View; |
| |
400 | ····.line·156 | 400 | ····.line·158 |
401 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_tabs:I | 401 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_tabs:I |
| |
402 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 402 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
403 | ····move-result-object·v0 | 403 | ····move-result-object·v0 |
| |
404 | ····check-cast·v0,·Lcom/android/car/ui/toolbar/TabLayout; | 404 | ····check-cast·v0,·Lcom/android/car/ui/toolbar/TabLayout; |
| |
405 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mTabLayout:Lcom/android/car/ui/toolbar/TabLayout; | 405 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mTabLayout:Lcom/android/car/ui/toolbar/TabLayout; |
| |
406 | ····.line·157 | 406 | ····.line·159 |
407 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_nav_icon:I | 407 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_nav_icon:I |
| |
408 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 408 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
409 | ····move-result-object·v0 | 409 | ····move-result-object·v0 |
| |
410 | ····check-cast·v0,·Landroid/widget/ImageView; | 410 | ····check-cast·v0,·Landroid/widget/ImageView; |
| |
411 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mNavIcon:Landroid/widget/ImageView; | 411 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mNavIcon:Landroid/widget/ImageView; |
| |
412 | ····.line·158 | 412 | ····.line·160 |
413 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_logo:I | 413 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_logo:I |
| |
414 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 414 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
415 | ····move-result-object·v0 | 415 | ····move-result-object·v0 |
| |
416 | ····check-cast·v0,·Landroid/widget/ImageView; | 416 | ····check-cast·v0,·Landroid/widget/ImageView; |
| |
417 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mLogoInNavIconSpace:Landroid/widget/ImageView; | 417 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mLogoInNavIconSpace:Landroid/widget/ImageView; |
| |
418 | ····.line·159 | 418 | ····.line·161 |
419 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_nav_icon_container:I | 419 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_nav_icon_container:I |
| |
420 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 420 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
421 | ····move-result-object·v0 | 421 | ····move-result-object·v0 |
| |
422 | ····check-cast·v0,·Landroid/view/ViewGroup; | 422 | ····check-cast·v0,·Landroid/view/ViewGroup; |
| |
423 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mNavIconContainer:Landroid/view/ViewGroup; | 423 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mNavIconContainer:Landroid/view/ViewGroup; |
| |
424 | ····.line·160 | 424 | ····.line·162 |
425 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_menu_items_container:I | 425 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_menu_items_container:I |
| |
426 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 426 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
427 | ····move-result-object·v0 | 427 | ····move-result-object·v0 |
| |
428 | ····check-cast·v0,·Landroid/view/ViewGroup; | 428 | ····check-cast·v0,·Landroid/view/ViewGroup; |
| |
429 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemsContainer:Landroid/view/ViewGroup; | 429 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemsContainer:Landroid/view/ViewGroup; |
| |
430 | ····.line·161 | 430 | ····.line·163 |
431 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_title_container:I | 431 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_title_container:I |
| |
432 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 432 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
433 | ····move-result-object·v0 | 433 | ····move-result-object·v0 |
| |
434 | ····check-cast·v0,·Landroid/view/ViewGroup; | 434 | ····check-cast·v0,·Landroid/view/ViewGroup; |
| |
435 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mTitleContainer:Landroid/view/ViewGroup; | 435 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mTitleContainer:Landroid/view/ViewGroup; |
| |
436 | ····.line·162 | 436 | ····.line·164 |
437 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_subtitle:I | 437 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_subtitle:I |
| |
438 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 438 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
439 | ····move-result-object·v0 | 439 | ····move-result-object·v0 |
| |
440 | ····check-cast·v0,·Landroid/widget/TextView; | 440 | ····check-cast·v0,·Landroid/widget/TextView; |
| |
441 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mSubtitle:Landroid/widget/TextView; | 441 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mSubtitle:Landroid/widget/TextView; |
| |
442 | ····.line·163 | 442 | ····.line·165 |
443 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_title:I | 443 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_title:I |
| |
444 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 444 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
445 | ····move-result-object·v0 | 445 | ····move-result-object·v0 |
| |
446 | ····check-cast·v0,·Landroid/widget/TextView; | 446 | ····check-cast·v0,·Landroid/widget/TextView; |
| |
447 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mTitle:Landroid/widget/TextView; | 447 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mTitle:Landroid/widget/TextView; |
| |
448 | ····.line·164 | 448 | ····.line·166 |
449 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_title_logo_container:I | 449 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_title_logo_container:I |
| |
450 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 450 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
451 | ····move-result-object·v0 | 451 | ····move-result-object·v0 |
| |
452 | ····check-cast·v0,·Landroid/view/ViewGroup; | 452 | ····check-cast·v0,·Landroid/view/ViewGroup; |
| |
453 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mTitleLogoContainer:Landroid/view/ViewGroup; | 453 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mTitleLogoContainer:Landroid/view/ViewGroup; |
| |
454 | ····.line·165 | 454 | ····.line·167 |
455 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_title_logo:I | 455 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_title_logo:I |
| |
456 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 456 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
457 | ····move-result-object·v0 | 457 | ····move-result-object·v0 |
| |
458 | ····check-cast·v0,·Landroid/widget/ImageView; | 458 | ····check-cast·v0,·Landroid/widget/ImageView; |
| |
459 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mTitleLogo:Landroid/widget/ImageView; | 459 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mTitleLogo:Landroid/widget/ImageView; |
| |
460 | ····.line·166 | 460 | ····.line·168 |
461 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_search_view_container:I | 461 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_search_view_container:I |
| |
462 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 462 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
463 | ····move-result-object·v0 | 463 | ····move-result-object·v0 |
| |
464 | ····check-cast·v0,·Landroid/widget/FrameLayout; | 464 | ····check-cast·v0,·Landroid/widget/FrameLayout; |
| |
465 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mSearchViewContainer:Landroid/widget/FrameLayout; | 465 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mSearchViewContainer:Landroid/widget/FrameLayout; |
| |
466 | ····.line·167 | 466 | ····.line·169 |
467 | ····new-instance·v0,·Lcom/android/car/ui/toolbar/ProgressBarControllerImpl; | 467 | ····new-instance·v0,·Lcom/android/car/ui/toolbar/ProgressBarControllerImpl; |
| |
468 | ····sget·v1,·Lcom/android/car/ui/R$id;->car_ui_toolbar_progress_bar:I | 468 | ····sget·v1,·Lcom/android/car/ui/R$id;->car_ui_toolbar_progress_bar:I |
| |
469 | ····.line·168 | 469 | ····.line·170 |
470 | ····invoke-static·{p1,·v1},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 470 | ····invoke-static·{p1,·v1},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
471 | ····move-result-object·p1 | 471 | ····move-result-object·p1 |
| |
472 | ····check-cast·p1,·Landroid/widget/ProgressBar; | 472 | ····check-cast·p1,·Landroid/widget/ProgressBar; |
| |
473 | ····invoke-direct·{v0,·p1},·Lcom/android/car/ui/toolbar/ProgressBarControllerImpl;-><init>(Landroid/widget/ProgressBar;)V | 473 | ····invoke-direct·{v0,·p1},·Lcom/android/car/ui/toolbar/ProgressBarControllerImpl;-><init>(Landroid/widget/ProgressBar;)V |
| |
474 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mProgressBar:Lcom/android/car/ui/toolbar/ProgressBarController; | 474 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mProgressBar:Lcom/android/car/ui/toolbar/ProgressBarController; |
| |
475 | ····.line·170 | 475 | ····.line·172 |
476 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mTabLayout:Lcom/android/car/ui/toolbar/TabLayout; | 476 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mTabLayout:Lcom/android/car/ui/toolbar/TabLayout; |
| |
477 | ····new-instance·v0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl$1; | 477 | ····new-instance·v0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl$1; |
| |
478 | ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl$1;-><init>(Lcom/android/car/ui/toolbar/ToolbarControllerImpl;)V | 478 | ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl$1;-><init>(Lcom/android/car/ui/toolbar/ToolbarControllerImpl;)V |
| |
479 | ····invoke-virtual·{p1,·v0},·Lcom/android/car/ui/toolbar/TabLayout;->addListener(Lcom/android/car/ui/toolbar/TabLayout$Listener;)V | 479 | ····invoke-virtual·{p1,·v0},·Lcom/android/car/ui/toolbar/TabLayout;->addListener(Lcom/android/car/ui/toolbar/TabLayout$Listener;)V |
| |
480 | ····.line·179 | 480 | ····.line·181 |
481 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mBackground:Landroid/view/View; | 481 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mBackground:Landroid/view/View; |
| |
| 482 | ····if-eqz·p1,·:cond_0 |
| |
| 483 | ····.line·182 |
482 | ····new-instance·v0,·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$0Shr4D2NlmNQK-0cQlP1vgI1j0c; | 484 | ····new-instance·v0,·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$0Shr4D2NlmNQK-0cQlP1vgI1j0c; |
| |
483 | ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$0Shr4D2NlmNQK-0cQlP1vgI1j0c;-><init>(Lcom/android/car/ui/toolbar/ToolbarControllerImpl;)V | 485 | ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$0Shr4D2NlmNQK-0cQlP1vgI1j0c;-><init>(Lcom/android/car/ui/toolbar/ToolbarControllerImpl;)V |
| |
484 | ····invoke-virtual·{p1,·v0},·Landroid/view/View;->addOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V | 486 | ····invoke-virtual·{p1,·v0},·Landroid/view/View;->addOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V |
| |
| 487 | ····:cond_0 |
485 | ····const/4·p1,·0x1 | 488 | ····const/4·p1,·0x1 |
| |
486 | ····.line·188 | 489 | ····.line·192 |
487 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setBackgroundShown(Z)V | 490 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setBackgroundShown(Z)V |
| |
488 | ····.line·190 | 491 | ····.line·194 |
489 | ····new-instance·p1,·Lcom/android/car/ui/recyclerview/CarUiListItemAdapter; | 492 | ····new-instance·p1,·Lcom/android/car/ui/recyclerview/CarUiListItemAdapter; |
| |
490 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mUiOverflowItems:Ljava/util/List; | 493 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mUiOverflowItems:Ljava/util/List; |
| |
491 | ····invoke-direct·{p1,·v0},·Lcom/android/car/ui/recyclerview/CarUiListItemAdapter;-><init>(Ljava/util/List;)V | 494 | ····invoke-direct·{p1,·v0},·Lcom/android/car/ui/recyclerview/CarUiListItemAdapter;-><init>(Ljava/util/List;)V |
| |
492 | ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowAdapter:Lcom/android/car/ui/recyclerview/CarUiListItemAdapter; | 495 | ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowAdapter:Lcom/android/car/ui/recyclerview/CarUiListItemAdapter; |
| |
493 | ····.line·193 | 496 | ····.line·197 |
494 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; | 497 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; |
| |
495 | ····move-result-object·p1 | 498 | ····move-result-object·p1 |
| |
496 | ····invoke-static·{p1},·Lcom/android/car/ui/utils/CarUxRestrictionsUtil;->getInstance(Landroid/content/Context;)Lcom/android/car/ui/utils/CarUxRestrictionsUtil; | 499 | ····invoke-static·{p1},·Lcom/android/car/ui/utils/CarUxRestrictionsUtil;->getInstance(Landroid/content/Context;)Lcom/android/car/ui/utils/CarUxRestrictionsUtil; |
| |
497 | ····move-result-object·p1 | 500 | ····move-result-object·p1 |
| |
498 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnUxRestrictionsChangedListener:Lcom/android/car/ui/utils/CarUxRestrictionsUtil$OnUxRestrictionsChangedListener; | 501 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnUxRestrictionsChangedListener:Lcom/android/car/ui/utils/CarUxRestrictionsUtil$OnUxRestrictionsChangedListener; |
| |
499 | ····.line·194 | 502 | ····.line·198 |
500 | ····invoke-virtual·{p1,·v0},·Lcom/android/car/ui/utils/CarUxRestrictionsUtil;->register(Lcom/android/car/ui/utils/CarUxRestrictionsUtil$OnUxRestrictionsChangedListener;)V | 503 | ····invoke-virtual·{p1,·v0},·Lcom/android/car/ui/utils/CarUxRestrictionsUtil;->register(Lcom/android/car/ui/utils/CarUxRestrictionsUtil$OnUxRestrictionsChangedListener;)V |
| |
501 | ····return-void | 504 | ····return-void |
502 | .end·method | 505 | .end·method |
| |
503 | .method·static·synthetic·access$000(Lcom/android/car/ui/toolbar/ToolbarControllerImpl;)Ljava/util/Set; | 506 | .method·static·synthetic·access$000(Lcom/android/car/ui/toolbar/ToolbarControllerImpl;)Ljava/util/Set; |
504 | ····.locals·0 | 507 | ····.locals·0 |
| |
505 | ····.line·63 | 508 | ····.line·64 |
506 | ····iget-object·p0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnTabSelectedListeners:Ljava/util/Set; | 509 | ····iget-object·p0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnTabSelectedListeners:Ljava/util/Set; |
| |
507 | ····return-object·p0 | 510 | ····return-object·p0 |
508 | .end·method | 511 | .end·method |
| |
509 | .method·private·countVisibleOverflowItems()I | 512 | .method·private·countVisibleOverflowItems()I |
510 | ····.locals·3 | 513 | ····.locals·3 |
| |
511 | ····.line·581 | 514 | ····.line·593 |
512 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowItems:Ljava/util/List; | 515 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowItems:Ljava/util/List; |
| |
513 | ····invoke-interface·{v0},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 516 | ····invoke-interface·{v0},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
514 | ····move-result-object·v0 | 517 | ····move-result-object·v0 |
| |
515 | ····const/4·v1,·0x0 | 518 | ····const/4·v1,·0x0 |
Offset 628, 15 lines modified | Offset 632, 15 lines modified |
| |
628 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 632 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
629 | ····move-result-object·v2 | 633 | ····move-result-object·v2 |
| |
630 | ····check-cast·v2,·Lcom/android/car/ui/toolbar/MenuItem; | 634 | ····check-cast·v2,·Lcom/android/car/ui/toolbar/MenuItem; |
| |
631 | ····.line·582 | 635 | ····.line·594 |
632 | ····invoke-virtual·{v2},·Lcom/android/car/ui/toolbar/MenuItem;->isVisible()Z | 636 | ····invoke-virtual·{v2},·Lcom/android/car/ui/toolbar/MenuItem;->isVisible()Z |
| |
633 | ····move-result·v2 | 637 | ····move-result·v2 |
| |
634 | ····if-eqz·v2,·:cond_0 | 638 | ····if-eqz·v2,·:cond_0 |
| |
635 | ····add-int/lit8·v1,·v1,·0x1 | 639 | ····add-int/lit8·v1,·v1,·0x1 |
Offset 646, 20 lines modified | Offset 650, 20 lines modified |
646 | ····:cond_1 | 650 | ····:cond_1 |
647 | ····return·v1 | 651 | ····return·v1 |
648 | .end·method | 652 | .end·method |
| |
649 | .method·private·createOverflowDialog()V | 653 | .method·private·createOverflowDialog()V |
650 | ····.locals·3 | 654 | ····.locals·3 |
| |
651 | ····.line·590 | 655 | ····.line·602 |
652 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mUiOverflowItems:Ljava/util/List; | 656 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mUiOverflowItems:Ljava/util/List; |
| |
653 | ····invoke-interface·{v0},·Ljava/util/List;->clear()V | 657 | ····invoke-interface·{v0},·Ljava/util/List;->clear()V |
| |
654 | ····.line·591 | 658 | ····.line·603 |
655 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowItems:Ljava/util/List; | 659 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowItems:Ljava/util/List; |
| |
656 | ····invoke-interface·{v0},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 660 | ····invoke-interface·{v0},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
657 | ····move-result-object·v0 | 661 | ····move-result-object·v0 |
| |
658 | ····:cond_0 | 662 | ····:cond_0 |
Offset 672, 88 lines modified | Offset 676, 88 lines modified |
| |
672 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 676 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
673 | ····move-result-object·v1 | 677 | ····move-result-object·v1 |
| |
674 | ····check-cast·v1,·Lcom/android/car/ui/toolbar/MenuItem; | 678 | ····check-cast·v1,·Lcom/android/car/ui/toolbar/MenuItem; |
| |
675 | ····.line·592 | 679 | ····.line·604 |
676 | ····invoke-virtual·{v1},·Lcom/android/car/ui/toolbar/MenuItem;->isVisible()Z | 680 | ····invoke-virtual·{v1},·Lcom/android/car/ui/toolbar/MenuItem;->isVisible()Z |
| |
677 | ····move-result·v2 | 681 | ····move-result·v2 |
| |
678 | ····if-eqz·v2,·:cond_0 | 682 | ····if-eqz·v2,·:cond_0 |
| |
679 | ····.line·593 | 683 | ····.line·605 |
680 | ····iget-object·v2,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mUiOverflowItems:Ljava/util/List; | 684 | ····iget-object·v2,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mUiOverflowItems:Ljava/util/List; |
| |
681 | ····invoke-direct·{p0,·v1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->toCarUiContentListItem(Lcom/android/car/ui/toolbar/MenuItem;)Lcom/android/car/ui/recyclerview/CarUiContentListItem; | 685 | ····invoke-direct·{p0,·v1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->toCarUiContentListItem(Lcom/android/car/ui/toolbar/MenuItem;)Lcom/android/car/ui/recyclerview/CarUiContentListItem; |
| |
682 | ····move-result-object·v1 | 686 | ····move-result-object·v1 |
| |
683 | ····invoke-interface·{v2,·v1},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 687 | ····invoke-interface·{v2,·v1},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
| |
684 | ····goto·:goto_0 | 688 | ····goto·:goto_0 |
| |
685 | ····.line·597 | 689 | ····.line·609 |
686 | ····:cond_1 | 690 | ····:cond_1 |
687 | ····new-instance·v0,·Lcom/android/car/ui/AlertDialogBuilder; | 691 | ····new-instance·v0,·Lcom/android/car/ui/AlertDialogBuilder; |
| |
688 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; | 692 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; |
| |
689 | ····move-result-object·v1 | 693 | ····move-result-object·v1 |
| |
690 | ····invoke-direct·{v0,·v1},·Lcom/android/car/ui/AlertDialogBuilder;-><init>(Landroid/content/Context;)V | 694 | ····invoke-direct·{v0,·v1},·Lcom/android/car/ui/AlertDialogBuilder;-><init>(Landroid/content/Context;)V |
| |
691 | ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowAdapter:Lcom/android/car/ui/recyclerview/CarUiListItemAdapter; | 695 | ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowAdapter:Lcom/android/car/ui/recyclerview/CarUiListItemAdapter; |
| |
692 | ····.line·598 | 696 | ····.line·610 |
693 | ····invoke-virtual·{v0,·v1},·Lcom/android/car/ui/AlertDialogBuilder;->setAdapter(Lcom/android/car/ui/recyclerview/CarUiListItemAdapter;)Lcom/android/car/ui/AlertDialogBuilder; | 697 | ····invoke-virtual·{v0,·v1},·Lcom/android/car/ui/AlertDialogBuilder;->setAdapter(Lcom/android/car/ui/recyclerview/CarUiListItemAdapter;)Lcom/android/car/ui/AlertDialogBuilder; |
| |
694 | ····move-result-object·v0 | 698 | ····move-result-object·v0 |
| |
695 | ····.line·599 | 699 | ····.line·611 |
696 | ····invoke-virtual·{v0},·Lcom/android/car/ui/AlertDialogBuilder;->create()Landroid/app/AlertDialog; | 700 | ····invoke-virtual·{v0},·Lcom/android/car/ui/AlertDialogBuilder;->create()Landroid/app/AlertDialog; |
| |
697 | ····move-result-object·v0 | 701 | ····move-result-object·v0 |
| |
698 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowDialog:Landroid/app/AlertDialog; | 702 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowDialog:Landroid/app/AlertDialog; |
| |
699 | ····return-void | 703 | ····return-void |
700 | .end·method | 704 | .end·method |
| |
701 | .method·private·getContext()Landroid/content/Context; | 705 | .method·private·getContext()Landroid/content/Context; |
702 | ····.locals·1 | 706 | ····.locals·1 |
| |
703 | ····.line·198 | 707 | ····.line·202 |
704 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mContext:Landroid/content/Context; | 708 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mContext:Landroid/content/Context; |
| |
705 | ····return-object·v0 | 709 | ····return-object·v0 |
706 | .end·method | 710 | .end·method |
| |
707 | .method·private·synthetic·lambda$new$0(Lcom/android/car/ui/toolbar/MenuItem;)V | 711 | .method·private·synthetic·lambda$new$0(Lcom/android/car/ui/toolbar/MenuItem;)V |
708 | ····.locals·0 | 712 | ····.locals·0 |
| |
709 | ····.line·115 | 713 | ····.line·117 |
710 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->updateOverflowDialog(Lcom/android/car/ui/toolbar/MenuItem;)V | 714 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->updateOverflowDialog(Lcom/android/car/ui/toolbar/MenuItem;)V |
| |
711 | ····.line·116 | 715 | ····.line·118 |
712 | ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getState()Lcom/android/car/ui/toolbar/Toolbar$State; | 716 | ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getState()Lcom/android/car/ui/toolbar/Toolbar$State; |
| |
713 | ····move-result-object·p1 | 717 | ····move-result-object·p1 |
| |
714 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V | 718 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V |
| |
715 | ····return-void | 719 | ····return-void |
716 | .end·method | 720 | .end·method |
| |
717 | .method·private·synthetic·lambda$new$1(Landroid/car/drivingstate/CarUxRestrictions;)V | 721 | .method·private·synthetic·lambda$new$1(Landroid/car/drivingstate/CarUxRestrictions;)V |
718 | ····.locals·2 | 722 | ····.locals·2 |
| |
719 | ····.line·123 | 723 | ····.line·125 |
720 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemRenderers:Ljava/util/List; | 724 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemRenderers:Ljava/util/List; |
| |
721 | ····invoke-interface·{v0},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 725 | ····invoke-interface·{v0},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
722 | ····move-result-object·v0 | 726 | ····move-result-object·v0 |
| |
723 | ····:goto_0 | 727 | ····:goto_0 |
Offset 765, 50 lines modified | Offset 769, 50 lines modified |
| |
765 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 769 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
766 | ····move-result-object·v1 | 770 | ····move-result-object·v1 |
| |
767 | ····check-cast·v1,·Lcom/android/car/ui/toolbar/MenuItemRenderer; | 771 | ····check-cast·v1,·Lcom/android/car/ui/toolbar/MenuItemRenderer; |
| |
768 | ····.line·124 | 772 | ····.line·126 |
769 | ····invoke-virtual·{v1,·p1},·Lcom/android/car/ui/toolbar/MenuItemRenderer;->setCarUxRestrictions(Landroid/car/drivingstate/CarUxRestrictions;)V | 773 | ····invoke-virtual·{v1,·p1},·Lcom/android/car/ui/toolbar/MenuItemRenderer;->setCarUxRestrictions(Landroid/car/drivingstate/CarUxRestrictions;)V |
| |
770 | ····goto·:goto_0 | 774 | ····goto·:goto_0 |
| |
771 | ····:cond_0 | 775 | ····:cond_0 |
772 | ····return-void | 776 | ····return-void |
773 | .end·method | 777 | .end·method |
| |
774 | .method·private·synthetic·lambda$new$2(Lcom/android/car/ui/toolbar/MenuItem;)V | 778 | .method·private·synthetic·lambda$new$2(Lcom/android/car/ui/toolbar/MenuItem;)V |
775 | ····.locals·1 | 779 | ····.locals·1 |
| |
776 | ····.line·135 | 780 | ····.line·137 |
777 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowDialog:Landroid/app/AlertDialog; | 781 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowDialog:Landroid/app/AlertDialog; |
| |
778 | ····if-nez·p1,·:cond_0 | 782 | ····if-nez·p1,·:cond_0 |
| |
779 | ····const/4·p1,·0x6 | 783 | ····const/4·p1,·0x6 |
| |
780 | ····const-string·v0,·"CarUiToolbarController" | 784 | ····const-string·v0,·"CarUiToolbarController" |
| |
781 | ····.line·136 | 785 | ····.line·138 |
782 | ····invoke-static·{v0,·p1},·Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z | 786 | ····invoke-static·{v0,·p1},·Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z |
| |
783 | ····move-result·p1 | 787 | ····move-result·p1 |
| |
784 | ····if-eqz·p1,·:cond_1 | 788 | ····if-eqz·p1,·:cond_1 |
| |
785 | ····const-string·p1,·"Overflow·dialog·was·null·when·trying·to·show·it!" | 789 | ····const-string·p1,·"Overflow·dialog·was·null·when·trying·to·show·it!" |
| |
786 | ····.line·137 | 790 | ····.line·139 |
787 | ····invoke-static·{v0,·p1},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I | 791 | ····invoke-static·{v0,·p1},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I |
| |
788 | ····goto·:goto_0 | 792 | ····goto·:goto_0 |
| |
789 | ····.line·140 | 793 | ····.line·142 |
790 | ····:cond_0 | 794 | ····:cond_0 |
791 | ····invoke-virtual·{p1},·Landroid/app/AlertDialog;->show()V | 795 | ····invoke-virtual·{p1},·Landroid/app/AlertDialog;->show()V |
| |
792 | ····:cond_1 | 796 | ····:cond_1 |
793 | ····:goto_0 | 797 | ····:goto_0 |
794 | ····return-void | 798 | ····return-void |
795 | .end·method | 799 | .end·method |
Offset 818, 15 lines modified | Offset 822, 15 lines modified |
| |
818 | ····sub-int/2addr·p9,·p7 | 822 | ····sub-int/2addr·p9,·p7 |
| |
819 | ····sub-int/2addr·p5,·p3 | 823 | ····sub-int/2addr·p5,·p3 |
| |
820 | ····if-eq·p9,·p5,·:cond_0 | 824 | ····if-eq·p9,·p5,·:cond_0 |
| |
821 | ····.line·182 | 825 | ····.line·185 |
822 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnHeightChangedListeners:Ljava/util/Set; | 826 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnHeightChangedListeners:Ljava/util/Set; |
| |
823 | ····invoke-interface·{p1},·Ljava/util/Set;->iterator()Ljava/util/Iterator; | 827 | ····invoke-interface·{p1},·Ljava/util/Set;->iterator()Ljava/util/Iterator; |
| |
824 | ····move-result-object·p1 | 828 | ····move-result-object·p1 |
| |
825 | ····:goto_0 | 829 | ····:goto_0 |
Offset 838, 15 lines modified | Offset 842, 15 lines modified |
| |
838 | ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 842 | ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
839 | ····move-result-object·p2 | 843 | ····move-result-object·p2 |
| |
840 | ····check-cast·p2,·Lcom/android/car/ui/toolbar/Toolbar$OnHeightChangedListener; | 844 | ····check-cast·p2,·Lcom/android/car/ui/toolbar/Toolbar$OnHeightChangedListener; |
| |
841 | ····.line·183 | 845 | ····.line·186 |
842 | ····iget-object·p3,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mBackground:Landroid/view/View; | 846 | ····iget-object·p3,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mBackground:Landroid/view/View; |
| |
843 | ····invoke-virtual·{p3},·Landroid/view/View;->getHeight()I | 847 | ····invoke-virtual·{p3},·Landroid/view/View;->getHeight()I |
| |
844 | ····move-result·p3 | 848 | ····move-result·p3 |
| |
845 | ····invoke-interface·{p2,·p3},·Lcom/android/car/ui/toolbar/Toolbar$OnHeightChangedListener;->onHeightChanged(I)V | 849 | ····invoke-interface·{p2,·p3},·Lcom/android/car/ui/toolbar/Toolbar$OnHeightChangedListener;->onHeightChanged(I)V |
Offset 856, 63 lines modified | Offset 860, 63 lines modified |
856 | ····:cond_0 | 860 | ····:cond_0 |
857 | ····return-void | 861 | ····return-void |
858 | .end·method | 862 | .end·method |
| |
859 | .method·private·synthetic·lambda$setMenuItemsInternal$4([Landroid/view/View;ILjava/util/concurrent/atomic/AtomicInteger;Landroid/view/View;)V | 863 | .method·private·synthetic·lambda$setMenuItemsInternal$4([Landroid/view/View;ILjava/util/concurrent/atomic/AtomicInteger;Landroid/view/View;)V |
860 | ····.locals·1 | 864 | ····.locals·1 |
| |
861 | ····.line·478 | 865 | ····.line·490 |
862 | ····monitor-enter·p0 | 866 | ····monitor-enter·p0 |
| |
863 | ····.line·479 | 867 | ····.line·491 |
864 | ····:try_start_0 | 868 | ····:try_start_0 |
865 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemViews:[Landroid/view/View; | 869 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemViews:[Landroid/view/View; |
| |
866 | ····if-eq·p1,·v0,·:cond_0 | 870 | ····if-eq·p1,·v0,·:cond_0 |
| |
867 | ····.line·480 | 871 | ····.line·492 |
868 | ····monitor-exit·p0 | 872 | ····monitor-exit·p0 |
| |
869 | ····return-void | 873 | ····return-void |
| |
870 | ····.line·483 | 874 | ····.line·495 |
871 | ····:cond_0 | 875 | ····:cond_0 |
872 | ····aput-object·p4,·p1,·p2 | 876 | ····aput-object·p4,·p1,·p2 |
| |
873 | ····const/4·p2,·0x1 | 877 | ····const/4·p2,·0x1 |
| |
874 | ····.line·484 | 878 | ····.line·496 |
875 | ····invoke-virtual·{p3,·p2},·Ljava/util/concurrent/atomic/AtomicInteger;->addAndGet(I)I | 879 | ····invoke-virtual·{p3,·p2},·Ljava/util/concurrent/atomic/AtomicInteger;->addAndGet(I)I |
| |
876 | ····move-result·p2 | 880 | ····move-result·p2 |
| |
877 | ····array-length·p3,·p1 | 881 | ····array-length·p3,·p1 |
| |
878 | ····if-ne·p2,·p3,·:cond_1 | 882 | ····if-ne·p2,·p3,·:cond_1 |
| |
879 | ····.line·485 | 883 | ····.line·497 |
880 | ····array-length·p2,·p1 | 884 | ····array-length·p2,·p1 |
| |
881 | ····const/4·p3,·0x0 | 885 | ····const/4·p3,·0x0 |
| |
882 | ····:goto_0 | 886 | ····:goto_0 |
883 | ····if-ge·p3,·p2,·:cond_1 | 887 | ····if-ge·p3,·p2,·:cond_1 |
| |
884 | ····aget-object·p4,·p1,·p3 | 888 | ····aget-object·p4,·p1,·p3 |
| |
885 | ····.line·486 | 889 | ····.line·498 |
886 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemsContainer:Landroid/view/ViewGroup; | 890 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemsContainer:Landroid/view/ViewGroup; |
| |
887 | ····invoke-virtual·{v0,·p4},·Landroid/view/ViewGroup;->addView(Landroid/view/View;)V | 891 | ····invoke-virtual·{v0,·p4},·Landroid/view/ViewGroup;->addView(Landroid/view/View;)V |
| |
888 | ····add-int/lit8·p3,·p3,·0x1 | 892 | ····add-int/lit8·p3,·p3,·0x1 |
| |
889 | ····goto·:goto_0 | 893 | ····goto·:goto_0 |
| |
890 | ····.line·489 | 894 | ····.line·501 |
891 | ····:cond_1 | 895 | ····:cond_1 |
892 | ····monitor-exit·p0 | 896 | ····monitor-exit·p0 |
| |
893 | ····return-void | 897 | ····return-void |
| |
894 | ····:catchall_0 | 898 | ····:catchall_0 |
895 | ····move-exception·p1 | 899 | ····move-exception·p1 |
Offset 923, 22 lines modified | Offset 927, 22 lines modified |
| |
923 | ····throw·p1 | 927 | ····throw·p1 |
924 | .end·method | 928 | .end·method |
| |
925 | .method·private·synthetic·lambda$setState$6(Landroid/view/View;)V | 929 | .method·private·synthetic·lambda$setState$6(Landroid/view/View;)V |
926 | ····.locals·3 | 930 | ····.locals·3 |
| |
927 | ····.line·694 | 931 | ····.line·706 |
928 | ····new-instance·p1,·Ljava/util/ArrayList; | 932 | ····new-instance·p1,·Ljava/util/ArrayList; |
| |
929 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnBackListeners:Ljava/util/Set; | 933 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOnBackListeners:Ljava/util/Set; |
| |
930 | ····invoke-direct·{p1,·v0},·Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V | 934 | ····invoke-direct·{p1,·v0},·Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V |
| |
931 | ····.line·695 | 935 | ····.line·707 |
932 | ····invoke-interface·{p1},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 936 | ····invoke-interface·{p1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
933 | ····move-result-object·p1 | 937 | ····move-result-object·p1 |
| |
934 | ····const/4·v0,·0x0 | 938 | ····const/4·v0,·0x0 |
| |
935 | ····:cond_0 | 939 | ····:cond_0 |
Offset 955, 54 lines modified | Offset 959, 54 lines modified |
| |
955 | ····move-result-object·v2 | 959 | ····move-result-object·v2 |
| |
956 | ····check-cast·v2,·Lcom/android/car/ui/toolbar/Toolbar$OnBackListener; | 960 | ····check-cast·v2,·Lcom/android/car/ui/toolbar/Toolbar$OnBackListener; |
| |
957 | ····if-nez·v1,·:cond_1 | 961 | ····if-nez·v1,·:cond_1 |
| |
958 | ····.line·696 | 962 | ····.line·708 |
959 | ····invoke-interface·{v2},·Lcom/android/car/ui/toolbar/Toolbar$OnBackListener;->onBack()Z | 963 | ····invoke-interface·{v2},·Lcom/android/car/ui/toolbar/Toolbar$OnBackListener;->onBack()Z |
| |
960 | ····move-result·v1 | 964 | ····move-result·v1 |
| |
961 | ····if-eqz·v1,·:cond_0 | 965 | ····if-eqz·v1,·:cond_0 |
| |
962 | ····:cond_1 | 966 | ····:cond_1 |
963 | ····const/4·v1,·0x1 | 967 | ····const/4·v1,·0x1 |
| |
964 | ····goto·:goto_0 | 968 | ····goto·:goto_0 |
| |
965 | ····:cond_2 | 969 | ····:cond_2 |
966 | ····if-nez·v1,·:cond_3 | 970 | ····if-nez·v1,·:cond_3 |
| |
967 | ····.line·700 | 971 | ····.line·712 |
968 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; | 972 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getContext()Landroid/content/Context; |
| |
969 | ····move-result-object·p1 | 973 | ····move-result-object·p1 |
| |
970 | ····invoke-static·{p1},·Lcom/android/car/ui/utils/CarUiUtils;->getActivity(Landroid/content/Context;)Landroid/app/Activity; | 974 | ····invoke-static·{p1},·Lcom/android/car/ui/utils/CarUiUtils;->getActivity(Landroid/content/Context;)Landroid/app/Activity; |
| |
971 | ····move-result-object·p1 | 975 | ····move-result-object·p1 |
| |
972 | ····if-eqz·p1,·:cond_3 | 976 | ····if-eqz·p1,·:cond_3 |
| |
973 | ····.line·702 | 977 | ····.line·714 |
974 | ····invoke-virtual·{p1},·Landroid/app/Activity;->onBackPressed()V | 978 | ····invoke-virtual·{p1},·Landroid/app/Activity;->onBackPressed()V |
| |
975 | ····:cond_3 | 979 | ····:cond_3 |
976 | ····return-void | 980 | ····return-void |
977 | .end·method | 981 | .end·method |
| |
978 | .method·private·synthetic·lambda$toCarUiContentListItem$5(Lcom/android/car/ui/toolbar/MenuItem;Lcom/android/car/ui/recyclerview/CarUiContentListItem;)V | 982 | .method·private·synthetic·lambda$toCarUiContentListItem$5(Lcom/android/car/ui/toolbar/MenuItem;Lcom/android/car/ui/recyclerview/CarUiContentListItem;)V |
979 | ····.locals·0 | 983 | ····.locals·0 |
| |
980 | ····.line·625 | 984 | ····.line·637 |
981 | ····invoke-virtual·{p1},·Lcom/android/car/ui/toolbar/MenuItem;->performClick()V | 985 | ····invoke-virtual·{p1},·Lcom/android/car/ui/toolbar/MenuItem;->performClick()V |
| |
982 | ····.line·626 | 986 | ····.line·638 |
983 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowDialog:Landroid/app/AlertDialog; | 987 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowDialog:Landroid/app/AlertDialog; |
| |
984 | ····invoke-virtual·{p1},·Landroid/app/AlertDialog;->hide()V | 988 | ····invoke-virtual·{p1},·Landroid/app/AlertDialog;->hide()V |
| |
985 | ····return-void | 989 | ····return-void |
986 | .end·method | 990 | .end·method |
| |
Offset 1015, 56 lines modified | Offset 1019, 56 lines modified |
1015 | ············"Lcom/android/car/ui/toolbar/MenuItem;", | 1019 | ············"Lcom/android/car/ui/toolbar/MenuItem;", |
1016 | ············">;)V" | 1020 | ············">;)V" |
1017 | ········} | 1021 | ········} |
1018 | ····.end·annotation | 1022 | ····.end·annotation |
| |
1019 | ····if-nez·p1,·:cond_0 | 1023 | ····if-nez·p1,·:cond_0 |
| |
1020 | ····.line·436 | 1024 | ····.line·448 |
1021 | ····invoke-static·{},·Ljava/util/Collections;->emptyList()Ljava/util/List; | 1025 | ····invoke-static·{},·Ljava/util/Collections;->emptyList()Ljava/util/List; |
| |
1022 | ····move-result-object·p1 | 1026 | ····move-result-object·p1 |
| |
1023 | ····.line·439 | 1027 | ····.line·451 |
1024 | ····:cond_0 | 1028 | ····:cond_0 |
1025 | ····new-instance·v0,·Ljava/util/ArrayList; | 1029 | ····new-instance·v0,·Ljava/util/ArrayList; |
| |
1026 | ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V | 1030 | ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V |
| |
1027 | ····.line·440 | 1031 | ····.line·452 |
1028 | ····new-instance·v1,·Ljava/util/ArrayList; | 1032 | ····new-instance·v1,·Ljava/util/ArrayList; |
| |
1029 | ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V | 1033 | ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V |
| |
1030 | ····.line·441 | 1034 | ····.line·453 |
1031 | ····new-instance·v2,·Ljava/util/concurrent/atomic/AtomicInteger; | 1035 | ····new-instance·v2,·Ljava/util/concurrent/atomic/AtomicInteger; |
| |
1032 | ····const/4·v3,·0x0 | 1036 | ····const/4·v3,·0x0 |
| |
1033 | ····invoke-direct·{v2,·v3},·Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V | 1037 | ····invoke-direct·{v2,·v3},·Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V |
| |
1034 | ····.line·443 | 1038 | ····.line·455 |
1035 | ····monitor-enter·p0 | 1039 | ····monitor-enter·p0 |
| |
1036 | ····.line·444 | 1040 | ····.line·456 |
1037 | ····:try_start_0 | 1041 | ····:try_start_0 |
1038 | ····iget-object·v4,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItems:Ljava/util/List; | 1042 | ····iget-object·v4,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItems:Ljava/util/List; |
| |
1039 | ····invoke-interface·{p1,·v4},·Ljava/util/List;->equals(Ljava/lang/Object;)Z | 1043 | ····invoke-interface·{p1,·v4},·Ljava/util/List;->equals(Ljava/lang/Object;)Z |
| |
1040 | ····move-result·v4 | 1044 | ····move-result·v4 |
| |
1041 | ····if-eqz·v4,·:cond_1 | 1045 | ····if-eqz·v4,·:cond_1 |
| |
1042 | ····.line·445 | 1046 | ····.line·457 |
1043 | ····monitor-exit·p0 | 1047 | ····monitor-exit·p0 |
| |
1044 | ····return-void | 1048 | ····return-void |
| |
1045 | ····.line·448 | 1049 | ····.line·460 |
1046 | ····:cond_1 | 1050 | ····:cond_1 |
1047 | ····invoke-interface·{p1},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 1051 | ····invoke-interface·{p1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
1048 | ····move-result-object·v4 | 1052 | ····move-result-object·v4 |
| |
1049 | ····:goto_0 | 1053 | ····:goto_0 |
1050 | ····invoke-interface·{v4},·Ljava/util/Iterator;->hasNext()Z | 1054 | ····invoke-interface·{v4},·Ljava/util/Iterator;->hasNext()Z |
Offset 1075, 300 lines modified | Offset 1079, 300 lines modified |
| |
1075 | ····invoke-interface·{v4},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 1079 | ····invoke-interface·{v4},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
1076 | ····move-result-object·v5 | 1080 | ····move-result-object·v5 |
| |
1077 | ····check-cast·v5,·Lcom/android/car/ui/toolbar/MenuItem; | 1081 | ····check-cast·v5,·Lcom/android/car/ui/toolbar/MenuItem; |
| |
1078 | ····.line·449 | 1082 | ····.line·461 |
1079 | ····invoke-virtual·{v5},·Lcom/android/car/ui/toolbar/MenuItem;->getDisplayBehavior()Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; | 1083 | ····invoke-virtual·{v5},·Lcom/android/car/ui/toolbar/MenuItem;->getDisplayBehavior()Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; |
| |
1080 | ····move-result-object·v6 | 1084 | ····move-result-object·v6 |
| |
1081 | ····sget-object·v7,·Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;->NEVER:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; | 1085 | ····sget-object·v7,·Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;->NEVER:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; |
| |
1082 | ····if-ne·v6,·v7,·:cond_2 | 1086 | ····if-ne·v6,·v7,·:cond_2 |
| |
1083 | ····.line·450 | 1087 | ····.line·462 |
1084 | ····invoke-interface·{v1,·v5},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 1088 | ····invoke-interface·{v1,·v5},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
| |
1085 | ····.line·451 | 1089 | ····.line·463 |
1086 | ····iget-object·v6,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowItemListener:Lcom/android/car/ui/toolbar/MenuItem$Listener; | 1090 | ····iget-object·v6,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowItemListener:Lcom/android/car/ui/toolbar/MenuItem$Listener; |
| |
1087 | ····invoke-virtual·{v5,·v6},·Lcom/android/car/ui/toolbar/MenuItem;->setListener(Lcom/android/car/ui/toolbar/MenuItem$Listener;)V | 1091 | ····invoke-virtual·{v5,·v6},·Lcom/android/car/ui/toolbar/MenuItem;->setListener(Lcom/android/car/ui/toolbar/MenuItem$Listener;)V |
| |
1088 | ····goto·:goto_0 | 1092 | ····goto·:goto_0 |
| |
1089 | ····.line·453 | 1093 | ····.line·465 |
1090 | ····:cond_2 | 1094 | ····:cond_2 |
1091 | ····invoke-interface·{v0,·v5},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 1095 | ····invoke-interface·{v0,·v5},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
| |
1092 | ····goto·:goto_0 | 1096 | ····goto·:goto_0 |
| |
1093 | ····.line·459 | 1097 | ····.line·471 |
1094 | ····:cond_3 | 1098 | ····:cond_3 |
1095 | ····new-instance·v4,·Ljava/util/ArrayList; | 1099 | ····new-instance·v4,·Ljava/util/ArrayList; |
| |
1096 | ····invoke-direct·{v4,·p1},·Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V | 1100 | ····invoke-direct·{v4,·p1},·Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V |
| |
1097 | ····iput-object·v4,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItems:Ljava/util/List; | 1101 | ····iput-object·v4,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItems:Ljava/util/List; |
| |
1098 | ····.line·460 | 1102 | ····.line·472 |
1099 | ····iput-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowItems:Ljava/util/List; | 1103 | ····iput-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowItems:Ljava/util/List; |
| |
1100 | ····.line·461 | 1104 | ····.line·473 |
1101 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemRenderers:Ljava/util/List; | 1105 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemRenderers:Ljava/util/List; |
| |
1102 | ····invoke-interface·{p1},·Ljava/util/List;->clear()V | 1106 | ····invoke-interface·{p1},·Ljava/util/List;->clear()V |
| |
1103 | ····.line·462 | 1107 | ····.line·474 |
1104 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemsContainer:Landroid/view/ViewGroup; | 1108 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemsContainer:Landroid/view/ViewGroup; |
| |
1105 | ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->removeAllViews()V | 1109 | ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->removeAllViews()V |
| |
1106 | ····.line·464 | 1110 | ····.line·476 |
1107 | ····invoke-interface·{v1},·Ljava/util/List;->isEmpty()Z | 1111 | ····invoke-interface·{v1},·Ljava/util/List;->isEmpty()Z |
| |
1108 | ····move-result·p1 | 1112 | ····move-result·p1 |
| |
1109 | ····if-nez·p1,·:cond_4 | 1113 | ····if-nez·p1,·:cond_4 |
| |
1110 | ····.line·465 | 1114 | ····.line·477 |
1111 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowButton:Lcom/android/car/ui/toolbar/MenuItem; | 1115 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mOverflowButton:Lcom/android/car/ui/toolbar/MenuItem; |
| |
1112 | ····invoke-interface·{v0,·p1},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 1116 | ····invoke-interface·{v0,·p1},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
| |
1113 | ····.line·466 | 1117 | ····.line·478 |
1114 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->createOverflowDialog()V | 1118 | ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->createOverflowDialog()V |
| |
1115 | ····.line·469 | 1119 | ····.line·481 |
1116 | ····:cond_4 | 1120 | ····:cond_4 |
1117 | ····invoke-interface·{v0},·Ljava/util/List;->size()I | 1121 | ····invoke-interface·{v0},·Ljava/util/List;->size()I |
| |
1118 | ····move-result·p1 | 1122 | ····move-result·p1 |
| |
1119 | ····new-array·p1,·p1,·[Landroid/view/View; | 1123 | ····new-array·p1,·p1,·[Landroid/view/View; |
| |
1120 | ····.line·470 | 1124 | ····.line·482 |
1121 | ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemViews:[Landroid/view/View; | 1125 | ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemViews:[Landroid/view/View; |
| |
1122 | ····.line·472 | 1126 | ····.line·484 |
1123 | ····:goto_1 | 1127 | ····:goto_1 |
1124 | ····invoke-interface·{v0},·Ljava/util/List;->size()I | 1128 | ····invoke-interface·{v0},·Ljava/util/List;->size()I |
| |
1125 | ····move-result·v1 | 1129 | ····move-result·v1 |
| |
1126 | ····if-ge·v3,·v1,·:cond_5 | 1130 | ····if-ge·v3,·v1,·:cond_5 |
| |
1127 | ····.line·474 | 1131 | ····.line·486 |
1128 | ····invoke-interface·{v0,·v3},·Ljava/util/List;->get(I)Ljava/lang/Object; | 1132 | ····invoke-interface·{v0,·v3},·Ljava/util/List;->get(I)Ljava/lang/Object; |
| |
1129 | ····move-result-object·v1 | 1133 | ····move-result-object·v1 |
| |
1130 | ····check-cast·v1,·Lcom/android/car/ui/toolbar/MenuItem; | 1134 | ····check-cast·v1,·Lcom/android/car/ui/toolbar/MenuItem; |
| |
1131 | ····.line·475 | 1135 | ····.line·487 |
1132 | ····new-instance·v4,·Lcom/android/car/ui/toolbar/MenuItemRenderer; | 1136 | ····new-instance·v4,·Lcom/android/car/ui/toolbar/MenuItemRenderer; |
| |
1133 | ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemsContainer:Landroid/view/ViewGroup; | 1137 | ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemsContainer:Landroid/view/ViewGroup; |
| |
1134 | ····invoke-direct·{v4,·v1,·v5},·Lcom/android/car/ui/toolbar/MenuItemRenderer;-><init>(Lcom/android/car/ui/toolbar/MenuItem;Landroid/view/ViewGroup;)V | 1138 | ····invoke-direct·{v4,·v1,·v5},·Lcom/android/car/ui/toolbar/MenuItemRenderer;-><init>(Lcom/android/car/ui/toolbar/MenuItem;Landroid/view/ViewGroup;)V |
| |
1135 | ····.line·476 | 1139 | ····.line·488 |
1136 | ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemRenderers:Ljava/util/List; | 1140 | ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemRenderers:Ljava/util/List; |
| |
1137 | ····invoke-interface·{v1,·v4},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 1141 | ····invoke-interface·{v1,·v4},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
| |
1138 | ····.line·477 | 1142 | ····.line·489 |
1139 | ····new-instance·v1,·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$XM5gsKVhbzu7_zOfUfHY1DZo3yk; | 1143 | ····new-instance·v1,·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$XM5gsKVhbzu7_zOfUfHY1DZo3yk; |
| |
1140 | ····invoke-direct·{v1,·p0,·p1,·v3,·v2},·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$XM5gsKVhbzu7_zOfUfHY1DZo3yk;-><init>(Lcom/android/car/ui/toolbar/ToolbarControllerImpl;[Landroid/view/View;ILjava/util/concurrent/atomic/AtomicInteger;)V | 1144 | ····invoke-direct·{v1,·p0,·p1,·v3,·v2},·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$XM5gsKVhbzu7_zOfUfHY1DZo3yk;-><init>(Lcom/android/car/ui/toolbar/ToolbarControllerImpl;[Landroid/view/View;ILjava/util/concurrent/atomic/AtomicInteger;)V |
| |
1141 | ····invoke-virtual·{v4,·v1},·Lcom/android/car/ui/toolbar/MenuItemRenderer;->createView(Landroidx/core/util/Consumer;)V | 1145 | ····invoke-virtual·{v4,·v1},·Lcom/android/car/ui/toolbar/MenuItemRenderer;->createView(Landroidx/core/util/Consumer;)V |
| |
1142 | ····add-int/lit8·v3,·v3,·0x1 | 1146 | ····add-int/lit8·v3,·v3,·0x1 |
| |
1143 | ····goto·:goto_1 | 1147 | ····goto·:goto_1 |
| |
1144 | ····.line·492 | 1148 | ····.line·504 |
1145 | ····:cond_5 | 1149 | ····:cond_5 |
1146 | ····monitor-exit·p0 | 1150 | ····monitor-exit·p0 |
1147 | ····:try_end_0 | 1151 | ····:try_end_0 |
1148 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 1152 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
| |
1149 | ····.line·494 | 1153 | ····.line·506 |
1150 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mState:Lcom/android/car/ui/toolbar/Toolbar$State; | 1154 | ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mState:Lcom/android/car/ui/toolbar/Toolbar$State; |
| |
1151 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V | 1155 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V |
| |
1152 | ····return-void | 1156 | ····return-void |
| |
1153 | ····:catchall_0 | 1157 | ····:catchall_0 |
1154 | ····move-exception·p1 | 1158 | ····move-exception·p1 |
| |
1155 | ····.line·492 | 1159 | ····.line·504 |
1156 | ····:try_start_1 | 1160 | ····:try_start_1 |
1157 | ····monitor-exit·p0 | 1161 | ····monitor-exit·p0 |
1158 | ····:try_end_1 | 1162 | ····:try_end_1 |
1159 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 1163 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
| |
1160 | ····throw·p1 | 1164 | ····throw·p1 |
1161 | .end·method | 1165 | .end·method |
| |
1162 | .method·private·toCarUiContentListItem(Lcom/android/car/ui/toolbar/MenuItem;)Lcom/android/car/ui/recyclerview/CarUiContentListItem; | 1166 | .method·private·toCarUiContentListItem(Lcom/android/car/ui/toolbar/MenuItem;)Lcom/android/car/ui/recyclerview/CarUiContentListItem; |
1163 | ····.locals·2 | 1167 | ····.locals·2 |
| |
1164 | ····.line·614 | 1168 | ····.line·626 |
1165 | ····invoke-virtual·{p1},·Lcom/android/car/ui/toolbar/MenuItem;->isCheckable()Z | 1169 | ····invoke-virtual·{p1},·Lcom/android/car/ui/toolbar/MenuItem;->isCheckable()Z |
| |
1166 | ····move-result·v0 | 1170 | ····move-result·v0 |
| |
1167 | ····if-eqz·v0,·:cond_0 | 1171 | ····if-eqz·v0,·:cond_0 |
| |
1168 | ····.line·615 | 1172 | ····.line·627 |
1169 | ····new-instance·v0,·Lcom/android/car/ui/recyclerview/CarUiContentListItem; | 1173 | ····new-instance·v0,·Lcom/android/car/ui/recyclerview/CarUiContentListItem; |
| |
1170 | ····sget-object·v1,·Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action;->SWITCH:Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action; | 1174 | ····sget-object·v1,·Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action;->SWITCH:Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action; |
| |
1171 | ····invoke-direct·{v0,·v1},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;-><init>(Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action;)V | 1175 | ····invoke-direct·{v0,·v1},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;-><init>(Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action;)V |
| |
1172 | ····goto·:goto_0 | 1176 | ····goto·:goto_0 |
| |
1173 | ····.line·617 | 1177 | ····.line·629 |
1174 | ····:cond_0 | 1178 | ····:cond_0 |
1175 | ····new-instance·v0,·Lcom/android/car/ui/recyclerview/CarUiContentListItem; | 1179 | ····new-instance·v0,·Lcom/android/car/ui/recyclerview/CarUiContentListItem; |
Max diff block lines reached; 44312/79621 bytes (55.65%) of diff not shown.
|