| | | |
Offset 14, 134 lines modified | Offset 14, 252 lines modified |
14 | ····} | 14 | ····} |
15 | .end·annotation | 15 | .end·annotation |
| |
| |
16 | #·static·fields | 16 | #·static·fields |
17 | .field·private·static·final·INTENT_FILTER:Ljava/lang/String;·=·"com.android.car.ui.intent.CHECK_CAR_UI_COMPONENTS" | 17 | .field·private·static·final·INTENT_FILTER:Ljava/lang/String;·=·"com.android.car.ui.intent.CHECK_CAR_UI_COMPONENTS" |
| |
| 18 | .field·private·static·final·NO_CAR_UI_PREFERENCE:Ljava/lang/String;·=·"CarUiPreference·is·not·used:·" |
| |
| 19 | .field·private·static·final·NO_CAR_UI_RV:Ljava/lang/String;·=·"CarUiRecyclerView·not·used:" |
| |
| 20 | .field·private·static·final·NO_CAR_UI_TOOLBAR:Ljava/lang/String;·=·"CarUiToolbar·is·not·used:·" |
| |
| 21 | .field·private·static·final·NO_CAR_UI_TOOLBAR_BL:Ljava/lang/String;·=·"CarUiBaseLayoutToolbar·is·not·used:·" |
| |
| 22 | .field·private·static·final·NO_LIST_ITEM:Ljava/lang/String;·=·"CarUiListItem·are·not·used·within·CarUiRecyclerView:·" |
| |
18 | .field·private·static·final·TAG:Ljava/lang/String; | 23 | .field·private·static·final·TAG:Ljava/lang/String; |
| |
| |
19 | #·instance·fields | 24 | #·instance·fields |
| 25 | .field·private·mHandler:Landroid/os/Handler; |
| |
20 | .field·private·mIsScreenVisible:Z | 26 | .field·private·mIsScreenVisible:Z |
| |
21 | .field·private·final·mReceiver:Landroid/content/BroadcastReceiver; | 27 | .field·private·final·mReceiver:Landroid/content/BroadcastReceiver; |
| |
22 | .field·private·mRootView:Landroid/view/View; | 28 | .field·private·mRootView:Landroid/view/View; |
| |
| |
23 | #·direct·methods | 29 | #·direct·methods |
24 | .method·static·constructor·<clinit>()V | 30 | .method·static·constructor·<clinit>()V |
25 | ····.locals·1 | 31 | ····.locals·1 |
| |
26 | ····.line·44 | 32 | ····.line·50 |
27 | ····const-class·v0,·Lcom/android/car/ui/core/CheckCarUiComponents; | 33 | ····const-class·v0,·Lcom/android/car/ui/core/CheckCarUiComponents; |
| |
28 | ····invoke-virtual·{v0},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String; | 34 | ····invoke-virtual·{v0},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String; |
| |
29 | ····move-result-object·v0 | 35 | ····move-result-object·v0 |
| |
30 | ····sput-object·v0,·Lcom/android/car/ui/core/CheckCarUiComponents;->TAG:Ljava/lang/String; | 36 | ····sput-object·v0,·Lcom/android/car/ui/core/CheckCarUiComponents;->TAG:Ljava/lang/String; |
| |
31 | ····return-void | 37 | ····return-void |
32 | .end·method | 38 | .end·method |
| |
33 | .method·constructor·<init>(Landroid/content/Context;)V | 39 | .method·constructor·<init>(Landroid/content/Context;)V |
34 | ····.locals·2 | 40 | ····.locals·2 |
| |
35 | ····.line·84 | 41 | ····.line·70 |
36 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 42 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
37 | ····.line·49 | 43 | ····.line·61 |
| 44 | ····new-instance·v0,·Landroid/os/Handler; |
| |
| 45 | ····invoke-direct·{v0},·Landroid/os/Handler;-><init>()V |
| |
| 46 | ····iput-object·v0,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mHandler:Landroid/os/Handler; |
| |
| 47 | ····.line·63 |
38 | ····new-instance·v0,·Lcom/android/car/ui/core/CheckCarUiComponents$1; | 48 | ····new-instance·v0,·Lcom/android/car/ui/core/CheckCarUiComponents$1; |
| |
39 | ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/core/CheckCarUiComponents$1;-><init>(Lcom/android/car/ui/core/CheckCarUiComponents;)V | 49 | ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/core/CheckCarUiComponents$1;-><init>(Lcom/android/car/ui/core/CheckCarUiComponents;)V |
| |
40 | ····iput-object·v0,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mReceiver:Landroid/content/BroadcastReceiver; | 50 | ····iput-object·v0,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mReceiver:Landroid/content/BroadcastReceiver; |
| |
41 | ····.line·85 | 51 | ····.line·71 |
42 | ····new-instance·v0,·Landroid/content/IntentFilter; | 52 | ····new-instance·v0,·Landroid/content/IntentFilter; |
| |
43 | ····invoke-direct·{v0},·Landroid/content/IntentFilter;-><init>()V | 53 | ····invoke-direct·{v0},·Landroid/content/IntentFilter;-><init>()V |
| |
44 | ····const-string·v1,·"com.android.car.ui.intent.CHECK_CAR_UI_COMPONENTS" | 54 | ····const-string·v1,·"com.android.car.ui.intent.CHECK_CAR_UI_COMPONENTS" |
| |
45 | ····.line·86 | 55 | ····.line·72 |
46 | ····invoke-virtual·{v0,·v1},·Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V | 56 | ····invoke-virtual·{v0,·v1},·Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V |
| |
47 | ····.line·87 | 57 | ····.line·73 |
48 | ····iget-object·v1,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mReceiver:Landroid/content/BroadcastReceiver; | 58 | ····iget-object·v1,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mReceiver:Landroid/content/BroadcastReceiver; |
| |
49 | ····invoke-virtual·{p1,·v1,·v0},·Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent; | 59 | ····invoke-virtual·{p1,·v1,·v0},·Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent; |
| |
50 | ····return-void | 60 | ····return-void |
51 | .end·method | 61 | .end·method |
| |
52 | .method·static·synthetic·access$000(Lcom/android/car/ui/core/CheckCarUiComponents;)Z | 62 | .method·static·synthetic·access$000(Lcom/android/car/ui/core/CheckCarUiComponents;Landroid/content/Context;Z)V |
53 | ····.locals·0 | 63 | ····.locals·0 |
| |
54 | ····.line·43 | 64 | ····.line·49 |
55 | ····iget-boolean·p0,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mIsScreenVisible:Z | 65 | ····invoke-direct·{p0,·p1,·p2},·Lcom/android/car/ui/core/CheckCarUiComponents;->checkForComponents(Landroid/content/Context;Z)V |
| |
56 | ····return·p0 | 66 | ····return-void |
57 | .end·method | 67 | .end·method |
| |
58 | .method·static·synthetic·access$200(Lcom/android/car/ui/core/CheckCarUiComponents;)Landroid/view/View; | 68 | .method·private·checkComponentsForAllActivities(Landroid/content/Context;)Z |
59 | ····.locals·0 | 69 | ····.locals·1 |
| |
60 | ····.line·43 | 70 | ····.line·122 |
61 | ····iget-object·p0,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mRootView:Landroid/view/View; | 71 | ····invoke-virtual·{p1},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
| 72 | ····move-result-object·p1 |
62 | ····return-object·p0 | |
63 | .end·method | |
| |
| 73 | ····sget·v0,·Lcom/android/car/ui/R$bool;->car_ui_escrow_check_components_automatically:I |
64 | .method·static·synthetic·access$300(Lcom/android/car/ui/core/CheckCarUiComponents;Landroid/view/View;Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;)V | |
65 | ····.locals·0 | |
| |
| 74 | ····invoke-virtual·{p1,·v0},·Landroid/content/res/Resources;->getBoolean(I)Z |
66 | ····.line·43 | |
67 | ····invoke-direct·{p0,·p1,·p2},·Lcom/android/car/ui/core/CheckCarUiComponents;->checkForCarUiComponents(Landroid/view/View;Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;)V | |
| |
68 | ····return-void | 75 | ····move-result·p1 |
| |
| 76 | ····return·p1 |
69 | .end·method | 77 | .end·method |
| |
70 | .method·static·synthetic·access$400()Ljava/lang/String; | 78 | .method·private·checkForCarUiComponents(Landroid/view/View;Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;)V |
71 | ····.locals·1 | 79 | ····.locals·1 |
| |
72 | ····.line·43 | 80 | ····.line·159 |
73 | ····sget-object·v0,·Lcom/android/car/ui/core/CheckCarUiComponents;->TAG:Ljava/lang/String; | 81 | ····new-instance·v0,·Lcom/android/car/ui/core/-$$Lambda$CheckCarUiComponents$sMvfGKJ7xE4isapA83m1KGgs5T4; |
| |
74 | ····return-object·v0 | 82 | ····invoke-direct·{v0,·p2},·Lcom/android/car/ui/core/-$$Lambda$CheckCarUiComponents$sMvfGKJ7xE4isapA83m1KGgs5T4;-><init>(Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;)V |
| |
| 83 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/core/CheckCarUiComponents;->viewHasChildMatching(Landroid/view/View;Lcom/android/car/ui/core/CheckCarUiComponents$Predicate;)Z |
| |
| 84 | ····return-void |
75 | .end·method | 85 | .end·method |
| |
76 | .method·static·synthetic·access$500(Landroid/content/Context;Ljava/lang/String;)V | 86 | .method·private·checkForComponents(Landroid/content/Context;Z)V |
77 | ····.locals·0 | 87 | ····.locals·3 |
| |
78 | ····.line·43 | 88 | ····.line·127 |
79 | ····invoke-static·{p0,·p1},·Lcom/android/car/ui/core/CheckCarUiComponents;->showToast(Landroid/content/Context;Ljava/lang/String;)V | 89 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mIsScreenVisible:Z |
| |
| 90 | ····if-nez·v0,·:cond_0 |
| |
80 | ····return-void | 91 | ····return-void |
81 | .end·method | |
| |
82 | .method·private·checkForCarUiComponents(Landroid/view/View;Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;)V | |
83 | ····.locals·1 | 92 | ····.line·131 |
| 93 | ····:cond_0 |
| 94 | ····new-instance·v0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents; |
| |
| 95 | ····const/4·v1,·0x0 |
| |
| 96 | ····invoke-direct·{v0,·v1},·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;-><init>(Lcom/android/car/ui/core/CheckCarUiComponents$1;)V |
84 | ····.line·126 | |
85 | ····new-instance·v0,·Lcom/android/car/ui/core/-$$Lambda$CheckCarUiComponents$u3xGutb3VgNGu17dA7lErOZHnt8; | |
| |
86 | ····invoke-direct·{v0,·p2},·Lcom/android/car/ui/core/-$$Lambda$CheckCarUiComponents$u3xGutb3VgNGu17dA7lErOZHnt8;-><init>(Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;)V | 97 | ····.line·132 |
| 98 | ····iget-object·v1,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mRootView:Landroid/view/View; |
| |
87 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/core/CheckCarUiComponents;->viewHasChildMatching(Landroid/view/View;Lcom/android/car/ui/core/CheckCarUiComponents$Predicate;)Z | 99 | ····invoke-direct·{p0,·v1,·v0},·Lcom/android/car/ui/core/CheckCarUiComponents;->checkForCarUiComponents(Landroid/view/View;Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;)V |
| |
| 100 | ····.line·133 |
| 101 | ····iget-boolean·v1,·v0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsUsingCarUiRecyclerView:Z |
| |
| 102 | ····if-eqz·v1,·:cond_1 |
| |
| 103 | ····iget-boolean·v1,·v0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsCarUiRecyclerViewUsingListItem:Z |
| |
| 104 | ····if-nez·v1,·:cond_1 |
| |
| 105 | ····.line·135 |
| 106 | ····sget-object·v1,·Lcom/android/car/ui/core/CheckCarUiComponents;->TAG:Ljava/lang/String; |
| |
| 107 | ····const-string·v2,·"CarUiListItem·are·not·used·within·CarUiRecyclerView:·" |
| |
| 108 | ····invoke-static·{v1,·v2},·Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
| |
| 109 | ····.line·136 |
| 110 | ····invoke-static·{p1,·v2,·p2},·Lcom/android/car/ui/core/CheckCarUiComponents;->mayShowToast(Landroid/content/Context;Ljava/lang/String;Z)V |
| |
| 111 | ····.line·138 |
| 112 | ····:cond_1 |
| 113 | ····iget-boolean·v1,·v0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsUsingAndroidXRecyclerView:Z |
| |
| 114 | ····if-eqz·v1,·:cond_2 |
| |
| 115 | ····.line·139 |
| 116 | ····sget-object·v1,·Lcom/android/car/ui/core/CheckCarUiComponents;->TAG:Ljava/lang/String; |
| |
| 117 | ····const-string·v2,·"CarUiRecyclerView·not·used:" |
| |
| 118 | ····invoke-static·{v1,·v2},·Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
| |
| 119 | ····.line·140 |
| 120 | ····invoke-static·{p1,·v2,·p2},·Lcom/android/car/ui/core/CheckCarUiComponents;->mayShowToast(Landroid/content/Context;Ljava/lang/String;Z)V |
| |
| 121 | ····.line·142 |
| 122 | ····:cond_2 |
| 123 | ····iget-boolean·v1,·v0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsUsingCarUiToolbar:Z |
| |
| 124 | ····if-nez·v1,·:cond_3 |
| |
| 125 | ····.line·143 |
| 126 | ····sget-object·v1,·Lcom/android/car/ui/core/CheckCarUiComponents;->TAG:Ljava/lang/String; |
| |
| 127 | ····const-string·v2,·"CarUiToolbar·is·not·used:·" |
| |
| 128 | ····invoke-static·{v1,·v2},·Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
| |
| 129 | ····.line·144 |
| 130 | ····invoke-static·{p1,·v2,·p2},·Lcom/android/car/ui/core/CheckCarUiComponents;->mayShowToast(Landroid/content/Context;Ljava/lang/String;Z)V |
| |
| 131 | ····.line·146 |
| 132 | ····:cond_3 |
| 133 | ····iget-boolean·v1,·v0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsUsingCarUiBaseLayoutToolbar:Z |
| |
| 134 | ····if-nez·v1,·:cond_4 |
| |
| 135 | ····iget-boolean·v1,·v0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsUsingCarUiToolbar:Z |
| |
| 136 | ····if-eqz·v1,·:cond_4 |
| |
| 137 | ····.line·148 |
| 138 | ····sget-object·v1,·Lcom/android/car/ui/core/CheckCarUiComponents;->TAG:Ljava/lang/String; |
| |
| 139 | ····const-string·v2,·"CarUiBaseLayoutToolbar·is·not·used:·" |
| |
| 140 | ····invoke-static·{v1,·v2},·Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
| |
| 141 | ····.line·149 |
| 142 | ····invoke-static·{p1,·v2,·p2},·Lcom/android/car/ui/core/CheckCarUiComponents;->mayShowToast(Landroid/content/Context;Ljava/lang/String;Z)V |
| |
| 143 | ····.line·151 |
| 144 | ····:cond_4 |
| 145 | ····iget-boolean·v1,·v0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsUsingCarUiRecyclerViewForPreference:Z |
| |
| 146 | ····if-eqz·v1,·:cond_5 |
| |
| 147 | ····iget-boolean·v0,·v0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsUsingCarUiPreference:Z |
| |
| 148 | ····if-nez·v0,·:cond_5 |
| |
| 149 | ····.line·153 |
| 150 | ····sget-object·v0,·Lcom/android/car/ui/core/CheckCarUiComponents;->TAG:Ljava/lang/String; |
| |
| 151 | ····const-string·v1,·"CarUiPreference·is·not·used:·" |
| |
| 152 | ····invoke-static·{v0,·v1},·Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
| |
| 153 | ····.line·154 |
| 154 | ····invoke-static·{p1,·v1,·p2},·Lcom/android/car/ui/core/CheckCarUiComponents;->mayShowToast(Landroid/content/Context;Ljava/lang/String;Z)V |
| |
| 155 | ····:cond_5 |
88 | ····return-void | 156 | ····return-void |
89 | .end·method | 157 | .end·method |
| |
90 | .method·private·static·isAndroidXRecyclerView(Landroid/view/View;)Z | 158 | .method·private·static·isAndroidXRecyclerView(Landroid/view/View;)Z |
91 | ····.locals·1 | 159 | ····.locals·1 |
| |
92 | ····.line·194 | 160 | ····.line·227 |
93 | ····invoke-virtual·{p0},·Ljava/lang/Object;->getClass()Ljava/lang/Class; | 161 | ····invoke-virtual·{p0},·Ljava/lang/Object;->getClass()Ljava/lang/Class; |
| |
94 | ····move-result-object·p0 | 162 | ····move-result-object·p0 |
| |
95 | ····const-class·v0,·Landroidx/recyclerview/widget/RecyclerView; | 163 | ····const-class·v0,·Landroidx/recyclerview/widget/RecyclerView; |
| |
96 | ····if-ne·p0,·v0,·:cond_0 | 164 | ····if-ne·p0,·v0,·:cond_0 |
Offset 156, 15 lines modified | Offset 274, 15 lines modified |
156 | ····:goto_0 | 274 | ····:goto_0 |
157 | ····return·p0 | 275 | ····return·p0 |
158 | .end·method | 276 | .end·method |
| |
159 | .method·private·static·isCarUiBaseLayoutToolbar(Landroid/view/View;)Z | 277 | .method·private·static·isCarUiBaseLayoutToolbar(Landroid/view/View;)Z |
160 | ····.locals·1 | 278 | ····.locals·1 |
| |
161 | ····.line·190 | 279 | ····.line·223 |
162 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; | 280 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; |
| |
163 | ····move-result-object·v0 | 281 | ····move-result-object·v0 |
| |
164 | ····if-eqz·v0,·:cond_0 | 282 | ····if-eqz·v0,·:cond_0 |
| |
165 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; | 283 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; |
Offset 193, 15 lines modified | Offset 311, 15 lines modified |
193 | ····:goto_0 | 311 | ····:goto_0 |
194 | ····return·p0 | 312 | ····return·p0 |
195 | .end·method | 313 | .end·method |
| |
196 | .method·private·static·isCarUiListItem(Landroid/view/View;)Z | 314 | .method·private·static·isCarUiListItem(Landroid/view/View;)Z |
197 | ····.locals·1 | 315 | ····.locals·1 |
| |
198 | ····.line·177 | 316 | ····.line·210 |
199 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; | 317 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; |
| |
200 | ····move-result-object·v0 | 318 | ····move-result-object·v0 |
| |
201 | ····if-eqz·v0,·:cond_0 | 319 | ····if-eqz·v0,·:cond_0 |
| |
202 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; | 320 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; |
Offset 230, 15 lines modified | Offset 348, 15 lines modified |
230 | ····:goto_0 | 348 | ····:goto_0 |
231 | ····return·p0 | 349 | ····return·p0 |
232 | .end·method | 350 | .end·method |
| |
233 | .method·private·static·isCarUiPreference(Landroid/view/View;)Z | 351 | .method·private·static·isCarUiPreference(Landroid/view/View;)Z |
234 | ····.locals·1 | 352 | ····.locals·1 |
| |
235 | ····.line·181 | 353 | ····.line·214 |
236 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; | 354 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; |
| |
237 | ····move-result-object·v0 | 355 | ····move-result-object·v0 |
| |
238 | ····if-eqz·v0,·:cond_0 | 356 | ····if-eqz·v0,·:cond_0 |
| |
239 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; | 357 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; |
Offset 267, 15 lines modified | Offset 385, 15 lines modified |
267 | ····:goto_0 | 385 | ····:goto_0 |
268 | ····return·p0 | 386 | ····return·p0 |
269 | .end·method | 387 | .end·method |
| |
270 | .method·private·static·isCarUiRecyclerView(Landroid/view/View;)Z | 388 | .method·private·static·isCarUiRecyclerView(Landroid/view/View;)Z |
271 | ····.locals·1 | 389 | ····.locals·1 |
| |
272 | ····.line·173 | 390 | ····.line·206 |
273 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; | 391 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; |
| |
274 | ····move-result-object·v0 | 392 | ····move-result-object·v0 |
| |
275 | ····if-eqz·v0,·:cond_0 | 393 | ····if-eqz·v0,·:cond_0 |
| |
276 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; | 394 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; |
Offset 304, 15 lines modified | Offset 422, 15 lines modified |
304 | ····:goto_0 | 422 | ····:goto_0 |
305 | ····return·p0 | 423 | ····return·p0 |
306 | .end·method | 424 | .end·method |
| |
307 | .method·private·static·isCarUiToolbar(Landroid/view/View;)Z | 425 | .method·private·static·isCarUiToolbar(Landroid/view/View;)Z |
308 | ····.locals·2 | 426 | ····.locals·2 |
| |
309 | ····.line·185 | 427 | ····.line·218 |
310 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; | 428 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; |
| |
311 | ····move-result-object·v0 | 429 | ····move-result-object·v0 |
| |
312 | ····if-eqz·v0,·:cond_1 | 430 | ····if-eqz·v0,·:cond_1 |
| |
313 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; | 431 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; |
Offset 327, 15 lines modified | Offset 445, 15 lines modified |
| |
327 | ····invoke-virtual·{v0,·v1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 445 | ····invoke-virtual·{v0,·v1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
328 | ····move-result·v0 | 446 | ····move-result·v0 |
| |
329 | ····if-nez·v0,·:cond_0 | 447 | ····if-nez·v0,·:cond_0 |
| |
330 | ····.line·186 | 448 | ····.line·219 |
331 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; | 449 | ····invoke-virtual·{p0},·Landroid/view/View;->getTag()Ljava/lang/Object; |
| |
332 | ····move-result-object·p0 | 450 | ····move-result-object·p0 |
| |
333 | ····invoke-virtual·{p0},·Ljava/lang/Object;->toString()Ljava/lang/String; | 451 | ····invoke-virtual·{p0},·Ljava/lang/Object;->toString()Ljava/lang/String; |
| |
334 | ····move-result-object·p0 | 452 | ····move-result-object·p0 |
Offset 376, 250 lines modified | Offset 494, 266 lines modified |
376 | ····invoke-static·{p0},·Lcom/android/car/ui/core/CheckCarUiComponents;->isCarUiPreference(Landroid/view/View;)Z | 494 | ····invoke-static·{p0},·Lcom/android/car/ui/core/CheckCarUiComponents;->isCarUiPreference(Landroid/view/View;)Z |
| |
377 | ····move-result·p0 | 495 | ····move-result·p0 |
| |
378 | ····return·p0 | 496 | ····return·p0 |
379 | .end·method | 497 | .end·method |
| |
380 | .method·static·synthetic·lambda$checkForCarUiComponents$0(Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;Landroid/view/View;)Z | 498 | .method·static·synthetic·lambda$checkForCarUiComponents$1(Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;Landroid/view/View;)Z |
381 | ····.locals·3 | 499 | ····.locals·3 |
| |
382 | ····.line·127 | 500 | ····.line·160 |
383 | ····invoke-static·{p1},·Lcom/android/car/ui/core/CheckCarUiComponents;->isCarUiRecyclerView(Landroid/view/View;)Z | 501 | ····invoke-static·{p1},·Lcom/android/car/ui/core/CheckCarUiComponents;->isCarUiRecyclerView(Landroid/view/View;)Z |
| |
384 | ····move-result·v0 | 502 | ····move-result·v0 |
| |
385 | ····const/4·v1,·0x0 | 503 | ····const/4·v1,·0x0 |
| |
386 | ····const/4·v2,·0x1 | 504 | ····const/4·v2,·0x1 |
| |
387 | ····if-eqz·v0,·:cond_1 | 505 | ····if-eqz·v0,·:cond_1 |
| |
388 | ····.line·128 | 506 | ····.line·161 |
389 | ····iput-boolean·v2,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsUsingCarUiRecyclerView:Z | 507 | ····iput-boolean·v2,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsUsingCarUiRecyclerView:Z |
| |
390 | ····.line·130 | 508 | ····.line·163 |
391 | ····sget-object·v0,·Lcom/android/car/ui/core/-$$Lambda$CheckCarUiComponents$NVhRkAsVZLAico2oOqC8mqdd93I;->INSTANCE:Lcom/android/car/ui/core/-$$Lambda$CheckCarUiComponents$NVhRkAsVZLAico2oOqC8mqdd93I; | 509 | ····sget-object·v0,·Lcom/android/car/ui/core/-$$Lambda$CheckCarUiComponents$NVhRkAsVZLAico2oOqC8mqdd93I;->INSTANCE:Lcom/android/car/ui/core/-$$Lambda$CheckCarUiComponents$NVhRkAsVZLAico2oOqC8mqdd93I; |
| |
392 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/core/CheckCarUiComponents;->viewHasChildMatching(Landroid/view/View;Lcom/android/car/ui/core/CheckCarUiComponents$Predicate;)Z | 510 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/core/CheckCarUiComponents;->viewHasChildMatching(Landroid/view/View;Lcom/android/car/ui/core/CheckCarUiComponents$Predicate;)Z |
| |
393 | ····move-result·v0 | 511 | ····move-result·v0 |
| |
394 | ····if-eqz·v0,·:cond_0 | 512 | ····if-eqz·v0,·:cond_0 |
| |
395 | ····.line·131 | 513 | ····.line·164 |
396 | ····iput-boolean·v2,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsUsingCarUiPreference:Z | 514 | ····iput-boolean·v2,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsUsingCarUiPreference:Z |
| |
397 | ····return·v1 | 515 | ····return·v1 |
| |
398 | ····.line·135 | 516 | ····.line·168 |
399 | ····:cond_0 | 517 | ····:cond_0 |
400 | ····sget-object·v0,·Lcom/android/car/ui/core/-$$Lambda$CheckCarUiComponents$LQ0QJ1uqNsfWejQq2fxWuLySBiU;->INSTANCE:Lcom/android/car/ui/core/-$$Lambda$CheckCarUiComponents$LQ0QJ1uqNsfWejQq2fxWuLySBiU; | 518 | ····sget-object·v0,·Lcom/android/car/ui/core/-$$Lambda$CheckCarUiComponents$LQ0QJ1uqNsfWejQq2fxWuLySBiU;->INSTANCE:Lcom/android/car/ui/core/-$$Lambda$CheckCarUiComponents$LQ0QJ1uqNsfWejQq2fxWuLySBiU; |
| |
401 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/core/CheckCarUiComponents;->viewHasChildMatching(Landroid/view/View;Lcom/android/car/ui/core/CheckCarUiComponents$Predicate;)Z | 519 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/core/CheckCarUiComponents;->viewHasChildMatching(Landroid/view/View;Lcom/android/car/ui/core/CheckCarUiComponents$Predicate;)Z |
| |
402 | ····move-result·p1 | 520 | ····move-result·p1 |
| |
403 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsCarUiRecyclerViewUsingListItem:Z | 521 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsCarUiRecyclerViewUsingListItem:Z |
| |
404 | ····return·v1 | 522 | ····return·v1 |
| |
405 | ····.line·140 | 523 | ····.line·173 |
406 | ····:cond_1 | 524 | ····:cond_1 |
407 | ····invoke-static·{p1},·Lcom/android/car/ui/core/CheckCarUiComponents;->isAndroidXRecyclerView(Landroid/view/View;)Z | 525 | ····invoke-static·{p1},·Lcom/android/car/ui/core/CheckCarUiComponents;->isAndroidXRecyclerView(Landroid/view/View;)Z |
| |
408 | ····move-result·v0 | 526 | ····move-result·v0 |
| |
409 | ····if-eqz·v0,·:cond_2 | 527 | ····if-eqz·v0,·:cond_2 |
| |
410 | ····.line·141 | 528 | ····.line·174 |
411 | ····iput-boolean·v2,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsUsingAndroidXRecyclerView:Z | 529 | ····iput-boolean·v2,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsUsingAndroidXRecyclerView:Z |
| |
412 | ····.line·144 | 530 | ····.line·177 |
413 | ····:cond_2 | 531 | ····:cond_2 |
414 | ····invoke-static·{p1},·Lcom/android/car/ui/core/CheckCarUiComponents;->isCarUiToolbar(Landroid/view/View;)Z | 532 | ····invoke-static·{p1},·Lcom/android/car/ui/core/CheckCarUiComponents;->isCarUiToolbar(Landroid/view/View;)Z |
| |
415 | ····move-result·v0 | 533 | ····move-result·v0 |
| |
416 | ····if-eqz·v0,·:cond_3 | 534 | ····if-eqz·v0,·:cond_3 |
| |
417 | ····.line·145 | 535 | ····.line·178 |
418 | ····iput-boolean·v2,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsUsingCarUiToolbar:Z | 536 | ····iput-boolean·v2,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsUsingCarUiToolbar:Z |
| |
419 | ····.line·148 | 537 | ····.line·181 |
420 | ····:cond_3 | 538 | ····:cond_3 |
421 | ····invoke-static·{p1},·Lcom/android/car/ui/core/CheckCarUiComponents;->isCarUiBaseLayoutToolbar(Landroid/view/View;)Z | 539 | ····invoke-static·{p1},·Lcom/android/car/ui/core/CheckCarUiComponents;->isCarUiBaseLayoutToolbar(Landroid/view/View;)Z |
| |
422 | ····move-result·p1 | 540 | ····move-result·p1 |
| |
423 | ····if-eqz·p1,·:cond_4 | 541 | ····if-eqz·p1,·:cond_4 |
| |
424 | ····.line·149 | 542 | ····.line·182 |
425 | ····iput-boolean·v2,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsUsingCarUiBaseLayoutToolbar:Z | 543 | ····iput-boolean·v2,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents$CarUiComponents;->mIsUsingCarUiBaseLayoutToolbar:Z |
| |
426 | ····:cond_4 | 544 | ····:cond_4 |
427 | ····return·v1 | 545 | ····return·v1 |
428 | .end·method | 546 | .end·method |
| |
| 547 | .method·private·synthetic·lambda$onActivityPostResumed$0(Landroid/app/Activity;)V |
| 548 | ····.locals·1 |
| |
| 549 | ····const/4·v0,·0x0 |
| |
| 550 | ····.line·95 |
| 551 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/car/ui/core/CheckCarUiComponents;->checkForComponents(Landroid/content/Context;Z)V |
| |
| 552 | ····return-void |
| 553 | .end·method |
| |
| 554 | .method·private·static·mayShowToast(Landroid/content/Context;Ljava/lang/String;Z)V |
| 555 | ····.locals·0 |
| |
| 556 | ····if-nez·p2,·:cond_0 |
| |
| 557 | ····return-void |
| |
| 558 | ····:cond_0 |
| 559 | ····const/4·p2,·0x1 |
| |
| 560 | ····.line·234 |
| 561 | ····invoke-static·{p0,·p1,·p2},·Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; |
| |
| 562 | ····move-result-object·p0 |
| |
| 563 | ····invoke-virtual·{p0},·Landroid/widget/Toast;->show()V |
| |
| 564 | ····return-void |
| 565 | .end·method |
| |
429 | .method·private·static·printViewHierarchy(Ljava/lang/String;Landroid/view/View;)V | 566 | .method·private·static·printViewHierarchy(Ljava/lang/String;Landroid/view/View;)V |
430 | ····.locals·4 | 567 | ····.locals·4 |
| |
431 | ····.line·215 | 568 | ····.line·251 |
432 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 569 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
433 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 570 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
| |
434 | ····const-string·v1,·"\n·" | 571 | ····const-string·v1,·"\n·" |
| |
435 | ····.line·216 | 572 | ····.line·252 |
436 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 573 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
437 | ····.line·217 | 574 | ····.line·253 |
438 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 575 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
439 | ····const/16·v1,·0x7b | 576 | ····const/16·v1,·0x7b |
| |
440 | ····.line·218 | 577 | ····.line·254 |
441 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 578 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
| |
442 | ····const/16·v1,·0x7d | 579 | ····const/16·v1,·0x7d |
| |
443 | ····if-nez·p1,·:cond_0 | 580 | ····if-nez·p1,·:cond_0 |
| |
444 | ····const-string·p0,·"viewNode=·NULL,·" | 581 | ····const-string·p0,·"viewNode=·NULL,·" |
| |
445 | ····.line·221 | 582 | ····.line·257 |
446 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 583 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
447 | ····.line·222 | 584 | ····.line·258 |
448 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 585 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
| |
449 | ····return-void | 586 | ····return-void |
| |
450 | ····:cond_0 | 587 | ····:cond_0 |
451 | ····const-string·v2,·"viewNode=·" | 588 | ····const-string·v2,·"viewNode=·" |
| |
452 | ····.line·226 | 589 | ····.line·262 |
453 | ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 590 | ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
454 | ····invoke-virtual·{p1},·Landroid/view/View;->toString()Ljava/lang/String; | 591 | ····invoke-virtual·{p1},·Landroid/view/View;->toString()Ljava/lang/String; |
| |
455 | ····move-result-object·v2 | 592 | ····move-result-object·v2 |
| |
456 | ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 593 | ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
457 | ····const-string·v2,·",·" | 594 | ····const-string·v2,·",·" |
| |
458 | ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 595 | ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
459 | ····const-string·v3,·"id=·" | 596 | ····const-string·v3,·"id=·" |
| |
460 | ····.line·227 | 597 | ····.line·263 |
461 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 598 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
462 | ····invoke-virtual·{p1},·Landroid/view/View;->getId()I | 599 | ····invoke-virtual·{p1},·Landroid/view/View;->getId()I |
| |
463 | ····move-result·v3 | 600 | ····move-result·v3 |
| |
464 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 601 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
| |
465 | ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 602 | ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
466 | ····const-string·v3,·"name=·" | 603 | ····const-string·v3,·"name=·" |
| |
467 | ····.line·228 | 604 | ····.line·264 |
468 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 605 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
469 | ····invoke-virtual·{p1},·Landroid/view/View;->getAccessibilityClassName()Ljava/lang/CharSequence; | 606 | ····invoke-virtual·{p1},·Landroid/view/View;->getAccessibilityClassName()Ljava/lang/CharSequence; |
| |
470 | ····move-result-object·v3 | 607 | ····move-result-object·v3 |
| |
471 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder; | 608 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder; |
| |
472 | ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 609 | ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
473 | ····.line·230 | 610 | ····.line·266 |
474 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 611 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
| |
475 | ····.line·231 | 612 | ····.line·267 |
476 | ····sget-object·v1,·Ljava/lang/System;->out:Ljava/io/PrintStream; | 613 | ····sget-object·v1,·Ljava/lang/System;->out:Ljava/io/PrintStream; |
| |
477 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 614 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
478 | ····move-result-object·v0 | 615 | ····move-result-object·v0 |
| |
479 | ····invoke-virtual·{v1,·v0},·Ljava/io/PrintStream;->println(Ljava/lang/String;)V | 616 | ····invoke-virtual·{v1,·v0},·Ljava/io/PrintStream;->println(Ljava/lang/String;)V |
| |
480 | ····.line·233 | 617 | ····.line·269 |
481 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 618 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
482 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 619 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
| |
483 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 620 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
484 | ····const-string·p0,·"··" | 621 | ····const-string·p0,·"··" |
| |
485 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 622 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
486 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 623 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
487 | ····move-result-object·p0 | 624 | ····move-result-object·p0 |
| |
488 | ····.line·234 | 625 | ····.line·270 |
489 | ····instance-of·v0,·p1,·Landroid/view/ViewGroup; | 626 | ····instance-of·v0,·p1,·Landroid/view/ViewGroup; |
| |
490 | ····if-nez·v0,·:cond_1 | 627 | ····if-nez·v0,·:cond_1 |
| |
491 | ····return-void | 628 | ····return-void |
| |
492 | ····:cond_1 | 629 | ····:cond_1 |
493 | ····const/4·v0,·0x0 | 630 | ····const/4·v0,·0x0 |
| |
494 | ····.line·237 | 631 | ····.line·273 |
495 | ····:goto_0 | 632 | ····:goto_0 |
496 | ····move-object·v1,·p1 | 633 | ····move-object·v1,·p1 |
| |
497 | ····check-cast·v1,·Landroid/view/ViewGroup; | 634 | ····check-cast·v1,·Landroid/view/ViewGroup; |
| |
498 | ····invoke-virtual·{v1},·Landroid/view/ViewGroup;->getChildCount()I | 635 | ····invoke-virtual·{v1},·Landroid/view/ViewGroup;->getChildCount()I |
| |
499 | ····move-result·v2 | 636 | ····move-result·v2 |
| |
500 | ····if-ge·v0,·v2,·:cond_2 | 637 | ····if-ge·v0,·v2,·:cond_2 |
| |
501 | ····.line·238 | 638 | ····.line·274 |
502 | ····invoke-virtual·{v1,·v0},·Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; | 639 | ····invoke-virtual·{v1,·v0},·Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; |
| |
503 | ····move-result-object·v1 | 640 | ····move-result-object·v1 |
| |
504 | ····invoke-static·{p0,·v1},·Lcom/android/car/ui/core/CheckCarUiComponents;->printViewHierarchy(Ljava/lang/String;Landroid/view/View;)V | 641 | ····invoke-static·{p0,·v1},·Lcom/android/car/ui/core/CheckCarUiComponents;->printViewHierarchy(Ljava/lang/String;Landroid/view/View;)V |
| |
505 | ····add-int/lit8·v0,·v0,·0x1 | 642 | ····add-int/lit8·v0,·v0,·0x1 |
| |
506 | ····goto·:goto_0 | 643 | ····goto·:goto_0 |
| |
507 | ····:cond_2 | 644 | ····:cond_2 |
508 | ····return-void | 645 | ····return-void |
509 | .end·method | 646 | .end·method |
| |
510 | .method·private·static·showToast(Landroid/content/Context;Ljava/lang/String;)V | |
511 | ····.locals·1 | |
| |
512 | ····const/4·v0,·0x1 | |
| |
513 | ····.line·198 | |
514 | ····invoke-static·{p0,·p1,·v0},·Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; | |
| |
515 | ····move-result-object·p0 | |
| |
516 | ····invoke-virtual·{p0},·Landroid/widget/Toast;->show()V | |
| |
517 | ····return-void | |
518 | .end·method | |
| |
519 | .method·private·static·viewHasChildMatching(Landroid/view/View;Lcom/android/car/ui/core/CheckCarUiComponents$Predicate;)Z | 647 | .method·private·static·viewHasChildMatching(Landroid/view/View;Lcom/android/car/ui/core/CheckCarUiComponents$Predicate;)Z |
520 | ····.locals·5 | 648 | ····.locals·5 |
521 | ····.annotation·system·Ldalvik/annotation/Signature; | 649 | ····.annotation·system·Ldalvik/annotation/Signature; |
522 | ········value·=·{ | 650 | ········value·=·{ |
523 | ············"(", | 651 | ············"(", |
524 | ············"Landroid/view/View;", | 652 | ············"Landroid/view/View;", |
525 | ············"Lcom/android/car/ui/core/CheckCarUiComponents$Predicate<", | 653 | ············"Lcom/android/car/ui/core/CheckCarUiComponents$Predicate<", |
Offset 630, 47 lines modified | Offset 764, 47 lines modified |
| |
630 | ····const/4·v0,·0x0 | 764 | ····const/4·v0,·0x0 |
| |
631 | ····if-nez·p0,·:cond_0 | 765 | ····if-nez·p0,·:cond_0 |
| |
632 | ····return·v0 | 766 | ····return·v0 |
| |
633 | ····.line·159 | 767 | ····.line·192 |
634 | ····:cond_0 | 768 | ····:cond_0 |
635 | ····invoke-interface·{p1,·p0},·Lcom/android/car/ui/core/CheckCarUiComponents$Predicate;->test(Ljava/lang/Object;)Z | 769 | ····invoke-interface·{p1,·p0},·Lcom/android/car/ui/core/CheckCarUiComponents$Predicate;->test(Ljava/lang/Object;)Z |
| |
636 | ····move-result·v1 | 770 | ····move-result·v1 |
| |
637 | ····const/4·v2,·0x1 | 771 | ····const/4·v2,·0x1 |
| |
638 | ····if-eqz·v1,·:cond_1 | 772 | ····if-eqz·v1,·:cond_1 |
| |
639 | ····return·v2 | 773 | ····return·v2 |
| |
640 | ····.line·162 | 774 | ····.line·195 |
641 | ····:cond_1 | 775 | ····:cond_1 |
642 | ····instance-of·v1,·p0,·Landroid/view/ViewGroup; | 776 | ····instance-of·v1,·p0,·Landroid/view/ViewGroup; |
| |
643 | ····if-eqz·v1,·:cond_3 | 777 | ····if-eqz·v1,·:cond_3 |
| |
644 | ····move·v1,·v0 | 778 | ····move·v1,·v0 |
| |
645 | ····.line·163 | 779 | ····.line·196 |
646 | ····:goto_0 | 780 | ····:goto_0 |
647 | ····move-object·v3,·p0 | 781 | ····move-object·v3,·p0 |
| |
648 | ····check-cast·v3,·Landroid/view/ViewGroup; | 782 | ····check-cast·v3,·Landroid/view/ViewGroup; |
| |
649 | ····invoke-virtual·{v3},·Landroid/view/ViewGroup;->getChildCount()I | 783 | ····invoke-virtual·{v3},·Landroid/view/ViewGroup;->getChildCount()I |
| |
650 | ····move-result·v4 | 784 | ····move-result·v4 |
| |
651 | ····if-ge·v1,·v4,·:cond_3 | 785 | ····if-ge·v1,·v4,·:cond_3 |
| |
652 | ····.line·164 | 786 | ····.line·197 |
653 | ····invoke-virtual·{v3,·v1},·Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; | 787 | ····invoke-virtual·{v3,·v1},·Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; |
| |
654 | ····move-result-object·v3 | 788 | ····move-result-object·v3 |
| |
655 | ····invoke-static·{v3,·p1},·Lcom/android/car/ui/core/CheckCarUiComponents;->viewHasChildMatching(Landroid/view/View;Lcom/android/car/ui/core/CheckCarUiComponents$Predicate;)Z | 789 | ····invoke-static·{v3,·p1},·Lcom/android/car/ui/core/CheckCarUiComponents;->viewHasChildMatching(Landroid/view/View;Lcom/android/car/ui/core/CheckCarUiComponents$Predicate;)Z |
| |
656 | ····move-result·v3 | 790 | ····move-result·v3 |
Offset 686, 81 lines modified | Offset 820, 114 lines modified |
| |
686 | ····:cond_3 | 820 | ····:cond_3 |
687 | ····return·v0 | 821 | ····return·v0 |
688 | .end·method | 822 | .end·method |
| |
| |
689 | #·virtual·methods | 823 | #·virtual·methods |
| 824 | .method·public·synthetic·lambda$onActivityPostResumed$0$CheckCarUiComponents(Landroid/app/Activity;)V |
| 825 | ····.locals·0 |
| |
| 826 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/core/CheckCarUiComponents;->lambda$onActivityPostResumed$0(Landroid/app/Activity;)V |
| |
| 827 | ····return-void |
| 828 | .end·method |
| |
690 | .method·public·onActivityCreated(Landroid/app/Activity;Landroid/os/Bundle;)V | 829 | .method·public·onActivityCreated(Landroid/app/Activity;Landroid/os/Bundle;)V |
691 | ····.locals·0 | 830 | ····.locals·0 |
| |
692 | ····return-void | 831 | ····return-void |
693 | .end·method | 832 | .end·method |
| |
694 | .method·public·onActivityDestroyed(Landroid/app/Activity;)V | 833 | .method·public·onActivityDestroyed(Landroid/app/Activity;)V |
695 | ····.locals·1 | 834 | ····.locals·1 |
| |
696 | ····.line·119 | 835 | ····.line·115 |
697 | ····iget-object·v0,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mRootView:Landroid/view/View; | 836 | ····iget-object·v0,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mRootView:Landroid/view/View; |
| |
698 | ····if-eqz·v0,·:cond_0 | 837 | ····if-eqz·v0,·:cond_0 |
| |
699 | ····.line·120 | 838 | ····.line·116 |
700 | ····invoke-virtual·{v0},·Landroid/view/View;->getContext()Landroid/content/Context; | 839 | ····invoke-virtual·{v0},·Landroid/view/View;->getContext()Landroid/content/Context; |
| |
701 | ····move-result-object·v0 | 840 | ····move-result-object·v0 |
| |
702 | ····invoke-static·{v0},·Lcom/android/car/ui/utils/CarUiUtils;->getActivity(Landroid/content/Context;)Landroid/app/Activity; | 841 | ····invoke-static·{v0},·Lcom/android/car/ui/utils/CarUiUtils;->getActivity(Landroid/content/Context;)Landroid/app/Activity; |
| |
703 | ····move-result-object·v0 | 842 | ····move-result-object·v0 |
| |
704 | ····if-ne·v0,·p1,·:cond_0 | 843 | ····if-ne·v0,·p1,·:cond_0 |
| |
705 | ····const/4·p1,·0x0 | 844 | ····const/4·p1,·0x0 |
| |
706 | ····.line·121 | 845 | ····.line·117 |
707 | ····iput-object·p1,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mRootView:Landroid/view/View; | 846 | ····iput-object·p1,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mRootView:Landroid/view/View; |
| |
708 | ····:cond_0 | 847 | ····:cond_0 |
709 | ····return-void | 848 | ····return-void |
710 | .end·method | 849 | .end·method |
| |
711 | .method·public·onActivityPaused(Landroid/app/Activity;)V | 850 | .method·public·onActivityPaused(Landroid/app/Activity;)V |
712 | ····.locals·0 | 851 | ····.locals·0 |
| |
713 | ····const/4·p1,·0x0 | 852 | ····const/4·p1,·0x0 |
| |
714 | ····.line·106 | 853 | ····.line·101 |
715 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mIsScreenVisible:Z | 854 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mIsScreenVisible:Z |
| |
716 | ····return-void | 855 | ····return-void |
717 | .end·method | 856 | .end·method |
| |
718 | .method·public·onActivityResumed(Landroid/app/Activity;)V | 857 | .method·public·onActivityPostResumed(Landroid/app/Activity;)V |
719 | ····.locals·0 | 858 | ····.locals·4 |
| |
720 | ····.line·100 | 859 | ····.line·90 |
721 | ····invoke-virtual·{p1},·Landroid/app/Activity;->getWindow()Landroid/view/Window; | 860 | ····invoke-virtual·{p1},·Landroid/app/Activity;->getWindow()Landroid/view/Window; |
| |
722 | ····move-result-object·p1 | 861 | ····move-result-object·v0 |
| |
723 | ····invoke-virtual·{p1},·Landroid/view/Window;->getDecorView()Landroid/view/View; | 862 | ····invoke-virtual·{v0},·Landroid/view/Window;->getDecorView()Landroid/view/View; |
| |
724 | ····move-result-object·p1 | 863 | ····move-result-object·v0 |
| |
725 | ····invoke-virtual·{p1},·Landroid/view/View;->getRootView()Landroid/view/View; | 864 | ····invoke-virtual·{v0},·Landroid/view/View;->getRootView()Landroid/view/View; |
| |
726 | ····move-result-object·p1 | 865 | ····move-result-object·v0 |
| |
727 | ····iput-object·p1,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mRootView:Landroid/view/View; | 866 | ····iput-object·v0,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mRootView:Landroid/view/View; |
| |
728 | ····const/4·p1,·0x1 | 867 | ····const/4·v0,·0x1 |
| |
729 | ····.line·101 | 868 | ····.line·91 |
730 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mIsScreenVisible:Z | 869 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mIsScreenVisible:Z |
| |
| 870 | ····.line·92 |
| 871 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/core/CheckCarUiComponents;->checkComponentsForAllActivities(Landroid/content/Context;)Z |
| |
| 872 | ····move-result·v0 |
| |
| 873 | ····if-eqz·v0,·:cond_0 |
| |
| 874 | ····.line·95 |
| 875 | ····iget-object·v0,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mHandler:Landroid/os/Handler; |
| |
| 876 | ····new-instance·v1,·Lcom/android/car/ui/core/-$$Lambda$CheckCarUiComponents$y7RxpUiLsA8rZaNatst8VPAWq5U; |
| |
| 877 | ····invoke-direct·{v1,·p0,·p1},·Lcom/android/car/ui/core/-$$Lambda$CheckCarUiComponents$y7RxpUiLsA8rZaNatst8VPAWq5U;-><init>(Lcom/android/car/ui/core/CheckCarUiComponents;Landroid/app/Activity;)V |
| |
| 878 | ····const-wide/16·v2,·0x7d0 |
| |
| 879 | ····invoke-virtual·{v0,·v1,·v2,·v3},·Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z |
| |
| 880 | ····:cond_0 |
| 881 | ····return-void |
| 882 | .end·method |
| |
| 883 | .method·public·onActivityResumed(Landroid/app/Activity;)V |
| 884 | ····.locals·0 |
| |
731 | ····return-void | 885 | ····return-void |
732 | .end·method | 886 | .end·method |
| |
733 | .method·public·onActivitySaveInstanceState(Landroid/app/Activity;Landroid/os/Bundle;)V | 887 | .method·public·onActivitySaveInstanceState(Landroid/app/Activity;Landroid/os/Bundle;)V |
734 | ····.locals·0 | 888 | ····.locals·0 |
| |
Offset 770, 11 lines modified | Offset 937, 18 lines modified |
770 | .method·public·onActivityStarted(Landroid/app/Activity;)V | 937 | .method·public·onActivityStarted(Landroid/app/Activity;)V |
771 | ····.locals·0 | 938 | ····.locals·0 |
| |
772 | ····return-void | 939 | ····return-void |
773 | .end·method | 940 | .end·method |
| |
774 | .method·public·onActivityStopped(Landroid/app/Activity;)V | 941 | .method·public·onActivityStopped(Landroid/app/Activity;)V |
775 | ····.locals·0 | 942 | ····.locals·1 |
| |
| 943 | ····.line·106 |
| 944 | ····iget-object·p1,·p0,·Lcom/android/car/ui/core/CheckCarUiComponents;->mHandler:Landroid/os/Handler; |
| |
| 945 | ····const/4·v0,·0x0 |
| |
| 946 | ····invoke-virtual·{p1,·v0},·Landroid/os/Handler;->removeCallbacksAndMessages(Ljava/lang/Object;)V |
| |
776 | ····return-void | 947 | ····return-void |
777 | .end·method | 948 | .end·method |