| | | |
Offset 29, 14 lines modified | Offset 29, 16 lines modified |
| |
29 | .field·private·mIsCheckable:Z | 29 | .field·private·mIsCheckable:Z |
| |
30 | .field·private·mIsChecked:Z | 30 | .field·private·mIsChecked:Z |
| |
31 | .field·private·mIsEnabled:Z | 31 | .field·private·mIsEnabled:Z |
| |
| 32 | .field·private·mIsPrimary:Z |
| |
32 | .field·private·mIsSearch:Z | 33 | .field·private·mIsSearch:Z |
| |
33 | .field·private·mIsSettings:Z | 34 | .field·private·mIsSettings:Z |
| |
34 | .field·private·mIsTinted:Z | 35 | .field·private·mIsTinted:Z |
| |
35 | .field·private·mIsVisible:Z | 36 | .field·private·mIsVisible:Z |
Offset 58, 305 lines modified | Offset 60, 317 lines modified |
58 | .field·private·mUxRestrictions:I | 60 | .field·private·mUxRestrictions:I |
| |
| |
59 | #·direct·methods | 61 | #·direct·methods |
60 | .method·public·constructor·<init>(Landroid/content/Context;)V | 62 | .method·public·constructor·<init>(Landroid/content/Context;)V |
61 | ····.locals·2 | 63 | ····.locals·2 |
| |
62 | ····.line·335 | 64 | ····.line·348 |
63 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 65 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
64 | ····const/4·v0,·-0x1 | 66 | ····const/4·v0,·-0x1 |
| |
65 | ····.line·317 | 67 | ····.line·329 |
66 | ····iput·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mId:I | 68 | ····iput·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mId:I |
| |
67 | ····.line·321 | 69 | ····.line·333 |
68 | ····sget-object·v0,·Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;->ALWAYS:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; | 70 | ····sget-object·v0,·Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;->ALWAYS:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; |
| |
69 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mDisplayBehavior:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; | 71 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mDisplayBehavior:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; |
| |
70 | ····const/4·v0,·0x1 | 72 | ····const/4·v0,·0x1 |
| |
71 | ····.line·322 | 73 | ····.line·334 |
72 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsTinted:Z | 74 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsTinted:Z |
| |
73 | ····const/4·v1,·0x0 | 75 | ····const/4·v1,·0x0 |
| |
74 | ····.line·323 | 76 | ····.line·335 |
75 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mShowIconAndTitle:Z | 77 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mShowIconAndTitle:Z |
| |
76 | ····.line·324 | 78 | ····.line·336 |
77 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsEnabled:Z | 79 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsEnabled:Z |
| |
78 | ····.line·325 | 80 | ····.line·337 |
79 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsCheckable:Z | 81 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsCheckable:Z |
| |
80 | ····.line·326 | 82 | ····.line·338 |
81 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsChecked:Z | 83 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsChecked:Z |
| |
82 | ····.line·327 | 84 | ····.line·339 |
83 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsVisible:Z | 85 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsVisible:Z |
| |
84 | ····.line·328 | 86 | ····.line·340 |
85 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivatable:Z | 87 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivatable:Z |
| |
86 | ····.line·329 | 88 | ····.line·341 |
87 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivated:Z | 89 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivated:Z |
| |
88 | ····.line·330 | 90 | ····.line·342 |
89 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSearch:Z | 91 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSearch:Z |
| |
90 | ····.line·331 | 92 | ····.line·343 |
91 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSettings:Z | 93 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSettings:Z |
| |
92 | ····.line·332 | 94 | ····.line·344 |
| 95 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsPrimary:Z |
| |
| 96 | ····.line·345 |
93 | ····iput·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mUxRestrictions:I | 97 | ····iput·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mUxRestrictions:I |
| |
94 | ····.line·338 | 98 | ····.line·351 |
95 | ····invoke-virtual·{p1},·Landroid/content/Context;->getApplicationContext()Landroid/content/Context; | 99 | ····invoke-virtual·{p1},·Landroid/content/Context;->getApplicationContext()Landroid/content/Context; |
| |
96 | ····move-result-object·p1 | 100 | ····move-result-object·p1 |
| |
97 | ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mContext:Landroid/content/Context; | 101 | ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mContext:Landroid/content/Context; |
| |
98 | ····return-void | 102 | ····return-void |
99 | .end·method | 103 | .end·method |
| |
100 | .method·static·synthetic·access$000(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Landroid/content/Context; | 104 | .method·static·synthetic·access$000(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Landroid/content/Context; |
101 | ····.locals·0 | 105 | ····.locals·0 |
| |
102 | ····.line·309 | 106 | ····.line·321 |
103 | ····iget-object·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mContext:Landroid/content/Context; | 107 | ····iget-object·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mContext:Landroid/content/Context; |
| |
104 | ····return-object·p0 | 108 | ····return-object·p0 |
105 | .end·method | 109 | .end·method |
| |
106 | .method·static·synthetic·access$100(Lcom/android/car/ui/toolbar/MenuItem$Builder;)I | 110 | .method·static·synthetic·access$100(Lcom/android/car/ui/toolbar/MenuItem$Builder;)I |
107 | ····.locals·0 | 111 | ····.locals·0 |
| |
108 | ····.line·309 | 112 | ····.line·321 |
109 | ····iget·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mId:I | 113 | ····iget·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mId:I |
| |
110 | ····return·p0 | 114 | ····return·p0 |
111 | .end·method | 115 | .end·method |
| |
112 | .method·static·synthetic·access$1000(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z | 116 | .method·static·synthetic·access$1000(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z |
113 | ····.locals·0 | 117 | ····.locals·0 |
| |
114 | ····.line·309 | 118 | ····.line·321 |
115 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsVisible:Z | 119 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsVisible:Z |
| |
116 | ····return·p0 | 120 | ····return·p0 |
117 | .end·method | 121 | .end·method |
| |
118 | .method·static·synthetic·access$1100(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z | 122 | .method·static·synthetic·access$1100(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z |
119 | ····.locals·0 | 123 | ····.locals·0 |
| |
120 | ····.line·309 | 124 | ····.line·321 |
121 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivated:Z | 125 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivated:Z |
| |
122 | ····return·p0 | 126 | ····return·p0 |
123 | .end·method | 127 | .end·method |
| |
124 | .method·static·synthetic·access$1200(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z | 128 | .method·static·synthetic·access$1200(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z |
125 | ····.locals·0 | 129 | ····.locals·0 |
| |
126 | ····.line·309 | 130 | ····.line·321 |
127 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSearch:Z | 131 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSearch:Z |
| |
128 | ····return·p0 | 132 | ····return·p0 |
129 | .end·method | 133 | .end·method |
| |
130 | .method·static·synthetic·access$1300(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z | 134 | .method·static·synthetic·access$1300(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z |
131 | ····.locals·0 | 135 | ····.locals·0 |
| |
132 | ····.line·309 | 136 | ····.line·321 |
133 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mShowIconAndTitle:Z | 137 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mShowIconAndTitle:Z |
| |
134 | ····return·p0 | 138 | ····return·p0 |
135 | .end·method | 139 | .end·method |
| |
136 | .method·static·synthetic·access$1400(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z | 140 | .method·static·synthetic·access$1400(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z |
137 | ····.locals·0 | 141 | ····.locals·0 |
| |
138 | ····.line·309 | 142 | ····.line·321 |
139 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsTinted:Z | 143 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsTinted:Z |
| |
140 | ····return·p0 | 144 | ····return·p0 |
141 | .end·method | 145 | .end·method |
| |
142 | .method·static·synthetic·access$1500(Lcom/android/car/ui/toolbar/MenuItem$Builder;)I | 146 | .method·static·synthetic·access$1500(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z |
| 147 | ····.locals·0 |
| |
| 148 | ····.line·321 |
| 149 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsPrimary:Z |
| |
| 150 | ····return·p0 |
| 151 | .end·method |
| |
| 152 | .method·static·synthetic·access$1600(Lcom/android/car/ui/toolbar/MenuItem$Builder;)I |
143 | ····.locals·0 | 153 | ····.locals·0 |
| |
144 | ····.line·309 | 154 | ····.line·321 |
145 | ····iget·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mUxRestrictions:I | 155 | ····iget·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mUxRestrictions:I |
| |
146 | ····return·p0 | 156 | ····return·p0 |
147 | .end·method | 157 | .end·method |
| |
148 | .method·static·synthetic·access$200(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z | 158 | .method·static·synthetic·access$200(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z |
149 | ····.locals·0 | 159 | ····.locals·0 |
| |
150 | ····.line·309 | 160 | ····.line·321 |
151 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsCheckable:Z | 161 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsCheckable:Z |
| |
152 | ····return·p0 | 162 | ····return·p0 |
153 | .end·method | 163 | .end·method |
| |
154 | .method·static·synthetic·access$300(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z | 164 | .method·static·synthetic·access$300(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z |
155 | ····.locals·0 | 165 | ····.locals·0 |
| |
156 | ····.line·309 | 166 | ····.line·321 |
157 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivatable:Z | 167 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivatable:Z |
| |
158 | ····return·p0 | 168 | ····return·p0 |
159 | .end·method | 169 | .end·method |
| |
160 | .method·static·synthetic·access$400(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Ljava/lang/CharSequence; | 170 | .method·static·synthetic·access$400(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Ljava/lang/CharSequence; |
161 | ····.locals·0 | 171 | ····.locals·0 |
| |
162 | ····.line·309 | 172 | ····.line·321 |
163 | ····iget-object·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mTitle:Ljava/lang/CharSequence; | 173 | ····iget-object·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mTitle:Ljava/lang/CharSequence; |
| |
164 | ····return-object·p0 | 174 | ····return-object·p0 |
165 | .end·method | 175 | .end·method |
| |
166 | .method·static·synthetic·access$500(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Landroid/graphics/drawable/Drawable; | 176 | .method·static·synthetic·access$500(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Landroid/graphics/drawable/Drawable; |
167 | ····.locals·0 | 177 | ····.locals·0 |
| |
168 | ····.line·309 | 178 | ····.line·321 |
169 | ····iget-object·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIcon:Landroid/graphics/drawable/Drawable; | 179 | ····iget-object·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIcon:Landroid/graphics/drawable/Drawable; |
| |
170 | ····return-object·p0 | 180 | ····return-object·p0 |
171 | .end·method | 181 | .end·method |
| |
172 | .method·static·synthetic·access$600(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Lcom/android/car/ui/toolbar/MenuItem$OnClickListener; | 182 | .method·static·synthetic·access$600(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Lcom/android/car/ui/toolbar/MenuItem$OnClickListener; |
173 | ····.locals·0 | 183 | ····.locals·0 |
| |
174 | ····.line·309 | 184 | ····.line·321 |
175 | ····iget-object·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener; | 185 | ····iget-object·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener; |
| |
176 | ····return-object·p0 | 186 | ····return-object·p0 |
177 | .end·method | 187 | .end·method |
| |
178 | .method·static·synthetic·access$700(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; | 188 | .method·static·synthetic·access$700(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; |
179 | ····.locals·0 | 189 | ····.locals·0 |
| |
180 | ····.line·309 | 190 | ····.line·321 |
181 | ····iget-object·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mDisplayBehavior:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; | 191 | ····iget-object·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mDisplayBehavior:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; |
| |
182 | ····return-object·p0 | 192 | ····return-object·p0 |
183 | .end·method | 193 | .end·method |
| |
184 | .method·static·synthetic·access$800(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z | 194 | .method·static·synthetic·access$800(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z |
185 | ····.locals·0 | 195 | ····.locals·0 |
| |
186 | ····.line·309 | 196 | ····.line·321 |
187 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsEnabled:Z | 197 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsEnabled:Z |
| |
188 | ····return·p0 | 198 | ····return·p0 |
189 | .end·method | 199 | .end·method |
| |
190 | .method·static·synthetic·access$900(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z | 200 | .method·static·synthetic·access$900(Lcom/android/car/ui/toolbar/MenuItem$Builder;)Z |
191 | ····.locals·0 | 201 | ····.locals·0 |
| |
192 | ····.line·309 | 202 | ····.line·321 |
193 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsChecked:Z | 203 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsChecked:Z |
| |
194 | ····return·p0 | 204 | ····return·p0 |
195 | .end·method | 205 | .end·method |
| |
196 | .method·public·static·createSearch(Landroid/content/Context;Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)Lcom/android/car/ui/toolbar/MenuItem; | 206 | .method·public·static·createSearch(Landroid/content/Context;Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)Lcom/android/car/ui/toolbar/MenuItem; |
197 | ····.locals·0 | 207 | ····.locals·0 |
198 | ····.annotation·runtime·Ljava/lang/Deprecated; | 208 | ····.annotation·runtime·Ljava/lang/Deprecated; |
199 | ····.end·annotation | 209 | ····.end·annotation |
| |
200 | ····.line·560 | 210 | ····.line·581 |
201 | ····invoke-static·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->builder(Landroid/content/Context;)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 211 | ····invoke-static·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->builder(Landroid/content/Context;)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
202 | ····move-result-object·p0 | 212 | ····move-result-object·p0 |
| |
203 | ····.line·561 | 213 | ····.line·582 |
204 | ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setToSearch()Lcom/android/car/ui/toolbar/MenuItem$Builder; | 214 | ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setToSearch()Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
205 | ····move-result-object·p0 | 215 | ····move-result-object·p0 |
| |
206 | ····.line·562 | 216 | ····.line·583 |
207 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setOnClickListener(Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 217 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setOnClickListener(Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
208 | ····move-result-object·p0 | 218 | ····move-result-object·p0 |
| |
209 | ····.line·563 | 219 | ····.line·584 |
210 | ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->build()Lcom/android/car/ui/toolbar/MenuItem; | 220 | ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->build()Lcom/android/car/ui/toolbar/MenuItem; |
| |
211 | ····move-result-object·p0 | 221 | ····move-result-object·p0 |
| |
212 | ····return-object·p0 | 222 | ····return-object·p0 |
213 | .end·method | 223 | .end·method |
| |
214 | .method·public·static·createSettings(Landroid/content/Context;Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)Lcom/android/car/ui/toolbar/MenuItem; | 224 | .method·public·static·createSettings(Landroid/content/Context;Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)Lcom/android/car/ui/toolbar/MenuItem; |
215 | ····.locals·0 | 225 | ····.locals·0 |
216 | ····.annotation·runtime·Ljava/lang/Deprecated; | 226 | ····.annotation·runtime·Ljava/lang/Deprecated; |
217 | ····.end·annotation | 227 | ····.end·annotation |
| |
218 | ····.line·569 | 228 | ····.line·590 |
219 | ····invoke-static·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->builder(Landroid/content/Context;)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 229 | ····invoke-static·{p0},·Lcom/android/car/ui/toolbar/MenuItem;->builder(Landroid/content/Context;)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
220 | ····move-result-object·p0 | 230 | ····move-result-object·p0 |
| |
221 | ····.line·570 | 231 | ····.line·591 |
222 | ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setToSettings()Lcom/android/car/ui/toolbar/MenuItem$Builder; | 232 | ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setToSettings()Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
223 | ····move-result-object·p0 | 233 | ····move-result-object·p0 |
| |
224 | ····.line·571 | 234 | ····.line·592 |
225 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setOnClickListener(Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 235 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setOnClickListener(Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
226 | ····move-result-object·p0 | 236 | ····move-result-object·p0 |
| |
227 | ····.line·572 | 237 | ····.line·593 |
228 | ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->build()Lcom/android/car/ui/toolbar/MenuItem; | 238 | ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->build()Lcom/android/car/ui/toolbar/MenuItem; |
| |
229 | ····move-result-object·p0 | 239 | ····move-result-object·p0 |
| |
230 | ····return-object·p0 | 240 | ····return-object·p0 |
231 | .end·method | 241 | .end·method |
| |
| |
232 | #·virtual·methods | 242 | #·virtual·methods |
233 | .method·public·build()Lcom/android/car/ui/toolbar/MenuItem; | 243 | .method·public·build()Lcom/android/car/ui/toolbar/MenuItem; |
234 | ····.locals·2 | 244 | ····.locals·2 |
| |
235 | ····.line·343 | 245 | ····.line·356 |
236 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivatable:Z | 246 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivatable:Z |
| |
237 | ····if-eqz·v0,·:cond_1 | 247 | ····if-eqz·v0,·:cond_1 |
| |
238 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mShowIconAndTitle:Z | 248 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mShowIconAndTitle:Z |
| |
239 | ····if-nez·v0,·:cond_0 | 249 | ····if-nez·v0,·:cond_0 |
| |
240 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIcon:Landroid/graphics/drawable/Drawable; | 250 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIcon:Landroid/graphics/drawable/Drawable; |
| |
241 | ····if-eqz·v0,·:cond_0 | 251 | ····if-eqz·v0,·:cond_0 |
| |
242 | ····goto·:goto_0 | 252 | ····goto·:goto_0 |
| |
243 | ····.line·344 | 253 | ····.line·357 |
244 | ····:cond_0 | 254 | ····:cond_0 |
245 | ····new-instance·v0,·Ljava/lang/IllegalStateException; | 255 | ····new-instance·v0,·Ljava/lang/IllegalStateException; |
| |
246 | ····const-string·v1,·"Only·simple·icons·can·be·activatable" | 256 | ····const-string·v1,·"Only·simple·icons·can·be·activatable" |
| |
247 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V | 257 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |
248 | ····throw·v0 | 258 | ····throw·v0 |
| |
249 | ····.line·346 | 259 | ····.line·359 |
250 | ····:cond_1 | 260 | ····:cond_1 |
251 | ····:goto_0 | 261 | ····:goto_0 |
252 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsCheckable:Z | 262 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsCheckable:Z |
| |
253 | ····if-eqz·v0,·:cond_3 | 263 | ····if-eqz·v0,·:cond_3 |
| |
254 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mShowIconAndTitle:Z | 264 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mShowIconAndTitle:Z |
Offset 365, 73 lines modified | Offset 379, 73 lines modified |
| |
365 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivatable:Z | 379 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivatable:Z |
| |
366 | ····if-nez·v0,·:cond_2 | 380 | ····if-nez·v0,·:cond_2 |
| |
367 | ····goto·:goto_1 | 381 | ····goto·:goto_1 |
| |
368 | ····.line·347 | 382 | ····.line·360 |
369 | ····:cond_2 | 383 | ····:cond_2 |
370 | ····new-instance·v0,·Ljava/lang/IllegalStateException; | 384 | ····new-instance·v0,·Ljava/lang/IllegalStateException; |
| |
371 | ····const-string·v1,·"Unsupported·options·for·a·checkable·MenuItem" | 385 | ····const-string·v1,·"Unsupported·options·for·a·checkable·MenuItem" |
| |
372 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V | 386 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |
373 | ····throw·v0 | 387 | ····throw·v0 |
| |
374 | ····.line·349 | 388 | ····.line·362 |
375 | ····:cond_3 | 389 | ····:cond_3 |
376 | ····:goto_1 | 390 | ····:goto_1 |
377 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSearch:Z | 391 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSearch:Z |
| |
378 | ····if-eqz·v0,·:cond_5 | 392 | ····if-eqz·v0,·:cond_5 |
| |
379 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSettings:Z | 393 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSettings:Z |
| |
380 | ····if-nez·v0,·:cond_4 | 394 | ····if-nez·v0,·:cond_4 |
| |
381 | ····goto·:goto_2 | 395 | ····goto·:goto_2 |
| |
382 | ····.line·350 | 396 | ····.line·363 |
383 | ····:cond_4 | 397 | ····:cond_4 |
384 | ····new-instance·v0,·Ljava/lang/IllegalStateException; | 398 | ····new-instance·v0,·Ljava/lang/IllegalStateException; |
| |
385 | ····const-string·v1,·"Can\'t·have·both·a·search·and·settings·MenuItem" | 399 | ····const-string·v1,·"Can\'t·have·both·a·search·and·settings·MenuItem" |
| |
386 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V | 400 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |
387 | ····throw·v0 | 401 | ····throw·v0 |
| |
388 | ····.line·352 | 402 | ····.line·365 |
389 | ····:cond_5 | 403 | ····:cond_5 |
390 | ····:goto_2 | 404 | ····:goto_2 |
391 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivatable:Z | 405 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivatable:Z |
| |
392 | ····if-eqz·v0,·:cond_7 | 406 | ····if-eqz·v0,·:cond_7 |
| |
393 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mDisplayBehavior:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; | 407 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mDisplayBehavior:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; |
| |
394 | ····sget-object·v1,·Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;->NEVER:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; | 408 | ····sget-object·v1,·Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;->NEVER:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; |
| |
395 | ····if-eq·v0,·v1,·:cond_6 | 409 | ····if-eq·v0,·v1,·:cond_6 |
| |
396 | ····goto·:goto_3 | 410 | ····goto·:goto_3 |
| |
397 | ····.line·353 | 411 | ····.line·366 |
398 | ····:cond_6 | 412 | ····:cond_6 |
399 | ····new-instance·v0,·Ljava/lang/IllegalStateException; | 413 | ····new-instance·v0,·Ljava/lang/IllegalStateException; |
| |
400 | ····const-string·v1,·"Activatable·MenuItems·not·supported·as·Overflow" | 414 | ····const-string·v1,·"Activatable·MenuItems·not·supported·as·Overflow" |
| |
401 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V | 415 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |
402 | ····throw·v0 | 416 | ····throw·v0 |
| |
403 | ····.line·356 | 417 | ····.line·369 |
404 | ····:cond_7 | 418 | ····:cond_7 |
405 | ····:goto_3 | 419 | ····:goto_3 |
406 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSearch:Z | 420 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSearch:Z |
| |
407 | ····if-eqz·v0,·:cond_9 | 421 | ····if-eqz·v0,·:cond_9 |
| |
408 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSearchTitle:Ljava/lang/String; | 422 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSearchTitle:Ljava/lang/String; |
Offset 444, 15 lines modified | Offset 458, 15 lines modified |
| |
444 | ····if-eqz·v0,·:cond_8 | 458 | ····if-eqz·v0,·:cond_8 |
| |
445 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSearchIcon:Landroid/graphics/drawable/Drawable; | 459 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSearchIcon:Landroid/graphics/drawable/Drawable; |
| |
446 | ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIcon:Landroid/graphics/drawable/Drawable; | 460 | ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIcon:Landroid/graphics/drawable/Drawable; |
| |
447 | ····.line·357 | 461 | ····.line·370 |
448 | ····invoke-virtual·{v0,·v1},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z | 462 | ····invoke-virtual·{v0,·v1},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z |
| |
449 | ····move-result·v0 | 463 | ····move-result·v0 |
| |
450 | ····if-eqz·v0,·:cond_8 | 464 | ····if-eqz·v0,·:cond_8 |
| |
451 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsCheckable:Z | 465 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsCheckable:Z |
Offset 475, 25 lines modified | Offset 489, 25 lines modified |
| |
475 | ····sget-object·v1,·Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;->ALWAYS:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; | 489 | ····sget-object·v1,·Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;->ALWAYS:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; |
| |
476 | ····if-ne·v0,·v1,·:cond_8 | 490 | ····if-ne·v0,·v1,·:cond_8 |
| |
477 | ····goto·:goto_4 | 491 | ····goto·:goto_4 |
| |
478 | ····.line·363 | 492 | ····.line·376 |
479 | ····:cond_8 | 493 | ····:cond_8 |
480 | ····new-instance·v0,·Ljava/lang/IllegalStateException; | 494 | ····new-instance·v0,·Ljava/lang/IllegalStateException; |
| |
481 | ····const-string·v1,·"Invalid·search·MenuItem" | 495 | ····const-string·v1,·"Invalid·search·MenuItem" |
| |
482 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V | 496 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |
483 | ····throw·v0 | 497 | ····throw·v0 |
| |
484 | ····.line·366 | 498 | ····.line·379 |
485 | ····:cond_9 | 499 | ····:cond_9 |
486 | ····:goto_4 | 500 | ····:goto_4 |
487 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSettings:Z | 501 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSettings:Z |
| |
488 | ····if-eqz·v0,·:cond_b | 502 | ····if-eqz·v0,·:cond_b |
| |
489 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSettingsTitle:Ljava/lang/String; | 503 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSettingsTitle:Ljava/lang/String; |
Offset 506, 15 lines modified | Offset 520, 15 lines modified |
| |
506 | ····if-eqz·v0,·:cond_a | 520 | ····if-eqz·v0,·:cond_a |
| |
507 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSettingsIcon:Landroid/graphics/drawable/Drawable; | 521 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSettingsIcon:Landroid/graphics/drawable/Drawable; |
| |
508 | ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIcon:Landroid/graphics/drawable/Drawable; | 522 | ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIcon:Landroid/graphics/drawable/Drawable; |
| |
509 | ····.line·367 | 523 | ····.line·380 |
510 | ····invoke-virtual·{v0,·v1},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z | 524 | ····invoke-virtual·{v0,·v1},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z |
| |
511 | ····move-result·v0 | 525 | ····move-result·v0 |
| |
512 | ····if-eqz·v0,·:cond_a | 526 | ····if-eqz·v0,·:cond_a |
| |
513 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsCheckable:Z | 527 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsCheckable:Z |
Offset 537, 25 lines modified | Offset 551, 25 lines modified |
| |
537 | ····sget-object·v1,·Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;->ALWAYS:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; | 551 | ····sget-object·v1,·Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;->ALWAYS:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; |
| |
538 | ····if-ne·v0,·v1,·:cond_a | 552 | ····if-ne·v0,·v1,·:cond_a |
| |
539 | ····goto·:goto_5 | 553 | ····goto·:goto_5 |
| |
540 | ····.line·373 | 554 | ····.line·386 |
541 | ····:cond_a | 555 | ····:cond_a |
542 | ····new-instance·v0,·Ljava/lang/IllegalStateException; | 556 | ····new-instance·v0,·Ljava/lang/IllegalStateException; |
| |
543 | ····const-string·v1,·"Invalid·settings·MenuItem" | 557 | ····const-string·v1,·"Invalid·settings·MenuItem" |
| |
544 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V | 558 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |
545 | ····throw·v0 | 559 | ····throw·v0 |
| |
546 | ····.line·376 | 560 | ····.line·389 |
547 | ····:cond_b | 561 | ····:cond_b |
548 | ····:goto_5 | 562 | ····:goto_5 |
549 | ····new-instance·v0,·Lcom/android/car/ui/toolbar/MenuItem; | 563 | ····new-instance·v0,·Lcom/android/car/ui/toolbar/MenuItem; |
| |
550 | ····const/4·v1,·0x0 | 564 | ····const/4·v1,·0x0 |
| |
551 | ····invoke-direct·{v0,·p0,·v1},·Lcom/android/car/ui/toolbar/MenuItem;-><init>(Lcom/android/car/ui/toolbar/MenuItem$Builder;Lcom/android/car/ui/toolbar/MenuItem$1;)V | 565 | ····invoke-direct·{v0,·p0,·v1},·Lcom/android/car/ui/toolbar/MenuItem;-><init>(Lcom/android/car/ui/toolbar/MenuItem$Builder;Lcom/android/car/ui/toolbar/MenuItem$1;)V |
Offset 564, 83 lines modified | Offset 578, 83 lines modified |
564 | .end·method | 578 | .end·method |
| |
565 | .method·public·setActivatable()Lcom/android/car/ui/toolbar/MenuItem$Builder; | 579 | .method·public·setActivatable()Lcom/android/car/ui/toolbar/MenuItem$Builder; |
566 | ····.locals·1 | 580 | ····.locals·1 |
| |
567 | ····const/4·v0,·0x1 | 581 | ····const/4·v0,·0x1 |
| |
568 | ····.line·441 | 582 | ····.line·454 |
569 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivatable:Z | 583 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivatable:Z |
| |
570 | ····return-object·p0 | 584 | ····return-object·p0 |
571 | .end·method | 585 | .end·method |
| |
572 | .method·public·setActivated(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 586 | .method·public·setActivated(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
573 | ····.locals·0 | 587 | ····.locals·0 |
| |
574 | ····.line·450 | 588 | ····.line·463 |
575 | ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setActivatable()Lcom/android/car/ui/toolbar/MenuItem$Builder; | 589 | ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setActivatable()Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
576 | ····.line·451 | 590 | ····.line·464 |
577 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivated:Z | 591 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsActivated:Z |
| |
578 | ····return-object·p0 | 592 | ····return-object·p0 |
579 | .end·method | 593 | .end·method |
| |
580 | .method·public·setCheckable()Lcom/android/car/ui/toolbar/MenuItem$Builder; | 594 | .method·public·setCheckable()Lcom/android/car/ui/toolbar/MenuItem$Builder; |
581 | ····.locals·1 | 595 | ····.locals·1 |
| |
582 | ····const/4·v0,·0x1 | 596 | ····const/4·v0,·0x1 |
| |
583 | ····.line·497 | 597 | ····.line·510 |
584 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsCheckable:Z | 598 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsCheckable:Z |
| |
585 | ····return-object·p0 | 599 | ····return-object·p0 |
586 | .end·method | 600 | .end·method |
| |
587 | .method·public·setChecked(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 601 | .method·public·setChecked(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
588 | ····.locals·0 | 602 | ····.locals·0 |
| |
589 | ····.line·505 | 603 | ····.line·518 |
590 | ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setCheckable()Lcom/android/car/ui/toolbar/MenuItem$Builder; | 604 | ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setCheckable()Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
591 | ····.line·506 | 605 | ····.line·519 |
592 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsChecked:Z | 606 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsChecked:Z |
| |
593 | ····return-object·p0 | 607 | ····return-object·p0 |
594 | .end·method | 608 | .end·method |
| |
595 | .method·public·setDisplayBehavior(Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 609 | .method·public·setDisplayBehavior(Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior;)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
596 | ····.locals·0 | 610 | ····.locals·0 |
| |
597 | ····.line·480 | 611 | ····.line·493 |
598 | ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mDisplayBehavior:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; | 612 | ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mDisplayBehavior:Lcom/android/car/ui/toolbar/MenuItem$DisplayBehavior; |
| |
599 | ····return-object·p0 | 613 | ····return-object·p0 |
600 | .end·method | 614 | .end·method |
| |
601 | .method·public·setEnabled(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 615 | .method·public·setEnabled(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
602 | ····.locals·0 | 616 | ····.locals·0 |
| |
603 | ····.line·486 | 617 | ····.line·499 |
604 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsEnabled:Z | 618 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsEnabled:Z |
| |
605 | ····return-object·p0 | 619 | ····return-object·p0 |
606 | .end·method | 620 | .end·method |
| |
607 | .method·public·setIcon(I)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 621 | .method·public·setIcon(I)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
608 | ····.locals·1 | 622 | ····.locals·1 |
| |
609 | ····if-nez·p1,·:cond_0 | 623 | ····if-nez·p1,·:cond_0 |
| |
610 | ····const/4·p1,·0x0 | 624 | ····const/4·p1,·0x0 |
| |
611 | ····goto·:goto_0 | 625 | ····goto·:goto_0 |
| |
612 | ····.line·405 | 626 | ····.line·418 |
613 | ····:cond_0 | 627 | ····:cond_0 |
614 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mContext:Landroid/content/Context; | 628 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mContext:Landroid/content/Context; |
| |
615 | ····invoke-virtual·{v0,·p1},·Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable; | 629 | ····invoke-virtual·{v0,·p1},·Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable; |
| |
616 | ····move-result-object·p1 | 630 | ····move-result-object·p1 |
| |
Offset 649, 181 lines modified | Offset 663, 190 lines modified |
| |
649 | ····return-object·p0 | 663 | ····return-object·p0 |
650 | .end·method | 664 | .end·method |
| |
651 | .method·public·setIcon(Landroid/graphics/drawable/Drawable;)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 665 | .method·public·setIcon(Landroid/graphics/drawable/Drawable;)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
652 | ····.locals·0 | 666 | ····.locals·0 |
| |
653 | ····.line·415 | 667 | ····.line·428 |
654 | ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIcon:Landroid/graphics/drawable/Drawable; | 668 | ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIcon:Landroid/graphics/drawable/Drawable; |
| |
655 | ····return-object·p0 | 669 | ····return-object·p0 |
656 | .end·method | 670 | .end·method |
| |
657 | .method·public·setId(I)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 671 | .method·public·setId(I)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
658 | ····.locals·0 | 672 | ····.locals·0 |
| |
659 | ····.line·381 | 673 | ····.line·394 |
660 | ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mId:I | 674 | ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mId:I |
| |
661 | ····return-object·p0 | 675 | ····return-object·p0 |
662 | .end·method | 676 | .end·method |
| |
663 | .method·public·setOnClickListener(Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 677 | .method·public·setOnClickListener(Lcom/android/car/ui/toolbar/MenuItem$OnClickListener;)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
664 | ····.locals·0 | 678 | ····.locals·0 |
| |
665 | ····.line·457 | 679 | ····.line·470 |
666 | ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener; | 680 | ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mOnClickListener:Lcom/android/car/ui/toolbar/MenuItem$OnClickListener; |
| |
667 | ····return-object·p0 | 681 | ····return-object·p0 |
668 | .end·method | 682 | .end·method |
| |
| 683 | .method·public·setPrimary(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| 684 | ····.locals·0 |
| |
| 685 | ····.line·527 |
| 686 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsPrimary:Z |
| |
| 687 | ····return-object·p0 |
| 688 | .end·method |
| |
669 | .method·public·setShowIconAndTitle(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 689 | .method·public·setShowIconAndTitle(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
670 | ····.locals·0 | 690 | ····.locals·0 |
| |
671 | ····.line·469 | 691 | ····.line·482 |
672 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mShowIconAndTitle:Z | 692 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mShowIconAndTitle:Z |
| |
673 | ····return-object·p0 | 693 | ····return-object·p0 |
674 | .end·method | 694 | .end·method |
| |
675 | .method·public·setTinted(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 695 | .method·public·setTinted(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
676 | ····.locals·0 | 696 | ····.locals·0 |
| |
677 | ····.line·426 | 697 | ····.line·439 |
678 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsTinted:Z | 698 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsTinted:Z |
| |
679 | ····return-object·p0 | 699 | ····return-object·p0 |
680 | .end·method | 700 | .end·method |
| |
681 | .method·public·setTitle(I)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 701 | .method·public·setTitle(I)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
682 | ····.locals·1 | 702 | ····.locals·1 |
| |
683 | ····.line·387 | 703 | ····.line·400 |
684 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mContext:Landroid/content/Context; | 704 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mContext:Landroid/content/Context; |
| |
685 | ····invoke-virtual·{v0,·p1},·Landroid/content/Context;->getString(I)Ljava/lang/String; | 705 | ····invoke-virtual·{v0,·p1},·Landroid/content/Context;->getString(I)Ljava/lang/String; |
| |
686 | ····move-result-object·p1 | 706 | ····move-result-object·p1 |
| |
687 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setTitle(Ljava/lang/CharSequence;)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 707 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setTitle(Ljava/lang/CharSequence;)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
688 | ····return-object·p0 | 708 | ····return-object·p0 |
689 | .end·method | 709 | .end·method |
| |
690 | .method·public·setTitle(Ljava/lang/CharSequence;)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 710 | .method·public·setTitle(Ljava/lang/CharSequence;)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
691 | ····.locals·0 | 711 | ····.locals·0 |
| |
692 | ····.line·393 | 712 | ····.line·406 |
693 | ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mTitle:Ljava/lang/CharSequence; | 713 | ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mTitle:Ljava/lang/CharSequence; |
| |
694 | ····return-object·p0 | 714 | ····return-object·p0 |
695 | .end·method | 715 | .end·method |
| |
696 | .method·public·setToSearch()Lcom/android/car/ui/toolbar/MenuItem$Builder; | 716 | .method·public·setToSearch()Lcom/android/car/ui/toolbar/MenuItem$Builder; |
697 | ····.locals·2 | 717 | ····.locals·2 |
| |
698 | ····.line·530 | 718 | ····.line·551 |
699 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mContext:Landroid/content/Context; | 719 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mContext:Landroid/content/Context; |
| |
700 | ····sget·v1,·Lcom/android/car/ui/R$string;->car_ui_toolbar_menu_item_search_title:I | 720 | ····sget·v1,·Lcom/android/car/ui/R$string;->car_ui_toolbar_menu_item_search_title:I |
| |
701 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getString(I)Ljava/lang/String; | 721 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getString(I)Ljava/lang/String; |
| |
702 | ····move-result-object·v0 | 722 | ····move-result-object·v0 |
| |
703 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSearchTitle:Ljava/lang/String; | 723 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSearchTitle:Ljava/lang/String; |
| |
704 | ····.line·531 | 724 | ····.line·552 |
705 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mContext:Landroid/content/Context; | 725 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mContext:Landroid/content/Context; |
| |
706 | ····sget·v1,·Lcom/android/car/ui/R$drawable;->car_ui_icon_search:I | 726 | ····sget·v1,·Lcom/android/car/ui/R$drawable;->car_ui_icon_search:I |
| |
707 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable; | 727 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable; |
| |
708 | ····move-result-object·v0 | 728 | ····move-result-object·v0 |
| |
709 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSearchIcon:Landroid/graphics/drawable/Drawable; | 729 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSearchIcon:Landroid/graphics/drawable/Drawable; |
| |
710 | ····const/4·v0,·0x1 | 730 | ····const/4·v0,·0x1 |
| |
711 | ····.line·532 | 731 | ····.line·553 |
712 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSearch:Z | 732 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSearch:Z |
| |
713 | ····.line·533 | 733 | ····.line·554 |
714 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSearchTitle:Ljava/lang/String; | 734 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSearchTitle:Ljava/lang/String; |
| |
715 | ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setTitle(Ljava/lang/CharSequence;)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 735 | ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setTitle(Ljava/lang/CharSequence;)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
716 | ····.line·534 | 736 | ····.line·555 |
717 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSearchIcon:Landroid/graphics/drawable/Drawable; | 737 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSearchIcon:Landroid/graphics/drawable/Drawable; |
| |
718 | ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setIcon(Landroid/graphics/drawable/Drawable;)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 738 | ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setIcon(Landroid/graphics/drawable/Drawable;)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
719 | ····return-object·p0 | 739 | ····return-object·p0 |
720 | .end·method | 740 | .end·method |
| |
721 | .method·public·setToSettings()Lcom/android/car/ui/toolbar/MenuItem$Builder; | 741 | .method·public·setToSettings()Lcom/android/car/ui/toolbar/MenuItem$Builder; |
722 | ····.locals·2 | 742 | ····.locals·2 |
| |
723 | ····.line·548 | 743 | ····.line·569 |
724 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mContext:Landroid/content/Context; | 744 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mContext:Landroid/content/Context; |
| |
725 | ····sget·v1,·Lcom/android/car/ui/R$string;->car_ui_toolbar_menu_item_settings_title:I | 745 | ····sget·v1,·Lcom/android/car/ui/R$string;->car_ui_toolbar_menu_item_settings_title:I |
| |
726 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getString(I)Ljava/lang/String; | 746 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getString(I)Ljava/lang/String; |
| |
727 | ····move-result-object·v0 | 747 | ····move-result-object·v0 |
| |
728 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSettingsTitle:Ljava/lang/String; | 748 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSettingsTitle:Ljava/lang/String; |
| |
729 | ····.line·549 | 749 | ····.line·570 |
730 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mContext:Landroid/content/Context; | 750 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mContext:Landroid/content/Context; |
| |
731 | ····sget·v1,·Lcom/android/car/ui/R$drawable;->car_ui_icon_settings:I | 751 | ····sget·v1,·Lcom/android/car/ui/R$drawable;->car_ui_icon_settings:I |
| |
732 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable; | 752 | ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable; |
| |
733 | ····move-result-object·v0 | 753 | ····move-result-object·v0 |
| |
734 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSettingsIcon:Landroid/graphics/drawable/Drawable; | 754 | ····iput-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSettingsIcon:Landroid/graphics/drawable/Drawable; |
| |
735 | ····const/4·v0,·0x1 | 755 | ····const/4·v0,·0x1 |
| |
736 | ····.line·550 | 756 | ····.line·571 |
737 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSettings:Z | 757 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsSettings:Z |
| |
738 | ····.line·551 | 758 | ····.line·572 |
739 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSettingsTitle:Ljava/lang/String; | 759 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSettingsTitle:Ljava/lang/String; |
| |
740 | ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setTitle(Ljava/lang/CharSequence;)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 760 | ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setTitle(Ljava/lang/CharSequence;)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
741 | ····.line·552 | 761 | ····.line·573 |
742 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSettingsIcon:Landroid/graphics/drawable/Drawable; | 762 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mSettingsIcon:Landroid/graphics/drawable/Drawable; |
| |
743 | ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setIcon(Landroid/graphics/drawable/Drawable;)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 763 | ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setIcon(Landroid/graphics/drawable/Drawable;)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
744 | ····const/16·v0,·0x40 | 764 | ····const/16·v0,·0x40 |
| |
745 | ····.line·553 | 765 | ····.line·574 |
746 | ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setUxRestrictions(I)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 766 | ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/toolbar/MenuItem$Builder;->setUxRestrictions(I)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
| |
747 | ····return-object·p0 | 767 | ····return-object·p0 |
748 | .end·method | 768 | .end·method |
| |
749 | .method·public·setUxRestrictions(I)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 769 | .method·public·setUxRestrictions(I)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
750 | ····.locals·0 | 770 | ····.locals·0 |
| |
751 | ····.line·516 | 771 | ····.line·537 |
752 | ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mUxRestrictions:I | 772 | ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mUxRestrictions:I |
| |
753 | ····return-object·p0 | 773 | ····return-object·p0 |
754 | .end·method | 774 | .end·method |
| |
755 | .method·public·setVisible(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder; | 775 | .method·public·setVisible(Z)Lcom/android/car/ui/toolbar/MenuItem$Builder; |
756 | ····.locals·0 | 776 | ····.locals·0 |
| |
757 | ····.line·432 | 777 | ····.line·445 |
758 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsVisible:Z | 778 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/MenuItem$Builder;->mIsVisible:Z |
| |
759 | ····return-object·p0 | 779 | ····return-object·p0 |
760 | .end·method | 780 | .end·method |