Offset 170, 162 lines modifiedOffset 170, 162 lines modified
170 .end·field170 .end·field
  
  
171 #·direct·methods171 #·direct·methods
172 .method·public·constructor·<init>(Landroid/view/View;)V172 .method·public·constructor·<init>(Landroid/view/View;)V
173 ····.locals·2173 ····.locals·2
  
174 ····.line·129174 ····.line·131
175 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V175 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
176 ····.line·86176 ····.line·88
177 ····new-instance·v0,·Ljava/util/HashSet;177 ····new-instance·v0,·Ljava/util/HashSet;
  
178 ····invoke-direct·{v0},·Ljava/util/HashSet;-><init>()V178 ····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·87180 ····.line·89
181 ····new-instance·v0,·Ljava/util/HashSet;181 ····new-instance·v0,·Ljava/util/HashSet;
  
182 ····invoke-direct·{v0},·Ljava/util/HashSet;-><init>()V182 ····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·90184 ····.line·92
185 ····new-instance·v0,·Ljava/util/HashSet;185 ····new-instance·v0,·Ljava/util/HashSet;
  
186 ····invoke-direct·{v0},·Ljava/util/HashSet;-><init>()V186 ····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·91188 ····.line·93
189 ····new-instance·v0,·Ljava/util/HashSet;189 ····new-instance·v0,·Ljava/util/HashSet;
  
190 ····invoke-direct·{v0},·Ljava/util/HashSet;-><init>()V190 ····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·92192 ····.line·94
193 ····new-instance·v0,·Ljava/util/HashSet;193 ····new-instance·v0,·Ljava/util/HashSet;
  
194 ····invoke-direct·{v0},·Ljava/util/HashSet;-><init>()V194 ····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,·0x0196 ····const/4·v0,·0x0
  
197 ····.line·96197 ····.line·98
198 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mShowTabsInSubpage:Z198 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mShowTabsInSubpage:Z
  
199 ····.line·97199 ····.line·99
200 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mHasLogo:Z200 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mHasLogo:Z
  
201 ····.line·99201 ····.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·100204 ····.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·102207 ····.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·v1209 ····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·103211 ····.line·105
212 ····new-instance·v1,·Ljava/util/ArrayList;212 ····new-instance·v1,·Ljava/util/ArrayList;
  
213 ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V213 ····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·104215 ····.line·106
216 ····new-instance·v1,·Ljava/util/ArrayList;216 ····new-instance·v1,·Ljava/util/ArrayList;
  
217 ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V217 ····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·106219 ····.line·108
220 ····new-instance·v1,·Ljava/util/ArrayList;220 ····new-instance·v1,·Ljava/util/ArrayList;
  
221 ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V221 ····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·108223 ····.line·110
224 ····iput·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemsXmlId:I224 ····iput·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mMenuItemsXmlId:I
  
225 ····.line·114225 ····.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;)V227 ····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·121229 ····.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;)V231 ····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·130233 ····.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·v0235 ····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·131237 ····.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·v0239 ····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·v0241 ····move-result-object·v0
  
242 ····sget·v1,·Lcom/android/car/ui/R$drawable;->car_ui_icon_overflow_menu:I242 ····sget·v1,·Lcom/android/car/ui/R$drawable;->car_ui_icon_overflow_menu:I
  
243 ····.line·132243 ····.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·v0245 ····move-result-object·v0
  
246 ····sget·v1,·Lcom/android/car/ui/R$string;->car_ui_toolbar_menu_item_overflow_title:I246 ····sget·v1,·Lcom/android/car/ui/R$string;->car_ui_toolbar_menu_item_overflow_title:I
  
247 ····.line·133247 ····.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·v0249 ····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;)V251 ····invoke-direct·{v1,·p0},·Lcom/android/car/ui/toolbar/-$$Lambda$ToolbarControllerImpl$oO5mRdAg3c9VhIPnkrwlE9PbRrU;-><init>(Lcom/android/car/ui/toolbar/ToolbarControllerImpl;)V
  
252 ····.line·134252 ····.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·v0254 ····move-result-object·v0
  
255 ····.line·143255 ····.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·v0257 ····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·145259 ····.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·v0261 ····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·v0263 ····move-result-object·v0
Offset 334, 15 lines modifiedOffset 334, 15 lines modified
  
