| | | |
Offset 1, 8 lines modified | Offset 1, 8 lines modified |
1 | .class·public·Lcom/android/car/ui/toolbar/Toolbar; | 1 | .class·public·final·Lcom/android/car/ui/toolbar/Toolbar; |
2 | .super·Landroid/widget/FrameLayout; | 2 | .super·Landroid/widget/FrameLayout; |
3 | .source·"Toolbar.java" | 3 | .source·"Toolbar.java" |
| |
4 | #·interfaces | 4 | #·interfaces |
5 | .implements·Lcom/android/car/ui/toolbar/ToolbarController; | 5 | .implements·Lcom/android/car/ui/toolbar/ToolbarController; |
| |
| |
Offset 15, 14 lines modified | Offset 15, 17 lines modified |
15 | ········Lcom/android/car/ui/toolbar/Toolbar$OnSearchListener;, | 15 | ········Lcom/android/car/ui/toolbar/Toolbar$OnSearchListener;, |
16 | ········Lcom/android/car/ui/toolbar/Toolbar$OnTabSelectedListener;, | 16 | ········Lcom/android/car/ui/toolbar/Toolbar$OnTabSelectedListener;, |
17 | ········Lcom/android/car/ui/toolbar/Toolbar$OnBackListener;, | 17 | ········Lcom/android/car/ui/toolbar/Toolbar$OnBackListener;, |
18 | ········Lcom/android/car/ui/toolbar/Toolbar$OnHeightChangedListener; | 18 | ········Lcom/android/car/ui/toolbar/Toolbar$OnHeightChangedListener; |
19 | ····} | 19 | ····} |
20 | .end·annotation | 20 | .end·annotation |
| |
| 21 | .annotation·runtime·Ljava/lang/Deprecated; |
| 22 | .end·annotation |
| |
| |
21 | #·static·fields | 23 | #·static·fields |
22 | .field·private·static·final·TAG:Ljava/lang/String;·=·"CarUiToolbar" | 24 | .field·private·static·final·TAG:Ljava/lang/String;·=·"CarUiToolbar" |
| |
| |
23 | #·instance·fields | 25 | #·instance·fields |
24 | .field·private·mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 26 | .field·private·mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
Offset 34, 147 lines modified | Offset 37, 147 lines modified |
| |
34 | #·direct·methods | 37 | #·direct·methods |
35 | .method·public·constructor·<init>(Landroid/content/Context;)V | 38 | .method·public·constructor·<init>(Landroid/content/Context;)V |
36 | ····.locals·1 | 39 | ····.locals·1 |
| |
37 | ····const/4·v0,·0x0 | 40 | ····const/4·v0,·0x0 |
| |
38 | ····.line·125 | 41 | ····.line·132 |
39 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/car/ui/toolbar/Toolbar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V | 42 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/car/ui/toolbar/Toolbar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V |
| |
40 | ····return-void | 43 | ····return-void |
41 | .end·method | 44 | .end·method |
| |
42 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;)V | 45 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;)V |
43 | ····.locals·1 | 46 | ····.locals·1 |
| |
44 | ····.line·129 | 47 | ····.line·136 |
45 | ····sget·v0,·Lcom/android/car/ui/R$attr;->CarUiToolbarStyle:I | 48 | ····sget·v0,·Lcom/android/car/ui/R$attr;->CarUiToolbarStyle:I |
| |
46 | ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/android/car/ui/toolbar/Toolbar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V | 49 | ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/android/car/ui/toolbar/Toolbar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V |
| |
47 | ····return-void | 50 | ····return-void |
48 | .end·method | 51 | .end·method |
| |
49 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V | 52 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V |
50 | ····.locals·1 | 53 | ····.locals·1 |
| |
51 | ····const/4·v0,·0x0 | 54 | ····const/4·v0,·0x0 |
| |
52 | ····.line·133 | 55 | ····.line·140 |
53 | ····invoke-direct·{p0,·p1,·p2,·p3,·v0},·Lcom/android/car/ui/toolbar/Toolbar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V | 56 | ····invoke-direct·{p0,·p1,·p2,·p3,·v0},·Lcom/android/car/ui/toolbar/Toolbar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V |
| |
54 | ····return-void | 57 | ····return-void |
55 | .end·method | 58 | .end·method |
| |
56 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V | 59 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V |
57 | ····.locals·4 | 60 | ····.locals·4 |
| |
58 | ····.line·137 | 61 | ····.line·144 |
59 | ····invoke-direct·{p0,·p1,·p2,·p3,·p4},·Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V | 62 | ····invoke-direct·{p0,·p1,·p2,·p3,·p4},·Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V |
| |
60 | ····const/4·v0,·0x0 | 63 | ····const/4·v0,·0x0 |
| |
61 | ····.line·121 | 64 | ····.line·128 |
62 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingTouch:Z | 65 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingTouch:Z |
| |
63 | ····.line·122 | 66 | ····.line·129 |
64 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingHover:Z | 67 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingHover:Z |
| |
65 | ····const-string·v1,·"layout_inflater" | 68 | ····const-string·v1,·"layout_inflater" |
| |
66 | ····.line·140 | 69 | ····.line·147 |
67 | ····invoke-virtual·{p1,·v1},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; | 70 | ····invoke-virtual·{p1,·v1},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; |
| |
68 | ····move-result-object·v1 | 71 | ····move-result-object·v1 |
| |
69 | ····check-cast·v1,·Landroid/view/LayoutInflater; | 72 | ····check-cast·v1,·Landroid/view/LayoutInflater; |
| |
70 | ····.line·141 | 73 | ····.line·148 |
71 | ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/Toolbar;->getToolbarLayout()I | 74 | ····invoke-virtual·{p0},·Lcom/android/car/ui/toolbar/Toolbar;->getToolbarLayout()I |
| |
72 | ····move-result·v2 | 75 | ····move-result·v2 |
| |
73 | ····const/4·v3,·0x1 | 76 | ····const/4·v3,·0x1 |
| |
74 | ····invoke-virtual·{v1,·v2,·p0,·v3},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View; | 77 | ····invoke-virtual·{v1,·v2,·p0,·v3},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View; |
| |
75 | ····.line·143 | 78 | ····.line·150 |
76 | ····new-instance·v1,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 79 | ····new-instance·v1,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
77 | ····invoke-direct·{v1,·p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;-><init>(Landroid/view/View;)V | 80 | ····invoke-direct·{v1,·p0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;-><init>(Landroid/view/View;)V |
| |
78 | ····iput-object·v1,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 81 | ····iput-object·v1,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
79 | ····.line·145 | 82 | ····.line·152 |
80 | ····sget-object·v1,·Lcom/android/car/ui/R$styleable;->CarUiToolbar:[I | 83 | ····sget-object·v1,·Lcom/android/car/ui/R$styleable;->CarUiToolbar:[I |
| |
81 | ····invoke-virtual·{p1,·p2,·v1,·p3,·p4},·Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray; | 84 | ····invoke-virtual·{p1,·p2,·v1,·p3,·p4},·Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray; |
| |
82 | ····move-result-object·p1 | 85 | ····move-result-object·p1 |
| |
83 | ····.line·149 | 86 | ····.line·156 |
84 | ····:try_start_0 | 87 | ····:try_start_0 |
85 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiToolbar_showTabsInSubpage:I | 88 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiToolbar_showTabsInSubpage:I |
| |
86 | ····invoke-virtual·{p1,·p2,·v0},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z | 89 | ····invoke-virtual·{p1,·p2,·v0},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z |
| |
87 | ····move-result·p2 | 90 | ····move-result·p2 |
| |
88 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setShowTabsInSubpage(Z)V | 91 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setShowTabsInSubpage(Z)V |
| |
89 | ····.line·150 | 92 | ····.line·157 |
90 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiToolbar_title:I | 93 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiToolbar_title:I |
| |
91 | ····invoke-virtual·{p1,·p2},·Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String; | 94 | ····invoke-virtual·{p1,·p2},·Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String; |
| |
92 | ····move-result-object·p2 | 95 | ····move-result-object·p2 |
| |
93 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setTitle(Ljava/lang/CharSequence;)V | 96 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setTitle(Ljava/lang/CharSequence;)V |
| |
94 | ····.line·151 | 97 | ····.line·158 |
95 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiToolbar_logo:I | 98 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiToolbar_logo:I |
| |
96 | ····invoke-virtual·{p1,·p2,·v0},·Landroid/content/res/TypedArray;->getResourceId(II)I | 99 | ····invoke-virtual·{p1,·p2,·v0},·Landroid/content/res/TypedArray;->getResourceId(II)I |
| |
97 | ····move-result·p2 | 100 | ····move-result·p2 |
| |
98 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setLogo(I)V | 101 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setLogo(I)V |
| |
99 | ····.line·152 | 102 | ····.line·159 |
100 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiToolbar_showBackground:I | 103 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiToolbar_showBackground:I |
| |
101 | ····invoke-virtual·{p1,·p2,·v3},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z | 104 | ····invoke-virtual·{p1,·p2,·v3},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z |
| |
102 | ····move-result·p2 | 105 | ····move-result·p2 |
| |
103 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setBackgroundShown(Z)V | 106 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setBackgroundShown(Z)V |
| |
104 | ····.line·153 | 107 | ····.line·160 |
105 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiToolbar_menuItems:I | 108 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiToolbar_menuItems:I |
| |
106 | ····invoke-virtual·{p1,·p2,·v0},·Landroid/content/res/TypedArray;->getResourceId(II)I | 109 | ····invoke-virtual·{p1,·p2,·v0},·Landroid/content/res/TypedArray;->getResourceId(II)I |
| |
107 | ····move-result·p2 | 110 | ····move-result·p2 |
| |
108 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setMenuItems(I)Ljava/util/List; | 111 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setMenuItems(I)Ljava/util/List; |
| |
109 | ····.line·154 | 112 | ····.line·161 |
110 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiToolbar_searchHint:I | 113 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiToolbar_searchHint:I |
| |
111 | ····invoke-virtual·{p1,·p2},·Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String; | 114 | ····invoke-virtual·{p1,·p2},·Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String; |
| |
112 | ····move-result-object·p2 | 115 | ····move-result-object·p2 |
| |
113 | ····if-eqz·p2,·:cond_0 | 116 | ····if-eqz·p2,·:cond_0 |
| |
114 | ····.line·156 | 117 | ····.line·163 |
115 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setSearchHint(Ljava/lang/CharSequence;)V | 118 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setSearchHint(Ljava/lang/CharSequence;)V |
| |
116 | ····.line·159 | 119 | ····.line·166 |
117 | ····:cond_0 | 120 | ····:cond_0 |
118 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiToolbar_car_ui_state:I | 121 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiToolbar_car_ui_state:I |
| |
119 | ····invoke-virtual·{p1,·p2,·v0},·Landroid/content/res/TypedArray;->getInt(II)I | 122 | ····invoke-virtual·{p1,·p2,·v0},·Landroid/content/res/TypedArray;->getInt(II)I |
| |
120 | ····move-result·p2 | 123 | ····move-result·p2 |
121 | ····:try_end_0 | 124 | ····:try_end_0 |
Offset 188, 161 lines modified | Offset 191, 187 lines modified |
| |
188 | ····if-eqz·p2,·:cond_3 | 191 | ····if-eqz·p2,·:cond_3 |
| |
189 | ····if-eq·p2,·v3,·:cond_2 | 192 | ····if-eq·p2,·v3,·:cond_2 |
| |
190 | ····if-eq·p2,·p4,·:cond_1 | 193 | ····if-eq·p2,·p4,·:cond_1 |
| |
191 | ····.line·170 | 194 | ····.line·177 |
192 | ····:try_start_1 | 195 | ····:try_start_1 |
193 | ····invoke-static·{v1,·p3},·Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z | 196 | ····invoke-static·{v1,·p3},·Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z |
| |
194 | ····move-result·p2 | 197 | ····move-result·p2 |
| |
195 | ····if-eqz·p2,·:cond_4 | 198 | ····if-eqz·p2,·:cond_4 |
| |
196 | ····const-string·p2,·"Unknown·initial·state" | 199 | ····const-string·p2,·"Unknown·initial·state" |
| |
197 | ····.line·171 | 200 | ····.line·178 |
198 | ····invoke-static·{v1,·p2},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I | 201 | ····invoke-static·{v1,·p2},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I |
| |
199 | ····goto·:goto_0 | 202 | ····goto·:goto_0 |
| |
200 | ····.line·167 | 203 | ····.line·174 |
201 | ····:cond_1 | 204 | ····:cond_1 |
202 | ····sget-object·p2,·Lcom/android/car/ui/toolbar/Toolbar$State;->SEARCH:Lcom/android/car/ui/toolbar/Toolbar$State; | 205 | ····sget-object·p2,·Lcom/android/car/ui/toolbar/Toolbar$State;->SEARCH:Lcom/android/car/ui/toolbar/Toolbar$State; |
| |
203 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V | 206 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V |
| |
204 | ····goto·:goto_0 | 207 | ····goto·:goto_0 |
| |
205 | ····.line·164 | 208 | ····.line·171 |
206 | ····:cond_2 | 209 | ····:cond_2 |
207 | ····sget-object·p2,·Lcom/android/car/ui/toolbar/Toolbar$State;->SUBPAGE:Lcom/android/car/ui/toolbar/Toolbar$State; | 210 | ····sget-object·p2,·Lcom/android/car/ui/toolbar/Toolbar$State;->SUBPAGE:Lcom/android/car/ui/toolbar/Toolbar$State; |
| |
208 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V | 211 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V |
| |
209 | ····goto·:goto_0 | 212 | ····goto·:goto_0 |
| |
210 | ····.line·161 | 213 | ····.line·168 |
211 | ····:cond_3 | 214 | ····:cond_3 |
212 | ····sget-object·p2,·Lcom/android/car/ui/toolbar/Toolbar$State;->HOME:Lcom/android/car/ui/toolbar/Toolbar$State; | 215 | ····sget-object·p2,·Lcom/android/car/ui/toolbar/Toolbar$State;->HOME:Lcom/android/car/ui/toolbar/Toolbar$State; |
| |
213 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V | 216 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V |
| |
214 | ····.line·176 | 217 | ····.line·183 |
215 | ····:cond_4 | 218 | ····:cond_4 |
216 | ····:goto_0 | 219 | ····:goto_0 |
217 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiToolbar_car_ui_navButtonMode:I | 220 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiToolbar_car_ui_navButtonMode:I |
| |
218 | ····invoke-virtual·{p1,·p2,·v0},·Landroid/content/res/TypedArray;->getInt(II)I | 221 | ····invoke-virtual·{p1,·p2,·v0},·Landroid/content/res/TypedArray;->getInt(II)I |
| |
219 | ····move-result·p2 | 222 | ····move-result·p2 |
| |
220 | ····if-eqz·p2,·:cond_7 | 223 | ····if-eqz·p2,·:cond_7 |
| |
221 | ····if-eq·p2,·v3,·:cond_6 | 224 | ····if-eq·p2,·v3,·:cond_6 |
| |
222 | ····if-eq·p2,·p4,·:cond_5 | 225 | ····if-eq·p2,·p4,·:cond_5 |
| |
223 | ····.line·187 | 226 | ····.line·194 |
224 | ····invoke-static·{v1,·p3},·Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z | 227 | ····invoke-static·{v1,·p3},·Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z |
| |
225 | ····move-result·p2 | 228 | ····move-result·p2 |
| |
226 | ····if-eqz·p2,·:cond_8 | 229 | ····if-eqz·p2,·:cond_8 |
| |
227 | ····const-string·p2,·"Unknown·navigation·button·style" | 230 | ····const-string·p2,·"Unknown·navigation·button·style" |
| |
228 | ····.line·188 | 231 | ····.line·195 |
229 | ····invoke-static·{v1,·p2},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I | 232 | ····invoke-static·{v1,·p2},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I |
| |
230 | ····goto·:goto_1 | 233 | ····goto·:goto_1 |
| |
231 | ····.line·184 | 234 | ····.line·191 |
232 | ····:cond_5 | 235 | ····:cond_5 |
233 | ····sget-object·p2,·Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;->DOWN:Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode; | 236 | ····sget-object·p2,·Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;->DOWN:Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode; |
| |
234 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setNavButtonMode(Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;)V | 237 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setNavButtonMode(Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;)V |
| |
235 | ····goto·:goto_1 | 238 | ····goto·:goto_1 |
| |
236 | ····.line·181 | 239 | ····.line·188 |
237 | ····:cond_6 | 240 | ····:cond_6 |
238 | ····sget-object·p2,·Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;->CLOSE:Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode; | 241 | ····sget-object·p2,·Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;->CLOSE:Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode; |
| |
239 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setNavButtonMode(Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;)V | 242 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setNavButtonMode(Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;)V |
| |
240 | ····goto·:goto_1 | 243 | ····goto·:goto_1 |
| |
241 | ····.line·178 | 244 | ····.line·185 |
242 | ····:cond_7 | 245 | ····:cond_7 |
243 | ····sget-object·p2,·Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;->BACK:Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode; | 246 | ····sget-object·p2,·Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;->BACK:Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode; |
| |
244 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setNavButtonMode(Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;)V | 247 | ····invoke-virtual·{p0,·p2},·Lcom/android/car/ui/toolbar/Toolbar;->setNavButtonMode(Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;)V |
245 | ····:try_end_1 | 248 | ····:try_end_1 |
246 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 249 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
| |
247 | ····.line·193 | 250 | ····.line·200 |
248 | ····:cond_8 | 251 | ····:cond_8 |
249 | ····:goto_1 | 252 | ····:goto_1 |
250 | ····invoke-virtual·{p1},·Landroid/content/res/TypedArray;->recycle()V | 253 | ····invoke-virtual·{p1},·Landroid/content/res/TypedArray;->recycle()V |
| |
251 | ····return-void | 254 | ····return-void |
| |
252 | ····:catchall_0 | 255 | ····:catchall_0 |
253 | ····move-exception·p2 | 256 | ····move-exception·p2 |
| |
254 | ····invoke-virtual·{p1},·Landroid/content/res/TypedArray;->recycle()V | 257 | ····invoke-virtual·{p1},·Landroid/content/res/TypedArray;->recycle()V |
| |
255 | ····.line·194 | 258 | ····.line·201 |
256 | ····throw·p2 | 259 | ····throw·p2 |
257 | .end·method | 260 | .end·method |
| |
| |
258 | #·virtual·methods | 261 | #·virtual·methods |
259 | .method·public·addTab(Lcom/android/car/ui/toolbar/TabLayout$Tab;)V | 262 | .method·public·addTab(Lcom/android/car/ui/toolbar/TabLayout$Tab;)V |
260 | ····.locals·1 | 263 | ····.locals·1 |
| |
261 | ····.line·283 | 264 | ····.line·310 |
262 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 265 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
263 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->addTab(Lcom/android/car/ui/toolbar/TabLayout$Tab;)V | 266 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->addTab(Lcom/android/car/ui/toolbar/TabLayout$Tab;)V |
| |
264 | ····return-void | 267 | ····return-void |
265 | .end·method | 268 | .end·method |
| |
| 269 | .method·public·canShowSearchResultItems()Z |
| 270 | ····.locals·1 |
| |
| 271 | ····.line·664 |
| 272 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
| 273 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->canShowSearchResultItems()Z |
| |
| 274 | ····move-result·v0 |
| |
| 275 | ····return·v0 |
| 276 | .end·method |
| |
| 277 | .method·public·canShowSearchResultsView()Z |
| 278 | ····.locals·1 |
| |
| 279 | ····.line·672 |
| 280 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
| 281 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->canShowSearchResultsView()Z |
| |
| 282 | ····move-result·v0 |
| |
| 283 | ····return·v0 |
| 284 | .end·method |
| |
266 | .method·public·clearAllTabs()V | 285 | .method·public·clearAllTabs()V |
267 | ····.locals·1 | 286 | ····.locals·1 |
| |
268 | ····.line·289 | 287 | ····.line·316 |
269 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 288 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
270 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->clearAllTabs()V | 289 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->clearAllTabs()V |
| |
271 | ····return-void | 290 | ····return-void |
272 | .end·method | 291 | .end·method |
| |
273 | .method·public·findMenuItemById(I)Lcom/android/car/ui/toolbar/MenuItem; | 292 | .method·public·findMenuItemById(I)Lcom/android/car/ui/toolbar/MenuItem; |
274 | ····.locals·1 | 293 | ····.locals·1 |
| |
275 | ····.line·484 | 294 | ····.line·511 |
276 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 295 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
277 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->findMenuItemById(I)Lcom/android/car/ui/toolbar/MenuItem; | 296 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->findMenuItemById(I)Lcom/android/car/ui/toolbar/MenuItem; |
| |
278 | ····move-result-object·p1 | 297 | ····move-result-object·p1 |
| |
279 | ····return-object·p1 | 298 | ····return-object·p1 |
280 | .end·method | 299 | .end·method |
| |
281 | .method·public·getBackgroundShown()Z | 300 | .method·public·getBackgroundShown()Z |
282 | ····.locals·1 | 301 | ····.locals·1 |
| |
283 | ····.line·428 | 302 | ····.line·455 |
284 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 303 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
285 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getBackgroundShown()Z | 304 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getBackgroundShown()Z |
| |
286 | ····move-result·v0 | 305 | ····move-result·v0 |
| |
287 | ····return·v0 | 306 | ····return·v0 |
Offset 355, 158 lines modified | Offset 384, 186 lines modified |
355 | ············"()", | 384 | ············"()", |
356 | ············"Ljava/util/List<", | 385 | ············"Ljava/util/List<", |
357 | ············"Lcom/android/car/ui/toolbar/MenuItem;", | 386 | ············"Lcom/android/car/ui/toolbar/MenuItem;", |
358 | ············">;" | 387 | ············">;" |
359 | ········} | 388 | ········} |
360 | ····.end·annotation | 389 | ····.end·annotation |
| |
361 | ····.line·477 | 390 | ····.line·504 |
362 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 391 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
363 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getMenuItems()Ljava/util/List; | 392 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getMenuItems()Ljava/util/List; |
| |
364 | ····move-result-object·v0 | 393 | ····move-result-object·v0 |
| |
365 | ····return-object·v0 | 394 | ····return-object·v0 |
366 | .end·method | 395 | .end·method |
| |
367 | .method·public·getNavButtonMode()Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode; | 396 | .method·public·getNavButtonMode()Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode; |
368 | ····.locals·1 | 397 | ····.locals·1 |
| |
369 | ····.line·406 | 398 | ····.line·433 |
370 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 399 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
371 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getNavButtonMode()Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode; | 400 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getNavButtonMode()Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode; |
| |
372 | ····move-result-object·v0 | 401 | ····move-result-object·v0 |
| |
373 | ····return-object·v0 | 402 | ····return-object·v0 |
374 | .end·method | 403 | .end·method |
| |
375 | .method·public·getProgressBar()Lcom/android/car/ui/toolbar/ProgressBarController; | 404 | .method·public·getProgressBar()Lcom/android/car/ui/toolbar/ProgressBarController; |
376 | ····.locals·1 | 405 | ····.locals·1 |
| |
377 | ····.line·658 | 406 | ····.line·729 |
378 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 407 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
379 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getProgressBar()Lcom/android/car/ui/toolbar/ProgressBarController; | 408 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getProgressBar()Lcom/android/car/ui/toolbar/ProgressBarController; |
| |
380 | ····move-result-object·v0 | 409 | ····move-result-object·v0 |
| |
381 | ····return-object·v0 | 410 | ····return-object·v0 |
382 | .end·method | 411 | .end·method |
| |
383 | .method·public·getSearchHint()Ljava/lang/CharSequence; | 412 | .method·public·getSearchHint()Ljava/lang/CharSequence; |
384 | ····.locals·1 | 413 | ····.locals·1 |
| |
385 | ····.line·359 | 414 | ····.line·386 |
386 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 415 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
387 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getSearchHint()Ljava/lang/CharSequence; | 416 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getSearchHint()Ljava/lang/CharSequence; |
| |
388 | ····move-result-object·v0 | 417 | ····move-result-object·v0 |
| |
389 | ····return-object·v0 | 418 | ····return-object·v0 |
390 | .end·method | 419 | .end·method |
| |
391 | .method·public·getShowMenuItemsWhileSearching()Z | 420 | .method·public·getShowMenuItemsWhileSearching()Z |
392 | ····.locals·1 | 421 | ····.locals·1 |
| |
393 | ····.line·507 | 422 | ····.line·534 |
394 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 423 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
395 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getShowMenuItemsWhileSearching()Z | 424 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getShowMenuItemsWhileSearching()Z |
| |
396 | ····move-result·v0 | 425 | ····move-result·v0 |
| |
397 | ····return·v0 | 426 | ····return·v0 |
398 | .end·method | 427 | .end·method |
| |
399 | .method·public·getShowTabsInSubpage()Z | 428 | .method·public·getShowTabsInSubpage()Z |
400 | ····.locals·1 | 429 | ····.locals·1 |
| |
401 | ····.line·323 | 430 | ····.line·350 |
402 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 431 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
403 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getShowTabsInSubpage()Z | 432 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getShowTabsInSubpage()Z |
| |
404 | ····move-result·v0 | 433 | ····move-result·v0 |
| |
405 | ····return·v0 | 434 | ····return·v0 |
406 | .end·method | 435 | .end·method |
| |
407 | .method·public·getState()Lcom/android/car/ui/toolbar/Toolbar$State; | 436 | .method·public·getState()Lcom/android/car/ui/toolbar/Toolbar$State; |
408 | ····.locals·1 | 437 | ····.locals·1 |
| |
409 | ····.line·530 | 438 | ····.line·557 |
410 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 439 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
411 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getState()Lcom/android/car/ui/toolbar/Toolbar$State; | 440 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getState()Lcom/android/car/ui/toolbar/Toolbar$State; |
| |
412 | ····move-result-object·v0 | 441 | ····move-result-object·v0 |
| |
413 | ····return-object·v0 | 442 | ····return-object·v0 |
414 | .end·method | 443 | .end·method |
| |
415 | .method·public·getSubtitle()Ljava/lang/CharSequence; | 444 | .method·public·getSubtitle()Ljava/lang/CharSequence; |
416 | ····.locals·1 | 445 | ····.locals·1 |
| |
417 | ····.line·266 | 446 | ····.line·273 |
418 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 447 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
419 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getSubtitle()Ljava/lang/CharSequence; | 448 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getSubtitle()Ljava/lang/CharSequence; |
| |
420 | ····move-result-object·v0 | 449 | ····move-result-object·v0 |
| |
421 | ····return-object·v0 | 450 | ····return-object·v0 |
422 | .end·method | 451 | .end·method |
| |
423 | .method·public·getTab(I)Lcom/android/car/ui/toolbar/TabLayout$Tab; | 452 | .method·public·getTab(I)Lcom/android/car/ui/toolbar/TabLayout$Tab; |
424 | ····.locals·1 | 453 | ····.locals·1 |
| |
425 | ····.line·298 | 454 | ····.line·325 |
426 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 455 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
427 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getTab(I)Lcom/android/car/ui/toolbar/TabLayout$Tab; | 456 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getTab(I)Lcom/android/car/ui/toolbar/TabLayout$Tab; |
| |
428 | ····move-result-object·p1 | 457 | ····move-result-object·p1 |
| |
429 | ····return-object·p1 | 458 | ····return-object·p1 |
430 | .end·method | 459 | .end·method |
| |
| 460 | .method·public·getTabCount()I |
| 461 | ····.locals·1 |
| |
| 462 | ····.line·293 |
| 463 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
| 464 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getTabCount()I |
| |
| 465 | ····move-result·v0 |
| |
| 466 | ····return·v0 |
| 467 | .end·method |
| |
431 | .method·public·getTabLayout()Lcom/android/car/ui/toolbar/TabLayout; | 468 | .method·public·getTabLayout()Lcom/android/car/ui/toolbar/TabLayout; |
432 | ····.locals·1 | 469 | ····.locals·1 |
| 470 | ····.annotation·runtime·Ljava/lang/Deprecated; |
| 471 | ····.end·annotation |
| |
433 | ····.line·274 | 472 | ····.line·284 |
434 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 473 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
435 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getTabLayout()Lcom/android/car/ui/toolbar/TabLayout; | 474 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getTabLayout()Lcom/android/car/ui/toolbar/TabLayout; |
| |
436 | ····move-result-object·v0 | 475 | ····move-result-object·v0 |
| |
437 | ····return-object·v0 | 476 | ····return-object·v0 |
438 | .end·method | 477 | .end·method |
| |
| 478 | .method·public·getTabPosition(Lcom/android/car/ui/toolbar/TabLayout$Tab;)I |
| 479 | ····.locals·1 |
| |
| 480 | ····.line·301 |
| 481 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
| 482 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getTabPosition(Lcom/android/car/ui/toolbar/TabLayout$Tab;)I |
| |
| 483 | ····move-result·p1 |
| |
| 484 | ····return·p1 |
| 485 | .end·method |
| |
439 | .method·public·getTitle()Ljava/lang/CharSequence; | 486 | .method·public·getTitle()Ljava/lang/CharSequence; |
440 | ····.locals·1 | 487 | ····.locals·1 |
| |
441 | ····.line·241 | 488 | ····.line·248 |
442 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 489 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
443 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getTitle()Ljava/lang/CharSequence; | 490 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->getTitle()Ljava/lang/CharSequence; |
| |
444 | ····move-result-object·v0 | 491 | ····move-result-object·v0 |
| |
445 | ····return-object·v0 | 492 | ····return-object·v0 |
446 | .end·method | 493 | .end·method |
| |
447 | .method·protected·getToolbarLayout()I | 494 | .method·protected·getToolbarLayout()I |
448 | ····.locals·2 | 495 | ····.locals·2 |
| |
449 | ····.line·203 | 496 | ····.line·210 |
450 | ····invoke-virtual·{p0},·Landroid/widget/FrameLayout;->getContext()Landroid/content/Context; | 497 | ····invoke-virtual·{p0},·Landroid/widget/FrameLayout;->getContext()Landroid/content/Context; |
| |
451 | ····move-result-object·v0 | 498 | ····move-result-object·v0 |
| |
452 | ····invoke-virtual·{v0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 499 | ····invoke-virtual·{v0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
453 | ····move-result-object·v0 | 500 | ····move-result-object·v0 |
Offset 515, 261 lines modified | Offset 572, 261 lines modified |
| |
515 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z | 572 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z |
| |
516 | ····move-result·v0 | 573 | ····move-result·v0 |
| |
517 | ····if-eqz·v0,·:cond_0 | 574 | ····if-eqz·v0,·:cond_0 |
| |
518 | ····.line·205 | 575 | ····.line·212 |
519 | ····sget·v0,·Lcom/android/car/ui/R$layout;->car_ui_toolbar_two_row:I | 576 | ····sget·v0,·Lcom/android/car/ui/R$layout;->car_ui_toolbar_two_row:I |
| |
520 | ····return·v0 | 577 | ····return·v0 |
| |
521 | ····.line·208 | 578 | ····.line·215 |
522 | ····:cond_0 | 579 | ····:cond_0 |
523 | ····sget·v0,·Lcom/android/car/ui/R$layout;->car_ui_toolbar:I | 580 | ····sget·v0,·Lcom/android/car/ui/R$layout;->car_ui_toolbar:I |
| |
524 | ····return·v0 | 581 | ····return·v0 |
525 | .end·method | 582 | .end·method |
| |
526 | .method·public·isTabsInSecondRow()Z | 583 | .method·public·isTabsInSecondRow()Z |
527 | ····.locals·1 | 584 | ····.locals·1 |
| |
528 | ····.line·216 | 585 | ····.line·223 |
529 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 586 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
530 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->isTabsInSecondRow()Z | 587 | ····invoke-virtual·{v0},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->isTabsInSecondRow()Z |
| |
531 | ····move-result·v0 | 588 | ····move-result·v0 |
| |
532 | ····return·v0 | 589 | ····return·v0 |
533 | .end·method | 590 | .end·method |
| |
534 | .method·public·onHoverEvent(Landroid/view/MotionEvent;)Z | 591 | .method·public·onHoverEvent(Landroid/view/MotionEvent;)Z |
535 | ····.locals·5 | 592 | ····.locals·5 |
| |
536 | ····.line·568 | 593 | ····.line·595 |
537 | ····invoke-virtual·{p1},·Landroid/view/MotionEvent;->getActionMasked()I | 594 | ····invoke-virtual·{p1},·Landroid/view/MotionEvent;->getActionMasked()I |
| |
538 | ····move-result·v0 | 595 | ····move-result·v0 |
| |
539 | ····const/4·v1,·0x0 | 596 | ····const/4·v1,·0x0 |
| |
540 | ····const/16·v2,·0x9 | 597 | ····const/16·v2,·0x9 |
| |
541 | ····if-ne·v0,·v2,·:cond_0 | 598 | ····if-ne·v0,·v2,·:cond_0 |
| |
542 | ····.line·570 | 599 | ····.line·597 |
543 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingHover:Z | 600 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingHover:Z |
| |
544 | ····.line·573 | 601 | ····.line·600 |
545 | ····:cond_0 | 602 | ····:cond_0 |
546 | ····iget-boolean·v3,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingHover:Z | 603 | ····iget-boolean·v3,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingHover:Z |
| |
547 | ····const/4·v4,·0x1 | 604 | ····const/4·v4,·0x1 |
| |
548 | ····if-nez·v3,·:cond_1 | 605 | ····if-nez·v3,·:cond_1 |
| |
549 | ····.line·574 | 606 | ····.line·601 |
550 | ····invoke-super·{p0,·p1},·Landroid/widget/FrameLayout;->onHoverEvent(Landroid/view/MotionEvent;)Z | 607 | ····invoke-super·{p0,·p1},·Landroid/widget/FrameLayout;->onHoverEvent(Landroid/view/MotionEvent;)Z |
| |
551 | ····move-result·p1 | 608 | ····move-result·p1 |
| |
552 | ····if-ne·v0,·v2,·:cond_1 | 609 | ····if-ne·v0,·v2,·:cond_1 |
| |
553 | ····if-nez·p1,·:cond_1 | 610 | ····if-nez·p1,·:cond_1 |
| |
554 | ····.line·576 | 611 | ····.line·603 |
555 | ····iput-boolean·v4,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingHover:Z | 612 | ····iput-boolean·v4,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingHover:Z |
| |
556 | ····:cond_1 | 613 | ····:cond_1 |
557 | ····const/16·p1,·0xa | 614 | ····const/16·p1,·0xa |
| |
558 | ····if-eq·v0,·p1,·:cond_2 | 615 | ····if-eq·v0,·p1,·:cond_2 |
| |
559 | ····const/4·p1,·0x3 | 616 | ····const/4·p1,·0x3 |
| |
560 | ····if-ne·v0,·p1,·:cond_3 | 617 | ····if-ne·v0,·p1,·:cond_3 |
| |
561 | ····.line·581 | 618 | ····.line·608 |
562 | ····:cond_2 | 619 | ····:cond_2 |
563 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingHover:Z | 620 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingHover:Z |
| |
564 | ····:cond_3 | 621 | ····:cond_3 |
565 | ····return·v4 | 622 | ····return·v4 |
566 | .end·method | 623 | .end·method |
| |
567 | .method·public·onTouchEvent(Landroid/view/MotionEvent;)Z | 624 | .method·public·onTouchEvent(Landroid/view/MotionEvent;)Z |
568 | ····.locals·4 | 625 | ····.locals·4 |
| |
569 | ····.line·542 | 626 | ····.line·569 |
570 | ····invoke-virtual·{p1},·Landroid/view/MotionEvent;->getActionMasked()I | 627 | ····invoke-virtual·{p1},·Landroid/view/MotionEvent;->getActionMasked()I |
| |
571 | ····move-result·v0 | 628 | ····move-result·v0 |
| |
572 | ····const/4·v1,·0x0 | 629 | ····const/4·v1,·0x0 |
| |
573 | ····if-nez·v0,·:cond_0 | 630 | ····if-nez·v0,·:cond_0 |
| |
574 | ····.line·544 | 631 | ····.line·571 |
575 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingTouch:Z | 632 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingTouch:Z |
| |
576 | ····.line·547 | 633 | ····.line·574 |
577 | ····:cond_0 | 634 | ····:cond_0 |
578 | ····iget-boolean·v2,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingTouch:Z | 635 | ····iget-boolean·v2,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingTouch:Z |
| |
579 | ····const/4·v3,·0x1 | 636 | ····const/4·v3,·0x1 |
| |
580 | ····if-nez·v2,·:cond_1 | 637 | ····if-nez·v2,·:cond_1 |
| |
581 | ····.line·548 | 638 | ····.line·575 |
582 | ····invoke-super·{p0,·p1},·Landroid/widget/FrameLayout;->onTouchEvent(Landroid/view/MotionEvent;)Z | 639 | ····invoke-super·{p0,·p1},·Landroid/widget/FrameLayout;->onTouchEvent(Landroid/view/MotionEvent;)Z |
| |
583 | ····move-result·p1 | 640 | ····move-result·p1 |
| |
584 | ····if-nez·v0,·:cond_1 | 641 | ····if-nez·v0,·:cond_1 |
| |
585 | ····if-nez·p1,·:cond_1 | 642 | ····if-nez·p1,·:cond_1 |
| |
586 | ····.line·550 | 643 | ····.line·577 |
587 | ····iput-boolean·v3,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingTouch:Z | 644 | ····iput-boolean·v3,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingTouch:Z |
| |
588 | ····:cond_1 | 645 | ····:cond_1 |
589 | ····if-eq·v0,·v3,·:cond_2 | 646 | ····if-eq·v0,·v3,·:cond_2 |
| |
590 | ····const/4·p1,·0x3 | 647 | ····const/4·p1,·0x3 |
| |
591 | ····if-ne·v0,·p1,·:cond_3 | 648 | ····if-ne·v0,·p1,·:cond_3 |
| |
592 | ····.line·555 | 649 | ····.line·582 |
593 | ····:cond_2 | 650 | ····:cond_2 |
594 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingTouch:Z | 651 | ····iput-boolean·v1,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mEatingTouch:Z |
| |
595 | ····:cond_3 | 652 | ····:cond_3 |
596 | ····return·v3 | 653 | ····return·v3 |
597 | .end·method | 654 | .end·method |
| |
598 | .method·public·registerOnBackListener(Lcom/android/car/ui/toolbar/Toolbar$OnBackListener;)V | 655 | .method·public·registerOnBackListener(Lcom/android/car/ui/toolbar/Toolbar$OnBackListener;)V |
599 | ····.locals·1 | 656 | ····.locals·1 |
| |
600 | ····.line·646 | 657 | ····.line·717 |
601 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 658 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
602 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->registerOnBackListener(Lcom/android/car/ui/toolbar/Toolbar$OnBackListener;)V | 659 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->registerOnBackListener(Lcom/android/car/ui/toolbar/Toolbar$OnBackListener;)V |
| |
603 | ····return-void | 660 | ····return-void |
604 | .end·method | 661 | .end·method |
| |
605 | .method·public·registerOnSearchCompletedListener(Lcom/android/car/ui/toolbar/Toolbar$OnSearchCompletedListener;)V | 662 | .method·public·registerOnSearchCompletedListener(Lcom/android/car/ui/toolbar/Toolbar$OnSearchCompletedListener;)V |
606 | ····.locals·1 | 663 | ····.locals·1 |
| |
607 | ····.line·634 | 664 | ····.line·705 |
608 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 665 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
609 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->registerOnSearchCompletedListener(Lcom/android/car/ui/toolbar/Toolbar$OnSearchCompletedListener;)V | 666 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->registerOnSearchCompletedListener(Lcom/android/car/ui/toolbar/Toolbar$OnSearchCompletedListener;)V |
| |
610 | ····return-void | 667 | ····return-void |
611 | .end·method | 668 | .end·method |
| |
612 | .method·public·registerOnSearchListener(Lcom/android/car/ui/toolbar/Toolbar$OnSearchListener;)V | 669 | .method·public·registerOnSearchListener(Lcom/android/car/ui/toolbar/Toolbar$OnSearchListener;)V |
613 | ····.locals·1 | 670 | ····.locals·1 |
| |
614 | ····.line·622 | 671 | ····.line·649 |
615 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 672 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
616 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->registerOnSearchListener(Lcom/android/car/ui/toolbar/Toolbar$OnSearchListener;)V | 673 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->registerOnSearchListener(Lcom/android/car/ui/toolbar/Toolbar$OnSearchListener;)V |
| |
617 | ····return-void | 674 | ····return-void |
618 | .end·method | 675 | .end·method |
| |
619 | .method·public·registerOnTabSelectedListener(Lcom/android/car/ui/toolbar/Toolbar$OnTabSelectedListener;)V | 676 | .method·public·registerOnTabSelectedListener(Lcom/android/car/ui/toolbar/Toolbar$OnTabSelectedListener;)V |
620 | ····.locals·1 | 677 | ····.locals·1 |
| |
621 | ····.line·610 | 678 | ····.line·637 |
622 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 679 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
623 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->registerOnTabSelectedListener(Lcom/android/car/ui/toolbar/Toolbar$OnTabSelectedListener;)V | 680 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->registerOnTabSelectedListener(Lcom/android/car/ui/toolbar/Toolbar$OnTabSelectedListener;)V |
| |
624 | ····return-void | 681 | ····return-void |
625 | .end·method | 682 | .end·method |
| |
626 | .method·public·registerToolbarHeightChangeListener(Lcom/android/car/ui/toolbar/Toolbar$OnHeightChangedListener;)V | 683 | .method·public·registerToolbarHeightChangeListener(Lcom/android/car/ui/toolbar/Toolbar$OnHeightChangedListener;)V |
627 | ····.locals·1 | 684 | ····.locals·1 |
| |
628 | ····.line·597 | 685 | ····.line·624 |
629 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 686 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
630 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->registerToolbarHeightChangeListener(Lcom/android/car/ui/toolbar/Toolbar$OnHeightChangedListener;)V | 687 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->registerToolbarHeightChangeListener(Lcom/android/car/ui/toolbar/Toolbar$OnHeightChangedListener;)V |
| |
631 | ····return-void | 688 | ····return-void |
632 | .end·method | 689 | .end·method |
| |
633 | .method·public·requireMenuItemById(I)Lcom/android/car/ui/toolbar/MenuItem; | 690 | .method·public·requireMenuItemById(I)Lcom/android/car/ui/toolbar/MenuItem; |
634 | ····.locals·1 | 691 | ····.locals·1 |
| |
635 | ····.line·491 | 692 | ····.line·518 |
636 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 693 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
637 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->requireMenuItemById(I)Lcom/android/car/ui/toolbar/MenuItem; | 694 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->requireMenuItemById(I)Lcom/android/car/ui/toolbar/MenuItem; |
| |
638 | ····move-result-object·p1 | 695 | ····move-result-object·p1 |
| |
639 | ····return-object·p1 | 696 | ····return-object·p1 |
640 | .end·method | 697 | .end·method |
| |
641 | .method·public·selectTab(I)V | 698 | .method·public·selectTab(I)V |
642 | ····.locals·1 | 699 | ····.locals·1 |
| |
643 | ····.line·307 | 700 | ····.line·334 |
644 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 701 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
645 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->selectTab(I)V | 702 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->selectTab(I)V |
| |
646 | ····return-void | 703 | ····return-void |
647 | .end·method | 704 | .end·method |
| |
648 | .method·public·setBackground(Landroid/graphics/drawable/Drawable;)V | 705 | .method·public·setBackground(Landroid/graphics/drawable/Drawable;)V |
649 | ····.locals·1 | 706 | ····.locals·1 |
| |
650 | ····.line·414 | 707 | ····.line·441 |
651 | ····new-instance·p1,·Ljava/lang/UnsupportedOperationException; | 708 | ····new-instance·p1,·Ljava/lang/UnsupportedOperationException; |
| |
652 | ····const-string·v0,·"You·can·not·change·the·background·of·a·CarUi·toolbar,·use·setBackgroundShown(boolean)·or·an·RRO·instead." | 709 | ····const-string·v0,·"You·can·not·change·the·background·of·a·CarUi·toolbar,·use·setBackgroundShown(boolean)·or·an·RRO·instead." |
| |
653 | ····invoke-direct·{p1,·v0},·Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V | 710 | ····invoke-direct·{p1,·v0},·Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V |
| |
654 | ····throw·p1 | 711 | ····throw·p1 |
655 | .end·method | 712 | .end·method |
| |
656 | .method·public·setBackgroundShown(Z)V | 713 | .method·public·setBackgroundShown(Z)V |
657 | ····.locals·1 | 714 | ····.locals·1 |
| |
658 | ····.line·422 | 715 | ····.line·449 |
659 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 716 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
660 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setBackgroundShown(Z)V | 717 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setBackgroundShown(Z)V |
| |
661 | ····return-void | 718 | ····return-void |
662 | .end·method | 719 | .end·method |
| |
663 | .method·public·setLogo(I)V | 720 | .method·public·setLogo(I)V |
664 | ····.locals·1 | 721 | ····.locals·1 |
| |
665 | ····.line·332 | 722 | ····.line·359 |
666 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 723 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
667 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setLogo(I)V | 724 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setLogo(I)V |
| |
668 | ····return-void | 725 | ····return-void |
669 | .end·method | 726 | .end·method |
| |
670 | .method·public·setLogo(Landroid/graphics/drawable/Drawable;)V | 727 | .method·public·setLogo(Landroid/graphics/drawable/Drawable;)V |
671 | ····.locals·1 | 728 | ····.locals·1 |
| |
672 | ····.line·341 | 729 | ····.line·368 |
673 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 730 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
674 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setLogo(Landroid/graphics/drawable/Drawable;)V | 731 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setLogo(Landroid/graphics/drawable/Drawable;)V |
| |
675 | ····return-void | 732 | ····return-void |
676 | .end·method | 733 | .end·method |
| |
Offset 780, 15 lines modified | Offset 837, 15 lines modified |
780 | ············"(I)", | 837 | ············"(I)", |
781 | ············"Ljava/util/List<", | 838 | ············"Ljava/util/List<", |
782 | ············"Lcom/android/car/ui/toolbar/MenuItem;", | 839 | ············"Lcom/android/car/ui/toolbar/MenuItem;", |
783 | ············">;" | 840 | ············">;" |
784 | ········} | 841 | ········} |
785 | ····.end·annotation | 842 | ····.end·annotation |
| |
786 | ····.line·470 | 843 | ····.line·497 |
787 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 844 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
788 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setMenuItems(I)Ljava/util/List; | 845 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setMenuItems(I)Ljava/util/List; |
| |
789 | ····move-result-object·p1 | 846 | ····move-result-object·p1 |
| |
790 | ····return-object·p1 | 847 | ····return-object·p1 |
Offset 801, 221 lines modified | Offset 858, 252 lines modified |
801 | ············"(", | 858 | ············"(", |
802 | ············"Ljava/util/List<", | 859 | ············"Ljava/util/List<", |
803 | ············"Lcom/android/car/ui/toolbar/MenuItem;", | 860 | ············"Lcom/android/car/ui/toolbar/MenuItem;", |
804 | ············">;)V" | 861 | ············">;)V" |
805 | ········} | 862 | ········} |
806 | ····.end·annotation | 863 | ····.end·annotation |
| |
807 | ····.line·436 | 864 | ····.line·463 |
808 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 865 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
809 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setMenuItems(Ljava/util/List;)V | 866 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setMenuItems(Ljava/util/List;)V |
| |
810 | ····return-void | 867 | ····return-void |
811 | .end·method | 868 | .end·method |
| |
812 | .method·public·setNavButtonMode(Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;)V | 869 | .method·public·setNavButtonMode(Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;)V |
813 | ····.locals·1 | 870 | ····.locals·1 |
| |
814 | ····.line·400 | 871 | ····.line·427 |
815 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 872 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
816 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setNavButtonMode(Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;)V | 873 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setNavButtonMode(Lcom/android/car/ui/toolbar/Toolbar$NavButtonMode;)V |
| |
817 | ····return-void | 874 | ····return-void |
818 | .end·method | 875 | .end·method |
| |
819 | .method·public·setSearchHint(I)V | 876 | .method·public·setSearchHint(I)V |
820 | ····.locals·1 | 877 | ····.locals·1 |
| |
821 | ····.line·347 | 878 | ····.line·374 |
822 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 879 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
823 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setSearchHint(I)V | 880 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setSearchHint(I)V |
| |
824 | ····return-void | 881 | ····return-void |
825 | .end·method | 882 | .end·method |
| |
826 | .method·public·setSearchHint(Ljava/lang/CharSequence;)V | 883 | .method·public·setSearchHint(Ljava/lang/CharSequence;)V |
827 | ····.locals·1 | 884 | ····.locals·1 |
| |
828 | ····.line·353 | 885 | ····.line·380 |
829 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 886 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
830 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setSearchHint(Ljava/lang/CharSequence;)V | 887 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setSearchHint(Ljava/lang/CharSequence;)V |
| |
831 | ····return-void | 888 | ····return-void |
832 | .end·method | 889 | .end·method |
| |
833 | .method·public·setSearchIcon(I)V | 890 | .method·public·setSearchIcon(I)V |
834 | ····.locals·1 | 891 | ····.locals·1 |
| |
835 | ····.line·370 | 892 | ····.line·397 |
836 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 893 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
837 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setSearchIcon(I)V | 894 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setSearchIcon(I)V |
| |
838 | ····return-void | 895 | ····return-void |
839 | .end·method | 896 | .end·method |
| |
840 | .method·public·setSearchIcon(Landroid/graphics/drawable/Drawable;)V | 897 | .method·public·setSearchIcon(Landroid/graphics/drawable/Drawable;)V |
841 | ····.locals·1 | 898 | ····.locals·1 |
| |
842 | ····.line·381 | 899 | ····.line·408 |
843 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 900 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
844 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setSearchIcon(Landroid/graphics/drawable/Drawable;)V | 901 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setSearchIcon(Landroid/graphics/drawable/Drawable;)V |
| |
845 | ····return-void | 902 | ····return-void |
846 | .end·method | 903 | .end·method |
| |
847 | .method·public·setSearchQuery(Ljava/lang/String;)V | 904 | .method·public·setSearchQuery(Ljava/lang/String;)V |
848 | ····.locals·1 | 905 | ····.locals·1 |
| |
849 | ····.line·515 | 906 | ····.line·542 |
850 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 907 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
851 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setSearchQuery(Ljava/lang/String;)V | 908 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setSearchQuery(Ljava/lang/String;)V |
| |
852 | ····return-void | 909 | ····return-void |
853 | .end·method | 910 | .end·method |
| |
| 911 | .method·public·setSearchResultItems(Ljava/util/List;)V |
| 912 | ····.locals·1 |
| 913 | ····.annotation·system·Ldalvik/annotation/Signature; |
| 914 | ········value·=·{ |
| 915 | ············"(", |
| 916 | ············"Ljava/util/List<", |
| 917 | ············"+", |
| 918 | ············"Lcom/android/car/ui/imewidescreen/CarUiImeSearchListItem;", |
| 919 | ············">;)V" |
| 920 | ········} |
| 921 | ····.end·annotation |
| |
| 922 | ····.line·699 |
| 923 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
| 924 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setSearchResultItems(Ljava/util/List;)V |
| |
| 925 | ····return-void |
| 926 | .end·method |
| |
| 927 | .method·public·setSearchResultsView(Landroid/view/View;)V |
| 928 | ····.locals·1 |
| |
| 929 | ····.line·688 |
| 930 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
| 931 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setSearchResultsView(Landroid/view/View;)V |
| |
| 932 | ····return-void |
| 933 | .end·method |
| |
854 | .method·public·setShowMenuItemsWhileSearching(Z)V | 934 | .method·public·setShowMenuItemsWhileSearching(Z)V |
855 | ····.locals·1 | 935 | ····.locals·1 |
| |
856 | ····.line·501 | 936 | ····.line·528 |
857 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 937 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
858 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setShowMenuItemsWhileSearching(Z)V | 938 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setShowMenuItemsWhileSearching(Z)V |
| |
859 | ····return-void | 939 | ····return-void |
860 | .end·method | 940 | .end·method |
| |
861 | .method·public·setShowTabsInSubpage(Z)V | 941 | .method·public·setShowTabsInSubpage(Z)V |
862 | ····.locals·1 | 942 | ····.locals·1 |
| |
863 | ····.line·315 | 943 | ····.line·342 |
864 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 944 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
865 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setShowTabsInSubpage(Z)V | 945 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setShowTabsInSubpage(Z)V |
| |
866 | ····return-void | 946 | ····return-void |
867 | .end·method | 947 | .end·method |
| |
868 | .method·public·setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V | 948 | .method·public·setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V |
869 | ····.locals·1 | 949 | ····.locals·1 |
| |
870 | ····.line·524 | 950 | ····.line·551 |
871 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 951 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
872 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V | 952 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V |
| |
873 | ····return-void | 953 | ····return-void |
874 | .end·method | 954 | .end·method |
| |
875 | .method·public·setSubtitle(I)V | 955 | .method·public·setSubtitle(I)V |
876 | ····.locals·1 | 956 | ····.locals·1 |
| |
877 | ····.line·251 | 957 | ····.line·258 |
878 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 958 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
879 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setSubtitle(I)V | 959 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setSubtitle(I)V |
| |
880 | ····return-void | 960 | ····return-void |
881 | .end·method | 961 | .end·method |
| |
882 | .method·public·setSubtitle(Ljava/lang/CharSequence;)V | 962 | .method·public·setSubtitle(Ljava/lang/CharSequence;)V |
883 | ····.locals·1 | 963 | ····.locals·1 |
| |
884 | ····.line·261 | 964 | ····.line·268 |
885 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 965 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
886 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setSubtitle(Ljava/lang/CharSequence;)V | 966 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setSubtitle(Ljava/lang/CharSequence;)V |
| |
887 | ····return-void | 967 | ····return-void |
888 | .end·method | 968 | .end·method |
| |
889 | .method·public·setTitle(I)V | 969 | .method·public·setTitle(I)V |
890 | ····.locals·1 | 970 | ····.locals·1 |
| |
891 | ····.line·226 | 971 | ····.line·233 |
892 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 972 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
893 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setTitle(I)V | 973 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setTitle(I)V |
| |
894 | ····return-void | 974 | ····return-void |
895 | .end·method | 975 | .end·method |
| |
896 | .method·public·setTitle(Ljava/lang/CharSequence;)V | 976 | .method·public·setTitle(Ljava/lang/CharSequence;)V |
897 | ····.locals·1 | 977 | ····.locals·1 |
| |
898 | ····.line·236 | 978 | ····.line·243 |
899 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 979 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
900 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setTitle(Ljava/lang/CharSequence;)V | 980 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;->setTitle(Ljava/lang/CharSequence;)V |
| |
901 | ····return-void | 981 | ····return-void |
902 | .end·method | 982 | .end·method |
| |
903 | .method·public·unregisterOnBackListener(Lcom/android/car/ui/toolbar/Toolbar$OnBackListener;)Z | 983 | .method·public·unregisterOnBackListener(Lcom/android/car/ui/toolbar/Toolbar$OnBackListener;)Z |
904 | ····.locals·1 | 984 | ····.locals·1 |
| |
905 | ····.line·652 | 985 | ····.line·723 |
906 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 986 | ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/Toolbar;->mController:Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
Max diff block lines reached; 2103/34791 bytes (6.04%) of diff not shown.
|