Offset 11, 22 lines modifiedOffset 11, 26 lines modified
  
  
11 #·instance·fields11 #·instance·fields
12 .field·private·mIconContainer:Landroid/view/View;12 .field·private·mIconContainer:Landroid/view/View;
  
13 .field·private·mIconView:Landroid/widget/ImageView;13 .field·private·mIconView:Landroid/widget/ImageView;
  
 14 .field·private·mIsRotaryEnabledLayout:Z
  
14 .field·private·final·mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;15 .field·private·final·mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;
  
15 .field·private·final·mMenuItemIconSize:I16 .field·private·final·mMenuItemIconSize:I
  
16 .field·private·final·mParentView:Landroid/view/ViewGroup;17 .field·private·final·mParentView:Landroid/view/ViewGroup;
  
17 .field·private·mSwitch:Landroid/widget/Switch;18 .field·private·mSwitch:Landroid/widget/Switch;
  
 19 .field·private·mTextContainer:Landroid/view/View;
  
18 .field·private·mTextView:Landroid/widget/TextView;20 .field·private·mTextView:Landroid/widget/TextView;
  
19 .field·private·mTextWithIconView:Landroid/widget/TextView;21 .field·private·mTextWithIconView:Landroid/widget/TextView;
  
20 .field·private·mToolbarState:Lcom/android/car/ui/toolbar/Toolbar$State;22 .field·private·mToolbarState:Lcom/android/car/ui/toolbar/Toolbar$State;
  
21 .field·private·mView:Landroid/view/View;23 .field·private·mView:Landroid/view/View;
Offset 51, 120 lines modifiedOffset 55, 145 lines modified
  
51 ····return-void55 ····return-void
52 .end·method56 .end·method
  
53 .method·constructor·<init>(Lcom/android/car/ui/toolbar/MenuItem;Landroid/view/ViewGroup;)V57 .method·constructor·<init>(Lcom/android/car/ui/toolbar/MenuItem;Landroid/view/ViewGroup;)V
54 ····.locals·058 ····.locals·0
  
55 ····.line·6959 ····.line·73
56 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V60 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
57 ····.line·7061 ····.line·74
58 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;62 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;
  
59 ····.line·7163 ····.line·75
60 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mParentView:Landroid/view/ViewGroup;64 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mParentView:Landroid/view/ViewGroup;
  
61 ····.line·7265 ····.line·76
62 ····invoke-virtual·{p1,·p0},·Lcom/android/car/ui/toolbar/MenuItem;->setListener(Lcom/android/car/ui/toolbar/MenuItem$Listener;)V66 ····invoke-virtual·{p1,·p0},·Lcom/android/car/ui/toolbar/MenuItem;->setListener(Lcom/android/car/ui/toolbar/MenuItem$Listener;)V
  
63 ····.line·7467 ····.line·78
64 ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context;68 ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
  
65 ····move-result-object·p169 ····move-result-object·p1
  
66 ····invoke-virtual·{p1},·Landroid/content/Context;->getResources()Landroid/content/res/Resources;70 ····invoke-virtual·{p1},·Landroid/content/Context;->getResources()Landroid/content/res/Resources;
  
67 ····move-result-object·p171 ····move-result-object·p1
  
68 ····sget·p2,·Lcom/android/car/ui/R$dimen;->car_ui_toolbar_menu_item_icon_size:I72 ····sget·p2,·Lcom/android/car/ui/R$dimen;->car_ui_toolbar_menu_item_icon_size:I
  
69 ····.line·7573 ····.line·79
70 ····invoke-virtual·{p1,·p2},·Landroid/content/res/Resources;->getDimensionPixelSize(I)I74 ····invoke-virtual·{p1,·p2},·Landroid/content/res/Resources;->getDimensionPixelSize(I)I
  
71 ····move-result·p175 ····move-result·p1
  
72 ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItemIconSize:I76 ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItemIconSize:I
  
73 ····return-void77 ····return-void
74 .end·method78 .end·method
  
75 .method·private·synthetic·lambda$createView$0(Landroidx/core/util/Consumer;Landroid/view/View;ILandroid/view/ViewGroup;)V79 .method·private·synthetic·lambda$createView$0(Landroidx/core/util/Consumer;Landroid/view/View;ILandroid/view/ViewGroup;)V
76 ····.locals·080 ····.locals·0
  
77 ····.line·9981 ····.line·103
78 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;82 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;
  
79 ····.line·10183 ····.line·105
80 ····sget·p3,·Lcom/android/car/ui/R$id;->car_ui_toolbar_menu_item_icon_container:I84 ····sget·p3,·Lcom/android/car/ui/R$id;->car_ui_toolbar_menu_item_icon_container:I
  
81 ····.line·10285 ····.line·106
82 ····invoke-static·{p2,·p3},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View;86 ····invoke-static·{p2,·p3},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View;
  
83 ····move-result-object·p287 ····move-result-object·p2
  
84 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mIconContainer:Landroid/view/View;88 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mIconContainer:Landroid/view/View;
  
85 ····.line·10389 ····.line·107
86 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;90 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;
  
87 ····sget·p3,·Lcom/android/car/ui/R$id;->car_ui_toolbar_menu_item_icon:I91 ····sget·p3,·Lcom/android/car/ui/R$id;->car_ui_toolbar_menu_item_icon:I
  
88 ····invoke-static·{p2,·p3},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View;92 ····invoke-static·{p2,·p3},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View;
  
89 ····move-result-object·p293 ····move-result-object·p2
  
90 ····check-cast·p2,·Landroid/widget/ImageView;94 ····check-cast·p2,·Landroid/widget/ImageView;
  
91 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mIconView:Landroid/widget/ImageView;95 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mIconView:Landroid/widget/ImageView;
  
92 ····.line·10496 ····.line·108
93 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;97 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;
  
94 ····sget·p3,·Lcom/android/car/ui/R$id;->car_ui_toolbar_menu_item_switch:I98 ····sget·p3,·Lcom/android/car/ui/R$id;->car_ui_toolbar_menu_item_switch:I
  
95 ····invoke-static·{p2,·p3},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View;99 ····invoke-static·{p2,·p3},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View;
  
96 ····move-result-object·p2100 ····move-result-object·p2
  
97 ····check-cast·p2,·Landroid/widget/Switch;101 ····check-cast·p2,·Landroid/widget/Switch;
  
98 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mSwitch:Landroid/widget/Switch;102 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mSwitch:Landroid/widget/Switch;
  
99 ····.line·105103 ····.line·110
 104 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;
  
 105 ····sget·p3,·Lcom/android/car/ui/R$id;->car_ui_toolbar_menu_item_text_container:I
  
 106 ····.line·111
 107 ····invoke-static·{p2,·p3},·Lcom/android/car/ui/utils/CarUiUtils;->findViewByRefId(Landroid/view/View;I)Landroid/view/View;
  
 108 ····move-result-object·p2
  
 109 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mTextContainer:Landroid/view/View;
  
 110 ····if-eqz·p2,·:cond_0
  
 111 ····const/4·p2,·0x1
  
 112 ····goto·:goto_0
  
 113 ····:cond_0
 114 ····const/4·p2,·0x0
  
 115 ····.line·112
 116 ····:goto_0
 117 ····iput-boolean·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mIsRotaryEnabledLayout:Z
  
 118 ····.line·113
100 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;119 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;
  
101 ····sget·p3,·Lcom/android/car/ui/R$id;->car_ui_toolbar_menu_item_text:I120 ····sget·p3,·Lcom/android/car/ui/R$id;->car_ui_toolbar_menu_item_text:I
  
