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