334 ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z334 ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z
  
335 ····move-result·v0335 ····move-result·v0
  
336 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mIsTabsInSecondRow:Z336 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mIsTabsInSecondRow:Z
  
337 ····.line·147337 ····.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·v0339 ····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·v0341 ····move-result-object·v0
Offset 351, 15 lines modifiedOffset 351, 15 lines modified
  
351 ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z351 ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z
  
352 ····move-result·v0352 ····move-result·v0
  
353 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mNavIconSpaceReserved:Z353 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mNavIconSpaceReserved:Z
  
354 ····.line·149354 ····.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·v0356 ····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·v0358 ····move-result-object·v0
Offset 368, 15 lines modifiedOffset 368, 15 lines modified
  
368 ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z368 ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z
  
369 ····move-result·v0369 ····move-result·v0
  
370 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mLogoFillsNavIconSpace:Z370 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mLogoFillsNavIconSpace:Z
  
371 ····.line·151371 ····.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·v0373 ····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·v0375 ····move-result-object·v0
Offset 385, 235 lines modifiedOffset 385, 239 lines modified
  
385 ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z385 ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z
  
386 ····move-result·v0386 ····move-result·v0
  
387 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mShowLogo:Z387 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->mShowLogo:Z
  
388 ····.line·153388 ····.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·v0390 ····move-result-object·v0
  
391 ····sget·v1,·Lcom/android/car/ui/R$string;->car_ui_toolbar_default_search_hint:I391 ····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·v0393 ····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·155395 ····.line·157
396 ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_background:I396 ····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·v0398 ····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·156400 ····.line·158
401 ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_tabs:I401 ····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·v0403 ····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·157406 ····.line·159
407 ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_nav_icon:I407 ····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·v0409 ····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·158412 ····.line·160
413 ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_logo:I413 ····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·v0415 ····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·159418 ····.line·161
419 ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_nav_icon_container:I419 ····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·v0421 ····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·160424 ····.line·162
425 ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_menu_items_container:I425 ····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·v0427 ····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·161430 ····.line·163
431 ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_title_container:I431 ····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·v0433 ····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·162436 ····.line·164
437 ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_subtitle:I437 ····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·v0439 ····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·163442 ····.line·165
443 ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_title:I443 ····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·v0445 ····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·164448 ····.line·166
449 ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_title_logo_container:I449 ····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·v0451 ····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·165454 ····.line·167
455 ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_title_logo:I455 ····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·v0457 ····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·166460 ····.line·168
461 ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar_search_view_container:I461 ····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·v0463 ····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·167466 ····.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:I468 ····sget·v1,·Lcom/android/car/ui/R$id;->car_ui_toolbar_progress_bar:I
  
469 ····.line·168469 ····.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·p1471 ····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;)V473 ····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·170475 ····.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;)V478 ····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;)V479 ····invoke-virtual·{p1,·v0},·Lcom/android/car/ui/toolbar/TabLayout;->addListener(Lcom/android/car/ui/toolbar/TabLayout$Listener;)V
  
480 ····.line·179480 ····.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;)V485 ····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;)V486 ····invoke-virtual·{p1,·v0},·Landroid/view/View;->addOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V
  
 487 ····:cond_0
485 ····const/4·p1,·0x1488 ····const/4·p1,·0x1
  
486 ····.line·188489 ····.line·192
487 ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setBackgroundShown(Z)V490 ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setBackgroundShown(Z)V
  
488 ····.line·190491 ····.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;)V494 ····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·193496 ····.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·p1498 ····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·p1500 ····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·194502 ····.line·198
500 ····invoke-virtual·{p1,·v0},·Lcom/android/car/ui/utils/CarUxRestrictionsUtil;->register(Lcom/android/car/ui/utils/CarUxRestrictionsUtil$OnUxRestrictionsChangedListener;)V503 ····invoke-virtual·{p1,·v0},·Lcom/android/car/ui/utils/CarUxRestrictionsUtil;->register(Lcom/android/car/ui/utils/CarUxRestrictionsUtil$OnUxRestrictionsChangedListener;)V
  
501 ····return-void504 ····return-void
502 .end·method505 .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·0507 ····.locals·0
  
505 ····.line·63508 ····.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·p0510 ····return-object·p0
508 .end·method511 .end·method
  