102 ····invoke-static·{p2,·p3},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View;121 ····invoke-static·{p2,·p3},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View;
  
103 ····move-result-object·p2122 ····move-result-object·p2
  
104 ····check-cast·p2,·Landroid/widget/TextView;123 ····check-cast·p2,·Landroid/widget/TextView;
  
105 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mTextView:Landroid/widget/TextView;124 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mTextView:Landroid/widget/TextView;
  
106 ····.line·106125 ····.line·114
107 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;126 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;
  
108 ····sget·p3,·Lcom/android/car/ui/R$id;->car_ui_toolbar_menu_item_text_with_icon:I127 ····sget·p3,·Lcom/android/car/ui/R$id;->car_ui_toolbar_menu_item_text_with_icon:I
  
109 ····.line·107128 ····.line·115
110 ····invoke-static·{p2,·p3},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View;129 ····invoke-static·{p2,·p3},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View;
  
111 ····move-result-object·p2130 ····move-result-object·p2
  
112 ····check-cast·p2,·Landroid/widget/TextView;131 ····check-cast·p2,·Landroid/widget/TextView;
  
113 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mTextWithIconView:Landroid/widget/TextView;132 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mTextWithIconView:Landroid/widget/TextView;
  
114 ····.line·109133 ····.line·117
115 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItemRenderer;->updateView()V134 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItemRenderer;->updateView()V
  
116 ····.line·110135 ····.line·118
117 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;136 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;
  
118 ····invoke-interface·{p1,·p2},·Landroidx/core/util/Consumer;->accept(Ljava/lang/Object;)V137 ····invoke-interface·{p1,·p2},·Landroidx/core/util/Consumer;->accept(Ljava/lang/Object;)V
  
119 ····return-void138 ····return-void
120 .end·method139 .end·method
  
