Offset 3, 24 lines modifiedOffset 3, 24 lines modified
3 .source·"CarUi.java"3 .source·"CarUi.java"
  
  
4 #·direct·methods4 #·direct·methods
5 .method·private·constructor·<init>()V5 .method·private·constructor·<init>()V
6 ····.locals·06 ····.locals·0
  
7 ····.line·357 ····.line·39
8 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V8 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
9 ····return-void9 ····return-void
10 .end·method10 .end·method
  
11 .method·static·getBaseLayoutController(Landroid/app/Activity;)Lcom/android/car/ui/core/BaseLayoutController;11 .method·static·getBaseLayoutController(Landroid/app/Activity;)Lcom/android/car/ui/core/BaseLayoutController;
12 ····.locals·612 ····.locals·6
  
13 ····.line·12313 ····.line·155
14 ····invoke-virtual·{p0},·Landroid/app/Activity;->getClassLoader()Ljava/lang/ClassLoader;14 ····invoke-virtual·{p0},·Landroid/app/Activity;->getClassLoader()Ljava/lang/ClassLoader;
  
15 ····move-result-object·v015 ····move-result-object·v0
  
16 ····const-class·v1,·Lcom/android/car/ui/core/CarUi;16 ····const-class·v1,·Lcom/android/car/ui/core/CarUi;
  
17 ····invoke-virtual·{v1},·Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;17 ····invoke-virtual·{v1},·Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
Offset 29, 96 lines modifiedOffset 29, 96 lines modified
  
29 ····invoke-virtual·{v0,·v1},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z29 ····invoke-virtual·{v0,·v1},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
  
30 ····move-result·v030 ····move-result·v0
  
31 ····if-eqz·v0,·:cond_031 ····if-eqz·v0,·:cond_0
  
32 ····.line·12432 ····.line·156
33 ····invoke-static·{p0},·Lcom/android/car/ui/core/BaseLayoutController;->getBaseLayout(Landroid/app/Activity;)Lcom/android/car/ui/core/BaseLayoutController;33 ····invoke-static·{p0},·Lcom/android/car/ui/core/BaseLayoutController;->getBaseLayout(Landroid/app/Activity;)Lcom/android/car/ui/core/BaseLayoutController;
  
34 ····move-result-object·p034 ····move-result-object·p0
  
35 ····return-object·p035 ····return-object·p0
  
36 ····.line·13036 ····.line·162
37 ····:cond_037 ····:cond_0
38 ····:try_start_038 ····:try_start_0
39 ····invoke-virtual·{p0},·Landroid/app/Activity;->getClassLoader()Ljava/lang/ClassLoader;39 ····invoke-virtual·{p0},·Landroid/app/Activity;->getClassLoader()Ljava/lang/ClassLoader;
  
40 ····move-result-object·v040 ····move-result-object·v0
  
41 ····const-class·v1,·Lcom/android/car/ui/core/BaseLayoutController;41 ····const-class·v1,·Lcom/android/car/ui/core/BaseLayoutController;
  
42 ····.line·13142 ····.line·163
43 ····invoke-virtual·{v1},·Ljava/lang/Class;->getName()Ljava/lang/String;43 ····invoke-virtual·{v1},·Ljava/lang/Class;->getName()Ljava/lang/String;
  
44 ····move-result-object·v144 ····move-result-object·v1
  
45 ····invoke-virtual·{v0,·v1},·Ljava/lang/ClassLoader;->loadClass(Ljava/lang/String;)Ljava/lang/Class;45 ····invoke-virtual·{v0,·v1},·Ljava/lang/ClassLoader;->loadClass(Ljava/lang/String;)Ljava/lang/Class;
  
46 ····move-result-object·v046 ····move-result-object·v0
  
47 ····const-string·v1,·"getBaseLayout"47 ····const-string·v1,·"getBaseLayout"
  
48 ····const/4·v2,·0x148 ····const/4·v2,·0x1
  