509 .method·private·countVisibleOverflowItems()I512 .method·private·countVisibleOverflowItems()I
510 ····.locals·3513 ····.locals·3
  
511 ····.line·581514 ····.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·v0517 ····move-result-object·v0
  
515 ····const/4·v1,·0x0518 ····const/4·v1,·0x0
Offset 628, 15 lines modifiedOffset 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·v2633 ····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·582635 ····.line·594
632 ····invoke-virtual·{v2},·Lcom/android/car/ui/toolbar/MenuItem;->isVisible()Z636 ····invoke-virtual·{v2},·Lcom/android/car/ui/toolbar/MenuItem;->isVisible()Z
  
633 ····move-result·v2637 ····move-result·v2
  
634 ····if-eqz·v2,·:cond_0638 ····if-eqz·v2,·:cond_0
  
635 ····add-int/lit8·v1,·v1,·0x1639 ····add-int/lit8·v1,·v1,·0x1
Offset 646, 20 lines modifiedOffset 650, 20 lines modified
646 ····:cond_1650 ····:cond_1
647 ····return·v1651 ····return·v1
648 .end·method652 .end·method
  
649 .method·private·createOverflowDialog()V653 .method·private·createOverflowDialog()V
650 ····.locals·3654 ····.locals·3
  
651 ····.line·590655 ····.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()V657 ····invoke-interface·{v0},·Ljava/util/List;->clear()V
  
654 ····.line·591658 ····.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·v0661 ····move-result-object·v0
  
658 ····:cond_0662 ····:cond_0
Offset 672, 88 lines modifiedOffset 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·v1677 ····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·592679 ····.line·604
676 ····invoke-virtual·{v1},·Lcom/android/car/ui/toolbar/MenuItem;->isVisible()Z680 ····invoke-virtual·{v1},·Lcom/android/car/ui/toolbar/MenuItem;->isVisible()Z
  
677 ····move-result·v2681 ····move-result·v2
  
678 ····if-eqz·v2,·:cond_0682 ····if-eqz·v2,·:cond_0
  
679 ····.line·593683 ····.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·v1686 ····move-result-object·v1
  
683 ····invoke-interface·{v2,·v1},·Ljava/util/List;->add(Ljava/lang/Object;)Z687 ····invoke-interface·{v2,·v1},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
684 ····goto·:goto_0688 ····goto·:goto_0
  
685 ····.line·597689 ····.line·609
686 ····:cond_1690 ····: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·v1693 ····move-result-object·v1
  
690 ····invoke-direct·{v0,·v1},·Lcom/android/car/ui/AlertDialogBuilder;-><init>(Landroid/content/Context;)V694 ····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·598696 ····.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·v0698 ····move-result-object·v0
  
695 ····.line·599699 ····.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·v0701 ····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-void703 ····return-void
700 .end·method704 .end·method
  
701 .method·private·getContext()Landroid/content/Context;705 .method·private·getContext()Landroid/content/Context;
702 ····.locals·1706 ····.locals·1
  
703 ····.line·198707 ····.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·v0709 ····return-object·v0
706 .end·method710 .end·method
  
707 .method·private·synthetic·lambda$new$0(Lcom/android/car/ui/toolbar/MenuItem;)V711 .method·private·synthetic·lambda$new$0(Lcom/android/car/ui/toolbar/MenuItem;)V
708 ····.locals·0712 ····.locals·0
  
709 ····.line·115713 ····.line·117
710 ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->updateOverflowDialog(Lcom/android/car/ui/toolbar/MenuItem;)V714 ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->updateOverflowDialog(Lcom/android/car/ui/toolbar/MenuItem;)V
  
711 ····.line·116715 ····.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·p1717 ····move-result-object·p1
  
714 ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V718 ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V
  
715 ····return-void719 ····return-void
716 .end·method720 .end·method
  
717 .method·private·synthetic·lambda$new$1(Landroid/car/drivingstate/CarUxRestrictions;)V721 .method·private·synthetic·lambda$new$1(Landroid/car/drivingstate/CarUxRestrictions;)V
718 ····.locals·2722 ····.locals·2
  
719 ····.line·123723 ····.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·v0726 ····move-result-object·v0
  
