Offset 31, 14 lines modifiedOffset 31, 16 lines modified
  
31 .field·private·final·mIsCheckable:Z31 .field·private·final·mIsCheckable:Z
  
32 .field·private·mIsChecked:Z32 .field·private·mIsChecked:Z
  
33 .field·private·mIsEnabled:Z33 .field·private·mIsEnabled:Z
  
 34 .field·private·final·mIsPrimary:Z
  
34 .field·private·final·mIsSearch:Z35 .field·private·final·mIsSearch:Z
  
35 .field·private·final·mIsTinted:Z36 .field·private·final·mIsTinted:Z
  
36 .field·private·mIsVisible:Z37 .field·private·mIsVisible:Z
  
37 .field·private·mListener:Ljava/lang/ref/WeakReference;38 .field·private·mListener:Ljava/lang/ref/WeakReference;
Offset 60, 139 lines modifiedOffset 62, 146 lines modified
60 .field·private·mUxRestrictions:I62 .field·private·mUxRestrictions:I
  
  
61 #·direct·methods63 #·direct·methods
62 .method·private·constructor·<init>(Lcom/android/car/ui/toolbar/MenuItem$Builder;)V64 .method·private·constructor·<init>(Lcom/android/car/ui/toolbar/MenuItem$Builder;)V
63 ····.locals·265 ····.locals·2
  
64 ····.line·7566 ····.line·76
65 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V67 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
66 ····.line·6468 ····.line·65
67 ····new-instance·v0,·Ljava/lang/ref/WeakReference;69 ····new-instance·v0,·Ljava/lang/ref/WeakReference;
  
68 ····const/4·v1,·0x070 ····const/4·v1,·0x0
  
69 ····invoke-direct·{v0,·v1},·Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V71 ····invoke-direct·{v0,·v1},·Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
  
70 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mListener:Ljava/lang/ref/WeakReference;72 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mListener:Ljava/lang/ref/WeakReference;
  
