| | | |
Offset 1, 20 lines modified | Offset 1, 31 lines modified |
1 | .class·public·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference; | 1 | .class·public·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference; |
2 | .super·Landroidx/preference/DialogPreference; | 2 | .super·Landroidx/preference/DialogPreference; |
3 | .source·"CarUiSeekBarDialogPreference.java" | 3 | .source·"CarUiSeekBarDialogPreference.java" |
| |
4 | #·interfaces | 4 | #·interfaces |
5 | .implements·Lcom/android/car/ui/preference/DialogFragmentCallbacks; | 5 | .implements·Lcom/android/car/ui/preference/DialogFragmentCallbacks; |
| 6 | .implements·Lcom/android/car/ui/preference/UxRestrictablePreference; |
| |
| |
6 | #·instance·fields | 7 | #·instance·fields |
7 | .field·private·mMaxProgress:I | 8 | .field·private·mMaxProgress:I |
| |
8 | .field·private·mOnSeekBarChangeListener:Landroid/widget/SeekBar$OnSeekBarChangeListener; | 9 | .field·private·mOnSeekBarChangeListener:Landroid/widget/SeekBar$OnSeekBarChangeListener; |
| |
| 10 | .field·private·mRestrictedClickListener:Ljava/util/function/Consumer; |
| 11 | ····.annotation·system·Ldalvik/annotation/Signature; |
| 12 | ········value·=·{ |
| 13 | ············"Ljava/util/function/Consumer<", |
| 14 | ············"Landroidx/preference/Preference;", |
| 15 | ············">;" |
| 16 | ········} |
| 17 | ····.end·annotation |
| 18 | .end·field |
| |
9 | .field·private·mSeekBar:Landroid/widget/SeekBar; | 19 | .field·private·mSeekBar:Landroid/widget/SeekBar; |
| |
10 | .field·private·mSeekBarLeftText:Ljava/lang/String; | 20 | .field·private·mSeekBarLeftText:Ljava/lang/String; |
| |
11 | .field·private·mSeekBarLeftTextView:Landroid/widget/TextView; | 21 | .field·private·mSeekBarLeftTextView:Landroid/widget/TextView; |
| |
12 | .field·private·mSeekBarLeftTextViewVisibility:I | 22 | .field·private·mSeekBarLeftTextViewVisibility:I |
Offset 29, 534 lines modified | Offset 40, 677 lines modified |
| |
29 | .field·private·mSeekBarTopText:Ljava/lang/String; | 40 | .field·private·mSeekBarTopText:Ljava/lang/String; |
| |
30 | .field·private·mSeekBarTopTextView:Landroid/widget/TextView; | 41 | .field·private·mSeekBarTopTextView:Landroid/widget/TextView; |
| |
31 | .field·private·mSeekBarTopTextViewVisibility:I | 42 | .field·private·mSeekBarTopTextViewVisibility:I |
| |
| 43 | .field·private·mUxRestricted:Z |
| |
| |
32 | #·direct·methods | 44 | #·direct·methods |
33 | .method·public·constructor·<init>(Landroid/content/Context;)V | 45 | .method·public·constructor·<init>(Landroid/content/Context;)V |
34 | ····.locals·0 | 46 | ····.locals·0 |
| |
35 | ····.line·71 | 47 | ····.line·79 |
36 | ····invoke-direct·{p0,·p1},·Landroidx/preference/DialogPreference;-><init>(Landroid/content/Context;)V | 48 | ····invoke-direct·{p0,·p1},·Landroidx/preference/DialogPreference;-><init>(Landroid/content/Context;)V |
| |
37 | ····const/16·p1,·0x64 | 49 | ····const/16·p1,·0x64 |
| |
38 | ····.line·52 | 50 | ····.line·57 |
39 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mMaxProgress:I | 51 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mMaxProgress:I |
| |
| 52 | ····const/4·p1,·0x0 |
| |
40 | ····.line·72 | 53 | ····.line·60 |
| 54 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mUxRestricted:Z |
| |
| 55 | ····.line·80 |
41 | ····invoke-direct·{p0},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->init()V | 56 | ····invoke-direct·{p0},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->init()V |
| |
42 | ····return-void | 57 | ····return-void |
43 | .end·method | 58 | .end·method |
| |
44 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;)V | 59 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;)V |
45 | ····.locals·0 | 60 | ····.locals·0 |
| |
46 | ····.line·66 | 61 | ····.line·74 |
47 | ····invoke-direct·{p0,·p1,·p2},·Landroidx/preference/DialogPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V | 62 | ····invoke-direct·{p0,·p1,·p2},·Landroidx/preference/DialogPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V |
| |
48 | ····const/16·p1,·0x64 | 63 | ····const/16·p1,·0x64 |
| |
49 | ····.line·52 | 64 | ····.line·57 |
50 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mMaxProgress:I | 65 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mMaxProgress:I |
| |
| 66 | ····const/4·p1,·0x0 |
| |
51 | ····.line·67 | 67 | ····.line·60 |
| 68 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mUxRestricted:Z |
| |
| 69 | ····.line·75 |
52 | ····invoke-direct·{p0},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->init()V | 70 | ····invoke-direct·{p0},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->init()V |
| |
53 | ····return-void | 71 | ····return-void |
54 | .end·method | 72 | .end·method |
| |
55 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V | 73 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V |
56 | ····.locals·0 | 74 | ····.locals·0 |
| |
57 | ····.line·61 | 75 | ····.line·69 |
58 | ····invoke-direct·{p0,·p1,·p2,·p3},·Landroidx/preference/DialogPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V | 76 | ····invoke-direct·{p0,·p1,·p2,·p3},·Landroidx/preference/DialogPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V |
| |
59 | ····const/16·p1,·0x64 | 77 | ····const/16·p1,·0x64 |
| |
60 | ····.line·52 | 78 | ····.line·57 |
61 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mMaxProgress:I | 79 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mMaxProgress:I |
| |
| 80 | ····const/4·p1,·0x0 |
| |
62 | ····.line·62 | 81 | ····.line·60 |
| 82 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mUxRestricted:Z |
| |
| 83 | ····.line·70 |
63 | ····invoke-direct·{p0},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->init()V | 84 | ····invoke-direct·{p0},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->init()V |
| |
64 | ····return-void | 85 | ····return-void |
65 | .end·method | 86 | .end·method |
| |
66 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V | 87 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V |
67 | ····.locals·0 | 88 | ····.locals·0 |
| |
68 | ····.line·56 | 89 | ····.line·64 |
69 | ····invoke-direct·{p0,·p1,·p2,·p3,·p4},·Landroidx/preference/DialogPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V | 90 | ····invoke-direct·{p0,·p1,·p2,·p3,·p4},·Landroidx/preference/DialogPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V |
| |
70 | ····const/16·p1,·0x64 | 91 | ····const/16·p1,·0x64 |
| |
71 | ····.line·52 | 92 | ····.line·57 |
72 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mMaxProgress:I | 93 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mMaxProgress:I |
| |
| 94 | ····const/4·p1,·0x0 |
| |
| 95 | ····.line·60 |
| 96 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mUxRestricted:Z |
| |
73 | ····.line·57 | 97 | ····.line·65 |
74 | ····invoke-direct·{p0},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->init()V | 98 | ····invoke-direct·{p0},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->init()V |
| |
75 | ····return-void | 99 | ····return-void |
76 | .end·method | 100 | .end·method |
| |
77 | .method·private·init()V | 101 | .method·private·init()V |
78 | ····.locals·1 | 102 | ····.locals·1 |
| |
79 | ····.line·76 | 103 | ····.line·84 |
80 | ····sget·v0,·Lcom/android/car/ui/R$layout;->car_ui_seekbar_dialog:I | 104 | ····sget·v0,·Lcom/android/car/ui/R$layout;->car_ui_seekbar_dialog:I |
| |
81 | ····invoke-virtual·{p0,·v0},·Landroidx/preference/DialogPreference;->setDialogLayoutResource(I)V | 105 | ····invoke-virtual·{p0,·v0},·Landroidx/preference/DialogPreference;->setDialogLayoutResource(I)V |
| |
82 | ····.line·77 | 106 | ····.line·85 |
83 | ····sget·v0,·Lcom/android/car/ui/R$string;->car_ui_dialog_preference_positive:I | 107 | ····sget·v0,·Lcom/android/car/ui/R$string;->car_ui_dialog_preference_positive:I |
| |
84 | ····invoke-virtual·{p0,·v0},·Landroidx/preference/DialogPreference;->setPositiveButtonText(I)V | 108 | ····invoke-virtual·{p0,·v0},·Landroidx/preference/DialogPreference;->setPositiveButtonText(I)V |
| |
85 | ····.line·78 | 109 | ····.line·86 |
86 | ····sget·v0,·Lcom/android/car/ui/R$string;->car_ui_dialog_preference_negative:I | 110 | ····sget·v0,·Lcom/android/car/ui/R$string;->car_ui_dialog_preference_negative:I |
| |
87 | ····invoke-virtual·{p0,·v0},·Landroidx/preference/DialogPreference;->setNegativeButtonText(I)V | 111 | ····invoke-virtual·{p0,·v0},·Landroidx/preference/DialogPreference;->setNegativeButtonText(I)V |
| |
88 | ····return-void | 112 | ····return-void |
89 | .end·method | 113 | .end·method |
| |
| |
90 | #·virtual·methods | 114 | #·virtual·methods |
91 | .method·public·getMaxProgress()I | 115 | .method·public·getMaxProgress()I |
92 | ····.locals·1 | 116 | ····.locals·1 |
| |
93 | ····.line·255 | 117 | ····.line·263 |
94 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBar:Landroid/widget/SeekBar; | 118 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBar:Landroid/widget/SeekBar; |
| |
95 | ····if-eqz·v0,·:cond_0 | 119 | ····if-eqz·v0,·:cond_0 |
| |
96 | ····.line·256 | 120 | ····.line·264 |
97 | ····invoke-virtual·{v0},·Landroid/widget/SeekBar;->getMax()I | 121 | ····invoke-virtual·{v0},·Landroid/widget/SeekBar;->getMax()I |
| |
98 | ····move-result·v0 | 122 | ····move-result·v0 |
| |
99 | ····return·v0 | 123 | ····return·v0 |
| |
100 | ····.line·258 | 124 | ····.line·266 |
101 | ····:cond_0 | 125 | ····:cond_0 |
102 | ····iget·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mMaxProgress:I | 126 | ····iget·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mMaxProgress:I |
| |
103 | ····return·v0 | 127 | ····return·v0 |
104 | .end·method | 128 | .end·method |
| |
| 129 | .method·public·getOnClickWhileRestrictedListener()Ljava/util/function/Consumer; |
| 130 | ····.locals·1 |
| 131 | ····.annotation·system·Ldalvik/annotation/Signature; |
| 132 | ········value·=·{ |
| 133 | ············"()", |
| 134 | ············"Ljava/util/function/Consumer<", |
| 135 | ············"Landroidx/preference/Preference;", |
| 136 | ············">;" |
| 137 | ········} |
| 138 | ····.end·annotation |
| |
| 139 | ····.line·317 |
| 140 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mRestrictedClickListener:Ljava/util/function/Consumer; |
| |
| 141 | ····return-object·v0 |
| 142 | .end·method |
| |
105 | .method·public·getProgress()I | 143 | .method·public·getProgress()I |
106 | ····.locals·1 | 144 | ····.locals·1 |
| |
107 | ····.line·114 | 145 | ····.line·122 |
108 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBar:Landroid/widget/SeekBar; | 146 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBar:Landroid/widget/SeekBar; |
| |
109 | ····if-eqz·v0,·:cond_0 | 147 | ····if-eqz·v0,·:cond_0 |
| |
110 | ····.line·115 | 148 | ····.line·123 |
111 | ····invoke-virtual·{v0},·Landroid/widget/SeekBar;->getProgress()I | 149 | ····invoke-virtual·{v0},·Landroid/widget/SeekBar;->getProgress()I |
| |
112 | ····move-result·v0 | 150 | ····move-result·v0 |
| |
113 | ····return·v0 | 151 | ····return·v0 |
| |
114 | ····.line·117 | 152 | ····.line·125 |
115 | ····:cond_0 | 153 | ····:cond_0 |
116 | ····iget·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarProgress:I | 154 | ····iget·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarProgress:I |
| |
117 | ····return·v0 | 155 | ····return·v0 |
118 | .end·method | 156 | .end·method |
| |
119 | .method·public·getSeekBarLeftTextViewText()Ljava/lang/String; | 157 | .method·public·getSeekBarLeftTextViewText()Ljava/lang/String; |
120 | ····.locals·1 | 158 | ····.locals·1 |
| |
121 | ····.line·190 | 159 | ····.line·198 |
122 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftTextView:Landroid/widget/TextView; | 160 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftTextView:Landroid/widget/TextView; |
| |
123 | ····if-eqz·v0,·:cond_0 | 161 | ····if-eqz·v0,·:cond_0 |
| |
124 | ····.line·191 | 162 | ····.line·199 |
125 | ····invoke-virtual·{v0},·Landroid/widget/TextView;->getText()Ljava/lang/CharSequence; | 163 | ····invoke-virtual·{v0},·Landroid/widget/TextView;->getText()Ljava/lang/CharSequence; |
| |
126 | ····move-result-object·v0 | 164 | ····move-result-object·v0 |
| |
127 | ····invoke-interface·{v0},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 165 | ····invoke-interface·{v0},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
| |
128 | ····move-result-object·v0 | 166 | ····move-result-object·v0 |
| |
129 | ····return-object·v0 | 167 | ····return-object·v0 |
| |
130 | ····.line·193 | 168 | ····.line·201 |
131 | ····:cond_0 | 169 | ····:cond_0 |
132 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftText:Ljava/lang/String; | 170 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftText:Ljava/lang/String; |
| |
133 | ····return-object·v0 | 171 | ····return-object·v0 |
134 | .end·method | 172 | .end·method |
| |
135 | .method·public·getSeekBarRightTextViewText()Ljava/lang/String; | 173 | .method·public·getSeekBarRightTextViewText()Ljava/lang/String; |
136 | ····.locals·1 | 174 | ····.locals·1 |
| |
137 | ····.line·222 | 175 | ····.line·230 |
138 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightTextView:Landroid/widget/TextView; | 176 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightTextView:Landroid/widget/TextView; |
| |
139 | ····if-eqz·v0,·:cond_0 | 177 | ····if-eqz·v0,·:cond_0 |
| |
140 | ····.line·223 | 178 | ····.line·231 |
141 | ····invoke-virtual·{v0},·Landroid/widget/TextView;->getText()Ljava/lang/CharSequence; | 179 | ····invoke-virtual·{v0},·Landroid/widget/TextView;->getText()Ljava/lang/CharSequence; |
| |
142 | ····move-result-object·v0 | 180 | ····move-result-object·v0 |
| |
143 | ····invoke-interface·{v0},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 181 | ····invoke-interface·{v0},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
| |
144 | ····move-result-object·v0 | 182 | ····move-result-object·v0 |
| |
145 | ····return-object·v0 | 183 | ····return-object·v0 |
| |
146 | ····.line·225 | 184 | ····.line·233 |
147 | ····:cond_0 | 185 | ····:cond_0 |
148 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightText:Ljava/lang/String; | 186 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightText:Ljava/lang/String; |
| |
149 | ····return-object·v0 | 187 | ····return-object·v0 |
150 | .end·method | 188 | .end·method |
| |
151 | .method·public·getSeekBarTopTextViewText()Ljava/lang/String; | 189 | .method·public·getSeekBarTopTextViewText()Ljava/lang/String; |
152 | ····.locals·1 | 190 | ····.locals·1 |
| |
153 | ····.line·159 | 191 | ····.line·167 |
154 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopTextView:Landroid/widget/TextView; | 192 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopTextView:Landroid/widget/TextView; |
| |
155 | ····if-eqz·v0,·:cond_0 | 193 | ····if-eqz·v0,·:cond_0 |
| |
156 | ····.line·160 | 194 | ····.line·168 |
157 | ····invoke-virtual·{v0},·Landroid/widget/TextView;->getText()Ljava/lang/CharSequence; | 195 | ····invoke-virtual·{v0},·Landroid/widget/TextView;->getText()Ljava/lang/CharSequence; |
| |
158 | ····move-result-object·v0 | 196 | ····move-result-object·v0 |
| |
159 | ····invoke-interface·{v0},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 197 | ····invoke-interface·{v0},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
| |
160 | ····move-result-object·v0 | 198 | ····move-result-object·v0 |
| |
161 | ····return-object·v0 | 199 | ····return-object·v0 |
| |
162 | ····.line·162 | 200 | ····.line·170 |
163 | ····:cond_0 | 201 | ····:cond_0 |
164 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopText:Ljava/lang/String; | 202 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopText:Ljava/lang/String; |
| |
165 | ····return-object·v0 | 203 | ····return-object·v0 |
166 | .end·method | 204 | .end·method |
| |
| 205 | .method·public·isUxRestricted()Z |
| 206 | ····.locals·1 |
| |
| 207 | ····.line·306 |
| 208 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mUxRestricted:Z |
| |
| 209 | ····return·v0 |
| 210 | .end·method |
| |
167 | .method·public·onAttached()V | 211 | .method·public·onAttached()V |
168 | ····.locals·1 | 212 | ····.locals·1 |
| |
169 | ····.line·83 | 213 | ····.line·91 |
170 | ····invoke-super·{p0},·Landroidx/preference/Preference;->onAttached()V | 214 | ····invoke-super·{p0},·Landroidx/preference/Preference;->onAttached()V |
| |
171 | ····const/4·v0,·0x0 | 215 | ····const/4·v0,·0x0 |
| |
172 | ····.line·84 | 216 | ····.line·92 |
173 | ····invoke-virtual·{p0,·v0},·Landroidx/preference/Preference;->getPersistedInt(I)I | 217 | ····invoke-virtual·{p0,·v0},·Landroidx/preference/Preference;->getPersistedInt(I)I |
| |
174 | ····move-result·v0 | 218 | ····move-result·v0 |
| |
175 | ····iput·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarProgress:I | 219 | ····iput·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarProgress:I |
| |
176 | ····return-void | 220 | ····return-void |
177 | .end·method | 221 | .end·method |
| |
178 | .method·public·onBindDialogView(Landroid/view/View;)V | 222 | .method·public·onBindDialogView(Landroid/view/View;)V |
179 | ····.locals·1 | 223 | ····.locals·1 |
| |
180 | ····.line·89 | 224 | ····.line·97 |
181 | ····sget·v0,·Lcom/android/car/ui/R$id;->seek_bar:I | 225 | ····sget·v0,·Lcom/android/car/ui/R$id;->seek_bar:I |
| |
182 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->findViewByRefId(Landroid/view/View;I)Landroid/view/View; | 226 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->findViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
183 | ····move-result-object·v0 | 227 | ····move-result-object·v0 |
| |
184 | ····check-cast·v0,·Landroid/widget/SeekBar; | 228 | ····check-cast·v0,·Landroid/widget/SeekBar; |
| |
185 | ····iput-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBar:Landroid/widget/SeekBar; | 229 | ····iput-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBar:Landroid/widget/SeekBar; |
| |
186 | ····.line·90 | 230 | ····.line·98 |
187 | ····sget·v0,·Lcom/android/car/ui/R$id;->seek_bar_text_top:I | 231 | ····sget·v0,·Lcom/android/car/ui/R$id;->seek_bar_text_top:I |
| |
188 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->findViewByRefId(Landroid/view/View;I)Landroid/view/View; | 232 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->findViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
189 | ····move-result-object·v0 | 233 | ····move-result-object·v0 |
| |
190 | ····check-cast·v0,·Landroid/widget/TextView; | 234 | ····check-cast·v0,·Landroid/widget/TextView; |
| |
191 | ····iput-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopTextView:Landroid/widget/TextView; | 235 | ····iput-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopTextView:Landroid/widget/TextView; |
| |
192 | ····.line·91 | 236 | ····.line·99 |
193 | ····sget·v0,·Lcom/android/car/ui/R$id;->seek_bar_text_left:I | 237 | ····sget·v0,·Lcom/android/car/ui/R$id;->seek_bar_text_left:I |
| |
194 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->findViewByRefId(Landroid/view/View;I)Landroid/view/View; | 238 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->findViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
195 | ····move-result-object·v0 | 239 | ····move-result-object·v0 |
| |
196 | ····check-cast·v0,·Landroid/widget/TextView; | 240 | ····check-cast·v0,·Landroid/widget/TextView; |
| |
197 | ····iput-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftTextView:Landroid/widget/TextView; | 241 | ····iput-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftTextView:Landroid/widget/TextView; |
| |
198 | ····.line·92 | 242 | ····.line·100 |
199 | ····sget·v0,·Lcom/android/car/ui/R$id;->seek_bar_text_right:I | 243 | ····sget·v0,·Lcom/android/car/ui/R$id;->seek_bar_text_right:I |
| |
200 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->findViewByRefId(Landroid/view/View;I)Landroid/view/View; | 244 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/CarUiUtils;->findViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
201 | ····move-result-object·p1 | 245 | ····move-result-object·p1 |
| |
202 | ····check-cast·p1,·Landroid/widget/TextView; | 246 | ····check-cast·p1,·Landroid/widget/TextView; |
| |
203 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightTextView:Landroid/widget/TextView; | 247 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightTextView:Landroid/widget/TextView; |
| |
204 | ····.line·94 | 248 | ····.line·102 |
205 | ····iget·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarProgress:I | 249 | ····iget·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarProgress:I |
| |
206 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setProgress(I)V | 250 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setProgress(I)V |
| |
207 | ····.line·96 | 251 | ····.line·104 |
208 | ····iget·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopTextViewVisibility:I | 252 | ····iget·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopTextViewVisibility:I |
| |
209 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setSeekBarTopTextViewVisibility(I)V | 253 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setSeekBarTopTextViewVisibility(I)V |
| |
210 | ····.line·97 | 254 | ····.line·105 |
211 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopText:Ljava/lang/String; | 255 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopText:Ljava/lang/String; |
| |
212 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setSeekBarTopTextViewText(Ljava/lang/String;)V | 256 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setSeekBarTopTextViewText(Ljava/lang/String;)V |
| |
213 | ····.line·99 | 257 | ····.line·107 |
214 | ····iget·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftTextViewVisibility:I | 258 | ····iget·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftTextViewVisibility:I |
| |
215 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setSeekBarLeftTextViewVisibility(I)V | 259 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setSeekBarLeftTextViewVisibility(I)V |
| |
216 | ····.line·100 | 260 | ····.line·108 |
217 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftText:Ljava/lang/String; | 261 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftText:Ljava/lang/String; |
| |
218 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setSeekBarLeftTextViewText(Ljava/lang/String;)V | 262 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setSeekBarLeftTextViewText(Ljava/lang/String;)V |
| |
219 | ····.line·102 | 263 | ····.line·110 |
220 | ····iget·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightTextViewVisibility:I | 264 | ····iget·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightTextViewVisibility:I |
| |
221 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setSeekBarRightTextViewVisibility(I)V | 265 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setSeekBarRightTextViewVisibility(I)V |
| |
222 | ····.line·103 | 266 | ····.line·111 |
223 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightText:Ljava/lang/String; | 267 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightText:Ljava/lang/String; |
| |
224 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setSeekBarRightTextViewText(Ljava/lang/String;)V | 268 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setSeekBarRightTextViewText(Ljava/lang/String;)V |
| |
225 | ····.line·105 | 269 | ····.line·113 |
226 | ····iget·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mMaxProgress:I | 270 | ····iget·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mMaxProgress:I |
| |
227 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setMaxProgress(I)V | 271 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setMaxProgress(I)V |
| |
228 | ····.line·106 | 272 | ····.line·114 |
229 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mOnSeekBarChangeListener:Landroid/widget/SeekBar$OnSeekBarChangeListener; | 273 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mOnSeekBarChangeListener:Landroid/widget/SeekBar$OnSeekBarChangeListener; |
| |
230 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V | 274 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V |
| |
231 | ····return-void | 275 | ····return-void |
232 | .end·method | 276 | .end·method |
| |
| 277 | .method·public·onBindViewHolder(Landroidx/preference/PreferenceViewHolder;)V |
| 278 | ····.locals·1 |
| |
| 279 | ····.line·279 |
| 280 | ····invoke-super·{p0,·p1},·Landroidx/preference/Preference;->onBindViewHolder(Landroidx/preference/PreferenceViewHolder;)V |
| |
| 281 | ····.line·281 |
| 282 | ····iget-object·p1,·p1,·Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View; |
| |
| 283 | ····invoke-virtual·{p0},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->isUxRestricted()Z |
| |
| 284 | ····move-result·v0 |
| |
| 285 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/ViewUtils;->makeAllViewsUxRestricted(Landroid/view/View;Z)V |
| |
| 286 | ····return-void |
| 287 | .end·method |
| |
233 | .method·public·onDialogClosed(Z)V | 288 | .method·public·onDialogClosed(Z)V |
234 | ····.locals·0 | 289 | ····.locals·0 |
| |
235 | ····if-eqz·p1,·:cond_0 | 290 | ····if-eqz·p1,·:cond_0 |
| |
236 | ····.line·133 | 291 | ····.line·141 |
237 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBar:Landroid/widget/SeekBar; | 292 | ····iget-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBar:Landroid/widget/SeekBar; |
| |
238 | ····invoke-virtual·{p1},·Landroid/widget/SeekBar;->getProgress()I | 293 | ····invoke-virtual·{p1},·Landroid/widget/SeekBar;->getProgress()I |
| |
239 | ····move-result·p1 | 294 | ····move-result·p1 |
| |
240 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarProgress:I | 295 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarProgress:I |
| |
241 | ····.line·134 | 296 | ····.line·142 |
242 | ····invoke-virtual·{p0,·p1},·Landroidx/preference/Preference;->persistInt(I)Z | 297 | ····invoke-virtual·{p0,·p1},·Landroidx/preference/Preference;->persistInt(I)Z |
| |
243 | ····.line·135 | 298 | ····.line·143 |
244 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->notifyChanged()V | 299 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->notifyChanged()V |
| |
245 | ····:cond_0 | 300 | ····:cond_0 |
246 | ····const/4·p1,·0x0 | 301 | ····const/4·p1,·0x0 |
| |
247 | ····.line·138 | 302 | ····.line·146 |
248 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopTextView:Landroid/widget/TextView; | 303 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopTextView:Landroid/widget/TextView; |
| |
249 | ····.line·139 | 304 | ····.line·147 |
250 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightTextView:Landroid/widget/TextView; | 305 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightTextView:Landroid/widget/TextView; |
| |
251 | ····.line·140 | 306 | ····.line·148 |
252 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftTextView:Landroid/widget/TextView; | 307 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftTextView:Landroid/widget/TextView; |
| |
253 | ····.line·141 | 308 | ····.line·149 |
254 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBar:Landroid/widget/SeekBar; | 309 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBar:Landroid/widget/SeekBar; |
| |
255 | ····return-void | 310 | ····return-void |
256 | .end·method | 311 | .end·method |
| |
| 312 | .method·public·performClick()V |
| 313 | ····.locals·1 |
| |
| 314 | ····.line·287 |
| 315 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->isEnabled()Z |
| |
| 316 | ····move-result·v0 |
| |
| 317 | ····if-nez·v0,·:cond_0 |
| |
| 318 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->isSelectable()Z |
| |
| 319 | ····move-result·v0 |
| |
| 320 | ····if-eqz·v0,·:cond_1 |
| |
| 321 | ····:cond_0 |
| 322 | ····invoke-virtual·{p0},·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->isUxRestricted()Z |
| |
| 323 | ····move-result·v0 |
| |
| 324 | ····if-eqz·v0,·:cond_1 |
| |
| 325 | ····.line·288 |
| 326 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mRestrictedClickListener:Ljava/util/function/Consumer; |
| |
| 327 | ····if-eqz·v0,·:cond_2 |
| |
| 328 | ····.line·289 |
| 329 | ····invoke-interface·{v0,·p0},·Ljava/util/function/Consumer;->accept(Ljava/lang/Object;)V |
| |
| 330 | ····goto·:goto_0 |
| |
| 331 | ····.line·292 |
| 332 | ····:cond_1 |
| 333 | ····invoke-super·{p0},·Landroidx/preference/Preference;->performClick()V |
| |
| 334 | ····:cond_2 |
| 335 | ····:goto_0 |
| 336 | ····return-void |
| 337 | .end·method |
| |
257 | .method·public·setMaxProgress(I)V | 338 | .method·public·setMaxProgress(I)V |
258 | ····.locals·1 | 339 | ····.locals·1 |
| |
259 | ····.line·263 | 340 | ····.line·271 |
260 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBar:Landroid/widget/SeekBar; | 341 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBar:Landroid/widget/SeekBar; |
| |
261 | ····if-eqz·v0,·:cond_0 | 342 | ····if-eqz·v0,·:cond_0 |
| |
262 | ····.line·264 | 343 | ····.line·272 |
263 | ····invoke-virtual·{v0,·p1},·Landroid/widget/SeekBar;->setMax(I)V | 344 | ····invoke-virtual·{v0,·p1},·Landroid/widget/SeekBar;->setMax(I)V |
| |
264 | ····.line·266 | 345 | ····.line·274 |
265 | ····:cond_0 | 346 | ····:cond_0 |
266 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mMaxProgress:I | 347 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mMaxProgress:I |
| |
267 | ····return-void | 348 | ····return-void |
268 | .end·method | 349 | .end·method |
| |
| 350 | .method·public·setOnClickWhileRestrictedListener(Ljava/util/function/Consumer;)V |
| 351 | ····.locals·0 |
| 352 | ····.annotation·system·Ldalvik/annotation/Signature; |
| 353 | ········value·=·{ |
| 354 | ············"(", |
| 355 | ············"Ljava/util/function/Consumer<", |
| 356 | ············"Landroidx/preference/Preference;", |
| 357 | ············">;)V" |
| 358 | ········} |
| 359 | ····.end·annotation |
| |
| 360 | ····.line·311 |
| 361 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mRestrictedClickListener:Ljava/util/function/Consumer; |
| |
| 362 | ····return-void |
| 363 | .end·method |
| |
269 | .method·public·setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V | 364 | .method·public·setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V |
270 | ····.locals·1 | 365 | ····.locals·1 |
| |
271 | ····.line·247 | 366 | ····.line·255 |
272 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBar:Landroid/widget/SeekBar; | 367 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBar:Landroid/widget/SeekBar; |
| |
273 | ····if-eqz·v0,·:cond_0 | 368 | ····if-eqz·v0,·:cond_0 |
| |
274 | ····.line·248 | 369 | ····.line·256 |
275 | ····invoke-virtual·{v0,·p1},·Landroid/widget/SeekBar;->setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V | 370 | ····invoke-virtual·{v0,·p1},·Landroid/widget/SeekBar;->setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V |
| |
276 | ····.line·250 | 371 | ····.line·258 |
277 | ····:cond_0 | 372 | ····:cond_0 |
278 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mOnSeekBarChangeListener:Landroid/widget/SeekBar$OnSeekBarChangeListener; | 373 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mOnSeekBarChangeListener:Landroid/widget/SeekBar$OnSeekBarChangeListener; |
| |
279 | ····return-void | 374 | ····return-void |
280 | .end·method | 375 | .end·method |
| |
281 | .method·public·setProgress(I)V | 376 | .method·public·setProgress(I)V |
282 | ····.locals·1 | 377 | ····.locals·1 |
| |
283 | ····.line·124 | 378 | ····.line·132 |
284 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBar:Landroid/widget/SeekBar; | 379 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBar:Landroid/widget/SeekBar; |
| |
285 | ····if-eqz·v0,·:cond_0 | 380 | ····if-eqz·v0,·:cond_0 |
| |
286 | ····.line·125 | 381 | ····.line·133 |
287 | ····invoke-virtual·{v0,·p1},·Landroid/widget/SeekBar;->setProgress(I)V | 382 | ····invoke-virtual·{v0,·p1},·Landroid/widget/SeekBar;->setProgress(I)V |
| |
288 | ····.line·127 | 383 | ····.line·135 |
289 | ····:cond_0 | 384 | ····:cond_0 |
290 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarProgress:I | 385 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarProgress:I |
| |
291 | ····return-void | 386 | ····return-void |
292 | .end·method | 387 | .end·method |
| |
293 | .method·public·setSeekBarLeftTextViewText(Ljava/lang/String;)V | 388 | .method·public·setSeekBarLeftTextViewText(Ljava/lang/String;)V |
294 | ····.locals·1 | 389 | ····.locals·1 |
| |
295 | ····.line·200 | 390 | ····.line·208 |
296 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftTextView:Landroid/widget/TextView; | 391 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftTextView:Landroid/widget/TextView; |
| |
297 | ····if-eqz·v0,·:cond_0 | 392 | ····if-eqz·v0,·:cond_0 |
| |
298 | ····.line·201 | 393 | ····.line·209 |
299 | ····invoke-virtual·{v0,·p1},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V | 394 | ····invoke-virtual·{v0,·p1},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
| |
300 | ····.line·203 | 395 | ····.line·211 |
301 | ····:cond_0 | 396 | ····:cond_0 |
302 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftText:Ljava/lang/String; | 397 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftText:Ljava/lang/String; |
| |
303 | ····return-void | 398 | ····return-void |
304 | .end·method | 399 | .end·method |
| |
305 | .method·public·setSeekBarLeftTextViewVisibility(I)V | 400 | .method·public·setSeekBarLeftTextViewVisibility(I)V |
306 | ····.locals·1 | 401 | ····.locals·1 |
| |
307 | ····.line·179 | 402 | ····.line·187 |
308 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftTextView:Landroid/widget/TextView; | 403 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftTextView:Landroid/widget/TextView; |
| |
309 | ····if-eqz·v0,·:cond_0 | 404 | ····if-eqz·v0,·:cond_0 |
| |
310 | ····.line·180 | 405 | ····.line·188 |
311 | ····invoke-virtual·{v0,·p1},·Landroid/widget/TextView;->setVisibility(I)V | 406 | ····invoke-virtual·{v0,·p1},·Landroid/widget/TextView;->setVisibility(I)V |
| |
312 | ····.line·182 | 407 | ····.line·190 |
313 | ····:cond_0 | 408 | ····:cond_0 |
314 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftTextViewVisibility:I | 409 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarLeftTextViewVisibility:I |
| |
315 | ····return-void | 410 | ····return-void |
316 | .end·method | 411 | .end·method |
| |
317 | .method·public·setSeekBarRightTextViewText(Ljava/lang/String;)V | 412 | .method·public·setSeekBarRightTextViewText(Ljava/lang/String;)V |
318 | ····.locals·1 | 413 | ····.locals·1 |
| |
319 | ····.line·233 | 414 | ····.line·241 |
320 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightTextView:Landroid/widget/TextView; | 415 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightTextView:Landroid/widget/TextView; |
| |
321 | ····if-eqz·v0,·:cond_0 | 416 | ····if-eqz·v0,·:cond_0 |
| |
322 | ····.line·234 | 417 | ····.line·242 |
323 | ····invoke-virtual·{v0,·p1},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V | 418 | ····invoke-virtual·{v0,·p1},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
| |
324 | ····.line·236 | 419 | ····.line·244 |
325 | ····:cond_0 | 420 | ····:cond_0 |
326 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightText:Ljava/lang/String; | 421 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightText:Ljava/lang/String; |
| |
327 | ····return-void | 422 | ····return-void |
328 | .end·method | 423 | .end·method |
| |
329 | .method·public·setSeekBarRightTextViewVisibility(I)V | 424 | .method·public·setSeekBarRightTextViewVisibility(I)V |
330 | ····.locals·1 | 425 | ····.locals·1 |
| |
331 | ····.line·211 | 426 | ····.line·219 |
332 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightTextView:Landroid/widget/TextView; | 427 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightTextView:Landroid/widget/TextView; |
| |
333 | ····if-eqz·v0,·:cond_0 | 428 | ····if-eqz·v0,·:cond_0 |
| |
334 | ····.line·212 | 429 | ····.line·220 |
335 | ····invoke-virtual·{v0,·p1},·Landroid/widget/TextView;->setVisibility(I)V | 430 | ····invoke-virtual·{v0,·p1},·Landroid/widget/TextView;->setVisibility(I)V |
| |
336 | ····.line·214 | 431 | ····.line·222 |
337 | ····:cond_0 | 432 | ····:cond_0 |
338 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightTextViewVisibility:I | 433 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarRightTextViewVisibility:I |
| |
339 | ····return-void | 434 | ····return-void |
340 | .end·method | 435 | .end·method |
| |
341 | .method·public·setSeekBarTopTextViewText(Ljava/lang/String;)V | 436 | .method·public·setSeekBarTopTextViewText(Ljava/lang/String;)V |
342 | ····.locals·1 | 437 | ····.locals·1 |
| |
343 | ····.line·169 | 438 | ····.line·177 |
344 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopTextView:Landroid/widget/TextView; | 439 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopTextView:Landroid/widget/TextView; |
| |
345 | ····if-eqz·v0,·:cond_0 | 440 | ····if-eqz·v0,·:cond_0 |
| |
346 | ····.line·170 | 441 | ····.line·178 |
347 | ····invoke-virtual·{v0,·p1},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V | 442 | ····invoke-virtual·{v0,·p1},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
| |
348 | ····.line·172 | 443 | ····.line·180 |
349 | ····:cond_0 | 444 | ····:cond_0 |
350 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopText:Ljava/lang/String; | 445 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopText:Ljava/lang/String; |
| |
351 | ····return-void | 446 | ····return-void |
352 | .end·method | 447 | .end·method |
| |
353 | .method·public·setSeekBarTopTextViewVisibility(I)V | 448 | .method·public·setSeekBarTopTextViewVisibility(I)V |
354 | ····.locals·1 | 449 | ····.locals·1 |
| |
355 | ····.line·148 | 450 | ····.line·156 |
356 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopTextView:Landroid/widget/TextView; | 451 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopTextView:Landroid/widget/TextView; |
| |
357 | ····if-eqz·v0,·:cond_0 | 452 | ····if-eqz·v0,·:cond_0 |
| |
358 | ····.line·149 | 453 | ····.line·157 |
359 | ····invoke-virtual·{v0,·p1},·Landroid/widget/TextView;->setVisibility(I)V | 454 | ····invoke-virtual·{v0,·p1},·Landroid/widget/TextView;->setVisibility(I)V |
| |
360 | ····.line·151 | 455 | ····.line·159 |
361 | ····:cond_0 | 456 | ····:cond_0 |
362 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopTextViewVisibility:I | 457 | ····iput·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mSeekBarTopTextViewVisibility:I |
| |
363 | ····return-void | 458 | ····return-void |
364 | .end·method | 459 | .end·method |
| |
| 460 | .method·public·setUxRestricted(Z)V |
| 461 | ····.locals·1 |
| |
| 462 | ····.line·298 |
| 463 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mUxRestricted:Z |
| |
| 464 | ····if-eq·p1,·v0,·:cond_0 |
| |
| 465 | ····.line·299 |
| 466 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiSeekBarDialogPreference;->mUxRestricted:Z |
| |
| 467 | ····.line·300 |
| 468 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->notifyChanged()V |
| |
| 469 | ····:cond_0 |
| 470 | ····return-void |
| 471 | .end·method |