723 ····:goto_0727 ····:goto_0
Offset 765, 50 lines modifiedOffset 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·v1770 ····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·124772 ····.line·126
769 ····invoke-virtual·{v1,·p1},·Lcom/android/car/ui/toolbar/MenuItemRenderer;->setCarUxRestrictions(Landroid/car/drivingstate/CarUxRestrictions;)V773 ····invoke-virtual·{v1,·p1},·Lcom/android/car/ui/toolbar/MenuItemRenderer;->setCarUxRestrictions(Landroid/car/drivingstate/CarUxRestrictions;)V
  
770 ····goto·:goto_0774 ····goto·:goto_0
  
771 ····:cond_0775 ····:cond_0
772 ····return-void776 ····return-void
773 .end·method777 .end·method
  
774 .method·private·synthetic·lambda$new$2(Lcom/android/car/ui/toolbar/MenuItem;)V778 .method·private·synthetic·lambda$new$2(Lcom/android/car/ui/toolbar/MenuItem;)V
775 ····.locals·1779 ····.locals·1
  
776 ····.line·135780 ····.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_0782 ····if-nez·p1,·:cond_0
  
779 ····const/4·p1,·0x6783 ····const/4·p1,·0x6
  
780 ····const-string·v0,·"CarUiToolbarController"784 ····const-string·v0,·"CarUiToolbarController"
  
781 ····.line·136785 ····.line·138
782 ····invoke-static·{v0,·p1},·Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z786 ····invoke-static·{v0,·p1},·Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
  
783 ····move-result·p1787 ····move-result·p1
  
784 ····if-eqz·p1,·:cond_1788 ····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·137790 ····.line·139
787 ····invoke-static·{v0,·p1},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I791 ····invoke-static·{v0,·p1},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
  
788 ····goto·:goto_0792 ····goto·:goto_0
  
789 ····.line·140793 ····.line·142
790 ····:cond_0794 ····:cond_0
791 ····invoke-virtual·{p1},·Landroid/app/AlertDialog;->show()V795 ····invoke-virtual·{p1},·Landroid/app/AlertDialog;->show()V
  
792 ····:cond_1796 ····:cond_1
793 ····:goto_0797 ····:goto_0
794 ····return-void798 ····return-void
795 .end·method799 .end·method
Offset 818, 15 lines modifiedOffset 822, 15 lines modified
  
818 ····sub-int/2addr·p9,·p7822 ····sub-int/2addr·p9,·p7
  
819 ····sub-int/2addr·p5,·p3823 ····sub-int/2addr·p5,·p3
  
820 ····if-eq·p9,·p5,·:cond_0824 ····if-eq·p9,·p5,·:cond_0
  
821 ····.line·182825 ····.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·p1828 ····move-result-object·p1
  
825 ····:goto_0829 ····:goto_0
Offset 838, 15 lines modifiedOffset 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·p2843 ····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·183845 ····.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()I847 ····invoke-virtual·{p3},·Landroid/view/View;->getHeight()I
  
844 ····move-result·p3848 ····move-result·p3
  
845 ····invoke-interface·{p2,·p3},·Lcom/android/car/ui/toolbar/Toolbar$OnHeightChangedListener;->onHeightChanged(I)V849 ····invoke-interface·{p2,·p3},·Lcom/android/car/ui/toolbar/Toolbar$OnHeightChangedListener;->onHeightChanged(I)V
Offset 856, 63 lines modifiedOffset 860, 63 lines modified
856 ····:cond_0860 ····:cond_0
857 ····return-void861 ····return-void
858 .end·method862 .end·method
  
