| | | |
Offset 2, 595 lines modified | Offset 2, 663 lines modified |
2 | .super·Landroidx/fragment/app/Fragment; | 2 | .super·Landroidx/fragment/app/Fragment; |
3 | .source·"MultiSelectListPreferenceFragment.java" | 3 | .source·"MultiSelectListPreferenceFragment.java" |
| |
4 | #·interfaces | 4 | #·interfaces |
5 | .implements·Lcom/android/car/ui/baselayout/InsetsChangedListener; | 5 | .implements·Lcom/android/car/ui/baselayout/InsetsChangedListener; |
| |
| |
| 6 | #·static·fields |
| 7 | .field·private·static·final·ARG_FULLSCREEN:Ljava/lang/String;·=·"fullscreen" |
| |
| |
6 | #·instance·fields | 8 | #·instance·fields |
| 9 | .field·private·mFullScreen:Z |
| |
7 | .field·private·mNewValues:Ljava/util/Set; | 10 | .field·private·mNewValues:Ljava/util/Set; |
8 | ····.annotation·system·Ldalvik/annotation/Signature; | 11 | ····.annotation·system·Ldalvik/annotation/Signature; |
9 | ········value·=·{ | 12 | ········value·=·{ |
10 | ············"Ljava/util/Set<", | 13 | ············"Ljava/util/Set<", |
11 | ············"Ljava/lang/String;", | 14 | ············"Ljava/lang/String;", |
12 | ············">;" | 15 | ············">;" |
13 | ········} | 16 | ········} |
14 | ····.end·annotation | 17 | ····.end·annotation |
15 | .end·field | 18 | .end·field |
| |
16 | .field·private·final·mOnBackListener:Lcom/android/car/ui/toolbar/Toolbar$OnBackListener; | |
| |
17 | .field·private·mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 19 | .field·private·mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
18 | .field·private·mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; | 20 | .field·private·mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; |
| |
| |
19 | #·direct·methods | 21 | #·direct·methods |
20 | .method·public·constructor·<init>()V | 22 | .method·public·constructor·<init>()V |
21 | ····.locals·1 | 23 | ····.locals·0 |
| |
22 | ····.line·53 | 24 | ····.line·54 |
23 | ····invoke-direct·{p0},·Landroidx/fragment/app/Fragment;-><init>()V | 25 | ····invoke-direct·{p0},·Landroidx/fragment/app/Fragment;-><init>()V |
| |
24 | ····.line·58 | |
25 | ····new-instance·v0,·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$AuutMM3kfeiAFOGhqlxRLAvB8o0; | |
| |
26 | ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$AuutMM3kfeiAFOGhqlxRLAvB8o0;-><init>(Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;)V | |
| |
27 | ····iput-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mOnBackListener:Lcom/android/car/ui/toolbar/Toolbar$OnBackListener; | |
| |
28 | ····return-void | 26 | ····return-void |
29 | .end·method | 27 | .end·method |
| |
30 | .method·private·getPreference()Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 28 | .method·private·getPreference()Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
31 | ····.locals·2 | 29 | ····.locals·2 |
| |
32 | ····.line·178 | 30 | ····.line·192 |
33 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; | 31 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; |
| |
34 | ····move-result-object·v0 | 32 | ····move-result-object·v0 |
| |
35 | ····if-eqz·v0,·:cond_3 | 33 | ····if-eqz·v0,·:cond_3 |
| |
36 | ····.line·182 | 34 | ····.line·196 |
37 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; | 35 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; |
| |
38 | ····move-result-object·v0 | 36 | ····move-result-object·v0 |
| |
39 | ····const-string·v1,·"key" | 37 | ····const-string·v1,·"key" |
| |
40 | ····invoke-virtual·{v0,·v1},·Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String; | 38 | ····invoke-virtual·{v0,·v1},·Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String; |
| |
41 | ····move-result-object·v0 | 39 | ····move-result-object·v0 |
| |
42 | ····.line·184 | 40 | ····.line·198 |
43 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getTargetFragment()Landroidx/fragment/app/Fragment; | 41 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getTargetFragment()Landroidx/fragment/app/Fragment; |
| |
44 | ····move-result-object·v1 | 42 | ····move-result-object·v1 |
| |
45 | ····check-cast·v1,·Landroidx/preference/DialogPreference$TargetFragment; | 43 | ····check-cast·v1,·Landroidx/preference/DialogPreference$TargetFragment; |
| |
46 | ····if-eqz·v0,·:cond_2 | 44 | ····if-eqz·v0,·:cond_2 |
| |
47 | ····if-eqz·v1,·:cond_1 | 45 | ····if-eqz·v1,·:cond_1 |
| |
48 | ····.line·197 | 46 | ····.line·211 |
49 | ····invoke-interface·{v1,·v0},·Landroidx/preference/DialogPreference$TargetFragment;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; | 47 | ····invoke-interface·{v1,·v0},·Landroidx/preference/DialogPreference$TargetFragment;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; |
| |
50 | ····move-result-object·v0 | 48 | ····move-result-object·v0 |
| |
51 | ····.line·199 | 49 | ····.line·213 |
52 | ····instance-of·v1,·v0,·Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 50 | ····instance-of·v1,·v0,·Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
53 | ····if-eqz·v1,·:cond_0 | 51 | ····if-eqz·v1,·:cond_0 |
| |
54 | ····.line·205 | 52 | ····.line·219 |
55 | ····check-cast·v0,·Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 53 | ····check-cast·v0,·Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
56 | ····return-object·v0 | 54 | ····return-object·v0 |
| |
57 | ····.line·200 | 55 | ····.line·214 |
58 | ····:cond_0 | 56 | ····:cond_0 |
59 | ····new-instance·v0,·Ljava/lang/IllegalStateException; | 57 | ····new-instance·v0,·Ljava/lang/IllegalStateException; |
| |
60 | ····const-string·v1,·"Cannot·use·MultiSelectListPreferenceFragment·with·a·preference·that·is·not·of·type·CarUiMultiSelectListPreference" | 58 | ····const-string·v1,·"Cannot·use·MultiSelectListPreferenceFragment·with·a·preference·that·is·not·of·type·CarUiMultiSelectListPreference" |
| |
61 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V | 59 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |
62 | ····throw·v0 | 60 | ····throw·v0 |
| |
63 | ····.line·192 | 61 | ····.line·206 |
64 | ····:cond_1 | 62 | ····:cond_1 |
65 | ····new-instance·v0,·Ljava/lang/IllegalStateException; | 63 | ····new-instance·v0,·Ljava/lang/IllegalStateException; |
| |
66 | ····const-string·v1,·"Target·fragment·must·be·registered·before·displaying·MultiSelectListPreference·screen." | 64 | ····const-string·v1,·"Target·fragment·must·be·registered·before·displaying·MultiSelectListPreference·screen." |
| |
67 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V | 65 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |
68 | ····throw·v0 | 66 | ····throw·v0 |
| |
69 | ····.line·187 | 67 | ····.line·201 |
70 | ····:cond_2 | 68 | ····:cond_2 |
71 | ····new-instance·v0,·Ljava/lang/IllegalStateException; | 69 | ····new-instance·v0,·Ljava/lang/IllegalStateException; |
| |
72 | ····const-string·v1,·"MultiSelectListPreference·key·not·found·in·Fragment·arguments" | 70 | ····const-string·v1,·"MultiSelectListPreference·key·not·found·in·Fragment·arguments" |
| |
73 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V | 71 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |
74 | ····throw·v0 | 72 | ····throw·v0 |
| |
75 | ····.line·179 | 73 | ····.line·193 |
76 | ····:cond_3 | 74 | ····:cond_3 |
77 | ····new-instance·v0,·Ljava/lang/IllegalStateException; | 75 | ····new-instance·v0,·Ljava/lang/IllegalStateException; |
| |
78 | ····const-string·v1,·"Preference·arguments·cannot·be·null" | 76 | ····const-string·v1,·"Preference·arguments·cannot·be·null" |
| |
79 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V | 77 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |
80 | ····throw·v0 | 78 | ····throw·v0 |
81 | .end·method | 79 | .end·method |
| |
82 | .method·private·synthetic·lambda$new$0()Z | |
83 | ····.locals·2 | |
| |
84 | ····.line·59 | |
85 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | |
| |
86 | ····iget-object·v1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; | |
| |
87 | ····invoke-virtual·{v0,·v1},·Landroidx/preference/Preference;->callChangeListener(Ljava/lang/Object;)Z | |
| |
88 | ····move-result·v0 | |
| |
89 | ····if-eqz·v0,·:cond_0 | |
| |
90 | ····.line·60 | |
91 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | |
| |
92 | ····iget-object·v1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; | |
| |
93 | ····invoke-virtual·{v0,·v1},·Landroidx/preference/MultiSelectListPreference;->setValues(Ljava/util/Set;)V | |
| |
94 | ····:cond_0 | |
95 | ····const/4·v0,·0x0 | |
| |
96 | ····return·v0 | |
97 | .end·method | |
| |
98 | .method·static·synthetic·lambda$onViewCreated$1(Lcom/android/car/ui/recyclerview/CarUiRecyclerView;I)V | 80 | .method·static·synthetic·lambda$onViewCreated$0(Lcom/android/car/ui/recyclerview/CarUiRecyclerView;Landroid/view/View;I)V |
99 | ····.locals·2 | 81 | ····.locals·2 |
| |
100 | ····.line·104 | 82 | ····.line·104 |
101 | ····invoke-virtual·{p0},·Landroid/view/ViewGroup;->getPaddingTop()I | 83 | ····invoke-virtual·{p0},·Landroid/view/ViewGroup;->getPaddingTop()I |
| |
102 | ····move-result·v0 | 84 | ····move-result·v0 |
| |
103 | ····if-ne·v0,·p1,·:cond_0 | 85 | ····if-ne·v0,·p2,·:cond_0 |
| |
104 | ····return-void | 86 | ····return-void |
| |
105 | ····.line·108 | 87 | ····.line·108 |
106 | ····:cond_0 | 88 | ····:cond_0 |
107 | ····invoke-virtual·{p0},·Landroid/view/ViewGroup;->getPaddingTop()I | 89 | ····invoke-virtual·{p0},·Landroid/view/ViewGroup;->getPaddingTop()I |
| |
108 | ····move-result·v0 | 90 | ····move-result·v0 |
| |
109 | ····const/4·v1,·0x0 | 91 | ····const/4·v1,·0x0 |
| |
110 | ····.line·109 | 92 | ····.line·109 |
111 | ····invoke-virtual·{p0,·v1,·p1,·v1,·v1},·Lcom/android/car/ui/recyclerview/CarUiRecyclerView;->setPadding(IIII)V | 93 | ····invoke-virtual·{p0,·v1,·p2,·v1,·v1},·Lcom/android/car/ui/recyclerview/CarUiRecyclerView;->setPadding(IIII)V |
| |
112 | ····sub-int/2addr·v0,·p1 | 94 | ····sub-int/2addr·v0,·p2 |
| |
113 | ····.line·110 | 95 | ····.line·110 |
114 | ····invoke-virtual·{p0,·v1,·v0},·Landroidx/recyclerview/widget/RecyclerView;->scrollBy(II)V | 96 | ····invoke-virtual·{p0,·v1,·v0},·Landroidx/recyclerview/widget/RecyclerView;->scrollBy(II)V |
| |
| 97 | ····.line·112 |
| 98 | ····sget·p0,·Lcom/android/car/ui/R$id;->car_ui_focus_area:I |
| |
| 99 | ····invoke-virtual·{p1,·p0},·Landroid/view/View;->findViewById(I)Landroid/view/View; |
| |
| 100 | ····move-result-object·p0 |
| |
| 101 | ····check-cast·p0,·Lcom/android/car/ui/FocusArea; |
| |
| 102 | ····if-eqz·p0,·:cond_1 |
| |
| 103 | ····.line·114 |
| 104 | ····invoke-virtual·{p0,·v1,·p2,·v1,·v1},·Lcom/android/car/ui/FocusArea;->setHighlightPadding(IIII)V |
| |
| 105 | ····.line·115 |
| 106 | ····invoke-virtual·{p0,·v1,·p2,·v1,·v1},·Lcom/android/car/ui/FocusArea;->setBoundsOffset(IIII)V |
| |
| 107 | ····:cond_1 |
115 | ····return-void | 108 | ····return-void |
116 | .end·method | 109 | .end·method |
| |
117 | .method·private·synthetic·lambda$onViewCreated$2(Ljava/lang/String;Lcom/android/car/ui/recyclerview/CarUiContentListItem;Z)V | 110 | .method·private·synthetic·lambda$onViewCreated$1(Ljava/lang/String;Lcom/android/car/ui/recyclerview/CarUiContentListItem;Z)V |
118 | ····.locals·0 | 111 | ····.locals·0 |
| |
119 | ····if-eqz·p3,·:cond_0 | 112 | ····if-eqz·p3,·:cond_0 |
| |
120 | ····.line·148 | 113 | ····.line·157 |
121 | ····iget-object·p2,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; | 114 | ····iget-object·p2,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; |
| |
122 | ····invoke-interface·{p2,·p1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z | 115 | ····invoke-interface·{p2,·p1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z |
| |
123 | ····goto·:goto_0 | 116 | ····goto·:goto_0 |
| |
124 | ····.line·150 | 117 | ····.line·159 |
125 | ····:cond_0 | 118 | ····:cond_0 |
126 | ····iget-object·p2,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; | 119 | ····iget-object·p2,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; |
| |
127 | ····invoke-interface·{p2,·p1},·Ljava/util/Set;->remove(Ljava/lang/Object;)Z | 120 | ····invoke-interface·{p2,·p1},·Ljava/util/Set;->remove(Ljava/lang/Object;)Z |
| |
128 | ····:goto_0 | 121 | ····:goto_0 |
129 | ····return-void | 122 | ····return-void |
130 | .end·method | 123 | .end·method |
| |
131 | .method·static·newInstance(Ljava/lang/String;)Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment; | 124 | .method·static·newInstance(Ljava/lang/String;Z)Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment; |
132 | ····.locals·3 | 125 | ····.locals·3 |
| |
133 | ····.line·72 | 126 | ····.line·69 |
134 | ····new-instance·v0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment; | 127 | ····new-instance·v0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment; |
| |
135 | ····invoke-direct·{v0},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;-><init>()V | 128 | ····invoke-direct·{v0},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;-><init>()V |
| |
136 | ····.line·73 | 129 | ····.line·70 |
137 | ····new-instance·v1,·Landroid/os/Bundle; | 130 | ····new-instance·v1,·Landroid/os/Bundle; |
| |
138 | ····const/4·v2,·0x1 | 131 | ····const/4·v2,·0x1 |
| |
139 | ····invoke-direct·{v1,·v2},·Landroid/os/Bundle;-><init>(I)V | 132 | ····invoke-direct·{v1,·v2},·Landroid/os/Bundle;-><init>(I)V |
| |
140 | ····const-string·v2,·"key" | 133 | ····const-string·v2,·"key" |
| |
141 | ····.line·74 | 134 | ····.line·71 |
142 | ····invoke-virtual·{v1,·v2,·p0},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 135 | ····invoke-virtual·{v1,·v2,·p0},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
| |
| 136 | ····const-string·p0,·"fullscreen" |
| |
143 | ····.line·75 | 137 | ····.line·72 |
| 138 | ····invoke-virtual·{v1,·p0,·p1},·Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V |
| |
| 139 | ····.line·73 |
144 | ····invoke-virtual·{v0,·v1},·Landroidx/fragment/app/Fragment;->setArguments(Landroid/os/Bundle;)V | 140 | ····invoke-virtual·{v0,·v1},·Landroidx/fragment/app/Fragment;->setArguments(Landroid/os/Bundle;)V |
| |
145 | ····return-object·v0 | 141 | ····return-object·v0 |
146 | .end·method | 142 | .end·method |
| |
| 143 | .method·private·updatePreference()V |
| 144 | ····.locals·2 |
| |
| 145 | ····.line·186 |
| 146 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
147 | #·virtual·methods | |
148 | .method·public·synthetic·lambda$new$0$MultiSelectListPreferenceFragment()Z | |
149 | ····.locals·1 | |
| |
150 | ····invoke-direct·{p0},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->lambda$new$0()Z | 147 | ····iget-object·v1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; |
| |
| 148 | ····invoke-virtual·{v0,·v1},·Landroidx/preference/Preference;->callChangeListener(Ljava/lang/Object;)Z |
| |
151 | ····move-result·v0 | 149 | ····move-result·v0 |
| |
| 150 | ····if-eqz·v0,·:cond_0 |
| |
| 151 | ····.line·187 |
| 152 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
| 153 | ····iget-object·v1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; |
| |
| 154 | ····invoke-virtual·{v0,·v1},·Landroidx/preference/MultiSelectListPreference;->setValues(Ljava/util/Set;)V |
| |
| 155 | ····:cond_0 |
152 | ····return·v0 | 156 | ····return-void |
153 | .end·method | 157 | .end·method |
| |
| |
| 158 | #·virtual·methods |
154 | .method·public·synthetic·lambda$onViewCreated$2$MultiSelectListPreferenceFragment(Ljava/lang/String;Lcom/android/car/ui/recyclerview/CarUiContentListItem;Z)V | 159 | .method·public·synthetic·lambda$onViewCreated$1$MultiSelectListPreferenceFragment(Ljava/lang/String;Lcom/android/car/ui/recyclerview/CarUiContentListItem;Z)V |
155 | ····.locals·0 | 160 | ····.locals·0 |
| |
156 | ····invoke-direct·{p0,·p1,·p2,·p3},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->lambda$onViewCreated$2(Ljava/lang/String;Lcom/android/car/ui/recyclerview/CarUiContentListItem;Z)V | 161 | ····invoke-direct·{p0,·p1,·p2,·p3},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->lambda$onViewCreated$1(Ljava/lang/String;Lcom/android/car/ui/recyclerview/CarUiContentListItem;Z)V |
| |
157 | ····return-void | 162 | ····return-void |
158 | .end·method | 163 | .end·method |
| |
159 | .method·public·onCarUiInsetsChanged(Lcom/android/car/ui/baselayout/Insets;)V | 164 | .method·public·onCarUiInsetsChanged(Lcom/android/car/ui/baselayout/Insets;)V |
160 | ····.locals·5 | 165 | ····.locals·5 |
| |
161 | ····.line·210 | 166 | ····.line·224 |
| 167 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mFullScreen:Z |
| |
| 168 | ····if-nez·v0,·:cond_0 |
| |
| 169 | ····return-void |
| |
| 170 | ····.line·227 |
| 171 | ····:cond_0 |
162 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->requireView()Landroid/view/View; | 172 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->requireView()Landroid/view/View; |
| |
163 | ····move-result-object·v0 | 173 | ····move-result-object·v0 |
| |
164 | ····.line·211 | 174 | ····.line·228 |
165 | ····sget·v1,·Lcom/android/car/ui/R$id;->list:I | 175 | ····sget·v1,·Lcom/android/car/ui/R$id;->list:I |
| |
166 | ····invoke-static·{v0,·v1},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 176 | ····invoke-static·{v0,·v1},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
167 | ····move-result-object·v1 | 177 | ····move-result-object·v1 |
| |
168 | ····.line·212 | 178 | ····.line·229 |
169 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getTop()I | 179 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getTop()I |
| |
170 | ····move-result·v2 | 180 | ····move-result·v2 |
| |
171 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getBottom()I | 181 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getBottom()I |
| |
172 | ····move-result·v3 | 182 | ····move-result·v3 |
| |
173 | ····const/4·v4,·0x0 | 183 | ····const/4·v4,·0x0 |
| |
174 | ····invoke-virtual·{v1,·v4,·v2,·v4,·v3},·Landroid/view/View;->setPadding(IIII)V | 184 | ····invoke-virtual·{v1,·v4,·v2,·v4,·v3},·Landroid/view/View;->setPadding(IIII)V |
| |
175 | ····.line·213 | 185 | ····.line·230 |
176 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getLeft()I | 186 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getLeft()I |
| |
177 | ····move-result·v1 | 187 | ····move-result·v1 |
| |
178 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getRight()I | 188 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getRight()I |
| |
| 189 | ····move-result·v2 |
| |
| 190 | ····invoke-virtual·{v0,·v1,·v4,·v2,·v4},·Landroid/view/View;->setPadding(IIII)V |
| |
| 191 | ····.line·231 |
| 192 | ····sget·v1,·Lcom/android/car/ui/R$id;->car_ui_focus_area:I |
| |
| 193 | ····invoke-virtual·{v0,·v1},·Landroid/view/View;->findViewById(I)Landroid/view/View; |
| |
| 194 | ····move-result-object·v0 |
| |
| 195 | ····check-cast·v0,·Lcom/android/car/ui/FocusArea; |
| |
| 196 | ····if-eqz·v0,·:cond_1 |
| |
| 197 | ····.line·233 |
| 198 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getTop()I |
| |
| 199 | ····move-result·v1 |
| |
| 200 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getBottom()I |
| |
| 201 | ····move-result·v2 |
| |
| 202 | ····invoke-virtual·{v0,·v4,·v1,·v4,·v2},·Lcom/android/car/ui/FocusArea;->setHighlightPadding(IIII)V |
| |
| 203 | ····.line·234 |
| 204 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getTop()I |
| |
| 205 | ····move-result·v1 |
| |
| 206 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getBottom()I |
| |
179 | ····move-result·p1 | 207 | ····move-result·p1 |
| |
180 | ····invoke-virtual·{v0,·v1,·v4,·p1,·v4},·Landroid/view/View;->setPadding(IIII)V | 208 | ····invoke-virtual·{v0,·v4,·v1,·v4,·p1},·Lcom/android/car/ui/FocusArea;->setBoundsOffset(IIII)V |
| |
| 209 | ····:cond_1 |
181 | ····return-void | 210 | ····return-void |
182 | .end·method | 211 | .end·method |
| |
183 | .method·public·onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View; | 212 | .method·public·onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View; |
184 | ····.locals·1 | 213 | ····.locals·1 |
| |
185 | ····.line·84 | 214 | ····.line·82 |
186 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; | 215 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; |
| |
187 | ····move-result-object·p3 | 216 | ····move-result-object·p3 |
| |
188 | ····invoke-static·{p3},·Lcom/android/car/ui/core/CarUi;->getToolbar(Landroid/app/Activity;)Lcom/android/car/ui/toolbar/ToolbarController; | 217 | ····invoke-static·{p3},·Lcom/android/car/ui/core/CarUi;->getToolbar(Landroid/app/Activity;)Lcom/android/car/ui/toolbar/ToolbarController; |
| |
189 | ····move-result-object·p3 | 218 | ····move-result-object·p3 |
| |
190 | ····const/4·v0,·0x0 | 219 | ····const/4·v0,·0x0 |
| |
191 | ····if-nez·p3,·:cond_0 | 220 | ····if-nez·p3,·:cond_0 |
| |
192 | ····.line·85 | 221 | ····.line·83 |
193 | ····sget·p3,·Lcom/android/car/ui/R$layout;->car_ui_list_preference_with_toolbar:I | 222 | ····sget·p3,·Lcom/android/car/ui/R$layout;->car_ui_list_preference_with_toolbar:I |
| |
194 | ····invoke-virtual·{p1,·p3,·p2,·v0},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View; | 223 | ····invoke-virtual·{p1,·p3,·p2,·v0},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View; |
| |
195 | ····move-result-object·p1 | 224 | ····move-result-object·p1 |
| |
196 | ····return-object·p1 | 225 | ····return-object·p1 |
| |
197 | ····.line·87 | 226 | ····.line·85 |
198 | ····:cond_0 | 227 | ····:cond_0 |
199 | ····sget·p3,·Lcom/android/car/ui/R$layout;->car_ui_list_preference:I | 228 | ····sget·p3,·Lcom/android/car/ui/R$layout;->car_ui_list_preference:I |
| |
200 | ····invoke-virtual·{p1,·p3,·p2,·v0},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View; | 229 | ····invoke-virtual·{p1,·p3,·p2,·v0},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View; |
| |
201 | ····move-result-object·p1 | 230 | ····move-result-object·p1 |
| |
202 | ····return-object·p1 | 231 | ····return-object·p1 |
203 | .end·method | 232 | .end·method |
| |
204 | .method·public·onStart()V | 233 | .method·public·onStart()V |
205 | ····.locals·2 | 234 | ····.locals·1 |
| |
206 | ····.line·163 | 235 | ····.line·172 |
207 | ····invoke-super·{p0},·Landroidx/fragment/app/Fragment;->onStart()V | 236 | ····invoke-super·{p0},·Landroidx/fragment/app/Fragment;->onStart()V |
| |
208 | ····.line·164 | 237 | ····.line·173 |
209 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; | |
| |
210 | ····iget-object·v1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mOnBackListener:Lcom/android/car/ui/toolbar/Toolbar$OnBackListener; | |
| |
211 | ····invoke-interface·{v0,·v1},·Lcom/android/car/ui/toolbar/ToolbarController;->registerOnBackListener(Lcom/android/car/ui/toolbar/Toolbar$OnBackListener;)V | |
| |
212 | ····.line·165 | |
213 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; | 238 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; |
| |
214 | ····move-result-object·v0 | 239 | ····move-result-object·v0 |
| |
215 | ····invoke-static·{v0},·Lcom/android/car/ui/core/CarUi;->getInsets(Landroid/app/Activity;)Lcom/android/car/ui/baselayout/Insets; | 240 | ····invoke-static·{v0},·Lcom/android/car/ui/core/CarUi;->getInsets(Landroid/app/Activity;)Lcom/android/car/ui/baselayout/Insets; |
| |
216 | ····move-result-object·v0 | 241 | ····move-result-object·v0 |
| |
217 | ····if-eqz·v0,·:cond_0 | 242 | ····if-eqz·v0,·:cond_0 |
| |
218 | ····.line·167 | 243 | ····.line·175 |
219 | ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->onCarUiInsetsChanged(Lcom/android/car/ui/baselayout/Insets;)V | 244 | ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->onCarUiInsetsChanged(Lcom/android/car/ui/baselayout/Insets;)V |
| |
220 | ····:cond_0 | 245 | ····:cond_0 |
221 | ····return-void | 246 | ····return-void |
222 | .end·method | 247 | .end·method |
| |
223 | .method·public·onStop()V | 248 | .method·public·onStop()V |
224 | ····.locals·2 | 249 | ····.locals·0 |
| |
225 | ····.line·173 | 250 | ····.line·181 |
226 | ····invoke-super·{p0},·Landroidx/fragment/app/Fragment;->onStop()V | 251 | ····invoke-super·{p0},·Landroidx/fragment/app/Fragment;->onStop()V |
| |
227 | ····.line·174 | 252 | ····.line·182 |
| 253 | ····invoke-direct·{p0},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->updatePreference()V |
228 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; | |
| |
229 | ····iget-object·v1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mOnBackListener:Lcom/android/car/ui/toolbar/Toolbar$OnBackListener; | |
| |
230 | ····invoke-interface·{v0,·v1},·Lcom/android/car/ui/toolbar/ToolbarController;->unregisterOnBackListener(Lcom/android/car/ui/toolbar/Toolbar$OnBackListener;)Z | |
| |
231 | ····return-void | 254 | ····return-void |
232 | .end·method | 255 | .end·method |
| |
233 | .method·public·onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V | 256 | .method·public·onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V |
234 | ····.locals·8 | 257 | ····.locals·8 |
| |
235 | ····.line·93 | 258 | ····.line·91 |
236 | ····invoke-super·{p0,·p1,·p2},·Landroidx/fragment/app/Fragment;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V | 259 | ····invoke-super·{p0,·p1,·p2},·Landroidx/fragment/app/Fragment;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V |
| |
237 | ····.line·94 | 260 | ····.line·92 |
238 | ····sget·p2,·Lcom/android/car/ui/R$id;->list:I | 261 | ····sget·p2,·Lcom/android/car/ui/R$id;->list:I |
| |
239 | ····invoke-static·{p1,·p2},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 262 | ····invoke-static·{p1,·p2},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
240 | ····move-result-object·p2 | 263 | ····move-result-object·p2 |
| |
241 | ····check-cast·p2,·Lcom/android/car/ui/recyclerview/CarUiRecyclerView; | 264 | ····check-cast·p2,·Lcom/android/car/ui/recyclerview/CarUiRecyclerView; |
| |
242 | ····.line·95 | 265 | ····.line·93 |
| 266 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->requireArguments()Landroid/os/Bundle; |
| |
| 267 | ····move-result-object·v0 |
| |
| 268 | ····const-string·v1,·"fullscreen" |
| |
| 269 | ····const/4·v2,·0x1 |
| |
| 270 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z |
| |
| 271 | ····move-result·v0 |
| |
| 272 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mFullScreen:Z |
| |
| 273 | ····if-eqz·v0,·:cond_0 |
| |
| 274 | ····.line·94 |
243 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->requireActivity()Landroidx/fragment/app/FragmentActivity; | 275 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->requireActivity()Landroidx/fragment/app/FragmentActivity; |
| |
244 | ····move-result-object·v0 | 276 | ····move-result-object·v0 |
| |
245 | ····invoke-static·{v0},·Lcom/android/car/ui/core/CarUi;->getToolbar(Landroid/app/Activity;)Lcom/android/car/ui/toolbar/ToolbarController; | 277 | ····invoke-static·{v0},·Lcom/android/car/ui/core/CarUi;->getToolbar(Landroid/app/Activity;)Lcom/android/car/ui/toolbar/ToolbarController; |
| |
246 | ····move-result-object·v0 | 278 | ····move-result-object·v0 |
| |
| 279 | ····goto·:goto_0 |
| |
| 280 | ····:cond_0 |
| 281 | ····const/4·v0,·0x0 |
| |
| 282 | ····:goto_0 |
247 | ····iput-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; | 283 | ····iput-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; |
| |
248 | ····const/4·v1,·0x0 | 284 | ····const/4·v1,·0x0 |
| |
249 | ····if-nez·v0,·:cond_0 | 285 | ····if-nez·v0,·:cond_1 |
| |
250 | ····.line·99 | 286 | ····.line·98 |
251 | ····sget·v0,·Lcom/android/car/ui/R$id;->toolbar:I | 287 | ····sget·v0,·Lcom/android/car/ui/R$id;->toolbar:I |
| |
252 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 288 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->findViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
253 | ····move-result-object·p1 | 289 | ····move-result-object·v0 |
| |
| 290 | ····check-cast·v0,·Lcom/android/car/ui/toolbar/Toolbar; |
| |
254 | ····check-cast·p1,·Lcom/android/car/ui/toolbar/Toolbar; | 291 | ····.line·99 |
| 292 | ····iput-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; |
| |
| 293 | ····if-eqz·v0,·:cond_1 |
255 | ····.line·100 | |
256 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; | |
| |
257 | ····.line·102 | 294 | ····.line·102 |
258 | ····invoke-virtual·{p1},·Landroid/widget/FrameLayout;->getHeight()I | 295 | ····invoke-virtual·{v0},·Landroid/widget/FrameLayout;->getHeight()I |
| |
259 | ····move-result·v0 | 296 | ····move-result·v2 |
| |
260 | ····invoke-virtual·{p2,·v1,·v0,·v1,·v1},·Lcom/android/car/ui/recyclerview/CarUiRecyclerView;->setPadding(IIII)V | 297 | ····invoke-virtual·{p2,·v1,·v2,·v1,·v1},·Lcom/android/car/ui/recyclerview/CarUiRecyclerView;->setPadding(IIII)V |
| |
261 | ····.line·103 | 298 | ····.line·103 |
262 | ····new-instance·v0,·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$bAsYoQPEdtCgEVoIskLdwVvGmWA; | 299 | ····new-instance·v2,·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$2pkVfg6YNXu7IADFdL2cnseBNTc; |
| |
263 | ····invoke-direct·{v0,·p2},·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$bAsYoQPEdtCgEVoIskLdwVvGmWA;-><init>(Lcom/android/car/ui/recyclerview/CarUiRecyclerView;)V | 300 | ····invoke-direct·{v2,·p2,·p1},·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$2pkVfg6YNXu7IADFdL2cnseBNTc;-><init>(Lcom/android/car/ui/recyclerview/CarUiRecyclerView;Landroid/view/View;)V |
| |
264 | ····invoke-virtual·{p1,·v0},·Lcom/android/car/ui/toolbar/Toolbar;->registerToolbarHeightChangeListener(Lcom/android/car/ui/toolbar/Toolbar$OnHeightChangedListener;)V | 301 | ····invoke-virtual·{v0,·v2},·Lcom/android/car/ui/toolbar/Toolbar;->registerToolbarHeightChangeListener(Lcom/android/car/ui/toolbar/Toolbar$OnHeightChangedListener;)V |
| |
265 | ····.line·114 | 302 | ····.line·121 |
266 | ····:cond_0 | 303 | ····:cond_1 |
267 | ····invoke-direct·{p0},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->getPreference()Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 304 | ····invoke-direct·{p0},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->getPreference()Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
268 | ····move-result-object·p1 | 305 | ····move-result-object·p1 |
| |
269 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 306 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
270 | ····.line·116 | 307 | ····.line·123 |
271 | ····invoke-virtual·{p2,·v1},·Landroidx/recyclerview/widget/RecyclerView;->setClipToPadding(Z)V | 308 | ····invoke-virtual·{p2,·v1},·Landroidx/recyclerview/widget/RecyclerView;->setClipToPadding(Z)V |
| |
272 | ····.line·117 | 309 | ····.line·124 |
273 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; | 310 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; |
| |
| 311 | ····if-eqz·p1,·:cond_2 |
| |
| 312 | ····.line·125 |
274 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 313 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
275 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; | 314 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; |
| |
276 | ····move-result-object·v0 | 315 | ····move-result-object·v0 |
| |
277 | ····invoke-interface·{p1,·v0},·Lcom/android/car/ui/toolbar/ToolbarController;->setTitle(Ljava/lang/CharSequence;)V | 316 | ····invoke-interface·{p1,·v0},·Lcom/android/car/ui/toolbar/ToolbarController;->setTitle(Ljava/lang/CharSequence;)V |
| |
278 | ····.line·118 | 317 | ····.line·126 |
279 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; | 318 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; |
| |
280 | ····sget-object·v0,·Lcom/android/car/ui/toolbar/Toolbar$State;->SUBPAGE:Lcom/android/car/ui/toolbar/Toolbar$State; | 319 | ····sget-object·v0,·Lcom/android/car/ui/toolbar/Toolbar$State;->SUBPAGE:Lcom/android/car/ui/toolbar/Toolbar$State; |
| |
281 | ····invoke-interface·{p1,·v0},·Lcom/android/car/ui/toolbar/ToolbarController;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V | 320 | ····invoke-interface·{p1,·v0},·Lcom/android/car/ui/toolbar/ToolbarController;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V |
| |
282 | ····.line·120 | 321 | ····.line·129 |
| 322 | ····:cond_2 |
283 | ····new-instance·p1,·Ljava/util/HashSet; | 323 | ····new-instance·p1,·Ljava/util/HashSet; |
| |
284 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 324 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
285 | ····invoke-virtual·{v0},·Landroidx/preference/MultiSelectListPreference;->getValues()Ljava/util/Set; | 325 | ····invoke-virtual·{v0},·Landroidx/preference/MultiSelectListPreference;->getValues()Ljava/util/Set; |
| |
286 | ····move-result-object·v0 | 326 | ····move-result-object·v0 |
| |
287 | ····invoke-direct·{p1,·v0},·Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V | 327 | ····invoke-direct·{p1,·v0},·Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V |
| |
288 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; | 328 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; |
| |
289 | ····.line·121 | 329 | ····.line·130 |
290 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 330 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
291 | ····invoke-virtual·{p1},·Landroidx/preference/MultiSelectListPreference;->getEntries()[Ljava/lang/CharSequence; | 331 | ····invoke-virtual·{p1},·Landroidx/preference/MultiSelectListPreference;->getEntries()[Ljava/lang/CharSequence; |
| |
292 | ····move-result-object·p1 | 332 | ····move-result-object·p1 |
| |
293 | ····.line·122 | 333 | ····.line·131 |
294 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 334 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
295 | ····invoke-virtual·{v0},·Landroidx/preference/MultiSelectListPreference;->getEntryValues()[Ljava/lang/CharSequence; | 335 | ····invoke-virtual·{v0},·Landroidx/preference/MultiSelectListPreference;->getEntryValues()[Ljava/lang/CharSequence; |
| |
296 | ····move-result-object·v0 | 336 | ····move-result-object·v0 |
| |
297 | ····if-eqz·p1,·:cond_3 | 337 | ····if-eqz·p1,·:cond_5 |
| |
298 | ····if-eqz·v0,·:cond_3 | 338 | ····if-eqz·v0,·:cond_5 |
| |
299 | ····.line·130 | 339 | ····.line·139 |
300 | ····array-length·v2,·p1 | 340 | ····array-length·v2,·p1 |
| |
301 | ····array-length·v3,·v0 | 341 | ····array-length·v3,·v0 |
| |
302 | ····if-ne·v2,·v3,·:cond_2 | 342 | ····if-ne·v2,·v3,·:cond_4 |
| |
303 | ····.line·136 | 343 | ····.line·145 |
304 | ····new-instance·v2,·Ljava/util/ArrayList; | 344 | ····new-instance·v2,·Ljava/util/ArrayList; |
| |
305 | ····invoke-direct·{v2},·Ljava/util/ArrayList;-><init>()V | 345 | ····invoke-direct·{v2},·Ljava/util/ArrayList;-><init>()V |
| |
306 | ····.line·137 | 346 | ····.line·146 |
307 | ····iget-object·v3,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 347 | ····iget-object·v3,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
308 | ····invoke-virtual·{v3},·Lcom/android/car/ui/preference/CarUiMultiSelectListPreference;->getSelectedItems()[Z | 348 | ····invoke-virtual·{v3},·Lcom/android/car/ui/preference/CarUiMultiSelectListPreference;->getSelectedItems()[Z |
| |
309 | ····move-result-object·v3 | 349 | ····move-result-object·v3 |
| |
310 | ····.line·139 | 350 | ····.line·148 |
311 | ····:goto_0 | 351 | ····:goto_1 |
312 | ····array-length·v4,·p1 | 352 | ····array-length·v4,·p1 |
| |
313 | ····if-ge·v1,·v4,·:cond_1 | 353 | ····if-ge·v1,·v4,·:cond_3 |
| |
314 | ····.line·140 | 354 | ····.line·149 |
315 | ····aget-object·v4,·p1,·v1 | 355 | ····aget-object·v4,·p1,·v1 |
| |
316 | ····invoke-interface·{v4},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 356 | ····invoke-interface·{v4},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
| |
317 | ····move-result-object·v4 | 357 | ····move-result-object·v4 |
| |
318 | ····.line·141 | 358 | ····.line·150 |
319 | ····aget-object·v5,·v0,·v1 | 359 | ····aget-object·v5,·v0,·v1 |
| |
320 | ····invoke-interface·{v5},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 360 | ····invoke-interface·{v5},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
| |
321 | ····move-result-object·v5 | 361 | ····move-result-object·v5 |
| |
322 | ····.line·142 | 362 | ····.line·151 |
323 | ····new-instance·v6,·Lcom/android/car/ui/recyclerview/CarUiContentListItem; | 363 | ····new-instance·v6,·Lcom/android/car/ui/recyclerview/CarUiContentListItem; |
| |
324 | ····sget-object·v7,·Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action;->CHECK_BOX:Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action; | 364 | ····sget-object·v7,·Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action;->CHECK_BOX:Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action; |
| |
325 | ····invoke-direct·{v6,·v7},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;-><init>(Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action;)V | 365 | ····invoke-direct·{v6,·v7},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;-><init>(Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action;)V |
| |
326 | ····.line·144 | 366 | ····.line·153 |
327 | ····invoke-virtual·{v6,·v4},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;->setTitle(Ljava/lang/CharSequence;)V | 367 | ····invoke-virtual·{v6,·v4},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;->setTitle(Ljava/lang/CharSequence;)V |
| |
328 | ····.line·145 | 368 | ····.line·154 |
329 | ····aget-boolean·v4,·v3,·v1 | 369 | ····aget-boolean·v4,·v3,·v1 |
| |
330 | ····invoke-virtual·{v6,·v4},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;->setChecked(Z)V | 370 | ····invoke-virtual·{v6,·v4},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;->setChecked(Z)V |
| |
331 | ····.line·146 | 371 | ····.line·155 |
332 | ····new-instance·v4,·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$JDti6kjKbW6VgsltSAeZMrL8CLI; | 372 | ····new-instance·v4,·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$YnepC-0onrBWA20eSGEJPNKYYWk; |
| |
333 | ····invoke-direct·{v4,·p0,·v5},·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$JDti6kjKbW6VgsltSAeZMrL8CLI;-><init>(Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;Ljava/lang/String;)V | 373 | ····invoke-direct·{v4,·p0,·v5},·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$YnepC-0onrBWA20eSGEJPNKYYWk;-><init>(Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;Ljava/lang/String;)V |
| |
334 | ····invoke-virtual·{v6,·v4},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;->setOnCheckedChangeListener(Lcom/android/car/ui/recyclerview/CarUiContentListItem$OnCheckedChangeListener;)V | 374 | ····invoke-virtual·{v6,·v4},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;->setOnCheckedChangeListener(Lcom/android/car/ui/recyclerview/CarUiContentListItem$OnCheckedChangeListener;)V |
| |
335 | ····.line·154 | 375 | ····.line·163 |
336 | ····invoke-interface·{v2,·v6},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 376 | ····invoke-interface·{v2,·v6},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
| |
337 | ····add-int/lit8·v1,·v1,·0x1 | 377 | ····add-int/lit8·v1,·v1,·0x1 |
| |
338 | ····goto·:goto_0 | 378 | ····goto·:goto_1 |
| |
339 | ····.line·157 | 379 | ····.line·166 |
340 | ····:cond_1 | 380 | ····:cond_3 |
341 | ····new-instance·p1,·Lcom/android/car/ui/recyclerview/CarUiListItemAdapter; | 381 | ····new-instance·p1,·Lcom/android/car/ui/recyclerview/CarUiListItemAdapter; |
| |
342 | ····invoke-direct·{p1,·v2},·Lcom/android/car/ui/recyclerview/CarUiListItemAdapter;-><init>(Ljava/util/List;)V | 382 | ····invoke-direct·{p1,·v2},·Lcom/android/car/ui/recyclerview/CarUiListItemAdapter;-><init>(Ljava/util/List;)V |
| |
343 | ····.line·158 | 383 | ····.line·167 |
344 | ····invoke-virtual·{p2,·p1},·Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V | 384 | ····invoke-virtual·{p2,·p1},·Lcom/android/car/ui/recyclerview/CarUiRecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V |
| |
345 | ····return-void | 385 | ····return-void |
| |
346 | ····.line·131 | 386 | ····.line·140 |
347 | ····:cond_2 | 387 | ····:cond_4 |
348 | ····new-instance·p1,·Ljava/lang/IllegalStateException; | 388 | ····new-instance·p1,·Ljava/lang/IllegalStateException; |
| |
349 | ····const-string·p2,·"MultiSelectListPreference·entries·array·length·does·not·match·entryValues·array·length." | 389 | ····const-string·p2,·"MultiSelectListPreference·entries·array·length·does·not·match·entryValues·array·length." |
| |
350 | ····invoke-direct·{p1,·p2},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V | 390 | ····invoke-direct·{p1,·p2},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |
351 | ····throw·p1 | 391 | ····throw·p1 |
| |
352 | ····.line·125 | 392 | ····.line·134 |
353 | ····:cond_3 | 393 | ····:cond_5 |
354 | ····new-instance·p1,·Ljava/lang/IllegalStateException; | 394 | ····new-instance·p1,·Ljava/lang/IllegalStateException; |
| |
355 | ····const-string·p2,·"MultiSelectListPreference·requires·an·entries·array·and·an·entryValues·array." | 395 | ····const-string·p2,·"MultiSelectListPreference·requires·an·entries·array·and·an·entryValues·array." |
| |
356 | ····invoke-direct·{p1,·p2},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V | 396 | ····invoke-direct·{p1,·p2},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |
357 | ····throw·p1 | 397 | ····throw·p1 |