| | | |
Offset 13, 281 lines modified | Offset 13, 260 lines modified |
13 | ············"Ljava/util/Set<", | 13 | ············"Ljava/util/Set<", |
14 | ············"Ljava/lang/String;", | 14 | ············"Ljava/lang/String;", |
15 | ············">;" | 15 | ············">;" |
16 | ········} | 16 | ········} |
17 | ····.end·annotation | 17 | ····.end·annotation |
18 | .end·field | 18 | .end·field |
| |
19 | .field·private·final·mOnBackListener:Lcom/android/car/ui/toolbar/Toolbar$OnBackListener; | |
| |
20 | .field·private·mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 19 | .field·private·mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
21 | .field·private·mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; | 20 | .field·private·mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; |
| |
| |
22 | #·direct·methods | 21 | #·direct·methods |
23 | .method·public·constructor·<init>()V | 22 | .method·public·constructor·<init>()V |
24 | ····.locals·1 | 23 | ····.locals·0 |
| |
25 | ····.line·53 | 24 | ····.line·53 |
26 | ····invoke-direct·{p0},·Landroidx/fragment/app/Fragment;-><init>()V | 25 | ····invoke-direct·{p0},·Landroidx/fragment/app/Fragment;-><init>()V |
| |
27 | ····.line·58 | |
28 | ····new-instance·v0,·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$AuutMM3kfeiAFOGhqlxRLAvB8o0; | |
| |
29 | ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$AuutMM3kfeiAFOGhqlxRLAvB8o0;-><init>(Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;)V | |
| |
30 | ····iput-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mOnBackListener:Lcom/android/car/ui/toolbar/Toolbar$OnBackListener; | |
| |
31 | ····return-void | 26 | ····return-void |
32 | .end·method | 27 | .end·method |
| |
33 | .method·private·getPreference()Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 28 | .method·private·getPreference()Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
34 | ····.locals·2 | 29 | ····.locals·2 |
| |
35 | ····.line·178 | 30 | ····.line·176 |
36 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; | 31 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; |
| |
37 | ····move-result-object·v0 | 32 | ····move-result-object·v0 |
| |
38 | ····if-eqz·v0,·:cond_3 | 33 | ····if-eqz·v0,·:cond_3 |
| |
39 | ····.line·182 | 34 | ····.line·180 |
40 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; | 35 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle; |
| |
41 | ····move-result-object·v0 | 36 | ····move-result-object·v0 |
| |
42 | ····const-string·v1,·"key" | 37 | ····const-string·v1,·"key" |
| |
43 | ····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; |
| |
44 | ····move-result-object·v0 | 39 | ····move-result-object·v0 |
| |
45 | ····.line·184 | 40 | ····.line·182 |
46 | ····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; |
| |
47 | ····move-result-object·v1 | 42 | ····move-result-object·v1 |
| |
48 | ····check-cast·v1,·Landroidx/preference/DialogPreference$TargetFragment; | 43 | ····check-cast·v1,·Landroidx/preference/DialogPreference$TargetFragment; |
| |
49 | ····if-eqz·v0,·:cond_2 | 44 | ····if-eqz·v0,·:cond_2 |
| |
50 | ····if-eqz·v1,·:cond_1 | 45 | ····if-eqz·v1,·:cond_1 |
| |
51 | ····.line·197 | 46 | ····.line·195 |
52 | ····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; |
| |
53 | ····move-result-object·v0 | 48 | ····move-result-object·v0 |
| |
54 | ····.line·199 | 49 | ····.line·197 |
55 | ····instance-of·v1,·v0,·Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 50 | ····instance-of·v1,·v0,·Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
56 | ····if-eqz·v1,·:cond_0 | 51 | ····if-eqz·v1,·:cond_0 |
| |
57 | ····.line·205 | 52 | ····.line·203 |
58 | ····check-cast·v0,·Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 53 | ····check-cast·v0,·Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
59 | ····return-object·v0 | 54 | ····return-object·v0 |
| |
60 | ····.line·200 | 55 | ····.line·198 |
61 | ····:cond_0 | 56 | ····:cond_0 |
62 | ····new-instance·v0,·Ljava/lang/IllegalStateException; | 57 | ····new-instance·v0,·Ljava/lang/IllegalStateException; |
| |
63 | ····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" |
| |
64 | ····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 |
| |
65 | ····throw·v0 | 60 | ····throw·v0 |
| |
66 | ····.line·192 | 61 | ····.line·190 |
67 | ····:cond_1 | 62 | ····:cond_1 |
68 | ····new-instance·v0,·Ljava/lang/IllegalStateException; | 63 | ····new-instance·v0,·Ljava/lang/IllegalStateException; |
| |
69 | ····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." |
| |
70 | ····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 |
| |
71 | ····throw·v0 | 66 | ····throw·v0 |
| |
72 | ····.line·187 | 67 | ····.line·185 |
73 | ····:cond_2 | 68 | ····:cond_2 |
74 | ····new-instance·v0,·Ljava/lang/IllegalStateException; | 69 | ····new-instance·v0,·Ljava/lang/IllegalStateException; |
| |
75 | ····const-string·v1,·"MultiSelectListPreference·key·not·found·in·Fragment·arguments" | 70 | ····const-string·v1,·"MultiSelectListPreference·key·not·found·in·Fragment·arguments" |
| |
76 | ····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 |
| |
77 | ····throw·v0 | 72 | ····throw·v0 |
| |
78 | ····.line·179 | 73 | ····.line·177 |
79 | ····:cond_3 | 74 | ····:cond_3 |
80 | ····new-instance·v0,·Ljava/lang/IllegalStateException; | 75 | ····new-instance·v0,·Ljava/lang/IllegalStateException; |
| |
81 | ····const-string·v1,·"Preference·arguments·cannot·be·null" | 76 | ····const-string·v1,·"Preference·arguments·cannot·be·null" |
| |
82 | ····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 |
| |
83 | ····throw·v0 | 78 | ····throw·v0 |
84 | .end·method | 79 | .end·method |
| |
85 | .method·private·synthetic·lambda$new$0()Z | 80 | .method·static·synthetic·lambda$onViewCreated$0(Lcom/android/car/ui/recyclerview/CarUiRecyclerView;I)V |
86 | ····.locals·2 | 81 | ····.locals·2 |
| |
87 | ····.line·59 | 82 | ····.line·97 |
88 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | |
| |
89 | ····iget-object·v1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; | |
| |
90 | ····invoke-virtual·{v0,·v1},·Landroidx/preference/Preference;->callChangeListener(Ljava/lang/Object;)Z | |
| |
91 | ····move-result·v0 | |
| |
92 | ····if-eqz·v0,·:cond_0 | |
| |
93 | ····.line·60 | |
94 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | |
| |
95 | ····iget-object·v1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; | |
| |
96 | ····invoke-virtual·{v0,·v1},·Landroidx/preference/MultiSelectListPreference;->setValues(Ljava/util/Set;)V | |
| |
97 | ····:cond_0 | |
98 | ····const/4·v0,·0x0 | |
| |
99 | ····return·v0 | |
100 | .end·method | |
| |
101 | .method·static·synthetic·lambda$onViewCreated$1(Lcom/android/car/ui/recyclerview/CarUiRecyclerView;I)V | |
102 | ····.locals·2 | |
| |
103 | ····.line·104 | |
104 | ····invoke-virtual·{p0},·Landroid/view/ViewGroup;->getPaddingTop()I | 83 | ····invoke-virtual·{p0},·Landroid/view/ViewGroup;->getPaddingTop()I |
| |
105 | ····move-result·v0 | 84 | ····move-result·v0 |
| |
106 | ····if-ne·v0,·p1,·:cond_0 | 85 | ····if-ne·v0,·p1,·:cond_0 |
| |
107 | ····return-void | 86 | ····return-void |
| |
108 | ····.line·108 | 87 | ····.line·101 |
109 | ····:cond_0 | 88 | ····:cond_0 |
110 | ····invoke-virtual·{p0},·Landroid/view/ViewGroup;->getPaddingTop()I | 89 | ····invoke-virtual·{p0},·Landroid/view/ViewGroup;->getPaddingTop()I |
| |
111 | ····move-result·v0 | 90 | ····move-result·v0 |
| |
112 | ····const/4·v1,·0x0 | 91 | ····const/4·v1,·0x0 |
| |
113 | ····.line·109 | 92 | ····.line·102 |
114 | ····invoke-virtual·{p0,·v1,·p1,·v1,·v1},·Lcom/android/car/ui/recyclerview/CarUiRecyclerView;->setPadding(IIII)V | 93 | ····invoke-virtual·{p0,·v1,·p1,·v1,·v1},·Lcom/android/car/ui/recyclerview/CarUiRecyclerView;->setPadding(IIII)V |
| |
115 | ····sub-int/2addr·v0,·p1 | 94 | ····sub-int/2addr·v0,·p1 |
| |
116 | ····.line·110 | 95 | ····.line·103 |
117 | ····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 |
| |
118 | ····return-void | 97 | ····return-void |
119 | .end·method | 98 | .end·method |
| |
120 | .method·private·synthetic·lambda$onViewCreated$2(Ljava/lang/String;Lcom/android/car/ui/recyclerview/CarUiContentListItem;Z)V | 99 | .method·private·synthetic·lambda$onViewCreated$1(Ljava/lang/String;Lcom/android/car/ui/recyclerview/CarUiContentListItem;Z)V |
121 | ····.locals·0 | 100 | ····.locals·0 |
| |
122 | ····if-eqz·p3,·:cond_0 | 101 | ····if-eqz·p3,·:cond_0 |
| |
123 | ····.line·148 | 102 | ····.line·141 |
124 | ····iget-object·p2,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; | 103 | ····iget-object·p2,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; |
| |
125 | ····invoke-interface·{p2,·p1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z | 104 | ····invoke-interface·{p2,·p1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z |
| |
126 | ····goto·:goto_0 | 105 | ····goto·:goto_0 |
| |
127 | ····.line·150 | 106 | ····.line·143 |
128 | ····:cond_0 | 107 | ····:cond_0 |
129 | ····iget-object·p2,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; | 108 | ····iget-object·p2,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; |
| |
130 | ····invoke-interface·{p2,·p1},·Ljava/util/Set;->remove(Ljava/lang/Object;)Z | 109 | ····invoke-interface·{p2,·p1},·Ljava/util/Set;->remove(Ljava/lang/Object;)Z |
| |
131 | ····:goto_0 | 110 | ····:goto_0 |
132 | ····return-void | 111 | ····return-void |
133 | .end·method | 112 | .end·method |
| |
134 | .method·static·newInstance(Ljava/lang/String;)Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment; | 113 | .method·static·newInstance(Ljava/lang/String;)Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment; |
135 | ····.locals·3 | 114 | ····.locals·3 |
| |
136 | ····.line·72 | 115 | ····.line·65 |
137 | ····new-instance·v0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment; | 116 | ····new-instance·v0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment; |
| |
138 | ····invoke-direct·{v0},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;-><init>()V | 117 | ····invoke-direct·{v0},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;-><init>()V |
| |
139 | ····.line·73 | 118 | ····.line·66 |
140 | ····new-instance·v1,·Landroid/os/Bundle; | 119 | ····new-instance·v1,·Landroid/os/Bundle; |
| |
141 | ····const/4·v2,·0x1 | 120 | ····const/4·v2,·0x1 |
| |
142 | ····invoke-direct·{v1,·v2},·Landroid/os/Bundle;-><init>(I)V | 121 | ····invoke-direct·{v1,·v2},·Landroid/os/Bundle;-><init>(I)V |
| |
143 | ····const-string·v2,·"key" | 122 | ····const-string·v2,·"key" |
| |
144 | ····.line·74 | 123 | ····.line·67 |
145 | ····invoke-virtual·{v1,·v2,·p0},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 124 | ····invoke-virtual·{v1,·v2,·p0},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
| |
146 | ····.line·75 | 125 | ····.line·68 |
147 | ····invoke-virtual·{v0,·v1},·Landroidx/fragment/app/Fragment;->setArguments(Landroid/os/Bundle;)V | 126 | ····invoke-virtual·{v0,·v1},·Landroidx/fragment/app/Fragment;->setArguments(Landroid/os/Bundle;)V |
| |
148 | ····return-object·v0 | 127 | ····return-object·v0 |
149 | .end·method | 128 | .end·method |
| |
| 129 | .method·private·updatePreference()V |
| 130 | ····.locals·2 |
| |
150 | #·virtual·methods | 131 | ····.line·170 |
151 | .method·public·synthetic·lambda$new$0$MultiSelectListPreferenceFragment()Z | 132 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
152 | ····.locals·1 | |
| |
153 | ····invoke-direct·{p0},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->lambda$new$0()Z | 133 | ····iget-object·v1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; |
| |
| 134 | ····invoke-virtual·{v0,·v1},·Landroidx/preference/Preference;->callChangeListener(Ljava/lang/Object;)Z |
| |
154 | ····move-result·v0 | 135 | ····move-result·v0 |
| |
155 | ····return·v0 | 136 | ····if-eqz·v0,·:cond_0 |
| |
| 137 | ····.line·171 |
| 138 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
| 139 | ····iget-object·v1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; |
| |
| 140 | ····invoke-virtual·{v0,·v1},·Landroidx/preference/MultiSelectListPreference;->setValues(Ljava/util/Set;)V |
| |
| 141 | ····:cond_0 |
| 142 | ····return-void |
156 | .end·method | 143 | .end·method |
| |
157 | .method·public·synthetic·lambda$onViewCreated$2$MultiSelectListPreferenceFragment(Ljava/lang/String;Lcom/android/car/ui/recyclerview/CarUiContentListItem;Z)V | |
| 144 | #·virtual·methods |
| 145 | .method·public·synthetic·lambda$onViewCreated$1$MultiSelectListPreferenceFragment(Ljava/lang/String;Lcom/android/car/ui/recyclerview/CarUiContentListItem;Z)V |
158 | ····.locals·0 | 146 | ····.locals·0 |
| |
159 | ····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 | 147 | ····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 |
| |
160 | ····return-void | 148 | ····return-void |
161 | .end·method | 149 | .end·method |
| |
162 | .method·public·onCarUiInsetsChanged(Lcom/android/car/ui/baselayout/Insets;)V | 150 | .method·public·onCarUiInsetsChanged(Lcom/android/car/ui/baselayout/Insets;)V |
163 | ····.locals·5 | 151 | ····.locals·5 |
| |
164 | ····.line·210 | 152 | ····.line·208 |
165 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->requireView()Landroid/view/View; | 153 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->requireView()Landroid/view/View; |
| |
166 | ····move-result-object·v0 | 154 | ····move-result-object·v0 |
| |
167 | ····.line·211 | 155 | ····.line·209 |
168 | ····sget·v1,·Lcom/android/car/ui/R$id;->list:I | 156 | ····sget·v1,·Lcom/android/car/ui/R$id;->list:I |
| |
169 | ····invoke-static·{v0,·v1},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 157 | ····invoke-static·{v0,·v1},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
170 | ····move-result-object·v1 | 158 | ····move-result-object·v1 |
| |
171 | ····.line·212 | 159 | ····.line·210 |
172 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getTop()I | 160 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getTop()I |
| |
173 | ····move-result·v2 | 161 | ····move-result·v2 |
| |
174 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getBottom()I | 162 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getBottom()I |
| |
175 | ····move-result·v3 | 163 | ····move-result·v3 |
| |
176 | ····const/4·v4,·0x0 | 164 | ····const/4·v4,·0x0 |
| |
177 | ····invoke-virtual·{v1,·v4,·v2,·v4,·v3},·Landroid/view/View;->setPadding(IIII)V | 165 | ····invoke-virtual·{v1,·v4,·v2,·v4,·v3},·Landroid/view/View;->setPadding(IIII)V |
| |
178 | ····.line·213 | 166 | ····.line·211 |
179 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getLeft()I | 167 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getLeft()I |
| |
180 | ····move-result·v1 | 168 | ····move-result·v1 |
| |
181 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getRight()I | 169 | ····invoke-virtual·{p1},·Lcom/android/car/ui/baselayout/Insets;->getRight()I |
| |
182 | ····move-result·p1 | 170 | ····move-result·p1 |
Offset 296, 300 lines modified | Offset 275, 289 lines modified |
| |
296 | ····return-void | 275 | ····return-void |
297 | .end·method | 276 | .end·method |
| |
298 | .method·public·onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View; | 277 | .method·public·onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View; |
299 | ····.locals·1 | 278 | ····.locals·1 |
| |
300 | ····.line·84 | 279 | ····.line·77 |
301 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; | 280 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; |
| |
302 | ····move-result-object·p3 | 281 | ····move-result-object·p3 |
| |
303 | ····invoke-static·{p3},·Lcom/android/car/ui/core/CarUi;->getToolbar(Landroid/app/Activity;)Lcom/android/car/ui/toolbar/ToolbarController; | 282 | ····invoke-static·{p3},·Lcom/android/car/ui/core/CarUi;->getToolbar(Landroid/app/Activity;)Lcom/android/car/ui/toolbar/ToolbarController; |
| |
304 | ····move-result-object·p3 | 283 | ····move-result-object·p3 |
| |
305 | ····const/4·v0,·0x0 | 284 | ····const/4·v0,·0x0 |
| |
306 | ····if-nez·p3,·:cond_0 | 285 | ····if-nez·p3,·:cond_0 |
| |
307 | ····.line·85 | 286 | ····.line·78 |
308 | ····sget·p3,·Lcom/android/car/ui/R$layout;->car_ui_list_preference_with_toolbar:I | 287 | ····sget·p3,·Lcom/android/car/ui/R$layout;->car_ui_list_preference_with_toolbar:I |
| |
309 | ····invoke-virtual·{p1,·p3,·p2,·v0},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View; | 288 | ····invoke-virtual·{p1,·p3,·p2,·v0},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View; |
| |
310 | ····move-result-object·p1 | 289 | ····move-result-object·p1 |
| |
311 | ····return-object·p1 | 290 | ····return-object·p1 |
| |
312 | ····.line·87 | 291 | ····.line·80 |
313 | ····:cond_0 | 292 | ····:cond_0 |
314 | ····sget·p3,·Lcom/android/car/ui/R$layout;->car_ui_list_preference:I | 293 | ····sget·p3,·Lcom/android/car/ui/R$layout;->car_ui_list_preference:I |
| |
315 | ····invoke-virtual·{p1,·p3,·p2,·v0},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View; | 294 | ····invoke-virtual·{p1,·p3,·p2,·v0},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View; |
| |
316 | ····move-result-object·p1 | 295 | ····move-result-object·p1 |
| |
317 | ····return-object·p1 | 296 | ····return-object·p1 |
318 | .end·method | 297 | .end·method |
| |
319 | .method·public·onStart()V | 298 | .method·public·onStart()V |
320 | ····.locals·2 | 299 | ····.locals·1 |
| |
321 | ····.line·163 | 300 | ····.line·156 |
322 | ····invoke-super·{p0},·Landroidx/fragment/app/Fragment;->onStart()V | 301 | ····invoke-super·{p0},·Landroidx/fragment/app/Fragment;->onStart()V |
| |
323 | ····.line·164 | 302 | ····.line·157 |
324 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; | |
| |
325 | ····iget-object·v1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mOnBackListener:Lcom/android/car/ui/toolbar/Toolbar$OnBackListener; | |
| |
326 | ····invoke-interface·{v0,·v1},·Lcom/android/car/ui/toolbar/ToolbarController;->registerOnBackListener(Lcom/android/car/ui/toolbar/Toolbar$OnBackListener;)V | |
| |
327 | ····.line·165 | |
328 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; | 303 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity; |
| |
329 | ····move-result-object·v0 | 304 | ····move-result-object·v0 |
| |
330 | ····invoke-static·{v0},·Lcom/android/car/ui/core/CarUi;->getInsets(Landroid/app/Activity;)Lcom/android/car/ui/baselayout/Insets; | 305 | ····invoke-static·{v0},·Lcom/android/car/ui/core/CarUi;->getInsets(Landroid/app/Activity;)Lcom/android/car/ui/baselayout/Insets; |
| |
331 | ····move-result-object·v0 | 306 | ····move-result-object·v0 |
| |
332 | ····if-eqz·v0,·:cond_0 | 307 | ····if-eqz·v0,·:cond_0 |
| |
333 | ····.line·167 | 308 | ····.line·159 |
334 | ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->onCarUiInsetsChanged(Lcom/android/car/ui/baselayout/Insets;)V | 309 | ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->onCarUiInsetsChanged(Lcom/android/car/ui/baselayout/Insets;)V |
| |
335 | ····:cond_0 | 310 | ····:cond_0 |
336 | ····return-void | 311 | ····return-void |
337 | .end·method | 312 | .end·method |
| |
338 | .method·public·onStop()V | 313 | .method·public·onStop()V |
339 | ····.locals·2 | 314 | ····.locals·0 |
| |
340 | ····.line·173 | 315 | ····.line·165 |
341 | ····invoke-super·{p0},·Landroidx/fragment/app/Fragment;->onStop()V | 316 | ····invoke-super·{p0},·Landroidx/fragment/app/Fragment;->onStop()V |
| |
342 | ····.line·174 | 317 | ····.line·166 |
343 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; | 318 | ····invoke-direct·{p0},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->updatePreference()V |
| |
344 | ····iget-object·v1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mOnBackListener:Lcom/android/car/ui/toolbar/Toolbar$OnBackListener; | |
| |
345 | ····invoke-interface·{v0,·v1},·Lcom/android/car/ui/toolbar/ToolbarController;->unregisterOnBackListener(Lcom/android/car/ui/toolbar/Toolbar$OnBackListener;)Z | |
| |
346 | ····return-void | 319 | ····return-void |
347 | .end·method | 320 | .end·method |
| |
348 | .method·public·onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V | 321 | .method·public·onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V |
349 | ····.locals·8 | 322 | ····.locals·8 |
| |
350 | ····.line·93 | 323 | ····.line·86 |
351 | ····invoke-super·{p0,·p1,·p2},·Landroidx/fragment/app/Fragment;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V | 324 | ····invoke-super·{p0,·p1,·p2},·Landroidx/fragment/app/Fragment;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V |
| |
352 | ····.line·94 | 325 | ····.line·87 |
353 | ····sget·p2,·Lcom/android/car/ui/R$id;->list:I | 326 | ····sget·p2,·Lcom/android/car/ui/R$id;->list:I |
| |
354 | ····invoke-static·{p1,·p2},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 327 | ····invoke-static·{p1,·p2},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
355 | ····move-result-object·p2 | 328 | ····move-result-object·p2 |
| |
356 | ····check-cast·p2,·Lcom/android/car/ui/recyclerview/CarUiRecyclerView; | 329 | ····check-cast·p2,·Lcom/android/car/ui/recyclerview/CarUiRecyclerView; |
| |
357 | ····.line·95 | 330 | ····.line·88 |
358 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->requireActivity()Landroidx/fragment/app/FragmentActivity; | 331 | ····invoke-virtual·{p0},·Landroidx/fragment/app/Fragment;->requireActivity()Landroidx/fragment/app/FragmentActivity; |
| |
359 | ····move-result-object·v0 | 332 | ····move-result-object·v0 |
| |
360 | ····invoke-static·{v0},·Lcom/android/car/ui/core/CarUi;->getToolbar(Landroid/app/Activity;)Lcom/android/car/ui/toolbar/ToolbarController; | 333 | ····invoke-static·{v0},·Lcom/android/car/ui/core/CarUi;->getToolbar(Landroid/app/Activity;)Lcom/android/car/ui/toolbar/ToolbarController; |
| |
361 | ····move-result-object·v0 | 334 | ····move-result-object·v0 |
| |
362 | ····iput-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; | 335 | ····iput-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; |
| |
363 | ····const/4·v1,·0x0 | 336 | ····const/4·v1,·0x0 |
| |
364 | ····if-nez·v0,·:cond_0 | 337 | ····if-nez·v0,·:cond_0 |
| |
365 | ····.line·99 | 338 | ····.line·92 |
366 | ····sget·v0,·Lcom/android/car/ui/R$id;->toolbar:I | 339 | ····sget·v0,·Lcom/android/car/ui/R$id;->toolbar:I |
| |
367 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; | 340 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
368 | ····move-result-object·p1 | 341 | ····move-result-object·p1 |
| |
369 | ····check-cast·p1,·Lcom/android/car/ui/toolbar/Toolbar; | 342 | ····check-cast·p1,·Lcom/android/car/ui/toolbar/Toolbar; |
| |
370 | ····.line·100 | 343 | ····.line·93 |
371 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; | 344 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; |
| |
372 | ····.line·102 | 345 | ····.line·95 |
373 | ····invoke-virtual·{p1},·Landroid/widget/FrameLayout;->getHeight()I | 346 | ····invoke-virtual·{p1},·Landroid/widget/FrameLayout;->getHeight()I |
| |
374 | ····move-result·v0 | 347 | ····move-result·v0 |
| |
375 | ····invoke-virtual·{p2,·v1,·v0,·v1,·v1},·Lcom/android/car/ui/recyclerview/CarUiRecyclerView;->setPadding(IIII)V | 348 | ····invoke-virtual·{p2,·v1,·v0,·v1,·v1},·Lcom/android/car/ui/recyclerview/CarUiRecyclerView;->setPadding(IIII)V |
| |
376 | ····.line·103 | 349 | ····.line·96 |
377 | ····new-instance·v0,·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$bAsYoQPEdtCgEVoIskLdwVvGmWA; | 350 | ····new-instance·v0,·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$WB_s31a2ruUSMORHw8iLsf9W2gE; |
| |
378 | ····invoke-direct·{v0,·p2},·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$bAsYoQPEdtCgEVoIskLdwVvGmWA;-><init>(Lcom/android/car/ui/recyclerview/CarUiRecyclerView;)V | 351 | ····invoke-direct·{v0,·p2},·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$WB_s31a2ruUSMORHw8iLsf9W2gE;-><init>(Lcom/android/car/ui/recyclerview/CarUiRecyclerView;)V |
| |
379 | ····invoke-virtual·{p1,·v0},·Lcom/android/car/ui/toolbar/Toolbar;->registerToolbarHeightChangeListener(Lcom/android/car/ui/toolbar/Toolbar$OnHeightChangedListener;)V | 352 | ····invoke-virtual·{p1,·v0},·Lcom/android/car/ui/toolbar/Toolbar;->registerToolbarHeightChangeListener(Lcom/android/car/ui/toolbar/Toolbar$OnHeightChangedListener;)V |
| |
380 | ····.line·114 | 353 | ····.line·107 |
381 | ····:cond_0 | 354 | ····:cond_0 |
382 | ····invoke-direct·{p0},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->getPreference()Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 355 | ····invoke-direct·{p0},·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->getPreference()Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
383 | ····move-result-object·p1 | 356 | ····move-result-object·p1 |
| |
384 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 357 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
385 | ····.line·116 | 358 | ····.line·109 |
386 | ····invoke-virtual·{p2,·v1},·Landroidx/recyclerview/widget/RecyclerView;->setClipToPadding(Z)V | 359 | ····invoke-virtual·{p2,·v1},·Landroidx/recyclerview/widget/RecyclerView;->setClipToPadding(Z)V |
| |
387 | ····.line·117 | 360 | ····.line·110 |
388 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; | 361 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; |
| |
389 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 362 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
390 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; | 363 | ····invoke-virtual·{v0},·Landroidx/preference/Preference;->getTitle()Ljava/lang/CharSequence; |
| |
391 | ····move-result-object·v0 | 364 | ····move-result-object·v0 |
| |
392 | ····invoke-interface·{p1,·v0},·Lcom/android/car/ui/toolbar/ToolbarController;->setTitle(Ljava/lang/CharSequence;)V | 365 | ····invoke-interface·{p1,·v0},·Lcom/android/car/ui/toolbar/ToolbarController;->setTitle(Ljava/lang/CharSequence;)V |
| |
393 | ····.line·118 | 366 | ····.line·111 |
394 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; | 367 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mToolbar:Lcom/android/car/ui/toolbar/ToolbarController; |
| |
395 | ····sget-object·v0,·Lcom/android/car/ui/toolbar/Toolbar$State;->SUBPAGE:Lcom/android/car/ui/toolbar/Toolbar$State; | 368 | ····sget-object·v0,·Lcom/android/car/ui/toolbar/Toolbar$State;->SUBPAGE:Lcom/android/car/ui/toolbar/Toolbar$State; |
| |
396 | ····invoke-interface·{p1,·v0},·Lcom/android/car/ui/toolbar/ToolbarController;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V | 369 | ····invoke-interface·{p1,·v0},·Lcom/android/car/ui/toolbar/ToolbarController;->setState(Lcom/android/car/ui/toolbar/Toolbar$State;)V |
| |
397 | ····.line·120 | 370 | ····.line·113 |
398 | ····new-instance·p1,·Ljava/util/HashSet; | 371 | ····new-instance·p1,·Ljava/util/HashSet; |
| |
399 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 372 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
400 | ····invoke-virtual·{v0},·Landroidx/preference/MultiSelectListPreference;->getValues()Ljava/util/Set; | 373 | ····invoke-virtual·{v0},·Landroidx/preference/MultiSelectListPreference;->getValues()Ljava/util/Set; |
| |
401 | ····move-result-object·v0 | 374 | ····move-result-object·v0 |
| |
402 | ····invoke-direct·{p1,·v0},·Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V | 375 | ····invoke-direct·{p1,·v0},·Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V |
| |
403 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; | 376 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mNewValues:Ljava/util/Set; |
| |
404 | ····.line·121 | 377 | ····.line·114 |
405 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 378 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
406 | ····invoke-virtual·{p1},·Landroidx/preference/MultiSelectListPreference;->getEntries()[Ljava/lang/CharSequence; | 379 | ····invoke-virtual·{p1},·Landroidx/preference/MultiSelectListPreference;->getEntries()[Ljava/lang/CharSequence; |
| |
407 | ····move-result-object·p1 | 380 | ····move-result-object·p1 |
| |
408 | ····.line·122 | 381 | ····.line·115 |
409 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 382 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
410 | ····invoke-virtual·{v0},·Landroidx/preference/MultiSelectListPreference;->getEntryValues()[Ljava/lang/CharSequence; | 383 | ····invoke-virtual·{v0},·Landroidx/preference/MultiSelectListPreference;->getEntryValues()[Ljava/lang/CharSequence; |
| |
411 | ····move-result-object·v0 | 384 | ····move-result-object·v0 |
| |
412 | ····if-eqz·p1,·:cond_3 | 385 | ····if-eqz·p1,·:cond_3 |
| |
413 | ····if-eqz·v0,·:cond_3 | 386 | ····if-eqz·v0,·:cond_3 |
| |
414 | ····.line·130 | 387 | ····.line·123 |
415 | ····array-length·v2,·p1 | 388 | ····array-length·v2,·p1 |
| |
416 | ····array-length·v3,·v0 | 389 | ····array-length·v3,·v0 |
| |
417 | ····if-ne·v2,·v3,·:cond_2 | 390 | ····if-ne·v2,·v3,·:cond_2 |
| |
418 | ····.line·136 | 391 | ····.line·129 |
419 | ····new-instance·v2,·Ljava/util/ArrayList; | 392 | ····new-instance·v2,·Ljava/util/ArrayList; |
| |
420 | ····invoke-direct·{v2},·Ljava/util/ArrayList;-><init>()V | 393 | ····invoke-direct·{v2},·Ljava/util/ArrayList;-><init>()V |
| |
421 | ····.line·137 | 394 | ····.line·130 |
422 | ····iget-object·v3,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; | 395 | ····iget-object·v3,·p0,·Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;->mPreference:Lcom/android/car/ui/preference/CarUiMultiSelectListPreference; |
| |
423 | ····invoke-virtual·{v3},·Lcom/android/car/ui/preference/CarUiMultiSelectListPreference;->getSelectedItems()[Z | 396 | ····invoke-virtual·{v3},·Lcom/android/car/ui/preference/CarUiMultiSelectListPreference;->getSelectedItems()[Z |
| |
424 | ····move-result-object·v3 | 397 | ····move-result-object·v3 |
| |
425 | ····.line·139 | 398 | ····.line·132 |
426 | ····:goto_0 | 399 | ····:goto_0 |
427 | ····array-length·v4,·p1 | 400 | ····array-length·v4,·p1 |
| |
428 | ····if-ge·v1,·v4,·:cond_1 | 401 | ····if-ge·v1,·v4,·:cond_1 |
| |
429 | ····.line·140 | 402 | ····.line·133 |
430 | ····aget-object·v4,·p1,·v1 | 403 | ····aget-object·v4,·p1,·v1 |
| |
431 | ····invoke-interface·{v4},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 404 | ····invoke-interface·{v4},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
| |
432 | ····move-result-object·v4 | 405 | ····move-result-object·v4 |
| |
433 | ····.line·141 | 406 | ····.line·134 |
434 | ····aget-object·v5,·v0,·v1 | 407 | ····aget-object·v5,·v0,·v1 |
| |
435 | ····invoke-interface·{v5},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 408 | ····invoke-interface·{v5},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
| |
436 | ····move-result-object·v5 | 409 | ····move-result-object·v5 |
| |
437 | ····.line·142 | 410 | ····.line·135 |
438 | ····new-instance·v6,·Lcom/android/car/ui/recyclerview/CarUiContentListItem; | 411 | ····new-instance·v6,·Lcom/android/car/ui/recyclerview/CarUiContentListItem; |
| |
439 | ····sget-object·v7,·Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action;->CHECK_BOX:Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action; | 412 | ····sget-object·v7,·Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action;->CHECK_BOX:Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action; |
| |
440 | ····invoke-direct·{v6,·v7},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;-><init>(Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action;)V | 413 | ····invoke-direct·{v6,·v7},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;-><init>(Lcom/android/car/ui/recyclerview/CarUiContentListItem$Action;)V |
| |
441 | ····.line·144 | 414 | ····.line·137 |
442 | ····invoke-virtual·{v6,·v4},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;->setTitle(Ljava/lang/CharSequence;)V | 415 | ····invoke-virtual·{v6,·v4},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;->setTitle(Ljava/lang/CharSequence;)V |
| |
443 | ····.line·145 | 416 | ····.line·138 |
444 | ····aget-boolean·v4,·v3,·v1 | 417 | ····aget-boolean·v4,·v3,·v1 |
| |
445 | ····invoke-virtual·{v6,·v4},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;->setChecked(Z)V | 418 | ····invoke-virtual·{v6,·v4},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;->setChecked(Z)V |
| |
446 | ····.line·146 | 419 | ····.line·139 |
447 | ····new-instance·v4,·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$JDti6kjKbW6VgsltSAeZMrL8CLI; | 420 | ····new-instance·v4,·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$YnepC-0onrBWA20eSGEJPNKYYWk; |
| |
448 | ····invoke-direct·{v4,·p0,·v5},·Lcom/android/car/ui/preference/-$$Lambda$MultiSelectListPreferenceFragment$JDti6kjKbW6VgsltSAeZMrL8CLI;-><init>(Lcom/android/car/ui/preference/MultiSelectListPreferenceFragment;Ljava/lang/String;)V | 421 | ····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 |
| |
449 | ····invoke-virtual·{v6,·v4},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;->setOnCheckedChangeListener(Lcom/android/car/ui/recyclerview/CarUiContentListItem$OnCheckedChangeListener;)V | 422 | ····invoke-virtual·{v6,·v4},·Lcom/android/car/ui/recyclerview/CarUiContentListItem;->setOnCheckedChangeListener(Lcom/android/car/ui/recyclerview/CarUiContentListItem$OnCheckedChangeListener;)V |
| |
450 | ····.line·154 | 423 | ····.line·147 |
451 | ····invoke-interface·{v2,·v6},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 424 | ····invoke-interface·{v2,·v6},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
| |
452 | ····add-int/lit8·v1,·v1,·0x1 | 425 | ····add-int/lit8·v1,·v1,·0x1 |
| |
453 | ····goto·:goto_0 | 426 | ····goto·:goto_0 |
| |
454 | ····.line·157 | 427 | ····.line·150 |
455 | ····:cond_1 | 428 | ····:cond_1 |
456 | ····new-instance·p1,·Lcom/android/car/ui/recyclerview/CarUiListItemAdapter; | 429 | ····new-instance·p1,·Lcom/android/car/ui/recyclerview/CarUiListItemAdapter; |
| |
457 | ····invoke-direct·{p1,·v2},·Lcom/android/car/ui/recyclerview/CarUiListItemAdapter;-><init>(Ljava/util/List;)V | 430 | ····invoke-direct·{p1,·v2},·Lcom/android/car/ui/recyclerview/CarUiListItemAdapter;-><init>(Ljava/util/List;)V |
| |
458 | ····.line·158 | 431 | ····.line·151 |
459 | ····invoke-virtual·{p2,·p1},·Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V | 432 | ····invoke-virtual·{p2,·p1},·Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V |
| |
460 | ····return-void | 433 | ····return-void |
| |
461 | ····.line·131 | 434 | ····.line·124 |
462 | ····:cond_2 | 435 | ····:cond_2 |
463 | ····new-instance·p1,·Ljava/lang/IllegalStateException; | 436 | ····new-instance·p1,·Ljava/lang/IllegalStateException; |
| |
464 | ····const-string·p2,·"MultiSelectListPreference·entries·array·length·does·not·match·entryValues·array·length." | 437 | ····const-string·p2,·"MultiSelectListPreference·entries·array·length·does·not·match·entryValues·array·length." |
| |
465 | ····invoke-direct·{p1,·p2},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V | 438 | ····invoke-direct·{p1,·p2},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |
466 | ····throw·p1 | 439 | ····throw·p1 |
| |
467 | ····.line·125 | 440 | ····.line·118 |
468 | ····:cond_3 | 441 | ····:cond_3 |
469 | ····new-instance·p1,·Ljava/lang/IllegalStateException; | 442 | ····new-instance·p1,·Ljava/lang/IllegalStateException; |
| |
470 | ····const-string·p2,·"MultiSelectListPreference·requires·an·entries·array·and·an·entryValues·array." | 443 | ····const-string·p2,·"MultiSelectListPreference·requires·an·entries·array·and·an·entryValues·array." |
| |
471 | ····invoke-direct·{p1,·p2},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V | 444 | ····invoke-direct·{p1,·p2},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| |