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 55, 155 lines modifiedOffset 57, 169 lines modified
  
55 .field·private·final·mShowIconAndTitle:Z57 .field·private·final·mShowIconAndTitle:Z
  
56 .field·private·mTitle:Ljava/lang/CharSequence;58 .field·private·mTitle:Ljava/lang/CharSequence;
  
57 .field·private·mUxRestrictions:I59 .field·private·mUxRestrictions:I
  
 60 .field·private·final·mUxRestrictionsListener:Lcom/android/car/ui/utils/CarUxRestrictionsUtil$OnUxRestrictionsChangedListener;
  
  
58 #·direct·methods61 #·direct·methods
59 .method·private·constructor·<init>(Lcom/android/car/ui/toolbar/MenuItem$Builder;)V62 .method·private·constructor·<init>(Lcom/android/car/ui/toolbar/MenuItem$Builder;)V
60 ····.locals·263 ····.locals·2
  
61 ····.line·7564 ····.line·87
62 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V65 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
63 ····.line·6466 ····.line·65
64 ····new-instance·v0,·Ljava/lang/ref/WeakReference;67 ····new-instance·v0,·Ljava/lang/ref/WeakReference;
  
65 ····const/4·v1,·0x068 ····const/4·v1,·0x0
  
66 ····invoke-direct·{v0,·v1},·Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V69 ····invoke-direct·{v0,·v1},·Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
  
67 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mListener:Ljava/lang/ref/WeakReference;70 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mListener:Ljava/lang/ref/WeakReference;
  
68 ····.line·7671 ····.line·76
 72 ····new-instance·v0,·Lcom/android/car/ui/toolbar/-$$Lambda$MenuItem$L8uyPLsON8uHfaoUZrFMW0-X32Y;
  
 73 ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/toolbar/-$$Lambda$MenuItem$L8uyPLsON8uHfaoUZrFMW0-X32Y;-><init>(Lcom/android/car/ui/toolbar/MenuItem;)V
  
 74 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictionsListener:Lcom/android/car/ui/utils/CarUxRestrictionsUtil$OnUxRestrictionsChangedListener;
  
 75 ····.line·88