Offset 176, 15 lines modifiedOffset 205, 15 lines modified
176 ····:try_start_0205 ····:try_start_0
177 ····new-array·v0,·v0,·[Ljava/lang/Object;206 ····new-array·v0,·v0,·[Ljava/lang/Object;
  
178 ····const/4·v1,·0x0207 ····const/4·v1,·0x0
  
179 ····aput-object·p2,·v0,·v1208 ····aput-object·p2,·v0,·v1
  
180 ····.line·249209 ····.line·275
181 ····invoke-virtual·{p0,·p1,·v0},·Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;210 ····invoke-virtual·{p0,·p1,·v0},·Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
182 ····:try_end_0211 ····:try_end_0
183 ····.catch·Ljava/lang/reflect/InvocationTargetException;·{:try_start_0·..·:try_end_0}·:catch_1212 ····.catch·Ljava/lang/reflect/InvocationTargetException;·{:try_start_0·..·:try_end_0}·:catch_1
184 ····.catch·Ljava/lang/IllegalAccessException;·{:try_start_0·..·:try_end_0}·:catch_0213 ····.catch·Ljava/lang/IllegalAccessException;·{:try_start_0·..·:try_end_0}·:catch_0
  
185 ····return-void214 ····return-void
  
Offset 192, 29 lines modifiedOffset 221, 29 lines modified
192 ····move-exception·p0221 ····move-exception·p0
  
193 ····goto·:goto_0222 ····goto·:goto_0
  
194 ····:catch_1223 ····:catch_1
195 ····move-exception·p0224 ····move-exception·p0
  
196 ····.line·251225 ····.line·277
197 ····:goto_0226 ····:goto_0
198 ····new-instance·p1,·Ljava/lang/RuntimeException;227 ····new-instance·p1,·Ljava/lang/RuntimeException;
  
199 ····const-string·p2,·"Couldn\'t·call·the·MenuItem\'s·listener"228 ····const-string·p2,·"Couldn\'t·call·the·MenuItem\'s·listener"
  
200 ····invoke-direct·{p1,·p2,·p0},·Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V229 ····invoke-direct·{p1,·p2,·p0},·Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
  
201 ····throw·p1230 ····throw·p1
202 .end·method231 .end·method
  
203 .method·private·synthetic·lambda$updateView$1(Landroid/view/View;)V232 .method·private·synthetic·lambda$updateView$1(Landroid/view/View;)V
204 ····.locals·0233 ····.locals·0
  
205 ····.line·165234 ····.line·191
206 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;235 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;
  
207 ····invoke-virtual·{p1},·Lcom/android/car/ui/toolbar/MenuItem;->performClick()V236 ····invoke-virtual·{p1},·Lcom/android/car/ui/toolbar/MenuItem;->performClick()V
  
208 ····return-void237 ····return-void
209 .end·method238 .end·method
  
Offset 231, 183 lines modifiedOffset 260, 183 lines modified
  
231 ····const/4·v1,·0x2260 ····const/4·v1,·0x2
  
232 ····const/4·v2,·0x0261 ····const/4·v2,·0x0
  
233 ····const-string·v3,·"MenuItem"262 ····const-string·v3,·"MenuItem"
  
234 ····.line·215263 ····.line·241
235 ····invoke-interface·{v0,·v1,·v2,·v3},·Landroid/content/res/XmlResourceParser;->require(ILjava/lang/String;Ljava/lang/String;)V264 ····invoke-interface·{v0,·v1,·v2,·v3},·Landroid/content/res/XmlResourceParser;->require(ILjava/lang/String;Ljava/lang/String;)V
  
236 ····.line·217265 ····.line·243
237 ····sget-object·v1,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem:[I266 ····sget-object·v1,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem:[I
  
238 ····move-object/from16·v4,·p0267 ····move-object/from16·v4,·p0
  
239 ····move-object/from16·v5,·p2268 ····move-object/from16·v5,·p2
  
240 ····invoke-virtual·{v4,·v5,·v1},·Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;269 ····invoke-virtual·{v4,·v5,·v1},·Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
  
241 ····move-result-object·v1270 ····move-result-object·v1
  
242 ····.line·219271 ····.line·245
243 ····:try_start_0272 ····:try_start_0
244 ····sget·v5,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_id:I273 ····sget·v5,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_id:I
  
245 ····const/4·v6,·-0x1274 ····const/4·v6,·-0x1
  
246 ····invoke-virtual·{v1,·v5,·v6},·Landroid/content/res/TypedArray;->getResourceId(II)I275 ····invoke-virtual·{v1,·v5,·v6},·Landroid/content/res/TypedArray;->getResourceId(II)I
  
247 ····move-result·v5276 ····move-result·v5
  
248 ····.line·220277 ····.line·246
249 ····sget·v6,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_title:I278 ····sget·v6,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_title:I
  
250 ····invoke-virtual·{v1,·v6},·Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;279 ····invoke-virtual·{v1,·v6},·Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
  
251 ····move-result-object·v6280 ····move-result-object·v6
  
252 ····.line·221281 ····.line·247
253 ····sget·v7,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_icon:I282 ····sget·v7,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_icon:I
  
254 ····invoke-virtual·{v1,·v7},·Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;283 ····invoke-virtual·{v1,·v7},·Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;
  
255 ····move-result-object·v7284 ····move-result-object·v7
  
256 ····.line·222285 ····.line·248
257 ····sget·v8,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_search:I286 ····sget·v8,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_search:I
  
258 ····const/4·v9,·0x0287 ····const/4·v9,·0x0
  
259 ····invoke-virtual·{v1,·v8,·v9},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z288 ····invoke-virtual·{v1,·v8,·v9},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z
  
260 ····move-result·v8289 ····move-result·v8
  
261 ····.line·223290 ····.line·249
262 ····sget·v10,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_settings:I291 ····sget·v10,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_settings:I
  
263 ····invoke-virtual·{v1,·v10,·v9},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z292 ····invoke-virtual·{v1,·v10,·v9},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z
  
264 ····move-result·v10293 ····move-result·v10
  
265 ····.line·224294 ····.line·250
266 ····sget·v11,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_tinted:I295 ····sget·v11,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_tinted:I
  
267 ····const/4·v12,·0x1296 ····const/4·v12,·0x1
  
268 ····invoke-virtual·{v1,·v11,·v12},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z297 ····invoke-virtual·{v1,·v11,·v12},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z
  
269 ····move-result·v11298 ····move-result·v11
  
270 ····.line·225299 ····.line·251
271 ····sget·v13,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_visible:I300 ····sget·v13,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_visible:I
  
272 ····invoke-virtual·{v1,·v13,·v12},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z301 ····invoke-virtual·{v1,·v13,·v12},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z
  
273 ····move-result·v13302 ····move-result·v13
  
274 ····.line·226303 ····.line·252
275 ····sget·v14,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_showIconAndTitle:I304 ····sget·v14,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_showIconAndTitle:I
  
276 ····invoke-virtual·{v1,·v14,·v9},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z305 ····invoke-virtual·{v1,·v14,·v9},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z
  
277 ····move-result·v14306 ····move-result·v14
  
278 ····.line·228307 ····.line·254
279 ····sget·v15,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_checkable:I308 ····sget·v15,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_checkable:I
  
280 ····invoke-virtual·{v1,·v15,·v9},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z309 ····invoke-virtual·{v1,·v15,·v9},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z
  
281 ····move-result·v15310 ····move-result·v15
  
282 ····.line·229311 ····.line·255
283 ····sget·v2,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_checked:I312 ····sget·v2,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_checked:I
  
284 ····invoke-virtual·{v1,·v2,·v9},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z313 ····invoke-virtual·{v1,·v2,·v9},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z
  
285 ····move-result·v2314 ····move-result·v2
  
286 ····.line·230315 ····.line·256
287 ····sget·v12,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_checked:I316 ····sget·v12,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_checked:I
  
288 ····invoke-virtual·{v1,·v12},·Landroid/content/res/TypedArray;->hasValue(I)Z317 ····invoke-virtual·{v1,·v12},·Landroid/content/res/TypedArray;->hasValue(I)Z
  
289 ····move-result·v12318 ····move-result·v12
  
290 ····.line·231319 ····.line·257
291 ····sget·v4,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_activatable:I320 ····sget·v4,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_activatable:I
  
292 ····invoke-virtual·{v1,·v4,·v9},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z321 ····invoke-virtual·{v1,·v4,·v9},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z
  
293 ····move-result·v4322 ····move-result·v4
  
294 ····move/from16·v16,·v4323 ····move/from16·v16,·v4
  
295 ····.line·232324 ····.line·258
296 ····sget·v4,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_activated:I325 ····sget·v4,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_activated:I
  
297 ····invoke-virtual·{v1,·v4,·v9},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z326 ····invoke-virtual·{v1,·v4,·v9},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z
  
298 ····move-result·v4327 ····move-result·v4
  
299 ····.line·233328 ····.line·259
300 ····sget·v9,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_activated:I329 ····sget·v9,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_activated:I
  
301 ····invoke-virtual·{v1,·v9},·Landroid/content/res/TypedArray;->hasValue(I)Z330 ····invoke-virtual·{v1,·v9},·Landroid/content/res/TypedArray;->hasValue(I)Z
  
302 ····move-result·v9331 ····move-result·v9
  
303 ····move/from16·v18,·v4332 ····move/from16·v18,·v4
  
304 ····.line·234333 ····.line·260
305 ····sget·v4,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_displayBehavior:I334 ····sget·v4,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_displayBehavior:I
  
306 ····move/from16·v19,·v9335 ····move/from16·v19,·v9
  
307 ····const/4·v9,·0x0336 ····const/4·v9,·0x0
  
308 ····invoke-virtual·{v1,·v4,·v9},·Landroid/content/res/TypedArray;->getInt(II)I337 ····invoke-virtual·{v1,·v4,·v9},·Landroid/content/res/TypedArray;->getInt(II)I
  
309 ····move-result·v4338 ····move-result·v4
  
310 ····move/from16·v20,·v2339 ····move/from16·v20,·v2
  
311 ····.line·235340 ····.line·261
312 ····sget·v2,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_uxRestrictions:I341 ····sget·v2,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_uxRestrictions:I
  
313 ····invoke-virtual·{v1,·v2,·v9},·Landroid/content/res/TypedArray;->getInt(II)I342 ····invoke-virtual·{v1,·v2,·v9},·Landroid/content/res/TypedArray;->getInt(II)I
  
314 ····move-result·v2343 ····move-result·v2
  
315 ····.line·236344 ····.line·262
316 ····sget·v9,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_onClick:I345 ····sget·v9,·Lcom/android/car/ui/R$styleable;->CarUiToolbarMenuItem_onClick:I
  
317 ····invoke-virtual·{v1,·v9},·Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;346 ····invoke-virtual·{v1,·v9},·Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
  
318 ····move-result-object·v9347 ····move-result-object·v9
319 ····:try_end_0348 ····:try_end_0
320 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_1349 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_1
  
321 ····if-eqz·v9,·:cond_1350 ····if-eqz·v9,·:cond_1
  
322 ····move-object/from16·v21,·v1351 ····move-object/from16·v21,·v1
  
323 ····.line·240352 ····.line·266
324 ····:try_start_1353 ····:try_start_1
325 ····invoke-static/range·{p0·..·p0},·Lcom/android/car/ui/utils/CarUiUtils;->getActivity(Landroid/content/Context;)Landroid/app/Activity;354 ····invoke-static/range·{p0·..·p0},·Lcom/android/car/ui/utils/CarUiUtils;->getActivity(Landroid/content/Context;)Landroid/app/Activity;
  
326 ····move-result-object·v1355 ····move-result-object·v1
327 ····:try_end_1356 ····:try_end_1
328 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0357 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0
  
329 ····if-eqz·v1,·:cond_0358 ····if-eqz·v1,·:cond_0
  
330 ····move/from16·v22,·v12359 ····move/from16·v22,·v12
  
331 ····.line·246360 ····.line·272
332 ····:try_start_2361 ····:try_start_2
333 ····invoke-virtual·{v1},·Ljava/lang/Object;->getClass()Ljava/lang/Class;362 ····invoke-virtual·{v1},·Ljava/lang/Object;->getClass()Ljava/lang/Class;
  
334 ····move-result-object·v12363 ····move-result-object·v12
  
335 ····move/from16·v23,·v15364 ····move/from16·v23,·v15
  
Offset 421, 28 lines modifiedOffset 450, 28 lines modified
  
421 ····aput-object·v24,·v15,·v17450 ····aput-object·v24,·v15,·v17
  
422 ····invoke-virtual·{v12,·v9,·v15},·Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;451 ····invoke-virtual·{v12,·v9,·v15},·Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
  
423 ····move-result-object·v12452 ····move-result-object·v12
  
424 ····.line·247453 ····.line·273
425 ····new-instance·v15,·Lcom/android/car/ui/toolbar/-$$Lambda$MenuItemRenderer$o4Q9ccZfugknqOARB2tvDnC1XDw;454 ····new-instance·v15,·Lcom/android/car/ui/toolbar/-$$Lambda$MenuItemRenderer$o4Q9ccZfugknqOARB2tvDnC1XDw;
  
426 ····invoke-direct·{v15,·v12,·v1},·Lcom/android/car/ui/toolbar/-$$Lambda$MenuItemRenderer$o4Q9ccZfugknqOARB2tvDnC1XDw;-><init>(Ljava/lang/reflect/Method;Landroid/app/Activity;)V455 ····invoke-direct·{v15,·v12,·v1},·Lcom/android/car/ui/toolbar/-$$Lambda$MenuItemRenderer$o4Q9ccZfugknqOARB2tvDnC1XDw;-><init>(Ljava/lang/reflect/Method;Landroid/app/Activity;)V
427 ····:try_end_2456 ····:try_end_2
428 ····.catch·Ljava/lang/NoSuchMethodException;·{:try_start_2·..·:try_end_2}·:catch_0457 ····.catch·Ljava/lang/NoSuchMethodException;·{:try_start_2·..·:try_end_2}·:catch_0
429 ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_0458 ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_0
  
430 ····goto·:goto_0459 ····goto·:goto_0
  
431 ····:catch_0460 ····:catch_0
432 ····move-exception·v0461 ····move-exception·v0
  
433 ····.line·255462 ····.line·281
434 ····:try_start_3463 ····:try_start_3
435 ····new-instance·v1,·Ljava/lang/RuntimeException;464 ····new-instance·v1,·Ljava/lang/RuntimeException;
  
436 ····new-instance·v2,·Ljava/lang/StringBuilder;465 ····new-instance·v2,·Ljava/lang/StringBuilder;
  
437 ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V466 ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V
  
Offset 460, 15 lines modifiedOffset 489, 15 lines modified
  
460 ····move-result-object·v2489 ····move-result-object·v2
  
461 ····invoke-direct·{v1,·v2,·v0},·Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V490 ····invoke-direct·{v1,·v2,·v0},·Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
  
462 ····throw·v1491 ····throw·v1
  
463 ····.line·242492 ····.line·268
464 ····:cond_0493 ····:cond_0
465 ····new-instance·v0,·Ljava/lang/RuntimeException;494 ····new-instance·v0,·Ljava/lang/RuntimeException;
  
466 ····const-string·v1,·"Couldn\'t·find·an·activity·for·the·MenuItem"495 ····const-string·v1,·"Couldn\'t·find·an·activity·for·the·MenuItem"
  
467 ····invoke-direct·{v0,·v1},·Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V496 ····invoke-direct·{v0,·v1},·Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
  
Offset 487, 139 lines modifiedOffset 516, 139 lines modified
487 ····move/from16·v23,·v15516 ····move/from16·v23,·v15
  
488 ····const/4·v15,·0x0517 ····const/4·v15,·0x0
  
489 ····:goto_0518 ····:goto_0
490 ····if-nez·v4,·:cond_2519 ····if-nez·v4,·:cond_2
  
491 ····.line·261520 ····.line·287
492 ····sget-object·v1,·Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;->ALWAYS:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;521 ····sget-object·v1,·Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;->ALWAYS:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;
  
493 ····goto·:goto_1522 ····goto·:goto_1
  
494 ····.line·262523 ····.line·288
495 ····:cond_2524 ····:cond_2
496 ····sget-object·v1,·Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;->NEVER:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;525 ····sget-object·v1,·Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;->NEVER:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;
  
497 ····.line·264526 ····.line·290
498 ····:goto_1527 ····:goto_1
499 ····invoke-interface/range·{p1·..·p1},·Landroid/content/res/XmlResourceParser;->next()I528 ····invoke-interface/range·{p1·..·p1},·Landroid/content/res/XmlResourceParser;->next()I
  
500 ····const/4·v4,·0x3529 ····const/4·v4,·0x3
  
501 ····const/4·v9,·0x0530 ····const/4·v9,·0x0
  
502 ····.line·265531 ····.line·291
503 ····invoke-interface·{v0,·v4,·v9,·v3},·Landroid/content/res/XmlResourceParser;->require(ILjava/lang/String;Ljava/lang/String;)V532 ····invoke-interface·{v0,·v4,·v9,·v3},·Landroid/content/res/XmlResourceParser;->require(ILjava/lang/String;Ljava/lang/String;)V
  
504 ····.line·267533 ····.line·293
505 ····invoke-static/range·{p0·..·p0},·Lcom/android/car/ui/toolbar/MenuItem;->builder(Landroid/content/Context;)Lcom/android/car/ui/toolbar/MenuItem$Builder;534 ····invoke-static/range·{p0·..·p0},·Lcom/android/car/ui/toolbar/MenuItem;->builder(Landroid/content/Context;)Lcom/android/car/ui/toolbar/MenuItem$Builder;
  
506 ····move-result-object·v0535 ····move-result-object·v0
  
507 ····.line·268536 ····.line·294
508 ····invoke-virtual·{v0,·v5},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setId(I)Lcom/android/car/ui/toolbar/MenuItem$Builder;537 ····invoke-virtual·{v0,·v5},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setId(I)Lcom/android/car/ui/toolbar/MenuItem$Builder;
  
509 ····move-result-object·v0538 ····move-result-object·v0
  
510 ····.line·269539 ····.line·295
511 ····invoke-virtual·{v0,·v6},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setTitle(Ljava/lang/CharSequence;)Lcom/android/car/ui/toolbar/MenuItem$Builder;540 ····invoke-virtual·{v0,·v6},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setTitle(Ljava/lang/CharSequence;)Lcom/android/car/ui/toolbar/MenuItem$Builder;
  
512 ····move-result-object·v0541 ····move-result-object·v0
  
513 ····.line·270542 ····.line·296
514 ····invoke-virtual·{v0,·v7},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setIcon(Landroid/graphics/drawable/Drawable;)Lcom/android/car/ui/toolbar/MenuItem$Builder;543 ····invoke-virtual·{v0,·v7},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setIcon(Landroid/graphics/drawable/Drawable;)Lcom/android/car/ui/toolbar/MenuItem$Builder;
  
515 ····move-result-object·v0544 ····move-result-object·v0
  
516 ····.line·271545 ····.line·297
517 ····invoke-virtual·{v0,·v15},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setOnClickListener(Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)Lcom/android/car/ui/toolbar/MenuItem$Builder;546 ····invoke-virtual·{v0,·v15},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setOnClickListener(Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)Lcom/android/car/ui/toolbar/MenuItem$Builder;
  
518 ····move-result-object·v0547 ····move-result-object·v0
  
519 ····.line·272548 ····.line·298
520 ····invoke-virtual·{v0,·v2},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setUxRestrictions(I)Lcom/android/car/ui/toolbar/MenuItem$Builder;549 ····invoke-virtual·{v0,·v2},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setUxRestrictions(I)Lcom/android/car/ui/toolbar/MenuItem$Builder;
  
521 ····move-result-object·v0550 ····move-result-object·v0
  
522 ····.line·273551 ····.line·299
523 ····invoke-virtual·{v0,·v11},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setTinted(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder;552 ····invoke-virtual·{v0,·v11},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setTinted(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder;
  
524 ····move-result-object·v0553 ····move-result-object·v0
  
525 ····.line·274554 ····.line·300
526 ····invoke-virtual·{v0,·v13},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setVisible(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder;555 ····invoke-virtual·{v0,·v13},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setVisible(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder;
  
527 ····move-result-object·v0556 ····move-result-object·v0
  
528 ····.line·275557 ····.line·301
529 ····invoke-virtual·{v0,·v14},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setShowIconAndTitle(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder;558 ····invoke-virtual·{v0,·v14},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setShowIconAndTitle(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder;
  
530 ····move-result-object·v0559 ····move-result-object·v0
  
531 ····.line·276560 ····.line·302
532 ····invoke-virtual·{v0,·v1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setDisplayBehavior(Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;)Lcom/android/car/ui/toolbar/MenuItem$Builder;561 ····invoke-virtual·{v0,·v1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setDisplayBehavior(Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;)Lcom/android/car/ui/toolbar/MenuItem$Builder;
  
533 ····move-result-object·v0562 ····move-result-object·v0
  
534 ····if-eqz·v8,·:cond_3563 ····if-eqz·v8,·:cond_3
  
535 ····.line·279564 ····.line·305
536 ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setToSearch()Lcom/android/car/ui/toolbar/MenuItem$Builder;565 ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setToSearch()Lcom/android/car/ui/toolbar/MenuItem$Builder;
  
537 ····:cond_3566 ····:cond_3
538 ····if-eqz·v10,·:cond_4567 ····if-eqz·v10,·:cond_4
  
539 ····.line·283568 ····.line·309
540 ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setToSettings()Lcom/android/car/ui/toolbar/MenuItem$Builder;569 ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setToSettings()Lcom/android/car/ui/toolbar/MenuItem$Builder;
  
541 ····:cond_4570 ····:cond_4
542 ····if-nez·v23,·:cond_5571 ····if-nez·v23,·:cond_5
  
543 ····if-eqz·v22,·:cond_6572 ····if-eqz·v22,·:cond_6
  
544 ····:cond_5573 ····:cond_5
545 ····move/from16·v1,·v20574 ····move/from16·v1,·v20
  
546 ····.line·287575 ····.line·313
547 ····invoke-virtual·{v0,·v1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setChecked(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder;576 ····invoke-virtual·{v0,·v1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setChecked(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder;
  
548 ····:cond_6577 ····:cond_6
549 ····if-nez·v16,·:cond_7578 ····if-nez·v16,·:cond_7
  
550 ····if-eqz·v19,·:cond_8579 ····if-eqz·v19,·:cond_8
  
551 ····:cond_7580 ····:cond_7
552 ····move/from16·v1,·v18581 ····move/from16·v1,·v18
  
553 ····.line·291582 ····.line·317
554 ····invoke-virtual·{v0,·v1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setActivated(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder;583 ····invoke-virtual·{v0,·v1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setActivated(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder;
  
555 ····.line·294584 ····.line·320
556 ····:cond_8585 ····:cond_8
557 ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->build()Lcom/android/car/ui/toolbar/MenuItem;586 ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->build()Lcom/android/car/ui/toolbar/MenuItem;
  
558 ····move-result-object·v0587 ····move-result-object·v0
559 ····:try_end_3588 ····:try_end_3
560 ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_0589 ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_0
  
561 ····.line·296590 ····.line·322
562 ····invoke-virtual/range·{v21·..·v21},·Landroid/content/res/TypedArray;->recycle()V591 ····invoke-virtual/range·{v21·..·v21},·Landroid/content/res/TypedArray;->recycle()V
  
563 ····return-object·v0592 ····return-object·v0
  
564 ····:catchall_1593 ····:catchall_1
565 ····move-exception·v0594 ····move-exception·v0
  
566 ····move-object/from16·v21,·v1595 ····move-object/from16·v21,·v1
  
567 ····:goto_2596 ····:goto_2
568 ····invoke-virtual/range·{v21·..·v21},·Landroid/content/res/TypedArray;->recycle()V597 ····invoke-virtual/range·{v21·..·v21},·Landroid/content/res/TypedArray;->recycle()V
  
569 ····.line·297598 ····.line·323
570 ····throw·v0599 ····throw·v0
571 .end·method600 .end·method
  
572 .method·static·readMenuItemList(Landroid/content/Context;I)Ljava/util/List;601 .method·static·readMenuItemList(Landroid/content/Context;I)Ljava/util/List;
573 ····.locals·5602 ····.locals·5
574 ····.annotation·system·Ldalvik/annotation/Signature;603 ····.annotation·system·Ldalvik/annotation/Signature;
575 ········value·=·{604 ········value·=·{
Offset 630, 101 lines modifiedOffset 659, 101 lines modified
630 ············"Lcom/android/car/ui/toolbar/MenuItem;",659 ············"Lcom/android/car/ui/toolbar/MenuItem;",
631 ············">;"660 ············">;"
632 ········}661 ········}
633 ····.end·annotation662 ····.end·annotation
  
634 ····if-nez·p1,·:cond_0663 ····if-nez·p1,·:cond_0
  
635 ····.line·192664 ····.line·218
636 ····new-instance·p0,·Ljava/util/ArrayList;665 ····new-instance·p0,·Ljava/util/ArrayList;
  
637 ····invoke-direct·{p0},·Ljava/util/ArrayList;-><init>()V666 ····invoke-direct·{p0},·Ljava/util/ArrayList;-><init>()V
  
638 ····return-object·p0667 ····return-object·p0
  
639 ····.line·195668 ····.line·221
640 ····:cond_0669 ····:cond_0
641 ····:try_start_0670 ····:try_start_0
642 ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources;671 ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources;
  
643 ····move-result-object·v0672 ····move-result-object·v0
  
644 ····invoke-virtual·{v0,·p1},·Landroid/content/res/Resources;->getXml(I)Landroid/content/res/XmlResourceParser;673 ····invoke-virtual·{v0,·p1},·Landroid/content/res/Resources;->getXml(I)Landroid/content/res/XmlResourceParser;
  
645 ····move-result-object·p1674 ····move-result-object·p1
646 ····:try_end_0675 ····:try_end_0
647 ····.catch·Lorg/xmlpull/v1/XmlPullParserException;·{:try_start_0·..·:try_end_0}·:catch_1676 ····.catch·Lorg/xmlpull/v1/XmlPullParserException;·{:try_start_0·..·:try_end_0}·:catch_1
648 ····.catch·Ljava/io/IOException;·{:try_start_0·..·:try_end_0}·:catch_0677 ····.catch·Ljava/io/IOException;·{:try_start_0·..·:try_end_0}·:catch_0
  
649 ····.line·196678 ····.line·222
650 ····:try_start_1679 ····:try_start_1
651 ····invoke-static·{p1},·Landroid/util/Xml;->asAttributeSet(Lorg/xmlpull/v1/XmlPullParser;)Landroid/util/AttributeSet;680 ····invoke-static·{p1},·Landroid/util/Xml;->asAttributeSet(Lorg/xmlpull/v1/XmlPullParser;)Landroid/util/AttributeSet;
  
652 ····move-result-object·v0681 ····move-result-object·v0
  
653 ····.line·197682 ····.line·223
654 ····new-instance·v1,·Ljava/util/ArrayList;683 ····new-instance·v1,·Ljava/util/ArrayList;
  
655 ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V684 ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V
  
656 ····.line·199685 ····.line·225
657 ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->next()I686 ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->next()I
  
658 ····.line·200687 ····.line·226
659 ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->next()I688 ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->next()I
  
660 ····const/4·v2,·0x2689 ····const/4·v2,·0x2
  
661 ····const/4·v3,·0x0690 ····const/4·v3,·0x0
  
662 ····const-string·v4,·"MenuItems"691 ····const-string·v4,·"MenuItems"
  
663 ····.line·201692 ····.line·227
664 ····invoke-interface·{p1,·v2,·v3,·v4},·Landroid/content/res/XmlResourceParser;->require(ILjava/lang/String;Ljava/lang/String;)V693 ····invoke-interface·{p1,·v2,·v3,·v4},·Landroid/content/res/XmlResourceParser;->require(ILjava/lang/String;Ljava/lang/String;)V
  
665 ····.line·202694 ····.line·228
666 ····:goto_0695 ····:goto_0
667 ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->next()I696 ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->next()I
  
668 ····move-result·v2697 ····move-result·v2
  
669 ····const/4·v3,·0x3698 ····const/4·v3,·0x3
  
670 ····if-eq·v2,·v3,·:cond_1699 ····if-eq·v2,·v3,·:cond_1
  
671 ····.line·203700 ····.line·229
672 ····invoke-static·{p0,·p1,·v0},·Lcom/android/car/ui/toolbar/MenuItemRenderer;->readMenuItem(Landroid/content/Context;Landroid/content/res/XmlResourceParser;Landroid/util/AttributeSet;)Lcom/android/car/ui/toolbar/MenuItem;701 ····invoke-static·{p0,·p1,·v0},·Lcom/android/car/ui/toolbar/MenuItemRenderer;->readMenuItem(Landroid/content/Context;Landroid/content/res/XmlResourceParser;Landroid/util/AttributeSet;)Lcom/android/car/ui/toolbar/MenuItem;
  
673 ····move-result-object·v2702 ····move-result-object·v2
  
674 ····invoke-interface·{v1,·v2},·Ljava/util/List;->add(Ljava/lang/Object;)Z703 ····invoke-interface·{v1,·v2},·Ljava/util/List;->add(Ljava/lang/Object;)Z
675 ····:try_end_1704 ····:try_end_1
676 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0705 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0
  
677 ····goto·:goto_0706 ····goto·:goto_0
  
678 ····:cond_1707 ····:cond_1
679 ····if-eqz·p1,·:cond_2708 ····if-eqz·p1,·:cond_2
  
680 ····.line·207709 ····.line·233
681 ····:try_start_2710 ····:try_start_2
682 ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->close()V711 ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->close()V
683 ····:try_end_2712 ····:try_end_2
684 ····.catch·Lorg/xmlpull/v1/XmlPullParserException;·{:try_start_2·..·:try_end_2}·:catch_1713 ····.catch·Lorg/xmlpull/v1/XmlPullParserException;·{:try_start_2·..·:try_end_2}·:catch_1
685 ····.catch·Ljava/io/IOException;·{:try_start_2·..·:try_end_2}·:catch_0714 ····.catch·Ljava/io/IOException;·{:try_start_2·..·:try_end_2}·:catch_0
  
686 ····:cond_2715 ····:cond_2
687 ····return-object·v1716 ····return-object·v1
  
688 ····:catchall_0717 ····:catchall_0
689 ····move-exception·p0718 ····move-exception·p0
  
690 ····if-eqz·p1,·:cond_3719 ····if-eqz·p1,·:cond_3
  
691 ····.line·195720 ····.line·221
692 ····:try_start_3721 ····:try_start_3
693 ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->close()V722 ····invoke-interface·{p1},·Landroid/content/res/XmlResourceParser;->close()V
694 ····:try_end_3723 ····:try_end_3
695 ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_1724 ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_1
  
696 ····goto·:goto_1725 ····goto·:goto_1
  
Offset 745, 38 lines modifiedOffset 774, 38 lines modified
745 ····move-exception·p0774 ····move-exception·p0
  
746 ····goto·:goto_2775 ····goto·:goto_2
  
747 ····:catch_1776 ····:catch_1
748 ····move-exception·p0777 ····move-exception·p0
  
749 ····.line·208778 ····.line·234
750 ····:goto_2779 ····:goto_2
751 ····new-instance·p1,·Ljava/lang/RuntimeException;780 ····new-instance·p1,·Ljava/lang/RuntimeException;
  
752 ····const-string·v0,·"Unable·to·parse·Menu·Items"781 ····const-string·v0,·"Unable·to·parse·Menu·Items"
  
753 ····invoke-direct·{p1,·v0,·p0},·Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V782 ····invoke-direct·{p1,·v0,·p0},·Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
  
754 ····throw·p1783 ····throw·p1
755 .end·method784 .end·method
  
756 .method·private·recursiveSetEnabledAndDrawableState(Landroid/view/View;)V785 .method·private·recursiveSetEnabledAndDrawableState(Landroid/view/View;)V
757 ····.locals·3786 ····.locals·3
  
758 ····.line·173787 ····.line·199
759 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;788 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;
  
760 ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/MenuItem;->isEnabled()Z789 ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/MenuItem;->isEnabled()Z
  
761 ····move-result·v0790 ····move-result·v0
  
762 ····invoke-virtual·{p1,·v0},·Landroid/view/View;->setEnabled(Z)V791 ····invoke-virtual·{p1,·v0},·Landroid/view/View;->setEnabled(Z)V
  
763 ····.line·175792 ····.line·201
764 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;793 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;
  
765 ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/MenuItem;->isRestricted()Z794 ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/MenuItem;->isRestricted()Z
  
766 ····move-result·v0795 ····move-result·v0
  
767 ····if-eqz·v0,·:cond_0796 ····if-eqz·v0,·:cond_0
Offset 784, 65 lines modifiedOffset 813, 65 lines modified
784 ····sget-object·v0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->RESTRICTED_STATE:[I813 ····sget-object·v0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->RESTRICTED_STATE:[I
  
785 ····goto·:goto_0814 ····goto·:goto_0
  
786 ····:cond_0815 ····:cond_0
787 ····const/4·v0,·0x0816 ····const/4·v0,·0x0
  
788 ····.line·176817 ····.line·202
789 ····:goto_0818 ····:goto_0
790 ····instance-of·v1,·p1,·Landroid/widget/ImageView;819 ····instance-of·v1,·p1,·Landroid/widget/ImageView;
  
791 ····if-eqz·v1,·:cond_1820 ····if-eqz·v1,·:cond_1
  
792 ····.line·177821 ····.line·203
793 ····move-object·v1,·p1822 ····move-object·v1,·p1
  
794 ····check-cast·v1,·Landroid/widget/ImageView;823 ····check-cast·v1,·Landroid/widget/ImageView;
  
795 ····const/4·v2,·0x1824 ····const/4·v2,·0x1
  
796 ····invoke-virtual·{v1,·v0,·v2},·Landroid/widget/ImageView;->setImageState([IZ)V825 ····invoke-virtual·{v1,·v0,·v2},·Landroid/widget/ImageView;->setImageState([IZ)V
  
797 ····goto·:goto_1826 ····goto·:goto_1
  
798 ····.line·178827 ····.line·204
799 ····:cond_1828 ····:cond_1
800 ····instance-of·v1,·p1,·Lcom/android/car/ui/uxr/DrawableStateView;829 ····instance-of·v1,·p1,·Lcom/android/car/ui/uxr/DrawableStateView;
  
801 ····if-eqz·v1,·:cond_2830 ····if-eqz·v1,·:cond_2
  
802 ····.line·179831 ····.line·205
803 ····move-object·v1,·p1832 ····move-object·v1,·p1
  
804 ····check-cast·v1,·Lcom/android/car/ui/uxr/DrawableStateView;833 ····check-cast·v1,·Lcom/android/car/ui/uxr/DrawableStateView;
  
805 ····invoke-interface·{v1,·v0},·Lcom/android/car/ui/uxr/DrawableStateView;->setDrawableState([I)V834 ····invoke-interface·{v1,·v0},·Lcom/android/car/ui/uxr/DrawableStateView;->setDrawableState([I)V
  
806 ····.line·182835 ····.line·208
807 ····:cond_2836 ····:cond_2
808 ····:goto_1837 ····:goto_1
809 ····instance-of·v0,·p1,·Landroid/view/ViewGroup;838 ····instance-of·v0,·p1,·Landroid/view/ViewGroup;
  
810 ····if-eqz·v0,·:cond_3839 ····if-eqz·v0,·:cond_3
  
811 ····.line·183840 ····.line·209
812 ····check-cast·p1,·Landroid/view/ViewGroup;841 ····check-cast·p1,·Landroid/view/ViewGroup;
  
813 ····const/4·v0,·0x0842 ····const/4·v0,·0x0
  
814 ····.line·184843 ····.line·210
815 ····:goto_2844 ····:goto_2
816 ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->getChildCount()I845 ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->getChildCount()I
  
817 ····move-result·v1846 ····move-result·v1
  
818 ····if-ge·v0,·v1,·:cond_3847 ····if-ge·v0,·v1,·:cond_3
  
819 ····.line·185848 ····.line·211
820 ····invoke-virtual·{p1,·v0},·Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;849 ····invoke-virtual·{p1,·v0},·Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
  
821 ····move-result-object·v1850 ····move-result-object·v1
  
822 ····invoke-direct·{p0,·v1},·Lcom/android/car/ui/toolbar/MenuItemRenderer;->recursiveSetEnabledAndDrawableState(Landroid/view/View;)V851 ····invoke-direct·{p0,·v1},·Lcom/android/car/ui/toolbar/MenuItemRenderer;->recursiveSetEnabledAndDrawableState(Landroid/view/View;)V
  
823 ····add-int/lit8·v0,·v0,·0x1852 ····add-int/lit8·v0,·v0,·0x1
Offset 852, 32 lines modifiedOffset 881, 32 lines modified
852 ····:cond_3881 ····:cond_3
853 ····return-void882 ····return-void
854 .end·method883 .end·method
  
855 .method·private·updateView()V884 .method·private·updateView()V
856 ····.locals·8885 ····.locals·8
  
857 ····.line·115886 ····.line·123
858 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;887 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;
  
859 ····if-nez·v0,·:cond_0888 ····if-nez·v0,·:cond_0
  
860 ····return-void889 ····return-void
  
861 ····.line·119890 ····.line·127
862 ····:cond_0891 ····:cond_0
863 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;892 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;
  
864 ····invoke-virtual·{v1},·Lcom/android/car/ui/toolbar/MenuItem;->getId()I893 ····invoke-virtual·{v1},·Lcom/android/car/ui/toolbar/MenuItem;->getId()I
  
865 ····move-result·v1894 ····move-result·v1
  
866 ····invoke-virtual·{v0,·v1},·Landroid/view/View;->setId(I)V895 ····invoke-virtual·{v0,·v1},·Landroid/view/View;->setId(I)V
  
867 ····.line·121896 ····.line·129
868 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;897 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;
  
869 ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/MenuItem;->getIcon()Landroid/graphics/drawable/Drawable;898 ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/MenuItem;->getIcon()Landroid/graphics/drawable/Drawable;
  
870 ····move-result-object·v0899 ····move-result-object·v0
  
871 ····const/4·v1,·0x1900 ····const/4·v1,·0x1
Offset 889, 318 lines modifiedOffset 918, 356 lines modified
889 ····move·v0,·v1918 ····move·v0,·v1
  
890 ····goto·:goto_0919 ····goto·:goto_0
  
891 ····:cond_1920 ····:cond_1
892 ····move·v0,·v2921 ····move·v0,·v2
  
893 ····.line·122922 ····.line·130
894 ····:goto_0923 ····:goto_0
895 ····iget-object·v3,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;924 ····iget-object·v3,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;
  
896 ····invoke-virtual·{v3},·Lcom/android/car/ui/toolbar/MenuItem;->getTitle()Ljava/lang/CharSequence;925 ····invoke-virtual·{v3},·Lcom/android/car/ui/toolbar/MenuItem;->getTitle()Ljava/lang/CharSequence;
  
897 ····move-result-object·v3926 ····move-result-object·v3
  
898 ····invoke-static·{v3},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z927 ····invoke-static·{v3},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
  
899 ····move-result·v3928 ····move-result·v3
  
900 ····xor-int/2addr·v1,·v3929 ····xor-int/2addr·v1,·v3
  
901 ····.line·123930 ····.line·131
902 ····iget-object·v3,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;931 ····iget-object·v3,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;
  
903 ····invoke-virtual·{v3},·Lcom/android/car/ui/toolbar/MenuItem;->isShowingIconAndTitle()Z932 ····invoke-virtual·{v3},·Lcom/android/car/ui/toolbar/MenuItem;->isShowingIconAndTitle()Z
  
904 ····move-result·v3933 ····move-result·v3
  
905 ····.line·124934 ····.line·132
906 ····iget-object·v4,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;935 ····iget-object·v4,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;
  
907 ····invoke-virtual·{v4},·Lcom/android/car/ui/toolbar/MenuItem;->isCheckable()Z936 ····invoke-virtual·{v4},·Lcom/android/car/ui/toolbar/MenuItem;->isCheckable()Z
  
908 ····move-result·v4937 ····move-result·v4
  
909 ····.line·126938 ····.line·134
910 ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;939 ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;
  
911 ····invoke-virtual·{v5},·Lcom/android/car/ui/toolbar/MenuItem;->isVisible()Z940 ····invoke-virtual·{v5},·Lcom/android/car/ui/toolbar/MenuItem;->isVisible()Z
  
912 ····move-result·v5941 ····move-result·v5
  
913 ····const/16·v6,·0x8942 ····const/16·v6,·0x8
  
914 ····if-eqz·v5,·:cond_a943 ····if-eqz·v5,·:cond_e
  
915 ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;944 ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;
  
916 ····.line·127945 ····.line·135
917 ····invoke-virtual·{v5},·Lcom/android/car/ui/toolbar/MenuItem;->isSearch()Z946 ····invoke-virtual·{v5},·Lcom/android/car/ui/toolbar/MenuItem;->isSearch()Z
  
918 ····move-result·v5947 ····move-result·v5
  
919 ····if-eqz·v5,·:cond_2948 ····if-eqz·v5,·:cond_2
  
920 ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mToolbarState:Lcom/android/car/ui/toolbar/Toolbar$State;949 ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mToolbarState:Lcom/android/car/ui/toolbar/Toolbar$State;
  
921 ····sget-object·v7,·Lcom/android/car/ui/toolbar/Toolbar$State;->SEARCH:Lcom/android/car/ui/toolbar/Toolbar$State;950 ····sget-object·v7,·Lcom/android/car/ui/toolbar/Toolbar$State;->SEARCH:Lcom/android/car/ui/toolbar/Toolbar$State;
  
922 ····if-eq·v5,·v7,·:cond_a951 ····if-eq·v5,·v7,·:cond_e
  
923 ····:cond_2952 ····:cond_2
924 ····if-nez·v4,·:cond_3953 ····if-nez·v4,·:cond_3
  
925 ····if-nez·v0,·:cond_3954 ····if-nez·v0,·:cond_3
  
926 ····if-nez·v1,·:cond_3955 ····if-nez·v1,·:cond_3
  
927 ····goto/16·:goto_4956 ····goto/16·:goto_7
  
928 ····.line·132957 ····.line·140
929 ····:cond_3958 ····:cond_3
930 ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;959 ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;
  
931 ····invoke-virtual·{v5,·v2},·Landroid/view/View;->setVisibility(I)V960 ····invoke-virtual·{v5,·v2},·Landroid/view/View;->setVisibility(I)V
  
932 ····.line·133961 ····.line·141
933 ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;962 ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mView:Landroid/view/View;
  
934 ····iget-object·v7,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;963 ····iget-object·v7,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;
  
935 ····invoke-virtual·{v7},·Lcom/android/car/ui/toolbar/MenuItem;->getTitle()Ljava/lang/CharSequence;964 ····invoke-virtual·{v7},·Lcom/android/car/ui/toolbar/MenuItem;->getTitle()Ljava/lang/CharSequence;
  
936 ····move-result-object·v7965 ····move-result-object·v7
  
937 ····invoke-virtual·{v5,·v7},·Landroid/view/View;->setContentDescription(Ljava/lang/CharSequence;)V966 ····invoke-virtual·{v5,·v7},·Landroid/view/View;->setContentDescription(Ljava/lang/CharSequence;)V
  
938 ····.line·135967 ····.line·145
939 ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mIconContainer:Landroid/view/View; 
  
940 ····invoke-virtual·{v5,·v6},·Landroid/view/View;->setVisibility(I)V 
  
941 ····.line·136 
942 ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mTextView:Landroid/widget/TextView;968 ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mTextView:Landroid/widget/TextView;
  
943 ····invoke-virtual·{v5,·v6},·Landroid/widget/TextView;->setVisibility(I)V969 ····invoke-virtual·{v5,·v6},·Landroid/widget/TextView;->setVisibility(I)V
  
944 ····.line·137970 ····.line·146
945 ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mTextWithIconView:Landroid/widget/TextView;971 ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mTextWithIconView:Landroid/widget/TextView;
  
946 ····invoke-virtual·{v5,·v6},·Landroid/widget/TextView;->setVisibility(I)V972 ····invoke-virtual·{v5,·v6},·Landroid/widget/TextView;->setVisibility(I)V
  
947 ····.line·138973 ····.line·147
948 ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mSwitch:Landroid/widget/Switch;974 ····iget-object·v5,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mSwitch:Landroid/widget/Switch;
  
949 ····invoke-virtual·{v5,·v6},·Landroid/widget/Switch;->setVisibility(I)V975 ····invoke-virtual·{v5,·v6},·Landroid/widget/Switch;->setVisibility(I)V
  
950 ····const/4·v5,·0x0976 ····const/4·v5,·0x0
  
951 ····if-eqz·v4,·:cond_4977 ····if-eqz·v4,·:cond_5
  
952 ····.line·140978 ····.line·149
953 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mSwitch:Landroid/widget/Switch;979 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mSwitch:Landroid/widget/Switch;
  
954 ····iget-object·v3,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;980 ····iget-object·v3,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;
  
955 ····invoke-virtual·{v3},·Lcom/android/car/ui/toolbar/MenuItem;->isChecked()Z981 ····invoke-virtual·{v3},·Lcom/android/car/ui/toolbar/MenuItem;->isChecked()Z
  
956 ····move-result·v3982 ····move-result·v3
  
957 ····invoke-virtual·{v1,·v3},·Landroid/widget/Switch;->setChecked(Z)V983 ····invoke-virtual·{v1,·v3},·Landroid/widget/Switch;->setChecked(Z)V
  
958 ····.line·141984 ····.line·150
959 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mSwitch:Landroid/widget/Switch;985 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mSwitch:Landroid/widget/Switch;
  
960 ····invoke-virtual·{v1,·v2},·Landroid/widget/Switch;->setVisibility(I)V986 ····invoke-virtual·{v1,·v2},·Landroid/widget/Switch;->setVisibility(I)V
  
961 ····goto·:goto_1987 ····.line·151
 988 ····iget-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mIsRotaryEnabledLayout:Z
  
 989 ····if-eqz·v1,·:cond_4
  
 990 ····:goto_1
 991 ····move·v1,·v6
  
 992 ····move·v6,·v2
  
 993 ····goto·:goto_3
  
962 ····:cond_4994 ····:cond_4
963 ····if-eqz·v1,·:cond_5995 ····move·v1,·v6
  
964 ····if-eqz·v0,·:cond_5996 ····goto·:goto_3
  
 997 ····:cond_5
 998 ····if-eqz·v1,·:cond_6
  
965 ····if-eqz·v3,·:cond_5999 ····if-eqz·v0,·:cond_6
  
 1000 ····if-eqz·v3,·:cond_6
  
966 ····.line·1431001 ····.line·155
967 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;1002 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;
  
968 ····invoke-virtual·{v1},·Lcom/android/car/ui/toolbar/MenuItem;->getIcon()Landroid/graphics/drawable/Drawable;1003 ····invoke-virtual·{v1},·Lcom/android/car/ui/toolbar/MenuItem;->getIcon()Landroid/graphics/drawable/Drawable;
  
969 ····move-result-object·v11004 ····move-result-object·v1
  
970 ····iget·v3,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItemIconSize:I1005 ····iget·v3,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItemIconSize:I
  
971 ····invoke-virtual·{v1,·v2,·v2,·v3,·v3},·Landroid/graphics/drawable/Drawable;->setBounds(IIII)V1006 ····invoke-virtual·{v1,·v2,·v2,·v3,·v3},·Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
  
972 ····.line·1441007 ····.line·156
973 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mTextWithIconView:Landroid/widget/TextView;1008 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mTextWithIconView:Landroid/widget/TextView;
  
974 ····iget-object·v3,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;1009 ····iget-object·v3,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;
  
975 ····invoke-virtual·{v3},·Lcom/android/car/ui/toolbar/MenuItem;->getIcon()Landroid/graphics/drawable/Drawable;1010 ····invoke-virtual·{v3},·Lcom/android/car/ui/toolbar/MenuItem;->getIcon()Landroid/graphics/drawable/Drawable;
  
976 ····move-result-object·v31011 ····move-result-object·v3
  
977 ····invoke-virtual·{v1,·v3,·v5,·v5,·v5},·Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V1012 ····invoke-virtual·{v1,·v3,·v5,·v5,·v5},·Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
  
978 ····.line·1451013 ····.line·157
979 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mTextWithIconView:Landroid/widget/TextView;1014 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mTextWithIconView:Landroid/widget/TextView;
  
980 ····iget-object·v3,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;1015 ····iget-object·v3,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mMenuItem:Lcom/android/car/ui/toolbar/MenuItem;
  
981 ····invoke-virtual·{v3},·Lcom/android/car/ui/toolbar/MenuItem;->getTitle()Ljava/lang/CharSequence;1016 ····invoke-virtual·{v3},·Lcom/android/car/ui/toolbar/MenuItem;->getTitle()Ljava/lang/CharSequence;
  
982 ····move-result-object·v31017 ····move-result-object·v3
  
983 ····invoke-virtual·{v1,·v3},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V1018 ····invoke-virtual·{v1,·v3},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
  
984 ····.line·1461019 ····.line·158
985 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mTextWithIconView:Landroid/widget/TextView;1020 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItemRenderer;->mTextWithIconView:Landroid/widget/TextView;
  
986 ····invoke-virtual·{v1,·v2},·Landroid/widget/TextView;->setVisibility(I)V1021 ····invoke-virtual·{v1,·v2},·Landroid/widget/TextView;->setVisibility(I)V
  
987 ····goto·:goto_11022 ····goto·:goto_2
  
988 ····:cond_51023 ····:cond_6
989 ····if-eqz·v0,·:cond_61024 ····if-eqz·v0,·:cond_7
  
990 ····.line·1481025 ····.line·161
Max diff block lines reached; 9796/41956 bytes (23.35%) of diff not shown.