| | | |
Offset 1, 8 lines modified | Offset 1, 8 lines modified |
1 | .class·Lcom/android/car/ui/core/BaseLayoutController; | 1 | .class·public·Lcom/android/car/ui/core/BaseLayoutController; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"BaseLayoutController.java" | 3 | .source·"BaseLayoutController.java" |
| |
| |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/MemberClasses; | 5 | .annotation·system·Ldalvik/annotation/MemberClasses; |
6 | ····value·=·{ | 6 | ····value·=·{ |
Offset 30, 49 lines modified | Offset 30, 49 lines modified |
30 | .field·private·mToolbarController:Lcom/android/car/ui/toolbar/ToolbarController; | 30 | .field·private·mToolbarController:Lcom/android/car/ui/toolbar/ToolbarController; |
| |
| |
31 | #·direct·methods | 31 | #·direct·methods |
32 | .method·static·constructor·<clinit>()V | 32 | .method·static·constructor·<clinit>()V |
33 | ····.locals·1 | 33 | ····.locals·1 |
| |
34 | ····.line·50 | 34 | ····.line·52 |
35 | ····new-instance·v0,·Ljava/util/WeakHashMap; | 35 | ····new-instance·v0,·Ljava/util/WeakHashMap; |
| |
36 | ····invoke-direct·{v0},·Ljava/util/WeakHashMap;-><init>()V | 36 | ····invoke-direct·{v0},·Ljava/util/WeakHashMap;-><init>()V |
| |
37 | ····sput-object·v0,·Lcom/android/car/ui/core/BaseLayoutController;->sBaseLayoutMap:Ljava/util/Map; | 37 | ····sput-object·v0,·Lcom/android/car/ui/core/BaseLayoutController;->sBaseLayoutMap:Ljava/util/Map; |
| |
38 | ····return-void | 38 | ····return-void |
39 | .end·method | 39 | .end·method |
| |
40 | .method·private·constructor·<init>(Landroid/app/Activity;)V | 40 | .method·private·constructor·<init>(Landroid/app/Activity;)V |
41 | ····.locals·0 | 41 | ····.locals·0 |
| |
42 | ····.line·66 | 42 | ····.line·68 |
43 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 43 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
44 | ····.line·67 | 44 | ····.line·69 |
45 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/core/BaseLayoutController;->installBaseLayout(Landroid/app/Activity;)V | 45 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/core/BaseLayoutController;->installBaseLayout(Landroid/app/Activity;)V |
| |
46 | ····return-void | 46 | ····return-void |
47 | .end·method | 47 | .end·method |
| |
48 | .method·static·build(Landroid/app/Activity;)V | 48 | .method·static·build(Landroid/app/Activity;)V |
49 | ····.locals·2 | 49 | ····.locals·2 |
| |
50 | ····.line·77 | 50 | ····.line·79 |
51 | ····sget·v0,·Lcom/android/car/ui/R$attr;->carUiBaseLayout:I | 51 | ····sget·v0,·Lcom/android/car/ui/R$attr;->carUiBaseLayout:I |
| |
52 | ····invoke-static·{p0,·v0},·Lcom/android/car/ui/core/BaseLayoutController;->getThemeBoolean(Landroid/app/Activity;I)Z | 52 | ····invoke-static·{p0,·v0},·Lcom/android/car/ui/core/BaseLayoutController;->getThemeBoolean(Landroid/app/Activity;I)Z |
| |
53 | ····move-result·v0 | 53 | ····move-result·v0 |
| |
54 | ····if-eqz·v0,·:cond_0 | 54 | ····if-eqz·v0,·:cond_0 |
| |
55 | ····.line·78 | 55 | ····.line·80 |
56 | ····sget-object·v0,·Lcom/android/car/ui/core/BaseLayoutController;->sBaseLayoutMap:Ljava/util/Map; | 56 | ····sget-object·v0,·Lcom/android/car/ui/core/BaseLayoutController;->sBaseLayoutMap:Ljava/util/Map; |
| |
57 | ····new-instance·v1,·Lcom/android/car/ui/core/BaseLayoutController; | 57 | ····new-instance·v1,·Lcom/android/car/ui/core/BaseLayoutController; |
| |
58 | ····invoke-direct·{v1,·p0},·Lcom/android/car/ui/core/BaseLayoutController;-><init>(Landroid/app/Activity;)V | 58 | ····invoke-direct·{v1,·p0},·Lcom/android/car/ui/core/BaseLayoutController;-><init>(Landroid/app/Activity;)V |
| |
59 | ····invoke-interface·{v0,·p0,·v1},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 59 | ····invoke-interface·{v0,·p0,·v1},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
Offset 80, 41 lines modified | Offset 80, 41 lines modified |
80 | ····:cond_0 | 80 | ····:cond_0 |
81 | ····return-void | 81 | ····return-void |
82 | .end·method | 82 | .end·method |
| |
83 | .method·static·destroy(Landroid/app/Activity;)V | 83 | .method·static·destroy(Landroid/app/Activity;)V |
84 | ····.locals·1 | 84 | ····.locals·1 |
| |
85 | ····.line·87 | 85 | ····.line·89 |
86 | ····sget-object·v0,·Lcom/android/car/ui/core/BaseLayoutController;->sBaseLayoutMap:Ljava/util/Map; | 86 | ····sget-object·v0,·Lcom/android/car/ui/core/BaseLayoutController;->sBaseLayoutMap:Ljava/util/Map; |
| |
87 | ····invoke-interface·{v0,·p0},·Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object; | 87 | ····invoke-interface·{v0,·p0},·Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object; |
| |
88 | ····return-void | 88 | ····return-void |
89 | .end·method | 89 | .end·method |
| |
90 | .method·static·getBaseLayout(Landroid/app/Activity;)Lcom/android/car/ui/core/BaseLayoutController; | 90 | .method·static·getBaseLayout(Landroid/app/Activity;)Lcom/android/car/ui/core/BaseLayoutController; |
91 | ····.locals·1 | 91 | ····.locals·1 |
| |
92 | ····.line·60 | 92 | ····.line·62 |
93 | ····sget-object·v0,·Lcom/android/car/ui/core/BaseLayoutController;->sBaseLayoutMap:Ljava/util/Map; | 93 | ····sget-object·v0,·Lcom/android/car/ui/core/BaseLayoutController;->sBaseLayoutMap:Ljava/util/Map; |
| |
94 | ····invoke-interface·{v0,·p0},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; | 94 | ····invoke-interface·{v0,·p0},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; |
| |
95 | ····move-result-object·p0 | 95 | ····move-result-object·p0 |
| |
96 | ····check-cast·p0,·Lcom/android/car/ui/core/BaseLayoutController; | 96 | ····check-cast·p0,·Lcom/android/car/ui/core/BaseLayoutController; |
| |
97 | ····return-object·p0 | 97 | ····return-object·p0 |
98 | .end·method | 98 | .end·method |
| |
99 | .method·private·static·getThemeBoolean(Landroid/app/Activity;I)Z | 99 | .method·private·static·getThemeBoolean(Landroid/app/Activity;I)Z |
100 | ····.locals·2 | 100 | ····.locals·2 |
| |
101 | ····.line·165 | 101 | ····.line·193 |
102 | ····invoke-virtual·{p0},·Landroid/app/Activity;->getTheme()Landroid/content/res/Resources$Theme; | 102 | ····invoke-virtual·{p0},·Landroid/app/Activity;->getTheme()Landroid/content/res/Resources$Theme; |
| |
103 | ····move-result-object·p0 | 103 | ····move-result-object·p0 |
| |
104 | ····const/4·v0,·0x1 | 104 | ····const/4·v0,·0x1 |
| |
105 | ····new-array·v0,·v0,·[I | 105 | ····new-array·v0,·v0,·[I |
Offset 123, 231 lines modified | Offset 123, 270 lines modified |
| |
123 | ····aput·p1,·v0,·v1 | 123 | ····aput·p1,·v0,·v1 |
| |
124 | ····invoke-virtual·{p0,·v0},·Landroid/content/res/Resources$Theme;->obtainStyledAttributes([I)Landroid/content/res/TypedArray; | 124 | ····invoke-virtual·{p0,·v0},·Landroid/content/res/Resources$Theme;->obtainStyledAttributes([I)Landroid/content/res/TypedArray; |
| |
125 | ····move-result-object·p0 | 125 | ····move-result-object·p0 |
| |
126 | ····.line·168 | 126 | ····.line·196 |
127 | ····:try_start_0 | 127 | ····:try_start_0 |
128 | ····invoke-virtual·{p0,·v1,·v1},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z | 128 | ····invoke-virtual·{p0,·v1,·v1},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z |
| |
129 | ····move-result·p1 | 129 | ····move-result·p1 |
130 | ····:try_end_0 | 130 | ····:try_end_0 |
131 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 131 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
| |
132 | ····.line·170 | 132 | ····.line·198 |
133 | ····invoke-virtual·{p0},·Landroid/content/res/TypedArray;->recycle()V | 133 | ····invoke-virtual·{p0},·Landroid/content/res/TypedArray;->recycle()V |
| |
134 | ····return·p1 | 134 | ····return·p1 |
| |
135 | ····:catchall_0 | 135 | ····:catchall_0 |
136 | ····move-exception·p1 | 136 | ····move-exception·p1 |
| |
137 | ····invoke-virtual·{p0},·Landroid/content/res/TypedArray;->recycle()V | 137 | ····invoke-virtual·{p0},·Landroid/content/res/TypedArray;->recycle()V |
| |
138 | ····.line·171 | 138 | ····.line·199 |
139 | ····throw·p1 | 139 | ····throw·p1 |
140 | .end·method | 140 | .end·method |
| |
141 | .method·private·installBaseLayout(Landroid/app/Activity;)V | 141 | .method·private·installBaseLayout(Landroid/app/Activity;)V |
142 | ····.locals·7 | 142 | ····.locals·3 |
| |
143 | ····.line·119 | 143 | ····.line·121 |
144 | ····sget·v0,·Lcom/android/car/ui/R$attr;->carUiToolbar:I | 144 | ····sget·v0,·Lcom/android/car/ui/R$attr;->carUiToolbar:I |
| |
145 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/core/BaseLayoutController;->getThemeBoolean(Landroid/app/Activity;I)Z | 145 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/core/BaseLayoutController;->getThemeBoolean(Landroid/app/Activity;I)Z |
| |
146 | ····move-result·v0 | 146 | ····move-result·v0 |
| |
147 | ····.line·120 | 147 | ····.line·124 |
148 | ····sget·v1,·Landroid/os/Build$VERSION;->SDK_INT:I | 148 | ····invoke-virtual·{p1},·Landroid/app/Activity;->getWindow()Landroid/view/Window; |
| |
| 149 | ····move-result-object·v1 |
| |
| 150 | ····invoke-virtual·{v1},·Landroid/view/Window;->getDecorView()Landroid/view/View; |
| |
| 151 | ····move-result-object·v1 |
| |
| 152 | ····const·v2,·0x1020002 |
| |
| 153 | ····invoke-static·{v1,·v2},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
| 154 | ····move-result-object·v1 |
| |
| 155 | ····.line·122 |
| 156 | ····invoke-static·{p1,·v1,·v0},·Lcom/android/car/ui/core/BaseLayoutController;->installBaseLayoutAround(Landroid/app/Activity;Landroid/view/View;Z)Landroidx/core/util/Pair; |
| |
| 157 | ····move-result-object·p1 |
| |
| 158 | ····.line·127 |
| 159 | ····iget-object·v0,·p1,·Landroidx/core/util/Pair;->first:Ljava/lang/Object; |
| |
| 160 | ····check-cast·v0,·Lcom/android/car/ui/toolbar/ToolbarController; |
| |
| 161 | ····iput-object·v0,·p0,·Lcom/android/car/ui/core/BaseLayoutController;->mToolbarController:Lcom/android/car/ui/toolbar/ToolbarController; |
| |
| 162 | ····.line·128 |
| 163 | ····iget-object·p1,·p1,·Landroidx/core/util/Pair;->second:Ljava/lang/Object; |
| |
| 164 | ····check-cast·p1,·Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater; |
| |
| 165 | ····iput-object·p1,·p0,·Lcom/android/car/ui/core/BaseLayoutController;->mInsetsUpdater:Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater; |
| |
| 166 | ····return-void |
| 167 | .end·method |
| |
| 168 | .method·public·static·installBaseLayoutAround(Landroid/app/Activity;Landroid/view/View;Z)Landroidx/core/util/Pair; |
| 169 | ····.locals·6 |
| 170 | ····.annotation·system·Ldalvik/annotation/Signature; |
| 171 | ········value·=·{ |
| 172 | ············"(", |
| 173 | ············"Landroid/app/Activity;", |
| 174 | ············"Landroid/view/View;", |
| 175 | ············"Z)", |
| 176 | ············"Landroidx/core/util/Pair<", |
| 177 | ············"Lcom/android/car/ui/toolbar/ToolbarController;", |
| 178 | ············"Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater;", |
| 179 | ············">;" |
| 180 | ········} |
| 181 | ····.end·annotation |
| |
149 | ····const/4·v2,·0x0 | 182 | ····.line·146 |
| 183 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I |
| |
150 | ····const/16·v3,·0x1d | 184 | ····const/4·v1,·0x0 |
| |
| 185 | ····const/16·v2,·0x1d |
| |
151 | ····if-gt·v1,·v3,·:cond_0 | 186 | ····if-gt·v0,·v2,·:cond_0 |
| |
152 | ····const/4·v1,·0x1 | 187 | ····const/4·v0,·0x1 |
| |
153 | ····goto·:goto_0 | 188 | ····goto·:goto_0 |
| |
154 | ····:cond_0 | 189 | ····:cond_0 |
155 | ····move·v1,·v2 | 190 | ····move·v0,·v1 |
| |
156 | ····:goto_0 | 191 | ····:goto_0 |
157 | ····if-eqz·v0,·:cond_2 | 192 | ····if-eqz·p2,·:cond_2 |
| |
158 | ····if-eqz·v1,·:cond_1 | 193 | ····if-eqz·v0,·:cond_1 |
| |
159 | ····.line·125 | 194 | ····.line·151 |
160 | ····sget·v3,·Lcom/android/car/ui/R$layout;->car_ui_base_layout_toolbar_legacy:I | 195 | ····sget·v2,·Lcom/android/car/ui/R$layout;->car_ui_base_layout_toolbar_legacy:I |
| |
161 | ····goto·:goto_1 | 196 | ····goto·:goto_1 |
| |
162 | ····.line·126 | 197 | ····.line·152 |
163 | ····:cond_1 | 198 | ····:cond_1 |
164 | ····sget·v3,·Lcom/android/car/ui/R$layout;->car_ui_base_layout_toolbar:I | 199 | ····sget·v2,·Lcom/android/car/ui/R$layout;->car_ui_base_layout_toolbar:I |
| |
165 | ····goto·:goto_1 | 200 | ····goto·:goto_1 |
| |
166 | ····.line·128 | 201 | ····.line·154 |
167 | ····:cond_2 | 202 | ····:cond_2 |
168 | ····sget·v3,·Lcom/android/car/ui/R$layout;->car_ui_base_layout:I | 203 | ····sget·v2,·Lcom/android/car/ui/R$layout;->car_ui_base_layout:I |
| |
169 | ····.line·131 | 204 | ····.line·157 |
170 | ····:goto_1 | 205 | ····:goto_1 |
171 | ····invoke-static·{p1},·Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater; | 206 | ····invoke-virtual·{p1},·Landroid/view/View;->getContext()Landroid/content/Context; |
| |
172 | ····move-result-object·v4 | |
| |
173 | ····const/4·v5,·0x0 | |
| |
174 | ····.line·132 | |
175 | ····invoke-virtual·{v4,·v3,·v5,·v2},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View; | |
| |
176 | ····move-result-object·v2 | |
| |
177 | ····.line·136 | |
178 | ····invoke-virtual·{p1},·Landroid/app/Activity;->getWindow()Landroid/view/Window; | |
| |
179 | ····move-result-object·v3 | 207 | ····move-result-object·v3 |
| |
180 | ····invoke-virtual·{v3},·Landroid/view/Window;->getDecorView()Landroid/view/View; | 208 | ····invoke-static·{v3},·Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater; |
| |
181 | ····move-result-object·v3 | 209 | ····move-result-object·v3 |
| |
182 | ····const·v4,·0x1020002 | 210 | ····const/4·v4,·0x0 |
| |
183 | ····.line·135 | |
184 | ····invoke-static·{v3,·v4},·Lcom/android/car/ui/utils/CarUiUtils;->findViewByRefId(Landroid/view/View;I)Landroid/view/View; | |
| |
185 | ····move-result-object·v3 | 211 | ····.line·158 |
| 212 | ····invoke-virtual·{v3,·v2,·v4,·v1},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View; |
| |
186 | ····check-cast·v3,·Landroid/view/ViewGroup; | 213 | ····move-result-object·v1 |
| |
187 | ····.line·137 | 214 | ····.line·161 |
188 | ····invoke-virtual·{v3},·Landroid/view/ViewGroup;->getParent()Landroid/view/ViewParent; | 215 | ····invoke-virtual·{p1},·Landroid/view/View;->getParent()Landroid/view/ViewParent; |
| |
189 | ····move-result-object·v4 | 216 | ····move-result-object·v2 |
| |
190 | ····check-cast·v4,·Landroid/view/ViewGroup; | 217 | ····check-cast·v2,·Landroid/view/ViewGroup; |
| |
191 | ····.line·138 | 218 | ····.line·162 |
192 | ····invoke-virtual·{v4,·v3},·Landroid/view/ViewGroup;->indexOfChild(Landroid/view/View;)I | 219 | ····invoke-virtual·{v2,·p1},·Landroid/view/ViewGroup;->indexOfChild(Landroid/view/View;)I |
| |
193 | ····move-result·v5 | 220 | ····move-result·v3 |
| |
194 | ····.line·139 | 221 | ····.line·163 |
195 | ····invoke-virtual·{v4,·v3},·Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V | 222 | ····invoke-virtual·{v2,·p1},·Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V |
| |
196 | ····.line·140 | 223 | ····.line·164 |
197 | ····invoke-virtual·{v3},·Landroid/view/ViewGroup;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams; | 224 | ····invoke-virtual·{p1},·Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams; |
| |
198 | ····move-result-object·v6 | 225 | ····move-result-object·v5 |
| |
199 | ····invoke-virtual·{v4,·v2,·v5,·v6},·Landroid/view/ViewGroup;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V | 226 | ····invoke-virtual·{v2,·v1,·v3,·v5},·Landroid/view/ViewGroup;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V |
| |
200 | ····.line·143 | 227 | ····.line·167 |
201 | ····sget·v4,·Lcom/android/car/ui/R$id;->content:I | 228 | ····sget·v2,·Lcom/android/car/ui/R$id;->car_ui_base_layout_content_container:I |
| |
202 | ····invoke-static·{v2,·v4},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 229 | ····invoke-static·{v1,·v2},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
203 | ····move-result-object·v4 | 230 | ····move-result-object·v2 |
| |
204 | ····check-cast·v4,·Landroid/widget/FrameLayout; | 231 | ····check-cast·v2,·Landroid/widget/FrameLayout; |
| |
205 | ····.line·144 | 232 | ····.line·169 |
206 | ····new-instance·v5,·Landroid/widget/FrameLayout$LayoutParams; | 233 | ····new-instance·v3,·Landroid/widget/FrameLayout$LayoutParams; |
| |
207 | ····const/4·v6,·-0x1 | 234 | ····const/4·v5,·-0x1 |
| |
208 | ····invoke-direct·{v5,·v6,·v6},·Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V | 235 | ····invoke-direct·{v3,·v5,·v5},·Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V |
| |
209 | ····invoke-virtual·{v4,·v3,·v5},·Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V | 236 | ····invoke-virtual·{v2,·p1,·v3},·Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V |
| |
210 | ····if-eqz·v0,·:cond_4 | 237 | ····if-eqz·p2,·:cond_4 |
| |
211 | ····if-eqz·v1,·:cond_3 | 238 | ····if-eqz·v0,·:cond_3 |
| |
212 | ····.line·150 | 239 | ····.line·176 |
213 | ····sget·v0,·Lcom/android/car/ui/R$id;->car_ui_toolbar:I | 240 | ····sget·p2,·Lcom/android/car/ui/R$id;->car_ui_toolbar:I |
| |
214 | ····invoke-static·{v2,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 241 | ····invoke-static·{v1,·p2},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
215 | ····move-result-object·v0 | 242 | ····move-result-object·p2 |
| |
216 | ····check-cast·v0,·Lcom/android/car/ui/toolbar/ToolbarController; | 243 | ····move-object·v4,·p2 |
| |
217 | ····iput-object·v0,·p0,·Lcom/android/car/ui/core/BaseLayoutController;->mToolbarController:Lcom/android/car/ui/toolbar/ToolbarController; | 244 | ····check-cast·v4,·Lcom/android/car/ui/toolbar/ToolbarController; |
| |
218 | ····goto·:goto_2 | 245 | ····goto·:goto_2 |
| |
219 | ····.line·152 | 246 | ····.line·178 |
220 | ····:cond_3 | 247 | ····:cond_3 |
221 | ····new-instance·v0,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl; | 248 | ····new-instance·v4,·Lcom/android/car/ui/toolbar/ToolbarControllerImpl; |
| |
222 | ····invoke-direct·{v0,·v2},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;-><init>(Landroid/view/View;)V | 249 | ····invoke-direct·{v4,·v1},·Lcom/android/car/ui/toolbar/ToolbarControllerImpl;-><init>(Landroid/view/View;)V |
| |
223 | ····iput-object·v0,·p0,·Lcom/android/car/ui/core/BaseLayoutController;->mToolbarController:Lcom/android/car/ui/toolbar/ToolbarController; | 250 | ····.line·182 |
| |
224 | ····.line·156 | |
225 | ····:cond_4 | 251 | ····:cond_4 |
226 | ····:goto_2 | 252 | ····:goto_2 |
227 | ····new-instance·v0,·Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater; | 253 | ····new-instance·p2,·Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater; |
| |
228 | ····invoke-direct·{v0,·p1,·v2,·v3},·Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater;-><init>(Landroid/app/Activity;Landroid/view/View;Landroid/view/View;)V | 254 | ····invoke-direct·{p2,·p0,·v1,·p1},·Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater;-><init>(Landroid/app/Activity;Landroid/view/View;Landroid/view/View;)V |
| |
229 | ····iput-object·v0,·p0,·Lcom/android/car/ui/core/BaseLayoutController;->mInsetsUpdater:Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater; | 255 | ····.line·183 |
| 256 | ····invoke-virtual·{p2},·Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater;->installListeners()V |
| |
230 | ····.line·157 | 257 | ····.line·185 |
231 | ····invoke-virtual·{v0},·Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater;->installListeners()V | 258 | ····invoke-static·{v4,·p2},·Landroidx/core/util/Pair;->create(Ljava/lang/Object;Ljava/lang/Object;)Landroidx/core/util/Pair; |
| |
232 | ····return-void | 259 | ····move-result-object·p0 |
| |
| 260 | ····return-object·p0 |
233 | .end·method | 261 | .end·method |
| |
| |
234 | #·virtual·methods | 262 | #·virtual·methods |
235 | .method·dispatchNewInsets(Lcom/android/car/ui/baselayout/Insets;)V | 263 | .method·dispatchNewInsets(Lcom/android/car/ui/baselayout/Insets;)V |
236 | ····.locals·1 | 264 | ····.locals·1 |
| |
237 | ····.line·104 | 265 | ····.line·106 |
238 | ····iget-object·v0,·p0,·Lcom/android/car/ui/core/BaseLayoutController;->mInsetsUpdater:Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater; | 266 | ····iget-object·v0,·p0,·Lcom/android/car/ui/core/BaseLayoutController;->mInsetsUpdater:Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater; |
| |
239 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater;->dispatchNewInsets(Lcom/android/car/ui/baselayout/Insets;)V | 267 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater;->dispatchNewInsets(Lcom/android/car/ui/baselayout/Insets;)V |
| |
240 | ····return-void | 268 | ····return-void |
241 | .end·method | 269 | .end·method |
| |
242 | .method·getInsets()Lcom/android/car/ui/baselayout/Insets; | 270 | .method·getInsets()Lcom/android/car/ui/baselayout/Insets; |
243 | ····.locals·1 | 271 | ····.locals·1 |
| |
244 | ····.line·100 | 272 | ····.line·102 |
245 | ····iget-object·v0,·p0,·Lcom/android/car/ui/core/BaseLayoutController;->mInsetsUpdater:Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater; | 273 | ····iget-object·v0,·p0,·Lcom/android/car/ui/core/BaseLayoutController;->mInsetsUpdater:Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater; |
| |
246 | ····invoke-virtual·{v0},·Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater;->getInsets()Lcom/android/car/ui/baselayout/Insets; | 274 | ····invoke-virtual·{v0},·Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater;->getInsets()Lcom/android/car/ui/baselayout/Insets; |
| |
247 | ····move-result-object·v0 | 275 | ····move-result-object·v0 |
| |
248 | ····return-object·v0 | 276 | ····return-object·v0 |
249 | .end·method | 277 | .end·method |
| |
250 | .method·getToolbarController()Lcom/android/car/ui/toolbar/ToolbarController; | 278 | .method·getToolbarController()Lcom/android/car/ui/toolbar/ToolbarController; |
251 | ····.locals·1 | 279 | ····.locals·1 |
| |
252 | ····.line·96 | 280 | ····.line·98 |
253 | ····iget-object·v0,·p0,·Lcom/android/car/ui/core/BaseLayoutController;->mToolbarController:Lcom/android/car/ui/toolbar/ToolbarController; | 281 | ····iget-object·v0,·p0,·Lcom/android/car/ui/core/BaseLayoutController;->mToolbarController:Lcom/android/car/ui/toolbar/ToolbarController; |
| |
254 | ····return-object·v0 | 282 | ····return-object·v0 |
255 | .end·method | 283 | .end·method |
| |
256 | .method·replaceInsetsChangedListenerWith(Lcom/android/car/ui/baselayout/InsetsChangedListener;)V | 284 | .method·replaceInsetsChangedListenerWith(Lcom/android/car/ui/baselayout/InsetsChangedListener;)V |
257 | ····.locals·1 | 285 | ····.locals·1 |
| |
258 | ····.line·108 | 286 | ····.line·110 |
259 | ····iget-object·v0,·p0,·Lcom/android/car/ui/core/BaseLayoutController;->mInsetsUpdater:Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater; | 287 | ····iget-object·v0,·p0,·Lcom/android/car/ui/core/BaseLayoutController;->mInsetsUpdater:Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater; |
| |
260 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater;->replaceInsetsChangedListenerWith(Lcom/android/car/ui/baselayout/InsetsChangedListener;)V | 288 | ····invoke-virtual·{v0,·p1},·Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater;->replaceInsetsChangedListenerWith(Lcom/android/car/ui/baselayout/InsetsChangedListener;)V |
| |
261 | ····return-void | 289 | ····return-void |
262 | .end·method | 290 | .end·method |