859 .method·private·synthetic·lambda$setMenuItemsInternal$4([Landroid/view/View;ILjava/util/concurrent/atomic/AtomicInteger;Landroid/view/View;)V863 .method·private·synthetic·lambda$setMenuItemsInternal$4([Landroid/view/View;ILjava/util/concurrent/atomic/AtomicInteger;Landroid/view/View;)V
860 ····.locals·1864 ····.locals·1
  
861 ····.line·478865 ····.line·490
862 ····monitor-enter·p0866 ····monitor-enter·p0
  
863 ····.line·479867 ····.line·491
864 ····:try_start_0868 ····: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_0870 ····if-eq·p1,·v0,·:cond_0
  
867 ····.line·480871 ····.line·492
868 ····monitor-exit·p0872 ····monitor-exit·p0
  
869 ····return-void873 ····return-void
  
870 ····.line·483874 ····.line·495
871 ····:cond_0875 ····:cond_0
872 ····aput-object·p4,·p1,·p2876 ····aput-object·p4,·p1,·p2
  
873 ····const/4·p2,·0x1877 ····const/4·p2,·0x1
  
874 ····.line·484878 ····.line·496
875 ····invoke-virtual·{p3,·p2},·Ljava/util/concurrent/atomic/AtomicInteger;->addAndGet(I)I879 ····invoke-virtual·{p3,·p2},·Ljava/util/concurrent/atomic/AtomicInteger;->addAndGet(I)I
  
876 ····move-result·p2880 ····move-result·p2
  
877 ····array-length·p3,·p1881 ····array-length·p3,·p1
  
878 ····if-ne·p2,·p3,·:cond_1882 ····if-ne·p2,·p3,·:cond_1
  
879 ····.line·485883 ····.line·497
880 ····array-length·p2,·p1884 ····array-length·p2,·p1
  
881 ····const/4·p3,·0x0885 ····const/4·p3,·0x0
  
882 ····:goto_0886 ····:goto_0
883 ····if-ge·p3,·p2,·:cond_1887 ····if-ge·p3,·p2,·:cond_1
  
884 ····aget-object·p4,·p1,·p3888 ····aget-object·p4,·p1,·p3
  
885 ····.line·486889 ····.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;)V891 ····invoke-virtual·{v0,·p4},·Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
  
888 ····add-int/lit8·p3,·p3,·0x1892 ····add-int/lit8·p3,·p3,·0x1
  
889 ····goto·:goto_0893 ····goto·:goto_0
  
890 ····.line·489894 ····.line·501
891 ····:cond_1895 ····:cond_1
892 ····monitor-exit·p0896 ····monitor-exit·p0
  
893 ····return-void897 ····return-void
  
894 ····:catchall_0898 ····:catchall_0
895 ····move-exception·p1899 ····move-exception·p1
Offset 923, 22 lines modifiedOffset 927, 22 lines modified
  
923 ····throw·p1927 ····throw·p1
924 .end·method928 .end·method
  
925 .method·private·synthetic·lambda$setState$6(Landroid/view/View;)V929 .method·private·synthetic·lambda$setState$6(Landroid/view/View;)V
926 ····.locals·3930 ····.locals·3
  
927 ····.line·694931 ····.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;)V934 ····invoke-direct·{p1,·v0},·Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
  
931 ····.line·695935 ····.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·p1937 ····move-result-object·p1
  
934 ····const/4·v0,·0x0938 ····const/4·v0,·0x0
  
935 ····:cond_0939 ····:cond_0
Offset 955, 54 lines modifiedOffset 959, 54 lines modified
  
955 ····move-result-object·v2959 ····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_1961 ····if-nez·v1,·:cond_1
  
958 ····.line·696962 ····.line·708
959 ····invoke-interface·{v2},·Lcom/android/car/ui/toolbar/Toolbar$OnBackListener;->onBack()Z963 ····invoke-interface·{v2},·Lcom/android/car/ui/toolbar/Toolbar$OnBackListener;->onBack()Z
  
960 ····move-result·v1964 ····move-result·v1
  
961 ····if-eqz·v1,·:cond_0965 ····if-eqz·v1,·:cond_0
  
962 ····:cond_1966 ····:cond_1
963 ····const/4·v1,·0x1967 ····const/4·v1,·0x1
  
964 ····goto·:goto_0968 ····goto·:goto_0
  
965 ····:cond_2969 ····:cond_2
966 ····if-nez·v1,·:cond_3970 ····if-nez·v1,·:cond_3
  
967 ····.line·700971 ····.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·p1973 ····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·p1975 ····move-result-object·p1
  
972 ····if-eqz·p1,·:cond_3976 ····if-eqz·p1,·:cond_3
  
973 ····.line·702977 ····.line·714
974 ····invoke-virtual·{p1},·Landroid/app/Activity;->onBackPressed()V978 ····invoke-virtual·{p1},·Landroid/app/Activity;->onBackPressed()V
  
975 ····:cond_3979 ····:cond_3
976 ····return-void980 ····return-void
977 .end·method981 .end·method
  