49 ····new-array·v3,·v2,·[Ljava/lang/Class;49 ····new-array·v3,·v2,·[Ljava/lang/Class;
  
50 ····.line·13250 ····.line·164
51 ····const-class·v4,·Landroid/app/Activity;51 ····const-class·v4,·Landroid/app/Activity;
  
52 ····const/4·v5,·0x052 ····const/4·v5,·0x0
  
53 ····aput-object·v4,·v3,·v553 ····aput-object·v4,·v3,·v5
  
54 ····.line·13354 ····.line·165
55 ····invoke-virtual·{v0,·v1,·v3},·Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;55 ····invoke-virtual·{v0,·v1,·v3},·Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
  
56 ····move-result-object·v056 ····move-result-object·v0
  
57 ····const/4·v1,·0x057 ····const/4·v1,·0x0
  
58 ····new-array·v2,·v2,·[Ljava/lang/Object;58 ····new-array·v2,·v2,·[Ljava/lang/Object;
  
59 ····aput-object·p0,·v2,·v559 ····aput-object·p0,·v2,·v5
  
60 ····.line·13460 ····.line·166
61 ····invoke-virtual·{v0,·v1,·v2},·Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;61 ····invoke-virtual·{v0,·v1,·v2},·Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
  
62 ····move-result-object·p062 ····move-result-object·p0
  
63 ····check-cast·p0,·Lcom/android/car/ui/core/BaseLayoutController;63 ····check-cast·p0,·Lcom/android/car/ui/core/BaseLayoutController;
64 ····:try_end_064 ····:try_end_0
65 ····.catch·Ljava/lang/ReflectiveOperationException;·{:try_start_0·..·:try_end_0}·:catch_065 ····.catch·Ljava/lang/ReflectiveOperationException;·{:try_start_0·..·:try_end_0}·:catch_0
  
66 ····return-object·p066 ····return-object·p0
  
67 ····:catch_067 ····:catch_0
68 ····move-exception·p068 ····move-exception·p0
  
69 ····.line·13669 ····.line·168
70 ····new-instance·v0,·Ljava/lang/RuntimeException;70 ····new-instance·v0,·Ljava/lang/RuntimeException;
  
71 ····invoke-direct·{v0,·p0},·Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V71 ····invoke-direct·{v0,·p0},·Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
  
72 ····throw·v072 ····throw·v0
73 .end·method73 .end·method
  
74 .method·public·static·getInsets(Landroid/app/Activity;)Lcom/android/car/ui/baselayout/Insets;74 .method·public·static·getInsets(Landroid/app/Activity;)Lcom/android/car/ui/baselayout/Insets;
75 ····.locals·075 ····.locals·0
  
76 ····.line·9376 ····.line·97
77 ····invoke-static·{p0},·Lcom/android/car/ui/core/CarUi;->getBaseLayoutController(Landroid/app/Activity;)Lcom/android/car/ui/core/BaseLayoutController;77 ····invoke-static·{p0},·Lcom/android/car/ui/core/CarUi;->getBaseLayoutController(Landroid/app/Activity;)Lcom/android/car/ui/core/BaseLayoutController;
  
78 ····move-result-object·p078 ····move-result-object·p0
  
79 ····if-eqz·p0,·:cond_079 ····if-eqz·p0,·:cond_0
  
80 ····.line·9580 ····.line·99
81 ····invoke-virtual·{p0},·Lcom/android/car/ui/core/BaseLayoutController;->getInsets()Lcom/android/car/ui/baselayout/Insets;81 ····invoke-virtual·{p0},·Lcom/android/car/ui/core/BaseLayoutController;->getInsets()Lcom/android/car/ui/baselayout/Insets;
  
82 ····move-result-object·p082 ····move-result-object·p0
  
83 ····return-object·p083 ····return-object·p0
  
84 ····:cond_084 ····:cond_0
Offset 126, 64 lines modifiedOffset 126, 94 lines modified
  
126 ····return-object·p0126 ····return-object·p0
127 .end·method127 .end·method
  
128 .method·public·static·getToolbar(Landroid/app/Activity;)Lcom/android/car/ui/toolbar/ToolbarController;128 .method·public·static·getToolbar(Landroid/app/Activity;)Lcom/android/car/ui/toolbar/ToolbarController;
129 ····.locals·0129 ····.locals·0
  
130 ····.line·45130 ····.line·49
131 ····invoke-static·{p0},·Lcom/android/car/ui/core/CarUi;->getBaseLayoutController(Landroid/app/Activity;)Lcom/android/car/ui/core/BaseLayoutController;131 ····invoke-static·{p0},·Lcom/android/car/ui/core/CarUi;->getBaseLayoutController(Landroid/app/Activity;)Lcom/android/car/ui/core/BaseLayoutController;
  
132 ····move-result-object·p0132 ····move-result-object·p0
  
133 ····if-eqz·p0,·:cond_0133 ····if-eqz·p0,·:cond_0
  
134 ····.line·47134 ····.line·51
135 ····invoke-virtual·{p0},·Lcom/android/car/ui/core/BaseLayoutController;->getToolbarController()Lcom/android/car/ui/toolbar/ToolbarController;135 ····invoke-virtual·{p0},·Lcom/android/car/ui/core/BaseLayoutController;->getToolbarController()Lcom/android/car/ui/toolbar/ToolbarController;
  
136 ····move-result-object·p0136 ····move-result-object·p0
  
137 ····return-object·p0137 ····return-object·p0
  
138 ····:cond_0138 ····:cond_0
139 ····const/4·p0,·0x0139 ····const/4·p0,·0x0
  
140 ····return-object·p0140 ····return-object·p0
141 .end·method141 .end·method
  
 142 .method·public·static·installBaseLayoutAround(Landroid/view/View;Lcom/android/car/ui/baselayout/InsetsChangedListener;Z)Lcom/android/car/ui/toolbar/ToolbarController;
 143 ····.locals·1
  
 144 ····const/4·v0,·0x0
  
 145 ····.line·146
 146 ····invoke-static·{v0,·p0,·p2},·Lcom/android/car/ui/core/BaseLayoutController;->installBaseLayoutAround(Landroid/app/Activity;Landroid/view/View;Z)Landroidx/core/util/Pair;
  
 147 ····move-result-object·p0
  
 148 ····.line·148
 149 ····iget-object·p2,·p0,·Landroidx/core/util/Pair;->second:Ljava/lang/Object;
  
 150 ····check-cast·p2,·Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater;
  
 151 ····invoke-static·{p2},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
  
 152 ····check-cast·p2,·Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater;
  
 153 ····.line·149
 154 ····invoke-virtual·{p2,·p1},·Lcom/android/car/ui/core/BaseLayoutController$InsetsUpdater;->replaceInsetsChangedListenerWith(Lcom/android/car/ui/baselayout/InsetsChangedListener;)V
  
 155 ····.line·151
 156 ····iget-object·p0,·p0,·Landroidx/core/util/Pair;->first:Ljava/lang/Object;
  
 157 ····check-cast·p0,·Lcom/android/car/ui/toolbar/ToolbarController;
  
 158 ····return-object·p0
 159 .end·method
  
142 .method·public·static·replaceInsetsChangedListenerWith(Landroid/app/Activity;Lcom/android/car/ui/baselayout/InsetsChangedListener;)V160 .method·public·static·replaceInsetsChangedListenerWith(Landroid/app/Activity;Lcom/android/car/ui/baselayout/InsetsChangedListener;)V
143 ····.locals·0161 ····.locals·0
  
144 ····.line·77162 ····.line·81
145 ····invoke-static·{p0},·Lcom/android/car/ui/core/CarUi;->getBaseLayoutController(Landroid/app/Activity;)Lcom/android/car/ui/core/BaseLayoutController;163 ····invoke-static·{p0},·Lcom/android/car/ui/core/CarUi;->getBaseLayoutController(Landroid/app/Activity;)Lcom/android/car/ui/core/BaseLayoutController;
  
146 ····move-result-object·p0164 ····move-result-object·p0
  
147 ····if-eqz·p0,·:cond_0165 ····if-eqz·p0,·:cond_0
  
148 ····.line·79166 ····.line·83
149 ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/core/BaseLayoutController;->replaceInsetsChangedListenerWith(Lcom/android/car/ui/baselayout/InsetsChangedListener;)V167 ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/core/BaseLayoutController;->replaceInsetsChangedListenerWith(Lcom/android/car/ui/baselayout/InsetsChangedListener;)V
  
150 ····:cond_0168 ····:cond_0
151 ····return-void169 ····return-void
152 .end·method170 .end·method
  
153 .method·public·static·requireInsets(Landroid/app/Activity;)Lcom/android/car/ui/baselayout/Insets;171 .method·public·static·requireInsets(Landroid/app/Activity;)Lcom/android/car/ui/baselayout/Insets;
154 ····.locals·3172 ····.locals·3
  
155 ····.line·112173 ····.line·116
156 ····invoke-static·{p0},·Lcom/android/car/ui/core/CarUi;->getInsets(Landroid/app/Activity;)Lcom/android/car/ui/baselayout/Insets;174 ····invoke-static·{p0},·Lcom/android/car/ui/core/CarUi;->getInsets(Landroid/app/Activity;)Lcom/android/car/ui/baselayout/Insets;
  
157 ····move-result-object·v0175 ····move-result-object·v0
  
158 ····if-eqz·v0,·:cond_0176 ····if-eqz·v0,·:cond_0
  
159 ····return-object·v0177 ····return-object·v0
  
160 ····.line·114178 ····.line·118
161 ····:cond_0179 ····:cond_0
162 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;180 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;
  
163 ····new-instance·v1,·Ljava/lang/StringBuilder;181 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
164 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V182 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V
  
Offset 205, 24 lines modifiedOffset 235, 24 lines modified
  
205 ····throw·v0235 ····throw·v0
206 .end·method236 .end·method
  
207 .method·public·static·requireToolbar(Landroid/app/Activity;)Lcom/android/car/ui/toolbar/ToolbarController;237 .method·public·static·requireToolbar(Landroid/app/Activity;)Lcom/android/car/ui/toolbar/ToolbarController;
208 ····.locals·3238 ····.locals·3
  
209 ····.line·62239 ····.line·66
210 ····invoke-static·{p0},·Lcom/android/car/ui/core/CarUi;->getToolbar(Landroid/app/Activity;)Lcom/android/car/ui/toolbar/ToolbarController;240 ····invoke-static·{p0},·Lcom/android/car/ui/core/CarUi;->getToolbar(Landroid/app/Activity;)Lcom/android/car/ui/toolbar/ToolbarController;
  
211 ····move-result-object·v0241 ····move-result-object·v0
  
212 ····if-eqz·v0,·:cond_0242 ····if-eqz·v0,·:cond_0
  
213 ····return-object·v0243 ····return-object·v0
  
214 ····.line·64244 ····.line·68
215 ····:cond_0245 ····:cond_0
216 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;246 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;
  
217 ····new-instance·v1,·Ljava/lang/StringBuilder;247 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
218 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V248 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V