71 ····.line·7673 ····.line·77
72 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$000(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Landroid/content/Context;74 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$000(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Landroid/content/Context;
  
73 ····move-result-object·v075 ····move-result-object·v0
  
74 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mContext:Landroid/content/Context;76 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mContext:Landroid/content/Context;
  
75 ····.line·7777 ····.line·78
76 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$100(Lcom/android/car/ui/toolbar/MenuItem$Builder;)I78 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$100(Lcom/android/car/ui/toolbar/MenuItem$Builder;)I
  
77 ····move-result·v079 ····move-result·v0
  
78 ····iput·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mId:I80 ····iput·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mId:I
  
79 ····.line·7881 ····.line·79
80 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$200(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z82 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$200(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
81 ····move-result·v083 ····move-result·v0
  
82 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsCheckable:Z84 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsCheckable:Z
  
83 ····.line·7985 ····.line·80
84 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$300(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z86 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$300(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
85 ····move-result·v087 ····move-result·v0
  
86 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivatable:Z88 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivatable:Z
  
87 ····.line·8089 ····.line·81
88 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$400(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Ljava/lang/CharSequence;90 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$400(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Ljava/lang/CharSequence;
  
89 ····move-result-object·v091 ····move-result-object·v0
  
90 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mTitle:Ljava/lang/CharSequence;92 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mTitle:Ljava/lang/CharSequence;
  
91 ····.line·8193 ····.line·82
92 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$500(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Landroid/graphics/drawable/Drawable;94 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$500(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Landroid/graphics/drawable/Drawable;
  
93 ····move-result-object·v095 ····move-result-object·v0
  
94 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIcon:Landroid/graphics/drawable/Drawable;96 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIcon:Landroid/graphics/drawable/Drawable;
  
95 ····.line·8297 ····.line·83
96 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$600(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;98 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$600(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;
  
97 ····move-result-object·v099 ····move-result-object·v0
  
98 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;100 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;
  
99 ····.line·83101 ····.line·84
100 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$700(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;102 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$700(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;
  
101 ····move-result-object·v0103 ····move-result-object·v0
  
102 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mDisplayBehavior:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;104 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mDisplayBehavior:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;
  
103 ····.line·84105 ····.line·85
104 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$800(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z106 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$800(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
105 ····move-result·v0107 ····move-result·v0
  
106 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsEnabled:Z108 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsEnabled:Z
  
107 ····.line·85109 ····.line·86
108 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$900(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z110 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$900(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
109 ····move-result·v0111 ····move-result·v0
  
110 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsChecked:Z112 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsChecked:Z
  
111 ····.line·86113 ····.line·87
112 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1000(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z114 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1000(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
113 ····move-result·v0115 ····move-result·v0
  
114 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsVisible:Z116 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsVisible:Z
  
115 ····.line·87117 ····.line·88
116 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1100(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z118 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1100(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
117 ····move-result·v0119 ····move-result·v0
  
118 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivated:Z120 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivated:Z
  
119 ····.line·88121 ····.line·89
120 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1200(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z122 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1200(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
121 ····move-result·v0123 ····move-result·v0
  
122 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsSearch:Z124 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsSearch:Z
  
123 ····.line·89125 ····.line·90
124 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1300(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z126 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1300(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
125 ····move-result·v0127 ····move-result·v0
  
126 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mShowIconAndTitle:Z128 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mShowIconAndTitle:Z
  
127 ····.line·90129 ····.line·91
128 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1400(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z130 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1400(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
129 ····move-result·v0131 ····move-result·v0
  
130 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsTinted:Z132 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsTinted:Z
  
131 ····.line·91133 ····.line·92
132 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1500(Lcom/android/car/ui/toolbar/MenuItem$Builder;)I134 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1500(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
 135 ····move-result·v0
  
 136 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsPrimary:Z
  
 137 ····.line·93
 138 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1600(Lcom/android/car/ui/toolbar/MenuItem$Builder;)I
  
133 ····move-result·p1139 ····move-result·p1
  
134 ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I140 ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I
  
135 ····.line·93141 ····.line·95
136 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mContext:Landroid/content/Context;142 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mContext:Landroid/content/Context;
  
137 ····invoke-static·{p1},·Lcom/android/car/ui/utils/CarUxRestrictionsUtil;->getInstance(Landroid/content/Context;)Lcom/android/car/ui/utils/CarUxRestrictionsUtil;143 ····invoke-static·{p1},·Lcom/android/car/ui/utils/CarUxRestrictionsUtil;->getInstance(Landroid/content/Context;)Lcom/android/car/ui/utils/CarUxRestrictionsUtil;
  
138 ····move-result-object·p1144 ····move-result-object·p1
  
139 ····invoke-virtual·{p1},·Lcom/android/car/ui/utils/CarUxRestrictionsUtil;->getCurrentRestrictions()Landroid/car/drivingstate/CarUxRestrictions;145 ····invoke-virtual·{p1},·Lcom/android/car/ui/utils/CarUxRestrictionsUtil;->getCurrentRestrictions()Landroid/car/drivingstate/CarUxRestrictions;
Offset 212, 502 lines modifiedOffset 221, 511 lines modified
  
212 ····return-void221 ····return-void
213 .end·method222 .end·method
  
214 .method·public·static·builder(Landroid/content/Context;)Lcom/android/car/ui/toolbar/MenuItem$Builder;223 .method·public·static·builder(Landroid/content/Context;)Lcom/android/car/ui/toolbar/MenuItem$Builder;
215 ····.locals·1224 ····.locals·1
  
216 ····.line·578225 ····.line·597
217 ····new-instance·v0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;226 ····new-instance·v0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;
  
218 ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;-><init>(Landroid/content/Context;)V227 ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;-><init>(Landroid/content/Context;)V
  
219 ····return-object·v0228 ····return-object·v0
220 .end·method229 .end·method
  
221 .method·private·update()V230 .method·private·update()V
222 ····.locals·1231 ····.locals·1
  
223 ····.line·97232 ····.line·99
224 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mListener:Ljava/lang/ref/WeakReference;233 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mListener:Ljava/lang/ref/WeakReference;
  
225 ····invoke-virtual·{v0},·Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;234 ····invoke-virtual·{v0},·Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
  
226 ····move-result-object·v0235 ····move-result-object·v0
  
227 ····check-cast·v0,·Lcom/android/car/ui/toolbar/MenuItem$Listener;236 ····check-cast·v0,·Lcom/android/car/ui/toolbar/MenuItem$Listener;
  
228 ····if-eqz·v0,·:cond_0237 ····if-eqz·v0,·:cond_0
  
229 ····.line·99238 ····.line·101
230 ····invoke-interface·{v0,·p0},·Lcom/android/car/ui/toolbar/MenuItem$Listener;->onMenuItemChanged(Lcom/android/car/ui/toolbar/MenuItem;)V239 ····invoke-interface·{v0,·p0},·Lcom/android/car/ui/toolbar/MenuItem$Listener;->onMenuItemChanged(Lcom/android/car/ui/toolbar/MenuItem;)V
  
231 ····:cond_0240 ····:cond_0
232 ····return-void241 ····return-void
233 .end·method242 .end·method
  
  
234 #·virtual·methods243 #·virtual·methods
235 .method·public·getDisplayBehavior()Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;244 .method·public·getDisplayBehavior()Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;
236 ····.locals·1245 ····.locals·1
  
237 ····.line·281246 ····.line·283
238 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mDisplayBehavior:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;247 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mDisplayBehavior:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;
  
239 ····return-object·v0248 ····return-object·v0
240 .end·method249 .end·method
  
241 .method·public·getIcon()Landroid/graphics/drawable/Drawable;250 .method·public·getIcon()Landroid/graphics/drawable/Drawable;
242 ····.locals·1251 ····.locals·1
  
243 ····.line·286252 ····.line·288
244 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIcon:Landroid/graphics/drawable/Drawable;253 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIcon:Landroid/graphics/drawable/Drawable;
  
245 ····return-object·v0254 ····return-object·v0
246 .end·method255 .end·method
  
247 .method·public·getId()I256 .method·public·getId()I
248 ····.locals·1257 ····.locals·1
  
249 ····.line·111258 ····.line·113
250 ····iget·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mId:I259 ····iget·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mId:I
  
251 ····return·v0260 ····return·v0
252 .end·method261 .end·method
  
253 .method·public·getOnClickListener()Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;262 .method·public·getOnClickListener()Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;
254 ····.locals·1263 ····.locals·1
  
255 ····.line·226264 ····.line·228
256 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;265 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;
  
257 ····return-object·v0266 ····return-object·v0
258 .end·method267 .end·method
  
259 .method·public·getTitle()Ljava/lang/CharSequence;268 .method·public·getTitle()Ljava/lang/CharSequence;
260 ····.locals·1269 ····.locals·1
  
261 ····.line·196270 ····.line·198
262 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mTitle:Ljava/lang/CharSequence;271 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mTitle:Ljava/lang/CharSequence;
  
263 ····return-object·v0272 ····return-object·v0
264 .end·method273 .end·method
  
265 .method·public·getUxRestrictions()I274 .method·public·getUxRestrictions()I
266 ····.locals·1275 ····.locals·1
  
267 ····.line·221276 ····.line·223
268 ····iget·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I277 ····iget·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I
  
269 ····return·v0278 ····return·v0
270 .end·method279 .end·method
  
271 .method·public·isActivatable()Z280 .method·public·isActivatable()Z
272 ····.locals·1281 ····.locals·1
  
273 ····.line·174282 ····.line·176
274 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivatable:Z283 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivatable:Z
  
275 ····return·v0284 ····return·v0
276 .end·method285 .end·method
  
277 .method·public·isActivated()Z286 .method·public·isActivated()Z
278 ····.locals·1287 ····.locals·1
  
279 ····.line·179288 ····.line·181
280 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivated:Z289 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivated:Z
  
281 ····return·v0290 ····return·v0
282 .end·method291 .end·method
  
283 .method·public·isCheckable()Z292 .method·public·isCheckable()Z
284 ····.locals·1293 ····.locals·1
  
285 ····.line·128294 ····.line·130
286 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsCheckable:Z295 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsCheckable:Z
  
287 ····return·v0296 ····return·v0
288 .end·method297 .end·method
  
289 .method·public·isChecked()Z298 .method·public·isChecked()Z
290 ····.locals·1299 ····.locals·1
  
291 ····.line·136300 ····.line·138
292 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsChecked:Z301 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsChecked:Z
  
293 ····return·v0302 ····return·v0
294 .end·method303 .end·method
  
295 .method·public·isEnabled()Z304 .method·public·isEnabled()Z
296 ····.locals·1305 ····.locals·1
  
297 ····.line·116306 ····.line·118
298 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsEnabled:Z307 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsEnabled:Z
  
299 ····return·v0308 ····return·v0
300 .end·method309 .end·method
  
 310 .method·public·isPrimary()Z
 311 ····.locals·1
  
 312 ····.line·310
 313 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsPrimary:Z
  
 314 ····return·v0
 315 .end·method
  
301 .method·isRestricted()Z316 .method·isRestricted()Z
302 ····.locals·2317 ····.locals·2
  
303 ····.line·250318 ····.line·252
304 ····iget·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I319 ····iget·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I
  
305 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mCurrentRestrictions:Landroid/car/drivingstate/CarUxRestrictions;320 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mCurrentRestrictions:Landroid/car/drivingstate/CarUxRestrictions;
  
306 ····invoke-static·{v0,·v1},·Lcom/android/car/ui/utils/CarUxRestrictionsUtil;->isRestricted(ILandroid/car/drivingstate/CarUxRestrictions;)Z321 ····invoke-static·{v0,·v1},·Lcom/android/car/ui/utils/CarUxRestrictionsUtil;->isRestricted(ILandroid/car/drivingstate/CarUxRestrictions;)Z
  
307 ····move-result·v0322 ····move-result·v0
  
308 ····return·v0323 ····return·v0
309 .end·method324 .end·method
  
310 .method·isSearch()Z325 .method·isSearch()Z
311 ····.locals·1326 ····.locals·1
  
312 ····.line·305327 ····.line·315
313 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsSearch:Z328 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsSearch:Z
  
314 ····return·v0329 ····return·v0
315 .end·method330 .end·method
  
316 .method·public·isShowingIconAndTitle()Z331 .method·public·isShowingIconAndTitle()Z
317 ····.locals·1332 ····.locals·1
  
318 ····.line·230333 ····.line·232
319 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mShowIconAndTitle:Z334 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mShowIconAndTitle:Z
  
320 ····return·v0335 ····return·v0
321 .end·method336 .end·method
  
322 .method·public·isTinted()Z337 .method·public·isTinted()Z
323 ····.locals·1338 ····.locals·1
  
324 ····.line·154339 ····.line·156
325 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsTinted:Z340 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsTinted:Z
  
326 ····return·v0341 ····return·v0
327 .end·method342 .end·method
  
328 .method·public·isVisible()Z343 .method·public·isVisible()Z
329 ····.locals·1344 ····.locals·1
  
330 ····.line·159345 ····.line·161
331 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsVisible:Z346 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsVisible:Z
  
332 ····return·v0347 ····return·v0
333 .end·method348 .end·method
  
334 .method·public·performClick()V349 .method·public·performClick()V
335 ····.locals·3350 ····.locals·3
  
336 ····.line·256351 ····.line·258
337 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isEnabled()Z352 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isEnabled()Z
  
338 ····move-result·v0353 ····move-result·v0
  
339 ····if-eqz·v0,·:cond_4354 ····if-eqz·v0,·:cond_4
  
340 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isVisible()Z355 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isVisible()Z
  
341 ····move-result·v0356 ····move-result·v0
  
342 ····if-nez·v0,·:cond_0357 ····if-nez·v0,·:cond_0
  
343 ····goto·:goto_0358 ····goto·:goto_0
  
344 ····.line·260359 ····.line·262
345 ····:cond_0360 ····:cond_0
346 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isRestricted()Z361 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isRestricted()Z
  
347 ····move-result·v0362 ····move-result·v0
  
348 ····const/4·v1,·0x1363 ····const/4·v1,·0x1
  
349 ····if-eqz·v0,·:cond_1364 ····if-eqz·v0,·:cond_1
  
350 ····.line·261365 ····.line·263
351 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mContext:Landroid/content/Context;366 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mContext:Landroid/content/Context;
  
352 ····sget·v2,·Lcom/android/car/ui/R$string;->car_ui_restricted_while_driving:I367 ····sget·v2,·Lcom/android/car/ui/R$string;->car_ui_restricted_while_driving:I
  
353 ····invoke-static·{v0,·v2,·v1},·Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;368 ····invoke-static·{v0,·v2,·v1},·Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;
  
354 ····move-result-object·v0369 ····move-result-object·v0
  
355 ····.line·262370 ····.line·264
356 ····invoke-virtual·{v0},·Landroid/widget/Toast;->show()V371 ····invoke-virtual·{v0},·Landroid/widget/Toast;->show()V
  
357 ····return-void372 ····return-void
  
358 ····.line·266373 ····.line·268
359 ····:cond_1374 ····:cond_1
360 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isActivatable()Z375 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isActivatable()Z
  
361 ····move-result·v0376 ····move-result·v0
  
362 ····if-eqz·v0,·:cond_2377 ····if-eqz·v0,·:cond_2
  
363 ····.line·267378 ····.line·269
364 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isActivated()Z379 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isActivated()Z
  
365 ····move-result·v0380 ····move-result·v0
  
366 ····xor-int/2addr·v0,·v1381 ····xor-int/2addr·v0,·v1
  
367 ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem;->setActivated(Z)V382 ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem;->setActivated(Z)V
  
368 ····.line·270383 ····.line·272
369 ····:cond_2384 ····:cond_2
370 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isCheckable()Z385 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isCheckable()Z
  
371 ····move-result·v0386 ····move-result·v0
  
372 ····if-eqz·v0,·:cond_3387 ····if-eqz·v0,·:cond_3
  
373 ····.line·271388 ····.line·273
374 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isChecked()Z389 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isChecked()Z
  
375 ····move-result·v0390 ····move-result·v0
  
376 ····xor-int/2addr·v0,·v1391 ····xor-int/2addr·v0,·v1
  
377 ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem;->setChecked(Z)V392 ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem;->setChecked(Z)V
  
378 ····.line·274393 ····.line·276
379 ····:cond_3394 ····:cond_3
380 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;395 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;
  
381 ····if-eqz·v0,·:cond_4396 ····if-eqz·v0,·:cond_4
  
382 ····.line·275397 ····.line·277
383 ····invoke-interface·{v0,·p0},·Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;->onClick(Lcom/android/car/ui/toolbar/MenuItem;)V398 ····invoke-interface·{v0,·p0},·Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;->onClick(Lcom/android/car/ui/toolbar/MenuItem;)V
  
384 ····:cond_4399 ····:cond_4
385 ····:goto_0400 ····:goto_0
386 ····return-void401 ····return-void
387 .end·method402 .end·method
  
388 .method·public·setActivated(Z)V403 .method·public·setActivated(Z)V
389 ····.locals·1404 ····.locals·1
  
390 ····.line·184405 ····.line·186
391 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isActivatable()Z406 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isActivatable()Z
  
392 ····move-result·v0407 ····move-result·v0
  
393 ····if-eqz·v0,·:cond_0408 ····if-eqz·v0,·:cond_0
  
394 ····.line·189409 ····.line·191
395 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivated:Z410 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivated:Z
  
396 ····.line·191411 ····.line·193
397 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V412 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
398 ····return-void413 ····return-void
  
399 ····.line·185414 ····.line·187
400 ····:cond_0415 ····:cond_0
401 ····new-instance·p1,·Ljava/lang/IllegalStateException;416 ····new-instance·p1,·Ljava/lang/IllegalStateException;
  
402 ····const-string·v0,·"Cannot·call·setActivated()·on·a·non-activatable·MenuItem"417 ····const-string·v0,·"Cannot·call·setActivated()·on·a·non-activatable·MenuItem"
  
403 ····invoke-direct·{p1,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V418 ····invoke-direct·{p1,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
404 ····throw·p1419 ····throw·p1
405 .end·method420 .end·method
  
406 .method·setCarUxRestrictions(Landroid/car/drivingstate/CarUxRestrictions;)V421 .method·setCarUxRestrictions(Landroid/car/drivingstate/CarUxRestrictions;)V
407 ····.locals·1422 ····.locals·1
  
408 ····.line·241423 ····.line·243
409 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isRestricted()Z424 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isRestricted()Z
  
410 ····move-result·v0425 ····move-result·v0
  
411 ····.line·242426 ····.line·244
412 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mCurrentRestrictions:Landroid/car/drivingstate/CarUxRestrictions;427 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mCurrentRestrictions:Landroid/car/drivingstate/CarUxRestrictions;
  
413 ····.line·244428 ····.line·246
414 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isRestricted()Z429 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isRestricted()Z
  
415 ····move-result·p1430 ····move-result·p1
  
416 ····if-eq·p1,·v0,·:cond_0431 ····if-eq·p1,·v0,·:cond_0
  
417 ····.line·245432 ····.line·247
418 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V433 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
419 ····:cond_0434 ····:cond_0
420 ····return-void435 ····return-void
421 .end·method436 .end·method
  
422 .method·public·setChecked(Z)V437 .method·public·setChecked(Z)V
423 ····.locals·1438 ····.locals·1
  
424 ····.line·144439 ····.line·146
425 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isCheckable()Z440 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isCheckable()Z
  
426 ····move-result·v0441 ····move-result·v0
  
427 ····if-eqz·v0,·:cond_0442 ····if-eqz·v0,·:cond_0
  
428 ····.line·148443 ····.line·150
429 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsChecked:Z444 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsChecked:Z
  
430 ····.line·150445 ····.line·152
431 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V446 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
432 ····return-void447 ····return-void
  
433 ····.line·145448 ····.line·147
434 ····:cond_0449 ····:cond_0
435 ····new-instance·p1,·Ljava/lang/IllegalStateException;450 ····new-instance·p1,·Ljava/lang/IllegalStateException;
  
436 ····const-string·v0,·"Cannot·call·setChecked()·on·a·non-checkable·MenuItem"451 ····const-string·v0,·"Cannot·call·setChecked()·on·a·non-checkable·MenuItem"
  
437 ····invoke-direct·{p1,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V452 ····invoke-direct·{p1,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
438 ····throw·p1453 ····throw·p1
439 .end·method454 .end·method
  
440 .method·public·setEnabled(Z)V455 .method·public·setEnabled(Z)V
441 ····.locals·0456 ····.locals·0
  
442 ····.line·121457 ····.line·123
443 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsEnabled:Z458 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsEnabled:Z
  
444 ····.line·123459 ····.line·125
445 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V460 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
446 ····return-void461 ····return-void
447 .end·method462 .end·method
  
448 .method·public·setIcon(I)V463 .method·public·setIcon(I)V
449 ····.locals·1464 ····.locals·1
  
450 ····if-nez·p1,·:cond_0465 ····if-nez·p1,·:cond_0
  
451 ····const/4·p1,·0x0466 ····const/4·p1,·0x0
  
452 ····goto·:goto_0467 ····goto·:goto_0
  
453 ····.line·300468 ····.line·302
454 ····:cond_0469 ····:cond_0
455 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mContext:Landroid/content/Context;470 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mContext:Landroid/content/Context;
  
456 ····invoke-virtual·{v0,·p1},·Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable;471 ····invoke-virtual·{v0,·p1},·Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable;
  
457 ····move-result-object·p1472 ····move-result-object·p1
  
458 ····.line·298473 ····.line·300
459 ····:goto_0474 ····:goto_0
460 ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/MenuItem;->setIcon(Landroid/graphics/drawable/Drawable;)V475 ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/MenuItem;->setIcon(Landroid/graphics/drawable/Drawable;)V
  
461 ····return-void476 ····return-void
462 .end·method477 .end·method
  
463 .method·public·setIcon(Landroid/graphics/drawable/Drawable;)V478 .method·public·setIcon(Landroid/graphics/drawable/Drawable;)V
464 ····.locals·0479 ····.locals·0
  
465 ····.line·291480 ····.line·293
466 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIcon:Landroid/graphics/drawable/Drawable;481 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIcon:Landroid/graphics/drawable/Drawable;
  
467 ····.line·293482 ····.line·295
468 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V483 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
469 ····return-void484 ····return-void
470 .end·method485 .end·method
  
471 .method·public·setId(I)V486 .method·public·setId(I)V
472 ····.locals·0487 ····.locals·0
  
473 ····.line·105488 ····.line·107
474 ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mId:I489 ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mId:I
  
475 ····.line·106490 ····.line·108
476 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V491 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
477 ····return-void492 ····return-void
478 .end·method493 .end·method
  
479 .method·setListener(Lcom/android/car/ui/toolbar/MenuItem$Listener;)V494 .method·setListener(Lcom/android/car/ui/toolbar/MenuItem$Listener;)V
480 ····.locals·1495 ····.locals·1
  
481 ····.line·611496 ····.line·630
482 ····new-instance·v0,·Ljava/lang/ref/WeakReference;497 ····new-instance·v0,·Ljava/lang/ref/WeakReference;
  
483 ····invoke-direct·{v0,·p1},·Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V498 ····invoke-direct·{v0,·p1},·Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
  
484 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mListener:Ljava/lang/ref/WeakReference;499 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mListener:Ljava/lang/ref/WeakReference;
  
485 ····return-void500 ····return-void
486 .end·method501 .end·method
  
487 .method·public·setOnClickListener(Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)V502 .method·public·setOnClickListener(Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)V
488 ····.locals·0503 ····.locals·0
  
489 ····.line·235504 ····.line·237
490 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;505 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;
  
491 ····.line·237506 ····.line·239
492 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V507 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
493 ····return-void508 ····return-void
494 .end·method509 .end·method
  
495 .method·public·setTitle(I)V510 .method·public·setTitle(I)V
496 ····.locals·1511 ····.locals·1
  
497 ····.line·208512 ····.line·210
498 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mContext:Landroid/content/Context;513 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mContext:Landroid/content/Context;
  
499 ····invoke-virtual·{v0,·p1},·Landroid/content/Context;->getString(I)Ljava/lang/String;514 ····invoke-virtual·{v0,·p1},·Landroid/content/Context;->getString(I)Ljava/lang/String;
  
500 ····move-result-object·p1515 ····move-result-object·p1
  
501 ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/MenuItem;->setTitle(Ljava/lang/CharSequence;)V516 ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/MenuItem;->setTitle(Ljava/lang/CharSequence;)V
  
502 ····return-void517 ····return-void
503 .end·method518 .end·method
  
504 .method·public·setTitle(Ljava/lang/CharSequence;)V519 .method·public·setTitle(Ljava/lang/CharSequence;)V
505 ····.locals·0520 ····.locals·0
  
506 ····.line·201521 ····.line·203
507 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mTitle:Ljava/lang/CharSequence;522 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mTitle:Ljava/lang/CharSequence;
  
508 ····.line·203523 ····.line·205
509 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V524 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
510 ····return-void525 ····return-void
511 .end·method526 .end·method
  
512 .method·public·setUxRestrictions(I)V527 .method·public·setUxRestrictions(I)V
513 ····.locals·1528 ····.locals·1
  
514 ····.line·213529 ····.line·215
515 ····iget·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I530 ····iget·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I
  
516 ····if-eq·v0,·p1,·:cond_0531 ····if-eq·v0,·p1,·:cond_0
  
517 ····.line·214532 ····.line·216
518 ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I533 ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I
  
519 ····.line·215534 ····.line·217
520 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V535 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
521 ····:cond_0536 ····:cond_0
522 ····return-void537 ····return-void
523 .end·method538 .end·method
  
524 .method·public·setVisible(Z)V539 .method·public·setVisible(Z)V
525 ····.locals·0540 ····.locals·0
  
526 ····.line·164541 ····.line·166
527 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsVisible:Z542 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsVisible:Z
  
528 ····.line·166543 ····.line·168
529 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V544 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
530 ····return-void545 ····return-void
531 .end·method546 .end·method