978 .method·private·synthetic·lambda$toCarUiContentListItem$5(Lcom/android/car/ui/toolbar/MenuItem;Lcom/android/car/ui/recyclerview/CarUiContentListItem;)V982 .method·private·synthetic·lambda$toCarUiContentListItem$5(Lcom/android/car/ui/toolbar/MenuItem;Lcom/android/car/ui/recyclerview/CarUiContentListItem;)V
979 ····.locals·0983 ····.locals·0
  
980 ····.line·625984 ····.line·637
981 ····invoke-virtual·{p1},·Lcom/android/car/ui/toolbar/MenuItem;->performClick()V985 ····invoke-virtual·{p1},·Lcom/android/car/ui/toolbar/MenuItem;->performClick()V
  
982 ····.line·626986 ····.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()V988 ····invoke-virtual·{p1},·Landroid/app/AlertDialog;->hide()V
  
985 ····return-void989 ····return-void
986 .end·method990 .end·method
  
Offset 1015, 56 lines modifiedOffset 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·annotation1022 ····.end·annotation
  
1019 ····if-nez·p1,·:cond_01023 ····if-nez·p1,·:cond_0
  
1020 ····.line·4361024 ····.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·p11026 ····move-result-object·p1
  
1023 ····.line·4391027 ····.line·451
1024 ····:cond_01028 ····:cond_0
1025 ····new-instance·v0,·Ljava/util/ArrayList;1029 ····new-instance·v0,·Ljava/util/ArrayList;
  
1026 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V1030 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V
  
1027 ····.line·4401031 ····.line·452
1028 ····new-instance·v1,·Ljava/util/ArrayList;1032 ····new-instance·v1,·Ljava/util/ArrayList;
  
1029 ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V1033 ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V
  
1030 ····.line·4411034 ····.line·453
1031 ····new-instance·v2,·Ljava/util/concurrent/atomic/AtomicInteger;1035 ····new-instance·v2,·Ljava/util/concurrent/atomic/AtomicInteger;
  
1032 ····const/4·v3,·0x01036 ····const/4·v3,·0x0
  
1033 ····invoke-direct·{v2,·v3},·Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V1037 ····invoke-direct·{v2,·v3},·Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V
  
1034 ····.line·4431038 ····.line·455
1035 ····monitor-enter·p01039 ····monitor-enter·p0
  
1036 ····.line·4441040 ····.line·456
1037 ····:try_start_01041 ····: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;)Z1043 ····invoke-interface·{p1,·v4},·Ljava/util/List;->equals(Ljava/lang/Object;)Z
  
1040 ····move-result·v41044 ····move-result·v4
  
1041 ····if-eqz·v4,·:cond_11045 ····if-eqz·v4,·:cond_1
  
1042 ····.line·4451046 ····.line·457
1043 ····monitor-exit·p01047 ····monitor-exit·p0
  
1044 ····return-void1048 ····return-void
  
1045 ····.line·4481049 ····.line·460
1046 ····:cond_11050 ····: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·v41052 ····move-result-object·v4
  
1049 ····:goto_01053 ····:goto_0
1050 ····invoke-interface·{v4},·Ljava/util/Iterator;->hasNext()Z1054 ····invoke-interface·{v4},·Ljava/util/Iterator;->hasNext()Z
Offset 1075, 300 lines modifiedOffset 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·v51080 ····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·4491082 ····.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·v61084 ····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_21086 ····if-ne·v6,·v7,·:cond_2
  
1083 ····.line·4501087 ····.line·462
1084 ····invoke-interface·{v1,·v5},·Ljava/util/List;->add(Ljava/lang/Object;)Z1088 ····invoke-interface·{v1,·v5},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
1085 ····.line·4511089 ····.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;)V1091 ····invoke-virtual·{v5,·v6},·Lcom/android/car/ui/toolbar/MenuItem;->setListener(Lcom/android/car/ui/toolbar/MenuItem$Listener;)V
  
1088 ····goto·:goto_01092 ····goto·:goto_0
  
1089 ····.line·4531093 ····.line·465
1090 ····:cond_21094 ····:cond_2
1091 ····invoke-interface·{v0,·v5},·Ljava/util/List;->add(Ljava/lang/Object;)Z1095 ····invoke-interface·{v0,·v5},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
1092 ····goto·:goto_01096 ····goto·:goto_0
  