69 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$000(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Landroid/content/Context;76 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$000(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Landroid/content/Context;
  
70 ····move-result-object·v077 ····move-result-object·v0
  
71 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mContext:Landroid/content/Context;78 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mContext:Landroid/content/Context;
  
72 ····.line·7779 ····.line·89
73 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$100(Lcom/android/car/ui/toolbar/MenuItem$Builder;)I80 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$100(Lcom/android/car/ui/toolbar/MenuItem$Builder;)I
  
74 ····move-result·v081 ····move-result·v0
  
75 ····iput·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mId:I82 ····iput·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mId:I
  
76 ····.line·7883 ····.line·90
77 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$200(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z84 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$200(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
78 ····move-result·v085 ····move-result·v0
  
79 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsCheckable:Z86 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsCheckable:Z
  
80 ····.line·7987 ····.line·91
81 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$300(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z88 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$300(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
82 ····move-result·v089 ····move-result·v0
  
83 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivatable:Z90 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivatable:Z
  
84 ····.line·8091 ····.line·92
85 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$400(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Ljava/lang/CharSequence;92 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$400(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Ljava/lang/CharSequence;
  
86 ····move-result-object·v093 ····move-result-object·v0
  
87 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mTitle:Ljava/lang/CharSequence;94 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mTitle:Ljava/lang/CharSequence;
  
88 ····.line·8195 ····.line·93
89 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$500(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Landroid/graphics/drawable/Drawable;96 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$500(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Landroid/graphics/drawable/Drawable;
  
90 ····move-result-object·v097 ····move-result-object·v0
  
91 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIcon:Landroid/graphics/drawable/Drawable;98 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIcon:Landroid/graphics/drawable/Drawable;
  
92 ····.line·8299 ····.line·94
93 ····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;100 ····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;
  
94 ····move-result-object·v0101 ····move-result-object·v0
  
95 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;102 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;
  
96 ····.line·83103 ····.line·95
97 ····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;104 ····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;
  
98 ····move-result-object·v0105 ····move-result-object·v0
  
99 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mDisplayBehavior:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;106 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mDisplayBehavior:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;
  
100 ····.line·84107 ····.line·96
101 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$800(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z108 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$800(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
102 ····move-result·v0109 ····move-result·v0
  
103 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsEnabled:Z110 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsEnabled:Z
  
104 ····.line·85111 ····.line·97
105 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$900(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z112 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$900(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
106 ····move-result·v0113 ····move-result·v0
  
107 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsChecked:Z114 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsChecked:Z
  
108 ····.line·86115 ····.line·98
109 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1000(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z116 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1000(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
110 ····move-result·v0117 ····move-result·v0
  
111 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsVisible:Z118 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsVisible:Z
  
112 ····.line·87119 ····.line·99
113 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1100(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z120 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1100(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
114 ····move-result·v0121 ····move-result·v0
  
115 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivated:Z122 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivated:Z
  
116 ····.line·88123 ····.line·100
117 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1200(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z124 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1200(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
118 ····move-result·v0125 ····move-result·v0
  
119 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsSearch:Z126 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsSearch:Z
  
120 ····.line·89127 ····.line·101
121 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1300(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z128 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1300(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
122 ····move-result·v0129 ····move-result·v0
  
123 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mShowIconAndTitle:Z130 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mShowIconAndTitle:Z
  
124 ····.line·90131 ····.line·102
125 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1400(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z132 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1400(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
126 ····move-result·v0133 ····move-result·v0
  
127 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsTinted:Z134 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsTinted:Z
  
128 ····.line·91135 ····.line·103
129 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1500(Lcom/android/car/ui/toolbar/MenuItem$Builder;)I136 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1500(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z
  
 137 ····move-result·v0
  
 138 ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsPrimary:Z
  
 139 ····.line·104
 140 ····invoke-static·{p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->access$1600(Lcom/android/car/ui/toolbar/MenuItem$Builder;)I
  
130 ····move-result·p1141 ····move-result·p1
  
131 ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I142 ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I
  
132 ····.line·93143 ····.line·106
133 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mContext:Landroid/content/Context;144 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mContext:Landroid/content/Context;
  
134 ····invoke-static·{p1},·Lcom/android/car/ui/utils/CarUxRestrictionsUtil;->getInstance(Landroid/content/Context;)Lcom/android/car/ui/utils/CarUxRestrictionsUtil;145 ····invoke-static·{p1},·Lcom/android/car/ui/utils/CarUxRestrictionsUtil;->getInstance(Landroid/content/Context;)Lcom/android/car/ui/utils/CarUxRestrictionsUtil;
  
135 ····move-result-object·p1146 ····move-result-object·p1
  
136 ····invoke-virtual·{p1},·Lcom/android/car/ui/utils/CarUxRestrictionsUtil;->getCurrentRestrictions()Landroid/car/drivingstate/CarUxRestrictions;147 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictionsListener:Lcom/android/car/ui/utils/CarUxRestrictionsUtil$OnUxRestrictionsChangedListener;
  
 148 ····invoke-virtual·{p1,·v0},·Lcom/android/car/ui/utils/CarUxRestrictionsUtil;->register(Lcom/android/car/ui/utils/CarUxRestrictionsUtil$OnUxRestrictionsChangedListener;)V
137 ····move-result-object·p1 
  
138 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mCurrentRestrictions:Landroid/car/drivingstate/CarUxRestrictions; 
  
139 ····return-void149 ····return-void
140 .end·method150 .end·method
  
141 .method·synthetic·constructor·<init>(Lcom/android/car/ui/toolbar/MenuItem$Builder;Lcom/android/car/ui/toolbar/MenuItem$1;)V151 .method·synthetic·constructor·<init>(Lcom/android/car/ui/toolbar/MenuItem$Builder;Lcom/android/car/ui/toolbar/MenuItem$1;)V
142 ····.locals·0152 ····.locals·0
  
Offset 212, 502 lines modifiedOffset 228, 519 lines modified
  
212 ····return-void228 ····return-void
213 .end·method229 .end·method
  
214 .method·public·static·builder(Landroid/content/Context;)Lcom/android/car/ui/toolbar/MenuItem$Builder;230 .method·public·static·builder(Landroid/content/Context;)Lcom/android/car/ui/toolbar/MenuItem$Builder;
215 ····.locals·1231 ····.locals·1
  
216 ····.line·578232 ····.line·599
217 ····new-instance·v0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;233 ····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;)V234 ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;-><init>(Landroid/content/Context;)V
  
219 ····return-object·v0235 ····return-object·v0
220 .end·method236 .end·method
  
 237 .method·private·synthetic·lambda$new$0(Landroid/car/drivingstate/CarUxRestrictions;)V
 238 ····.locals·1
  
 239 ····.line·79
 240 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isRestricted()Z
  
 241 ····move-result·v0
  
 242 ····.line·80
 243 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mCurrentRestrictions:Landroid/car/drivingstate/CarUxRestrictions;
  
 244 ····.line·82
 245 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isRestricted()Z
  
 246 ····move-result·p1
  
 247 ····if-eq·p1,·v0,·:cond_0
  
 248 ····.line·83
 249 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
 250 ····:cond_0
 251 ····return-void
 252 .end·method
  
221 .method·private·update()V253 .method·private·update()V
222 ····.locals·1254 ····.locals·1
  
223 ····.line·97255 ····.line·110
224 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mListener:Ljava/lang/ref/WeakReference;256 ····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;257 ····invoke-virtual·{v0},·Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
  
226 ····move-result-object·v0258 ····move-result-object·v0
  
227 ····check-cast·v0,·Lcom/android/car/ui/toolbar/MenuItem$Listener;259 ····check-cast·v0,·Lcom/android/car/ui/toolbar/MenuItem$Listener;
  
228 ····if-eqz·v0,·:cond_0260 ····if-eqz·v0,·:cond_0
  
229 ····.line·99261 ····.line·112
230 ····invoke-interface·{v0,·p0},·Lcom/android/car/ui/toolbar/MenuItem$Listener;->onMenuItemChanged(Lcom/android/car/ui/toolbar/MenuItem;)V262 ····invoke-interface·{v0,·p0},·Lcom/android/car/ui/toolbar/MenuItem$Listener;->onMenuItemChanged(Lcom/android/car/ui/toolbar/MenuItem;)V
  
231 ····:cond_0263 ····:cond_0
232 ····return-void264 ····return-void
233 .end·method265 .end·method
  
  
234 #·virtual·methods266 #·virtual·methods
235 .method·public·getDisplayBehavior()Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;267 .method·public·getDisplayBehavior()Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;
236 ····.locals·1268 ····.locals·1
  
237 ····.line·281269 ····.line·285
238 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mDisplayBehavior:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;270 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mDisplayBehavior:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;
  
239 ····return-object·v0271 ····return-object·v0
240 .end·method272 .end·method
  
241 .method·public·getIcon()Landroid/graphics/drawable/Drawable;273 .method·public·getIcon()Landroid/graphics/drawable/Drawable;
242 ····.locals·1274 ····.locals·1
  
243 ····.line·286275 ····.line·290
244 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIcon:Landroid/graphics/drawable/Drawable;276 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIcon:Landroid/graphics/drawable/Drawable;
  
245 ····return-object·v0277 ····return-object·v0
246 .end·method278 .end·method
  
247 .method·public·getId()I279 .method·public·getId()I
248 ····.locals·1280 ····.locals·1
  
249 ····.line·111281 ····.line·124
250 ····iget·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mId:I282 ····iget·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mId:I
  
251 ····return·v0283 ····return·v0
252 .end·method284 .end·method
  
253 .method·public·getOnClickListener()Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;285 .method·public·getOnClickListener()Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;
254 ····.locals·1286 ····.locals·1
  
255 ····.line·226287 ····.line·239
256 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;288 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;
  
257 ····return-object·v0289 ····return-object·v0
258 .end·method290 .end·method
  
259 .method·public·getTitle()Ljava/lang/CharSequence;291 .method·public·getTitle()Ljava/lang/CharSequence;
260 ····.locals·1292 ····.locals·1
  
261 ····.line·196293 ····.line·209
262 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mTitle:Ljava/lang/CharSequence;294 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mTitle:Ljava/lang/CharSequence;
  
263 ····return-object·v0295 ····return-object·v0
264 .end·method296 .end·method
  
265 .method·public·getUxRestrictions()I297 .method·public·getUxRestrictions()I
266 ····.locals·1298 ····.locals·1
  
267 ····.line·221299 ····.line·234
268 ····iget·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I300 ····iget·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I
  
269 ····return·v0301 ····return·v0
270 .end·method302 .end·method
  
271 .method·public·isActivatable()Z303 .method·public·isActivatable()Z
272 ····.locals·1304 ····.locals·1
  
273 ····.line·174305 ····.line·187
274 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivatable:Z306 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivatable:Z
  
275 ····return·v0307 ····return·v0
276 .end·method308 .end·method
  
277 .method·public·isActivated()Z309 .method·public·isActivated()Z
278 ····.locals·1310 ····.locals·1
  
279 ····.line·179311 ····.line·192
280 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivated:Z312 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivated:Z
  
281 ····return·v0313 ····return·v0
282 .end·method314 .end·method
  
283 .method·public·isCheckable()Z315 .method·public·isCheckable()Z
284 ····.locals·1316 ····.locals·1
  
285 ····.line·128317 ····.line·141
286 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsCheckable:Z318 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsCheckable:Z
  
287 ····return·v0319 ····return·v0
288 .end·method320 .end·method
  
289 .method·public·isChecked()Z321 .method·public·isChecked()Z
290 ····.locals·1322 ····.locals·1
  
291 ····.line·136323 ····.line·149
292 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsChecked:Z324 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsChecked:Z
  
293 ····return·v0325 ····return·v0
294 .end·method326 .end·method
  
295 .method·public·isEnabled()Z327 .method·public·isEnabled()Z
296 ····.locals·1328 ····.locals·1
  
297 ····.line·116329 ····.line·129
298 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsEnabled:Z330 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsEnabled:Z
  
299 ····return·v0331 ····return·v0
300 .end·method332 .end·method
  
 333 .method·public·isPrimary()Z
 334 ····.locals·1
  
 335 ····.line·312
 336 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsPrimary:Z
  
 337 ····return·v0
 338 .end·method
  
301 .method·isRestricted()Z339 .method·isRestricted()Z
302 ····.locals·2340 ····.locals·2
  
303 ····.line·250341 ····.line·254
304 ····iget·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I342 ····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;343 ····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;)Z344 ····invoke-static·{v0,·v1},·Lcom/android/car/ui/utils/CarUxRestrictionsUtil;->isRestricted(ILandroid/car/drivingstate/CarUxRestrictions;)Z
  
307 ····move-result·v0345 ····move-result·v0
  
308 ····return·v0346 ····return·v0
309 .end·method347 .end·method
  
310 .method·isSearch()Z348 .method·isSearch()Z
311 ····.locals·1349 ····.locals·1
  
312 ····.line·305350 ····.line·317
313 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsSearch:Z351 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsSearch:Z
  
314 ····return·v0352 ····return·v0
315 .end·method353 .end·method
  
316 .method·public·isShowingIconAndTitle()Z354 .method·public·isShowingIconAndTitle()Z
317 ····.locals·1355 ····.locals·1
  
318 ····.line·230356 ····.line·243
319 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mShowIconAndTitle:Z357 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mShowIconAndTitle:Z
  
320 ····return·v0358 ····return·v0
321 .end·method359 .end·method
  
322 .method·public·isTinted()Z360 .method·public·isTinted()Z
323 ····.locals·1361 ····.locals·1
  
324 ····.line·154362 ····.line·167
325 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsTinted:Z363 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsTinted:Z
  
326 ····return·v0364 ····return·v0
327 .end·method365 .end·method
  
328 .method·public·isVisible()Z366 .method·public·isVisible()Z
329 ····.locals·1367 ····.locals·1
  
330 ····.line·159368 ····.line·172
331 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsVisible:Z369 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsVisible:Z
  
332 ····return·v0370 ····return·v0
333 .end·method371 .end·method
  
 372 .method·public·synthetic·lambda$new$0$MenuItem(Landroid/car/drivingstate/CarUxRestrictions;)V
 373 ····.locals·0
  
 374 ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/toolbar/MenuItem;->lambda$new$0(Landroid/car/drivingstate/CarUxRestrictions;)V
  
 375 ····return-void
 376 .end·method
  
334 .method·public·performClick()V377 .method·public·performClick()V
335 ····.locals·3378 ····.locals·3
  
336 ····.line·256379 ····.line·260
337 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isEnabled()Z380 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isEnabled()Z
  
338 ····move-result·v0381 ····move-result·v0
  
339 ····if-eqz·v0,·:cond_4382 ····if-eqz·v0,·:cond_4
  
340 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isVisible()Z383 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isVisible()Z
  
341 ····move-result·v0384 ····move-result·v0
  
342 ····if-nez·v0,·:cond_0385 ····if-nez·v0,·:cond_0
  
343 ····goto·:goto_0386 ····goto·:goto_0
  
344 ····.line·260387 ····.line·264
345 ····:cond_0388 ····:cond_0
346 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isRestricted()Z389 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isRestricted()Z
  
347 ····move-result·v0390 ····move-result·v0
  
348 ····const/4·v1,·0x1391 ····const/4·v1,·0x1
  
349 ····if-eqz·v0,·:cond_1392 ····if-eqz·v0,·:cond_1
  
350 ····.line·261393 ····.line·265
351 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mContext:Landroid/content/Context;394 ····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:I395 ····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;396 ····invoke-static·{v0,·v2,·v1},·Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;
  
354 ····move-result-object·v0397 ····move-result-object·v0
  
355 ····.line·262398 ····.line·266
356 ····invoke-virtual·{v0},·Landroid/widget/Toast;->show()V399 ····invoke-virtual·{v0},·Landroid/widget/Toast;->show()V
  
357 ····return-void400 ····return-void
  
358 ····.line·266401 ····.line·270
359 ····:cond_1402 ····:cond_1
360 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isActivatable()Z403 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isActivatable()Z
  
361 ····move-result·v0404 ····move-result·v0
  
362 ····if-eqz·v0,·:cond_2405 ····if-eqz·v0,·:cond_2
  
363 ····.line·267406 ····.line·271
364 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isActivated()Z407 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isActivated()Z
  
365 ····move-result·v0408 ····move-result·v0
  
366 ····xor-int/2addr·v0,·v1409 ····xor-int/2addr·v0,·v1
  
367 ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem;->setActivated(Z)V410 ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem;->setActivated(Z)V
  
368 ····.line·270411 ····.line·274
369 ····:cond_2412 ····:cond_2
370 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isCheckable()Z413 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isCheckable()Z
  
371 ····move-result·v0414 ····move-result·v0
  
372 ····if-eqz·v0,·:cond_3415 ····if-eqz·v0,·:cond_3
  
373 ····.line·271416 ····.line·275
374 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isChecked()Z417 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isChecked()Z
  
375 ····move-result·v0418 ····move-result·v0
  
376 ····xor-int/2addr·v0,·v1419 ····xor-int/2addr·v0,·v1
  
377 ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem;->setChecked(Z)V420 ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem;->setChecked(Z)V
  
378 ····.line·274421 ····.line·278
379 ····:cond_3422 ····:cond_3
380 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;423 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;
  
381 ····if-eqz·v0,·:cond_4424 ····if-eqz·v0,·:cond_4
  
382 ····.line·275425 ····.line·279
383 ····invoke-interface·{v0,·p0},·Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;->onClick(Lcom/android/car/ui/toolbar/MenuItem;)V426 ····invoke-interface·{v0,·p0},·Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;->onClick(Lcom/android/car/ui/toolbar/MenuItem;)V
  
384 ····:cond_4427 ····:cond_4
385 ····:goto_0428 ····:goto_0
386 ····return-void429 ····return-void
387 .end·method430 .end·method
  
388 .method·public·setActivated(Z)V431 .method·public·setActivated(Z)V
389 ····.locals·1432 ····.locals·1
  
390 ····.line·184433 ····.line·197
391 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isActivatable()Z434 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isActivatable()Z
  
392 ····move-result·v0435 ····move-result·v0
  
393 ····if-eqz·v0,·:cond_0436 ····if-eqz·v0,·:cond_0
  
394 ····.line·189437 ····.line·202
395 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivated:Z438 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsActivated:Z
  
396 ····.line·191439 ····.line·204
397 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V440 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
398 ····return-void441 ····return-void
  
399 ····.line·185442 ····.line·198
400 ····:cond_0443 ····:cond_0
401 ····new-instance·p1,·Ljava/lang/IllegalStateException;444 ····new-instance·p1,·Ljava/lang/IllegalStateException;
  
402 ····const-string·v0,·"Cannot·call·setActivated()·on·a·non-activatable·MenuItem"445 ····const-string·v0,·"Cannot·call·setActivated()·on·a·non-activatable·MenuItem"
  
403 ····invoke-direct·{p1,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V446 ····invoke-direct·{p1,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
404 ····throw·p1447 ····throw·p1
405 .end·method448 .end·method
  
406 .method·setCarUxRestrictions(Landroid/car/drivingstate/CarUxRestrictions;)V 
407 ····.locals·1 
  
408 ····.line·241 
409 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isRestricted()Z 
  
410 ····move-result·v0 
  
411 ····.line·242 
412 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mCurrentRestrictions:Landroid/car/drivingstate/CarUxRestrictions; 
  
413 ····.line·244 
414 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isRestricted()Z 
  
415 ····move-result·p1 
  
416 ····if-eq·p1,·v0,·:cond_0 
  
417 ····.line·245 
418 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V 
  
419 ····:cond_0 
420 ····return-void 
421 .end·method 
  
422 .method·public·setChecked(Z)V449 .method·public·setChecked(Z)V
423 ····.locals·1450 ····.locals·1
  
424 ····.line·144451 ····.line·157
425 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isCheckable()Z452 ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->isCheckable()Z
  
426 ····move-result·v0453 ····move-result·v0
  
427 ····if-eqz·v0,·:cond_0454 ····if-eqz·v0,·:cond_0
  
428 ····.line·148455 ····.line·161
429 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsChecked:Z456 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsChecked:Z
  
430 ····.line·150457 ····.line·163
431 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V458 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
432 ····return-void459 ····return-void
  
433 ····.line·145460 ····.line·158
434 ····:cond_0461 ····:cond_0
435 ····new-instance·p1,·Ljava/lang/IllegalStateException;462 ····new-instance·p1,·Ljava/lang/IllegalStateException;
  
436 ····const-string·v0,·"Cannot·call·setChecked()·on·a·non-checkable·MenuItem"463 ····const-string·v0,·"Cannot·call·setChecked()·on·a·non-checkable·MenuItem"
  
437 ····invoke-direct·{p1,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V464 ····invoke-direct·{p1,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
438 ····throw·p1465 ····throw·p1
439 .end·method466 .end·method
  
440 .method·public·setEnabled(Z)V467 .method·public·setEnabled(Z)V
441 ····.locals·0468 ····.locals·0
  
442 ····.line·121469 ····.line·134
443 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsEnabled:Z470 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsEnabled:Z
  
444 ····.line·123471 ····.line·136
445 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V472 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
446 ····return-void473 ····return-void
447 .end·method474 .end·method
  
448 .method·public·setIcon(I)V475 .method·public·setIcon(I)V
449 ····.locals·1476 ····.locals·1
  
450 ····if-nez·p1,·:cond_0477 ····if-nez·p1,·:cond_0
  
451 ····const/4·p1,·0x0478 ····const/4·p1,·0x0
  
452 ····goto·:goto_0479 ····goto·:goto_0
  
453 ····.line·300480 ····.line·304
454 ····:cond_0481 ····:cond_0
455 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mContext:Landroid/content/Context;482 ····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;483 ····invoke-virtual·{v0,·p1},·Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable;
  
457 ····move-result-object·p1484 ····move-result-object·p1
  
458 ····.line·298485 ····.line·302
459 ····:goto_0486 ····:goto_0
460 ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/MenuItem;->setIcon(Landroid/graphics/drawable/Drawable;)V487 ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/MenuItem;->setIcon(Landroid/graphics/drawable/Drawable;)V
  
461 ····return-void488 ····return-void
462 .end·method489 .end·method
  
463 .method·public·setIcon(Landroid/graphics/drawable/Drawable;)V490 .method·public·setIcon(Landroid/graphics/drawable/Drawable;)V
464 ····.locals·0491 ····.locals·0
  
465 ····.line·291492 ····.line·295
466 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIcon:Landroid/graphics/drawable/Drawable;493 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIcon:Landroid/graphics/drawable/Drawable;
  
467 ····.line·293494 ····.line·297
468 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V495 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
469 ····return-void496 ····return-void
470 .end·method497 .end·method
  
471 .method·public·setId(I)V498 .method·public·setId(I)V
472 ····.locals·0499 ····.locals·0
  
473 ····.line·105500 ····.line·118
474 ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mId:I501 ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mId:I
  
475 ····.line·106502 ····.line·119
476 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V503 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
477 ····return-void504 ····return-void
478 .end·method505 .end·method
  
479 .method·setListener(Lcom/android/car/ui/toolbar/MenuItem$Listener;)V506 .method·setListener(Lcom/android/car/ui/toolbar/MenuItem$Listener;)V
480 ····.locals·1507 ····.locals·1
  
481 ····.line·611508 ····.line·632
482 ····new-instance·v0,·Ljava/lang/ref/WeakReference;509 ····new-instance·v0,·Ljava/lang/ref/WeakReference;
  
483 ····invoke-direct·{v0,·p1},·Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V510 ····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;511 ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mListener:Ljava/lang/ref/WeakReference;
  
485 ····return-void512 ····return-void
486 .end·method513 .end·method
  
487 .method·public·setOnClickListener(Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)V514 .method·public·setOnClickListener(Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)V
488 ····.locals·0515 ····.locals·0
  
489 ····.line·235516 ····.line·248
490 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;517 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;
  
491 ····.line·237518 ····.line·250
492 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V519 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
493 ····return-void520 ····return-void
494 .end·method521 .end·method
  
495 .method·public·setTitle(I)V522 .method·public·setTitle(I)V
496 ····.locals·1523 ····.locals·1
  
497 ····.line·208524 ····.line·221
498 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mContext:Landroid/content/Context;525 ····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;526 ····invoke-virtual·{v0,·p1},·Landroid/content/Context;->getString(I)Ljava/lang/String;
  
500 ····move-result-object·p1527 ····move-result-object·p1
  
501 ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/MenuItem;->setTitle(Ljava/lang/CharSequence;)V528 ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/MenuItem;->setTitle(Ljava/lang/CharSequence;)V
  
502 ····return-void529 ····return-void
503 .end·method530 .end·method
  
504 .method·public·setTitle(Ljava/lang/CharSequence;)V531 .method·public·setTitle(Ljava/lang/CharSequence;)V
505 ····.locals·0532 ····.locals·0
  
506 ····.line·201533 ····.line·214
507 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mTitle:Ljava/lang/CharSequence;534 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mTitle:Ljava/lang/CharSequence;
  
508 ····.line·203535 ····.line·216
509 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V536 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
510 ····return-void537 ····return-void
511 .end·method538 .end·method
  
512 .method·public·setUxRestrictions(I)V539 .method·public·setUxRestrictions(I)V
513 ····.locals·1540 ····.locals·1
  
514 ····.line·213541 ····.line·226
515 ····iget·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I542 ····iget·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I
  
516 ····if-eq·v0,·p1,·:cond_0543 ····if-eq·v0,·p1,·:cond_0
  
517 ····.line·214544 ····.line·227
518 ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I545 ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mUxRestrictions:I
  
519 ····.line·215546 ····.line·228
520 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V547 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
521 ····:cond_0548 ····:cond_0
522 ····return-void549 ····return-void
523 .end·method550 .end·method
  
524 .method·public·setVisible(Z)V551 .method·public·setVisible(Z)V
525 ····.locals·0552 ····.locals·0
  
526 ····.line·164553 ····.line·177
527 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsVisible:Z554 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem;->mIsVisible:Z
  
528 ····.line·166555 ····.line·179
529 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V556 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->update()V
  
530 ····return-void557 ····return-void
531 .end·method558 .end·method