| | | |
Offset 1, 28 lines modified | Offset 1, 53 lines modified |
1 | .class·public·final·Landroidx/core/content/res/ColorStateListInflaterCompat; | 1 | .class·public·final·Landroidx/core/content/res/ColorStateListInflaterCompat; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"ColorStateListInflaterCompat.java" | 3 | .source·"ColorStateListInflaterCompat.java" |
| |
| |
| 4 | #·static·fields |
| 5 | .field·private·static·final·sTempTypedValue:Ljava/lang/ThreadLocal; |
| 6 | ····.annotation·system·Ldalvik/annotation/Signature; |
| 7 | ········value·=·{ |
| 8 | ············"Ljava/lang/ThreadLocal<", |
| 9 | ············"Landroid/util/TypedValue;", |
| 10 | ············">;" |
| 11 | ········} |
| 12 | ····.end·annotation |
| 13 | .end·field |
| |
| |
4 | #·direct·methods | 14 | #·direct·methods |
| 15 | .method·static·constructor·<clinit>()V |
| 16 | ····.locals·1 |
| |
| 17 | ····.line·51 |
| 18 | ····new-instance·v0,·Ljava/lang/ThreadLocal; |
| |
| 19 | ····invoke-direct·{v0},·Ljava/lang/ThreadLocal;-><init>()V |
| |
| 20 | ····sput-object·v0,·Landroidx/core/content/res/ColorStateListInflaterCompat;->sTempTypedValue:Ljava/lang/ThreadLocal; |
| |
| 21 | ····return-void |
| 22 | .end·method |
| |
5 | .method·public·static·createFromXml(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList; | 23 | .method·public·static·createFromXml(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList; |
6 | ····.locals·4 | 24 | ····.locals·4 |
7 | ····.annotation·system·Ldalvik/annotation/Throws; | 25 | ····.annotation·system·Ldalvik/annotation/Throws; |
8 | ········value·=·{ | 26 | ········value·=·{ |
9 | ············Lorg/xmlpull/v1/XmlPullParserException;, | 27 | ············Lorg/xmlpull/v1/XmlPullParserException;, |
10 | ············Ljava/io/IOException; | 28 | ············Ljava/io/IOException; |
11 | ········} | 29 | ········} |
12 | ····.end·annotation | 30 | ····.end·annotation |
| |
13 | ····.line·86 | 31 | ····.line·90 |
14 | ····invoke-static·{p1},·Landroid/util/Xml;->asAttributeSet(Lorg/xmlpull/v1/XmlPullParser;)Landroid/util/AttributeSet; | 32 | ····invoke-static·{p1},·Landroid/util/Xml;->asAttributeSet(Lorg/xmlpull/v1/XmlPullParser;)Landroid/util/AttributeSet; |
| |
15 | ····move-result-object·v0 | 33 | ····move-result-object·v0 |
| |
16 | ····.line·89 | 34 | ····.line·93 |
17 | ····:goto_0 | 35 | ····:goto_0 |
18 | ····invoke-interface·{p1},·Lorg/xmlpull/v1/XmlPullParser;->next()I | 36 | ····invoke-interface·{p1},·Lorg/xmlpull/v1/XmlPullParser;->next()I |
| |
19 | ····move-result·v1 | 37 | ····move-result·v1 |
| |
20 | ····const/4·v2,·0x2 | 38 | ····const/4·v2,·0x2 |
| |
Offset 33, 22 lines modified | Offset 58, 22 lines modified |
33 | ····if-eq·v1,·v3,·:cond_0 | 58 | ····if-eq·v1,·v3,·:cond_0 |
| |
34 | ····goto·:goto_0 | 59 | ····goto·:goto_0 |
| |
35 | ····:cond_0 | 60 | ····:cond_0 |
36 | ····if-ne·v1,·v2,·:cond_1 | 61 | ····if-ne·v1,·v2,·:cond_1 |
| |
37 | ····.line·98 | 62 | ····.line·102 |
38 | ····invoke-static·{p0,·p1,·v0,·p2},·Landroidx/core/content/res/ColorStateListInflaterCompat;->createFromXmlInner(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;Landroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList; | 63 | ····invoke-static·{p0,·p1,·v0,·p2},·Landroidx/core/content/res/ColorStateListInflaterCompat;->createFromXmlInner(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;Landroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList; |
| |
39 | ····move-result-object·p0 | 64 | ····move-result-object·p0 |
| |
40 | ····return-object·p0 | 65 | ····return-object·p0 |
| |
41 | ····.line·95 | 66 | ····.line·99 |
42 | ····:cond_1 | 67 | ····:cond_1 |
43 | ····new-instance·p0,·Lorg/xmlpull/v1/XmlPullParserException; | 68 | ····new-instance·p0,·Lorg/xmlpull/v1/XmlPullParserException; |
| |
44 | ····const-string·p1,·"No·start·tag·found" | 69 | ····const-string·p1,·"No·start·tag·found" |
| |
45 | ····invoke-direct·{p0,·p1},·Lorg/xmlpull/v1/XmlPullParserException;-><init>(Ljava/lang/String;)V | 70 | ····invoke-direct·{p0,·p1},·Lorg/xmlpull/v1/XmlPullParserException;-><init>(Ljava/lang/String;)V |
| |
Offset 60, 44 lines modified | Offset 85, 44 lines modified |
60 | ····.annotation·system·Ldalvik/annotation/Throws; | 85 | ····.annotation·system·Ldalvik/annotation/Throws; |
61 | ········value·=·{ | 86 | ········value·=·{ |
62 | ············Lorg/xmlpull/v1/XmlPullParserException;, | 87 | ············Lorg/xmlpull/v1/XmlPullParserException;, |
63 | ············Ljava/io/IOException; | 88 | ············Ljava/io/IOException; |
64 | ········} | 89 | ········} |
65 | ····.end·annotation | 90 | ····.end·annotation |
| |
66 | ····.line·113 | 91 | ····.line·117 |
67 | ····invoke-interface·{p1},·Lorg/xmlpull/v1/XmlPullParser;->getName()Ljava/lang/String; | 92 | ····invoke-interface·{p1},·Lorg/xmlpull/v1/XmlPullParser;->getName()Ljava/lang/String; |
| |
68 | ····move-result-object·v0 | 93 | ····move-result-object·v0 |
| |
69 | ····const-string·v1,·"selector" | 94 | ····const-string·v1,·"selector" |
| |
70 | ····.line·114 | 95 | ····.line·118 |
71 | ····invoke-virtual·{v0,·v1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 96 | ····invoke-virtual·{v0,·v1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
72 | ····move-result·v1 | 97 | ····move-result·v1 |
| |
73 | ····if-eqz·v1,·:cond_0 | 98 | ····if-eqz·v1,·:cond_0 |
| |
74 | ····.line·119 | 99 | ····.line·123 |
75 | ····invoke-static·{p0,·p1,·p2,·p3},·Landroidx/core/content/res/ColorStateListInflaterCompat;->inflate(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;Landroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList; | 100 | ····invoke-static·{p0,·p1,·p2,·p3},·Landroidx/core/content/res/ColorStateListInflaterCompat;->inflate(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;Landroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList; |
| |
76 | ····move-result-object·p0 | 101 | ····move-result-object·p0 |
| |
77 | ····return-object·p0 | 102 | ····return-object·p0 |
| |
78 | ····.line·115 | 103 | ····.line·119 |
79 | ····:cond_0 | 104 | ····:cond_0 |
80 | ····new-instance·p0,·Lorg/xmlpull/v1/XmlPullParserException; | 105 | ····new-instance·p0,·Lorg/xmlpull/v1/XmlPullParserException; |
| |
81 | ····new-instance·p2,·Ljava/lang/StringBuilder; | 106 | ····new-instance·p2,·Ljava/lang/StringBuilder; |
| |
82 | ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V | 107 | ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V |
| |
83 | ····.line·116 | 108 | ····.line·120 |
84 | ····invoke-interface·{p1},·Lorg/xmlpull/v1/XmlPullParser;->getPositionDescription()Ljava/lang/String; | 109 | ····invoke-interface·{p1},·Lorg/xmlpull/v1/XmlPullParser;->getPositionDescription()Ljava/lang/String; |
| |
85 | ····move-result-object·p1 | 110 | ····move-result-object·p1 |
| |
86 | ····invoke-virtual·{p2,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 111 | ····invoke-virtual·{p2,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
87 | ····const-string·p1,·":·invalid·color·state·list·tag·" | 112 | ····const-string·p1,·":·invalid·color·state·list·tag·" |
Offset 111, 24 lines modified | Offset 136, 52 lines modified |
111 | ····move-result-object·p1 | 136 | ····move-result-object·p1 |
| |
112 | ····invoke-direct·{p0,·p1},·Lorg/xmlpull/v1/XmlPullParserException;-><init>(Ljava/lang/String;)V | 137 | ····invoke-direct·{p0,·p1},·Lorg/xmlpull/v1/XmlPullParserException;-><init>(Ljava/lang/String;)V |
| |
113 | ····throw·p0 | 138 | ····throw·p0 |
114 | .end·method | 139 | .end·method |
| |
| 140 | .method·private·static·getTypedValue()Landroid/util/TypedValue; |
| 141 | ····.locals·2 |
| |
| 142 | ····.line·213 |
| 143 | ····sget-object·v0,·Landroidx/core/content/res/ColorStateListInflaterCompat;->sTempTypedValue:Ljava/lang/ThreadLocal; |
| |
| 144 | ····invoke-virtual·{v0},·Ljava/lang/ThreadLocal;->get()Ljava/lang/Object; |
| |
| 145 | ····move-result-object·v0 |
| |
| 146 | ····check-cast·v0,·Landroid/util/TypedValue; |
| |
| 147 | ····if-nez·v0,·:cond_0 |
| |
| 148 | ····.line·215 |
| 149 | ····new-instance·v0,·Landroid/util/TypedValue; |
| |
| 150 | ····invoke-direct·{v0},·Landroid/util/TypedValue;-><init>()V |
| |
| 151 | ····.line·216 |
| 152 | ····sget-object·v1,·Landroidx/core/content/res/ColorStateListInflaterCompat;->sTempTypedValue:Ljava/lang/ThreadLocal; |
| |
| 153 | ····invoke-virtual·{v1,·v0},·Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V |
| |
| 154 | ····:cond_0 |
| 155 | ····return-object·v0 |
| 156 | .end·method |
| |
115 | .method·public·static·inflate(Landroid/content/res/Resources;ILandroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList; | 157 | .method·public·static·inflate(Landroid/content/res/Resources;ILandroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList; |
116 | ····.locals·0 | 158 | ····.locals·0 |
| |
117 | ····.line·65 | 159 | ····.line·69 |
118 | ····:try_start_0 | 160 | ····:try_start_0 |
119 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getXml(I)Landroid/content/res/XmlResourceParser; | 161 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getXml(I)Landroid/content/res/XmlResourceParser; |
| |
120 | ····move-result-object·p1 | 162 | ····move-result-object·p1 |
| |
121 | ····.line·66 | 163 | ····.line·70 |
122 | ····invoke-static·{p0,·p1,·p2},·Landroidx/core/content/res/ColorStateListInflaterCompat;->createFromXml(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList; | 164 | ····invoke-static·{p0,·p1,·p2},·Landroidx/core/content/res/ColorStateListInflaterCompat;->createFromXml(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList; |
| |
123 | ····move-result-object·p0 | 165 | ····move-result-object·p0 |
124 | ····:try_end_0 | 166 | ····:try_end_0 |
125 | ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_0 | 167 | ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
126 | ····return-object·p0 | 168 | ····return-object·p0 |
Offset 136, 15 lines modified | Offset 189, 15 lines modified |
136 | ····:catch_0 | 189 | ····:catch_0 |
137 | ····move-exception·p0 | 190 | ····move-exception·p0 |
| |
138 | ····const-string·p1,·"CSLCompat" | 191 | ····const-string·p1,·"CSLCompat" |
| |
139 | ····const-string·p2,·"Failed·to·inflate·ColorStateList." | 192 | ····const-string·p2,·"Failed·to·inflate·ColorStateList." |
| |
140 | ····.line·68 | 193 | ····.line·72 |
141 | ····invoke-static·{p1,·p2,·p0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I | 194 | ····invoke-static·{p1,·p2,·p0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I |
| |
142 | ····const/4·p0,·0x0 | 195 | ····const/4·p0,·0x0 |
| |
143 | ····return-object·p0 | 196 | ····return-object·p0 |
144 | .end·method | 197 | .end·method |
| |
Offset 153, 264 lines modified | Offset 206, 338 lines modified |
153 | ····.annotation·system·Ldalvik/annotation/Throws; | 206 | ····.annotation·system·Ldalvik/annotation/Throws; |
154 | ········value·=·{ | 207 | ········value·=·{ |
155 | ············Lorg/xmlpull/v1/XmlPullParserException;, | 208 | ············Lorg/xmlpull/v1/XmlPullParserException;, |
156 | ············Ljava/io/IOException; | 209 | ············Ljava/io/IOException; |
157 | ········} | 210 | ········} |
158 | ····.end·annotation | 211 | ····.end·annotation |
| |
159 | ····move-object/from16·v0,·p2 | 212 | ····move-object/from16·v0,·p0 |
| |
| 213 | ····move-object/from16·v1,·p2 |
| |
160 | ····.line·128 | 214 | ····move-object/from16·v2,·p3 |
| |
| 215 | ····.line·132 |
161 | ····invoke-interface/range·{p1·..·p1},·Lorg/xmlpull/v1/XmlPullParser;->getDepth()I | 216 | ····invoke-interface/range·{p1·..·p1},·Lorg/xmlpull/v1/XmlPullParser;->getDepth()I |
| |
162 | ····move-result·v1 | 217 | ····move-result·v3 |
| |
163 | ····const/4·v2,·0x1 | 218 | ····const/4·v4,·0x1 |
| |
164 | ····add-int/2addr·v1,·v2 | 219 | ····add-int/2addr·v3,·v4 |
| |
165 | ····const/16·v3,·0x14 | 220 | ····const/16·v5,·0x14 |
| |
166 | ····new-array·v4,·v3,·[[I | 221 | ····new-array·v6,·v5,·[[I |
| |
167 | ····new-array·v3,·v3,·[I | 222 | ····new-array·v5,·v5,·[I |
| |
168 | ····const/4·v5,·0x0 | 223 | ····const/4·v7,·0x0 |
| |
169 | ····move·v6,·v5 | 224 | ····move·v8,·v7 |
| |
170 | ····.line·136 | 225 | ····.line·140 |
171 | ····:goto_0 | 226 | ····:goto_0 |
172 | ····invoke-interface/range·{p1·..·p1},·Lorg/xmlpull/v1/XmlPullParser;->next()I | 227 | ····invoke-interface/range·{p1·..·p1},·Lorg/xmlpull/v1/XmlPullParser;->next()I |
| |
173 | ····move-result·v7 | 228 | ····move-result·v9 |
| |
174 | ····if-eq·v7,·v2,·:cond_8 | 229 | ····if-eq·v9,·v4,·:cond_9 |
| |
175 | ····.line·137 | 230 | ····.line·141 |
176 | ····invoke-interface/range·{p1·..·p1},·Lorg/xmlpull/v1/XmlPullParser;->getDepth()I | 231 | ····invoke-interface/range·{p1·..·p1},·Lorg/xmlpull/v1/XmlPullParser;->getDepth()I |
| |
177 | ····move-result·v8 | 232 | ····move-result·v10 |
| |
178 | ····if-ge·v8,·v1,·:cond_0 | 233 | ····if-ge·v10,·v3,·:cond_0 |
| |
179 | ····const/4·v9,·0x3 | 234 | ····const/4·v11,·0x3 |
| |
180 | ····if-eq·v7,·v9,·:cond_8 | 235 | ····if-eq·v9,·v11,·:cond_9 |
| |
181 | ····:cond_0 | 236 | ····:cond_0 |
182 | ····const/4·v9,·0x2 | 237 | ····const/4·v11,·0x2 |
| |
183 | ····if-ne·v7,·v9,·:cond_7 | 238 | ····if-ne·v9,·v11,·:cond_8 |
| |
184 | ····if-gt·v8,·v1,·:cond_7 | 239 | ····if-gt·v10,·v3,·:cond_8 |
| |
185 | ····.line·139 | 240 | ····.line·143 |
186 | ····invoke-interface/range·{p1·..·p1},·Lorg/xmlpull/v1/XmlPullParser;->getName()Ljava/lang/String; | 241 | ····invoke-interface/range·{p1·..·p1},·Lorg/xmlpull/v1/XmlPullParser;->getName()Ljava/lang/String; |
| |
187 | ····move-result-object·v7 | 242 | ····move-result-object·v9 |
| |
188 | ····const-string·v8,·"item" | 243 | ····const-string·v10,·"item" |
| |
189 | ····invoke-virtual·{v7,·v8},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 244 | ····invoke-virtual·{v9,·v10},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
190 | ····move-result·v7 | 245 | ····move-result·v9 |
| |
191 | ····if-nez·v7,·:cond_1 | 246 | ····if-nez·v9,·:cond_1 |
| |
192 | ····goto/16·:goto_4 | 247 | ····goto/16·:goto_5 |
| |
193 | ····.line·143 | 248 | ····.line·147 |
194 | ····:cond_1 | 249 | ····:cond_1 |
195 | ····sget-object·v7,·Landroidx/core/R$styleable;->ColorStateListItem:[I | 250 | ····sget-object·v9,·Landroidx/core/R$styleable;->ColorStateListItem:[I |
| |
| 251 | ····invoke-static·{v0,·v2,·v1,·v9},·Landroidx/core/content/res/ColorStateListInflaterCompat;->obtainAttributes(Landroid/content/res/Resources;Landroid/content/res/Resources$Theme;Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray; |
| |
| 252 | ····move-result-object·v9 |
| |
| 253 | ····.line·148 |
| 254 | ····sget·v10,·Landroidx/core/R$styleable;->ColorStateListItem_android_color:I |
| |
| 255 | ····const/4·v11,·-0x1 |
| |
| 256 | ····invoke-virtual·{v9,·v10,·v11},·Landroid/content/res/TypedArray;->getResourceId(II)I |
| |
| 257 | ····move-result·v10 |
| |
| 258 | ····const·v12,·-0xff01 |
| |
| 259 | ····if-eq·v10,·v11,·:cond_2 |
| |
| 260 | ····.line·150 |
| 261 | ····invoke-static·{v0,·v10},·Landroidx/core/content/res/ColorStateListInflaterCompat;->isColorInt(Landroid/content/res/Resources;I)Z |
| |
| 262 | ····move-result·v11 |
| |
| 263 | ····if-nez·v11,·:cond_2 |
| |
196 | ····move-object/from16·v8,·p0 | 264 | ····.line·152 |
| 265 | ····:try_start_0 |
| 266 | ····invoke-virtual·{v0,·v10},·Landroid/content/res/Resources;->getXml(I)Landroid/content/res/XmlResourceParser; |
| |
| 267 | ····move-result-object·v10 |
| |
197 | ····move-object/from16·v9,·p3 | 268 | ····invoke-static·{v0,·v10,·v2},·Landroidx/core/content/res/ColorStateListInflaterCompat;->createFromXml(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList; |
| |
198 | ····invoke-static·{v8,·v9,·v0,·v7},·Landroidx/core/content/res/ColorStateListInflaterCompat;->obtainAttributes(Landroid/content/res/Resources;Landroid/content/res/Resources$Theme;Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray; | 269 | ····move-result-object·v10 |
| |
199 | ····move-result-object·v7 | 270 | ····invoke-virtual·{v10},·Landroid/content/res/ColorStateList;->getDefaultColor()I |
| |
200 | ····.line·144 | 271 | ····move-result·v10 |
| 272 | ····:try_end_0 |
| 273 | ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
| 274 | ····goto·:goto_1 |
| |
| 275 | ····.line·154 |
| 276 | ····:catch_0 |
201 | ····sget·v10,·Landroidx/core/R$styleable;->ColorStateListItem_android_color:I | 277 | ····sget·v10,·Landroidx/core/R$styleable;->ColorStateListItem_android_color:I |
| |
202 | ····const·v11,·-0xff01 | 278 | ····invoke-virtual·{v9,·v10,·v12},·Landroid/content/res/TypedArray;->getColor(II)I |
| |
| 279 | ····move-result·v10 |
| |
| 280 | ····goto·:goto_1 |
| |
203 | ····invoke-virtual·{v7,·v10,·v11},·Landroid/content/res/TypedArray;->getColor(II)I | 281 | ····.line·158 |
| 282 | ····:cond_2 |
| 283 | ····sget·v10,·Landroidx/core/R$styleable;->ColorStateListItem_android_color:I |
| |
| 284 | ····invoke-virtual·{v9,·v10,·v12},·Landroid/content/res/TypedArray;->getColor(II)I |
| |
204 | ····move-result·v10 | 285 | ····move-result·v10 |
| |
| 286 | ····:goto_1 |
205 | ····const/high16·v11,·0x3f800000····#·1.0f | 287 | ····const/high16·v11,·0x3f800000····#·1.0f |
| |
206 | ····.line·148 | 288 | ····.line·162 |
207 | ····sget·v12,·Landroidx/core/R$styleable;->ColorStateListItem_android_alpha:I | 289 | ····sget·v12,·Landroidx/core/R$styleable;->ColorStateListItem_android_alpha:I |
| |
208 | ····invoke-virtual·{v7,·v12},·Landroid/content/res/TypedArray;->hasValue(I)Z | 290 | ····invoke-virtual·{v9,·v12},·Landroid/content/res/TypedArray;->hasValue(I)Z |
| |
209 | ····move-result·v12 | 291 | ····move-result·v12 |
| |
210 | ····if-eqz·v12,·:cond_2 | 292 | ····if-eqz·v12,·:cond_3 |
| |
211 | ····.line·149 | 293 | ····.line·163 |
212 | ····sget·v12,·Landroidx/core/R$styleable;->ColorStateListItem_android_alpha:I | 294 | ····sget·v12,·Landroidx/core/R$styleable;->ColorStateListItem_android_alpha:I |
| |
213 | ····invoke-virtual·{v7,·v12,·v11},·Landroid/content/res/TypedArray;->getFloat(IF)F | 295 | ····invoke-virtual·{v9,·v12,·v11},·Landroid/content/res/TypedArray;->getFloat(IF)F |
| |
214 | ····move-result·v11 | 296 | ····move-result·v11 |
| |
215 | ····goto·:goto_1 | 297 | ····goto·:goto_2 |
| |
216 | ····.line·150 | 298 | ····.line·164 |
217 | ····:cond_2 | 299 | ····:cond_3 |
218 | ····sget·v12,·Landroidx/core/R$styleable;->ColorStateListItem_alpha:I | 300 | ····sget·v12,·Landroidx/core/R$styleable;->ColorStateListItem_alpha:I |
| |
219 | ····invoke-virtual·{v7,·v12},·Landroid/content/res/TypedArray;->hasValue(I)Z | 301 | ····invoke-virtual·{v9,·v12},·Landroid/content/res/TypedArray;->hasValue(I)Z |
| |
220 | ····move-result·v12 | 302 | ····move-result·v12 |
| |
221 | ····if-eqz·v12,·:cond_3 | 303 | ····if-eqz·v12,·:cond_4 |
| |
222 | ····.line·151 | 304 | ····.line·165 |
223 | ····sget·v12,·Landroidx/core/R$styleable;->ColorStateListItem_alpha:I | 305 | ····sget·v12,·Landroidx/core/R$styleable;->ColorStateListItem_alpha:I |
| |
224 | ····invoke-virtual·{v7,·v12,·v11},·Landroid/content/res/TypedArray;->getFloat(IF)F | 306 | ····invoke-virtual·{v9,·v12,·v11},·Landroid/content/res/TypedArray;->getFloat(IF)F |
| |
225 | ····move-result·v11 | 307 | ····move-result·v11 |
| |
226 | ····.line·154 | 308 | ····.line·168 |
227 | ····:cond_3 | 309 | ····:cond_4 |
228 | ····:goto_1 | 310 | ····:goto_2 |
229 | ····invoke-virtual·{v7},·Landroid/content/res/TypedArray;->recycle()V | 311 | ····invoke-virtual·{v9},·Landroid/content/res/TypedArray;->recycle()V |
| |
230 | ····.line·158 | 312 | ····.line·172 |
231 | ····invoke-interface/range·{p2·..·p2},·Landroid/util/AttributeSet;->getAttributeCount()I | 313 | ····invoke-interface/range·{p2·..·p2},·Landroid/util/AttributeSet;->getAttributeCount()I |
| |
232 | ····move-result·v7 | 314 | ····move-result·v9 |
| |
233 | ····.line·159 | 315 | ····.line·173 |
234 | ····new-array·v12,·v7,·[I | 316 | ····new-array·v12,·v9,·[I |
| |
235 | ····move·v13,·v5 | 317 | ····move·v13,·v7 |
| |
236 | ····move·v14,·v13 | 318 | ····move·v14,·v13 |
| |
237 | ····:goto_2 | 319 | ····:goto_3 |
238 | ····if-ge·v13,·v7,·:cond_6 | 320 | ····if-ge·v13,·v9,·:cond_7 |
| |
239 | ····.line·161 | 321 | ····.line·175 |
240 | ····invoke-interface·{v0,·v13},·Landroid/util/AttributeSet;->getAttributeNameResource(I)I | 322 | ····invoke-interface·{v1,·v13},·Landroid/util/AttributeSet;->getAttributeNameResource(I)I |
| |
241 | ····move-result·v15 | 323 | ····move-result·v15 |
| |
242 | ····const·v2,·0x10101a5 | 324 | ····const·v4,·0x10101a5 |
| |
243 | ····if-eq·v15,·v2,·:cond_5 | 325 | ····if-eq·v15,·v4,·:cond_6 |
| |
244 | ····const·v2,·0x101031f | 326 | ····const·v4,·0x101031f |
| |
245 | ····if-eq·v15,·v2,·:cond_5 | 327 | ····if-eq·v15,·v4,·:cond_6 |
| |
246 | ····.line·162 | 328 | ····.line·176 |
247 | ····sget·v2,·Landroidx/core/R$attr;->alpha:I | 329 | ····sget·v4,·Landroidx/core/R$attr;->alpha:I |
| |
248 | ····if-eq·v15,·v2,·:cond_5 | 330 | ····if-eq·v15,·v4,·:cond_6 |
| |
249 | ····add-int/lit8·v2,·v14,·0x1 | 331 | ····add-int/lit8·v4,·v14,·0x1 |
| |
250 | ····.line·165 | 332 | ····.line·179 |
251 | ····invoke-interface·{v0,·v13,·v5},·Landroid/util/AttributeSet;->getAttributeBooleanValue(IZ)Z | 333 | ····invoke-interface·{v1,·v13,·v7},·Landroid/util/AttributeSet;->getAttributeBooleanValue(IZ)Z |
| |
252 | ····move-result·v16 | 334 | ····move-result·v16 |
| |
253 | ····if-eqz·v16,·:cond_4 | 335 | ····if-eqz·v16,·:cond_5 |
| |
254 | ····goto·:goto_3 | 336 | ····goto·:goto_4 |
| |
255 | ····:cond_4 | 337 | ····:cond_5 |
256 | ····neg-int·v15,·v15 | 338 | ····neg-int·v15,·v15 |
| |
257 | ····.line·166 | 339 | ····.line·180 |
258 | ····:goto_3 | 340 | ····:goto_4 |
259 | ····aput·v15,·v12,·v14 | 341 | ····aput·v15,·v12,·v14 |
| |
260 | ····move·v14,·v2 | 342 | ····move·v14,·v4 |
| |
261 | ····:cond_5 | 343 | ····:cond_6 |
262 | ····add-int/lit8·v13,·v13,·0x1 | 344 | ····add-int/lit8·v13,·v13,·0x1 |
| |
263 | ····const/4·v2,·0x1 | 345 | ····const/4·v4,·0x1 |
| |
264 | ····goto·:goto_2 | 346 | ····goto·:goto_3 |
| |
265 | ····.line·169 | 347 | ····.line·183 |
266 | ····:cond_6 | 348 | ····:cond_7 |
267 | ····invoke-static·{v12,·v14},·Landroid/util/StateSet;->trimStateSet([II)[I | 349 | ····invoke-static·{v12,·v14},·Landroid/util/StateSet;->trimStateSet([II)[I |
| |
268 | ····move-result-object·v2 | 350 | ····move-result-object·v4 |
| |
269 | ····.line·174 | 351 | ····.line·188 |
270 | ····invoke-static·{v10,·v11},·Landroidx/core/content/res/ColorStateListInflaterCompat;->modulateColorAlpha(IF)I | 352 | ····invoke-static·{v10,·v11},·Landroidx/core/content/res/ColorStateListInflaterCompat;->modulateColorAlpha(IF)I |
| |
271 | ····move-result·v7 | 353 | ····move-result·v9 |
| |
272 | ····.line·176 | |
273 | ····invoke-static·{v3,·v6,·v7},·Landroidx/core/content/res/GrowingArrayUtils;->append([III)[I | |
| |
274 | ····move-result-object·v3 | |
| |
275 | ····.line·177 | |
276 | ····invoke-static·{v4,·v6,·v2},·Landroidx/core/content/res/GrowingArrayUtils;->append([Ljava/lang/Object;ILjava/lang/Object;)[Ljava/lang/Object; | |
| |
277 | ····move-result-object·v2 | 354 | ····.line·190 |
| 355 | ····invoke-static·{v5,·v8,·v9},·Landroidx/core/content/res/GrowingArrayUtils;->append([III)[I |
| |
278 | ····move-object·v4,·v2 | 356 | ····move-result-object·v5 |
| |
279 | ····check-cast·v4,·[[I | 357 | ····.line·191 |
| 358 | ····invoke-static·{v6,·v8,·v4},·Landroidx/core/content/res/GrowingArrayUtils;->append([Ljava/lang/Object;ILjava/lang/Object;)[Ljava/lang/Object; |
| |
280 | ····add-int/lit8·v6,·v6,·0x1 | 359 | ····move-result-object·v4 |
| |
281 | ····goto·:goto_5 | 360 | ····move-object·v6,·v4 |
| |
282 | ····:cond_7 | 361 | ····check-cast·v6,·[[I |
283 | ····:goto_4 | |
284 | ····move-object/from16·v8,·p0 | |
| |
285 | ····move-object/from16·v9,·p3 | 362 | ····add-int/lit8·v8,·v8,·0x1 |
| |
| 363 | ····:cond_8 |
286 | ····:goto_5 | 364 | ····:goto_5 |
287 | ····const/4·v2,·0x1 | 365 | ····const/4·v4,·0x1 |
| |
288 | ····goto/16·:goto_0 | 366 | ····goto/16·:goto_0 |
| |
289 | ····.line·181 | 367 | ····.line·195 |
290 | ····:cond_8 | 368 | ····:cond_9 |
291 | ····new-array·v0,·v6,·[I | 369 | ····new-array·v0,·v8,·[I |
| |
292 | ····.line·182 | 370 | ····.line·196 |
293 | ····new-array·v1,·v6,·[[I | 371 | ····new-array·v1,·v8,·[[I |
| |
294 | ····.line·183 | 372 | ····.line·197 |
295 | ····invoke-static·{v3,·v5,·v0,·v5,·v6},·Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V | 373 | ····invoke-static·{v5,·v7,·v0,·v7,·v8},·Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V |
| |
296 | ····.line·184 | 374 | ····.line·198 |
297 | ····invoke-static·{v4,·v5,·v1,·v5,·v6},·Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V | 375 | ····invoke-static·{v6,·v7,·v1,·v7,·v8},·Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V |
| |
298 | ····.line·186 | 376 | ····.line·200 |
299 | ····new-instance·v2,·Landroid/content/res/ColorStateList; | 377 | ····new-instance·v2,·Landroid/content/res/ColorStateList; |
| |
300 | ····invoke-direct·{v2,·v1,·v0},·Landroid/content/res/ColorStateList;-><init>([[I[I)V | 378 | ····invoke-direct·{v2,·v1,·v0},·Landroid/content/res/ColorStateList;-><init>([[I[I)V |
| |
301 | ····return-object·v2 | 379 | ····return-object·v2 |
302 | .end·method | 380 | .end·method |
| |
| 381 | .method·private·static·isColorInt(Landroid/content/res/Resources;I)Z |
| 382 | ····.locals·2 |
| |
| 383 | ····.line·204 |
| 384 | ····invoke-static·{},·Landroidx/core/content/res/ColorStateListInflaterCompat;->getTypedValue()Landroid/util/TypedValue; |
| |
| 385 | ····move-result-object·v0 |
| |
| 386 | ····const/4·v1,·0x1 |
| |
| 387 | ····.line·205 |
| 388 | ····invoke-virtual·{p0,·p1,·v0,·v1},·Landroid/content/res/Resources;->getValue(ILandroid/util/TypedValue;Z)V |
| |
| 389 | ····.line·207 |
| 390 | ····iget·p0,·v0,·Landroid/util/TypedValue;->type:I |
| |
| 391 | ····const/16·p1,·0x1c |
| |
| 392 | ····if-lt·p0,·p1,·:cond_0 |
| |
| 393 | ····const/16·p1,·0x1f |
| |
| 394 | ····if-gt·p0,·p1,·:cond_0 |
| |
| 395 | ····goto·:goto_0 |
| |
| 396 | ····:cond_0 |
| 397 | ····const/4·v1,·0x0 |
| |
| 398 | ····:goto_0 |
| 399 | ····return·v1 |
| 400 | .end·method |
| |
303 | .method·private·static·modulateColorAlpha(IF)I | 401 | .method·private·static·modulateColorAlpha(IF)I |
304 | ····.locals·1 | 402 | ····.locals·1 |
| |
305 | ····.line·198 | 403 | ····.line·230 |
306 | ····invoke-static·{p0},·Landroid/graphics/Color;->alpha(I)I | 404 | ····invoke-static·{p0},·Landroid/graphics/Color;->alpha(I)I |
| |
307 | ····move-result·v0 | 405 | ····move-result·v0 |
| |
308 | ····int-to-float·v0,·v0 | 406 | ····int-to-float·v0,·v0 |
| |
309 | ····mul-float/2addr·v0,·p1 | 407 | ····mul-float/2addr·v0,·p1 |
Offset 431, 25 lines modified | Offset 558, 25 lines modified |
431 | .end·method | 558 | .end·method |
| |
432 | .method·private·static·obtainAttributes(Landroid/content/res/Resources;Landroid/content/res/Resources$Theme;Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray; | 559 | .method·private·static·obtainAttributes(Landroid/content/res/Resources;Landroid/content/res/Resources$Theme;Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray; |
433 | ····.locals·0 | 560 | ····.locals·0 |
| |
434 | ····if-nez·p1,·:cond_0 | 561 | ····if-nez·p1,·:cond_0 |
| |
435 | ····.line·191 | 562 | ····.line·223 |
436 | ····invoke-virtual·{p0,·p2,·p3},·Landroid/content/res/Resources;->obtainAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray; | 563 | ····invoke-virtual·{p0,·p2,·p3},·Landroid/content/res/Resources;->obtainAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray; |
| |
437 | ····move-result-object·p0 | 564 | ····move-result-object·p0 |
| |
438 | ····goto·:goto_0 | 565 | ····goto·:goto_0 |
| |
439 | ····:cond_0 | 566 | ····:cond_0 |
440 | ····const/4·p0,·0x0 | 567 | ····const/4·p0,·0x0 |
| |
441 | ····.line·192 | 568 | ····.line·224 |
442 | ····invoke-virtual·{p1,·p2,·p3,·p0,·p0},·Landroid/content/res/Resources$Theme;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray; | 569 | ····invoke-virtual·{p1,·p2,·p3,·p0,·p0},·Landroid/content/res/Resources$Theme;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray; |
| |
443 | ····move-result-object·p0 | 570 | ····move-result-object·p0 |
| |
444 | ····:goto_0 | 571 | ····:goto_0 |
445 | ····return-object·p0 | 572 | ····return-object·p0 |
446 | .end·method | 573 | .end·method |