1093 ····.line·4591097 ····.line·471
1094 ····:cond_31098 ····: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;)V1100 ····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·4601102 ····.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·4611104 ····.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()V1106 ····invoke-interface·{p1},·Ljava/util/List;->clear()V
  
1103 ····.line·4621107 ····.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()V1109 ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->removeAllViews()V
  
1106 ····.line·4641110 ····.line·476
1107 ····invoke-interface·{v1},·Ljava/util/List;->isEmpty()Z1111 ····invoke-interface·{v1},·Ljava/util/List;->isEmpty()Z
  
1108 ····move-result·p11112 ····move-result·p1
  
1109 ····if-nez·p1,·:cond_41113 ····if-nez·p1,·:cond_4
  
1110 ····.line·4651114 ····.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;)Z1116 ····invoke-interface·{v0,·p1},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
1113 ····.line·4661117 ····.line·478
1114 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->createOverflowDialog()V1118 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->createOverflowDialog()V
  
1115 ····.line·4691119 ····.line·481
1116 ····:cond_41120 ····:cond_4
1117 ····invoke-interface·{v0},·Ljava/util/List;->size()I1121 ····invoke-interface·{v0},·Ljava/util/List;->size()I
  
1118 ····move-result·p11122 ····move-result·p1
  
1119 ····new-array·p1,·p1,·[Landroid/view/View;1123 ····new-array·p1,·p1,·[Landroid/view/View;
  
1120 ····.line·4701124 ····.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·4721126 ····.line·484
1123 ····:goto_11127 ····:goto_1
1124 ····invoke-interface·{v0},·Ljava/util/List;->size()I1128 ····invoke-interface·{v0},·Ljava/util/List;->size()I
  
1125 ····move-result·v11129 ····move-result·v1
  
1126 ····if-ge·v3,·v1,·:cond_51130 ····if-ge·v3,·v1,·:cond_5
  
1127 ····.line·4741131 ····.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·v11133 ····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·4751135 ····.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;)V1138 ····invoke-direct·{v4,·v1,·v5},·Lcom/android/car/ui/toolbar/MenuItemRenderer;-><init>(Lcom/android/car/ui/toolbar/MenuItem;Landroid/view/ViewGroup;)V
  
1135 ····.line·4761139 ····.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;)Z1141 ····invoke-interface·{v1,·v4},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
1138 ····.line·4771142 ····.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;)V1144 ····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;)V1145 ····invoke-virtual·{v4,·v1},·Lcom/android/car/ui/toolbar/MenuItemRenderer;->createView(Landroidx/core/util/Consumer;)V
  
1142 ····add-int/lit8·v3,·v3,·0x11146 ····add-int/lit8·v3,·v3,·0x1
  
1143 ····goto·:goto_11147 ····goto·:goto_1
  
1144 ····.line·4921148 ····.line·504
1145 ····:cond_51149 ····:cond_5
1146 ····monitor-exit·p01150 ····monitor-exit·p0
1147 ····:try_end_01151 ····:try_end_0
1148 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_01152 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0
  
1149 ····.line·4941153 ····.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;)V1155 ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V
  
1152 ····return-void1156 ····return-void
  
1153 ····:catchall_01157 ····:catchall_0
1154 ····move-exception·p11158 ····move-exception·p1
  
1155 ····.line·4921159 ····.line·504
1156 ····:try_start_11160 ····:try_start_1
1157 ····monitor-exit·p01161 ····monitor-exit·p0
1158 ····:try_end_11162 ····:try_end_1
1159 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_01163 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0
  
1160 ····throw·p11164 ····throw·p1
1161 .end·method1165 .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·21167 ····.locals·2
  
1164 ····.line·6141168 ····.line·626
1165 ····invoke-virtual·{p1},·Lcom/android/car/ui/toolbar/MenuItem;->isCheckable()Z1169 ····invoke-virtual·{p1},·Lcom/android/car/ui/toolbar/MenuItem;->isCheckable()Z
  
1166 ····move-result·v01170 ····move-result·v0
  
1167 ····if-eqz·v0,·:cond_01171 ····if-eqz·v0,·:cond_0
  
1168 ····.line·6151172 ····.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;)V1175 ····invoke-direct·{v0,·v1},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;-><init>(Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action;)V
  
1172 ····goto·:goto_01176 ····goto·:goto_0
  
1173 ····.line·6171177 ····.line·629
1174 ····:cond_01178 ····: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.