Offset 3, 43 lines modifiedOffset 3, 290 lines modified
3 .source·"ResourcesCompat.java"3 .source·"ResourcesCompat.java"
  
  
4 #·annotations4 #·annotations
5 .annotation·system·Ldalvik/annotation/MemberClasses;5 .annotation·system·Ldalvik/annotation/MemberClasses;
6 ····value·=·{6 ····value·=·{
7 ········Landroidx/core/content/res/ResourcesCompat$ThemeCompat;,7 ········Landroidx/core/content/res/ResourcesCompat$ThemeCompat;,
8 ········Landroidx/core/content/res/ResourcesCompat$FontCallback;8 ········Landroidx/core/content/res/ResourcesCompat$FontCallback;,
 9 ········Landroidx/core/content/res/ResourcesCompat$ColorStateListCacheEntry;
9 ····}10 ····}
10 .end·annotation11 .end·annotation
  
  
 12 #·static·fields
 13 .field·private·static·final·sColorStateCacheLock:Ljava/lang/Object;
  
 14 .field·private·static·final·sColorStateCaches:Ljava/util/WeakHashMap;
 15 ····.annotation·system·Ldalvik/annotation/Signature;
 16 ········value·=·{
 17 ············"Ljava/util/WeakHashMap<",
 18 ············"Landroid/content/res/Resources;",
 19 ············"Landroid/util/SparseArray<",
 20 ············"Landroidx/core/content/res/ResourcesCompat$ColorStateListCacheEntry;",
 21 ············">;>;"
 22 ········}
 23 ····.end·annotation
 24 .end·field
  
 25 .field·private·static·final·sTempTypedValue:Ljava/lang/ThreadLocal;
 26 ····.annotation·system·Ldalvik/annotation/Signature;
 27 ········value·=·{
 28 ············"Ljava/lang/ThreadLocal<",
 29 ············"Landroid/util/TypedValue;",
 30 ············">;"
 31 ········}
 32 ····.end·annotation
 33 .end·field
  
  
11 #·direct·methods34 #·direct·methods
 35 .method·static·constructor·<clinit>()V
 36 ····.locals·2
  
 37 ····.line·68
 38 ····new-instance·v0,·Ljava/lang/ThreadLocal;
  
 39 ····invoke-direct·{v0},·Ljava/lang/ThreadLocal;-><init>()V
  
 40 ····sput-object·v0,·Landroidx/core/content/res/ResourcesCompat;->sTempTypedValue:Ljava/lang/ThreadLocal;
  
 41 ····.line·71
 42 ····new-instance·v0,·Ljava/util/WeakHashMap;
  
 43 ····const/4·v1,·0x0
  
 44 ····invoke-direct·{v0,·v1},·Ljava/util/WeakHashMap;-><init>(I)V
  
 45 ····sput-object·v0,·Landroidx/core/content/res/ResourcesCompat;->sColorStateCaches:Ljava/util/WeakHashMap;
  
 46 ····.line·73
 47 ····new-instance·v0,·Ljava/lang/Object;
  
 48 ····invoke-direct·{v0},·Ljava/lang/Object;-><init>()V
  
 49 ····sput-object·v0,·Landroidx/core/content/res/ResourcesCompat;->sColorStateCacheLock:Ljava/lang/Object;
  
 50 ····return-void
 51 .end·method
  
 52 .method·private·static·addColorStateListToCache(Landroid/content/res/Resources;ILandroid/content/res/ColorStateList;)V
 53 ····.locals·3
  
 54 ····.line·262
 55 ····sget-object·v0,·Landroidx/core/content/res/ResourcesCompat;->sColorStateCacheLock:Ljava/lang/Object;
  
 56 ····monitor-enter·v0
  
 57 ····.line·263
 58 ····:try_start_0
 59 ····sget-object·v1,·Landroidx/core/content/res/ResourcesCompat;->sColorStateCaches:Ljava/util/WeakHashMap;
  
 60 ····invoke-virtual·{v1,·p0},·Ljava/util/WeakHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
  
 61 ····move-result-object·v1
  
 62 ····check-cast·v1,·Landroid/util/SparseArray;
  
 63 ····if-nez·v1,·:cond_0
  
 64 ····.line·265
 65 ····new-instance·v1,·Landroid/util/SparseArray;
  
 66 ····invoke-direct·{v1},·Landroid/util/SparseArray;-><init>()V
  
 67 ····.line·266
 68 ····sget-object·v2,·Landroidx/core/content/res/ResourcesCompat;->sColorStateCaches:Ljava/util/WeakHashMap;
  
 69 ····invoke-virtual·{v2,·p0,·v1},·Ljava/util/WeakHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
  
 70 ····.line·268
 71 ····:cond_0
 72 ····new-instance·v2,·Landroidx/core/content/res/ResourcesCompat$ColorStateListCacheEntry;
  
 73 ····.line·269
 74 ····invoke-virtual·{p0},·Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;
  
 75 ····move-result-object·p0
  
 76 ····invoke-direct·{v2,·p2,·p0},·Landroidx/core/content/res/ResourcesCompat$ColorStateListCacheEntry;-><init>(Landroid/content/res/ColorStateList;Landroid/content/res/Configuration;)V
  
 77 ····.line·268
 78 ····invoke-virtual·{v1,·p1,·v2},·Landroid/util/SparseArray;->append(ILjava/lang/Object;)V
  
 79 ····.line·270
 80 ····monitor-exit·v0
  
 81 ····return-void
  
 82 ····:catchall_0
 83 ····move-exception·p0
  
 84 ····monitor-exit·v0
 85 ····:try_end_0
 86 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0
  
 87 ····throw·p0
 88 .end·method
  
 89 .method·private·static·getCachedColorStateList(Landroid/content/res/Resources;I)Landroid/content/res/ColorStateList;
 90 ····.locals·4
  
 91 ····.line·242
 92 ····sget-object·v0,·Landroidx/core/content/res/ResourcesCompat;->sColorStateCacheLock:Ljava/lang/Object;
  
 93 ····monitor-enter·v0
  
 94 ····.line·243
 95 ····:try_start_0
 96 ····sget-object·v1,·Landroidx/core/content/res/ResourcesCompat;->sColorStateCaches:Ljava/util/WeakHashMap;
  
 97 ····invoke-virtual·{v1,·p0},·Ljava/util/WeakHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
  
 98 ····move-result-object·v1
  
 99 ····check-cast·v1,·Landroid/util/SparseArray;
  
 100 ····if-eqz·v1,·:cond_1
  
 101 ····.line·244
 102 ····invoke-virtual·{v1},·Landroid/util/SparseArray;->size()I
  
 103 ····move-result·v2
  
 104 ····if-lez·v2,·:cond_1
  
 105 ····.line·245
 106 ····invoke-virtual·{v1,·p1},·Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
  
 107 ····move-result-object·v2
  
 108 ····check-cast·v2,·Landroidx/core/content/res/ResourcesCompat$ColorStateListCacheEntry;
  
 109 ····if-eqz·v2,·:cond_1
  
 110 ····.line·247
 111 ····iget-object·v3,·v2,·Landroidx/core/content/res/ResourcesCompat$ColorStateListCacheEntry;->mConfiguration:Landroid/content/res/Configuration;
  
 112 ····invoke-virtual·{p0},·Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;
  
 113 ····move-result-object·p0
  
 114 ····invoke-virtual·{v3,·p0},·Landroid/content/res/Configuration;->equals(Landroid/content/res/Configuration;)Z
  
 115 ····move-result·p0
  
 116 ····if-eqz·p0,·:cond_0
  
 117 ····.line·249
 118 ····iget-object·p0,·v2,·Landroidx/core/content/res/ResourcesCompat$ColorStateListCacheEntry;->mValue:Landroid/content/res/ColorStateList;
  
 119 ····monitor-exit·v0
  
 120 ····return-object·p0
  
 121 ····.line·252
 122 ····:cond_0
 123 ····invoke-virtual·{v1,·p1},·Landroid/util/SparseArray;->remove(I)V
  
 124 ····.line·256
 125 ····:cond_1
 126 ····monitor-exit·v0
  
 127 ····const/4·p0,·0x0
  
 128 ····return-object·p0
  
 129 ····:catchall_0
 130 ····move-exception·p0
  
 131 ····monitor-exit·v0
 132 ····:try_end_0
 133 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0
  
 134 ····throw·p0
 135 .end·method
  
 136 .method·public·static·getColorStateList(Landroid/content/res/Resources;ILandroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList;
 137 ····.locals·2
 138 ····.annotation·system·Ldalvik/annotation/Throws;
 139 ········value·=·{
 140 ············Landroid/content/res/Resources$NotFoundException;
 141 ········}
 142 ····.end·annotation
  
 143 ····.line·197
 144 ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I
  
 145 ····const/16·v1,·0x17
  
 146 ····if-lt·v0,·v1,·:cond_0
  
 147 ····.line·199
 148 ····invoke-virtual·{p0,·p1,·p2},·Landroid/content/res/Resources;->getColorStateList(ILandroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList;
  
 149 ····move-result-object·p0
  
 150 ····return-object·p0
  
 151 ····.line·203
 152 ····:cond_0
 153 ····invoke-static·{p0,·p1},·Landroidx/core/content/res/ResourcesCompat;->getCachedColorStateList(Landroid/content/res/Resources;I)Landroid/content/res/ColorStateList;
  
 154 ····move-result-object·v0
  
 155 ····if-eqz·v0,·:cond_1
  
 156 ····return-object·v0
  
 157 ····.line·208
 158 ····:cond_1
 159 ····invoke-static·{p0,·p1,·p2},·Landroidx/core/content/res/ResourcesCompat;->inflateColorStateList(Landroid/content/res/Resources;ILandroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList;
  
 160 ····move-result-object·p2
  
 161 ····if-eqz·p2,·:cond_2
  
 162 ····.line·211
 163 ····invoke-static·{p0,·p1,·p2},·Landroidx/core/content/res/ResourcesCompat;->addColorStateListToCache(Landroid/content/res/Resources;ILandroid/content/res/ColorStateList;)V
  
 164 ····return-object·p2
  
 165 ····.line·216
 166 ····:cond_2
 167 ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getColorStateList(I)Landroid/content/res/ColorStateList;
  
 168 ····move-result-object·p0
  
 169 ····return-object·p0
 170 .end·method
  
12 .method·public·static·getDrawable(Landroid/content/res/Resources;ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;171 .method·public·static·getDrawable(Landroid/content/res/Resources;ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
13 ····.locals·2172 ····.locals·2
14 ····.annotation·system·Ldalvik/annotation/Throws;173 ····.annotation·system·Ldalvik/annotation/Throws;
15 ········value·=·{174 ········value·=·{
16 ············Landroid/content/res/Resources$NotFoundException;175 ············Landroid/content/res/Resources$NotFoundException;
17 ········}176 ········}
18 ····.end·annotation177 ····.end·annotation
  
19 ····.line·93178 ····.line·104
20 ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I179 ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I
  
21 ····const/16·v1,·0x15180 ····const/16·v1,·0x15
  
22 ····if-lt·v0,·v1,·:cond_0181 ····if-lt·v0,·v1,·:cond_0
  
23 ····.line·94182 ····.line·105
24 ····invoke-virtual·{p0,·p1,·p2},·Landroid/content/res/Resources;->getDrawable(ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;183 ····invoke-virtual·{p0,·p1,·p2},·Landroid/content/res/Resources;->getDrawable(ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
  
25 ····move-result-object·p0184 ····move-result-object·p0
  
26 ····return-object·p0185 ····return-object·p0
  
27 ····.line·96186 ····.line·107
28 ····:cond_0187 ····:cond_0
29 ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;188 ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;
  
30 ····move-result-object·p0189 ····move-result-object·p0
  
31 ····return-object·p0190 ····return-object·p0
32 .end·method191 .end·method
Offset 48, 26 lines modifiedOffset 295, 26 lines modified
48 ····.locals·7295 ····.locals·7
49 ····.annotation·system·Ldalvik/annotation/Throws;296 ····.annotation·system·Ldalvik/annotation/Throws;
50 ········value·=·{297 ········value·=·{
51 ············Landroid/content/res/Resources$NotFoundException;298 ············Landroid/content/res/Resources$NotFoundException;
52 ········}299 ········}
53 ····.end·annotation300 ····.end·annotation
  
54 ····.line·238301 ····.line·347
55 ····invoke-virtual·{p0},·Landroid/content/Context;->isRestricted()Z302 ····invoke-virtual·{p0},·Landroid/content/Context;->isRestricted()Z
  
56 ····move-result·v0303 ····move-result·v0
  
57 ····if-eqz·v0,·:cond_0304 ····if-eqz·v0,·:cond_0
  
58 ····const/4·p0,·0x0305 ····const/4·p0,·0x0
  
59 ····return-object·p0306 ····return-object·p0
  
60 ····.line·241307 ····.line·350
61 ····:cond_0308 ····:cond_0
62 ····new-instance·v2,·Landroid/util/TypedValue;309 ····new-instance·v2,·Landroid/util/TypedValue;
  
63 ····invoke-direct·{v2},·Landroid/util/TypedValue;-><init>()V310 ····invoke-direct·{v2},·Landroid/util/TypedValue;-><init>()V
  
64 ····const/4·v3,·0x0311 ····const/4·v3,·0x0
  
Offset 92, 15 lines modifiedOffset 339, 15 lines modified
92 ····.locals·7339 ····.locals·7
93 ····.annotation·system·Ldalvik/annotation/Throws;340 ····.annotation·system·Ldalvik/annotation/Throws;
94 ········value·=·{341 ········value·=·{
95 ············Landroid/content/res/Resources$NotFoundException;342 ············Landroid/content/res/Resources$NotFoundException;
96 ········}343 ········}
97 ····.end·annotation344 ····.end·annotation
  
98 ····.line·347345 ····.line·456
99 ····invoke-virtual·{p0},·Landroid/content/Context;->isRestricted()Z346 ····invoke-virtual·{p0},·Landroid/content/Context;->isRestricted()Z
  
100 ····move-result·v0347 ····move-result·v0
  
101 ····if-eqz·v0,·:cond_0348 ····if-eqz·v0,·:cond_0
  
102 ····const/4·p0,·0x0349 ····const/4·p0,·0x0
Offset 118, 15 lines modifiedOffset 365, 15 lines modified
  
118 ····move-object·v2,·p2365 ····move-object·v2,·p2
  
119 ····move·v3,·p3366 ····move·v3,·p3
  
120 ····move-object·v4,·p4367 ····move-object·v4,·p4
  
121 ····.line·350368 ····.line·459
122 ····invoke-static/range·{v0·..·v6},·Landroidx/core/content/res/ResourcesCompat;->loadFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroidx/core/content/res/ResourcesCompat$FontCallback;Landroid/os/Handler;Z)Landroid/graphics/Typeface;369 ····invoke-static/range·{v0·..·v6},·Landroidx/core/content/res/ResourcesCompat;->loadFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroidx/core/content/res/ResourcesCompat$FontCallback;Landroid/os/Handler;Z)Landroid/graphics/Typeface;
  
123 ····move-result-object·p0370 ····move-result-object·p0
  
124 ····return-object·p0371 ····return-object·p0
125 .end·method372 .end·method
  
Offset 134, 32 lines modifiedOffset 381, 32 lines modified
134 ····.locals·7381 ····.locals·7
135 ····.annotation·system·Ldalvik/annotation/Throws;382 ····.annotation·system·Ldalvik/annotation/Throws;
136 ········value·=·{383 ········value·=·{
137 ············Landroid/content/res/Resources$NotFoundException;384 ············Landroid/content/res/Resources$NotFoundException;
138 ········}385 ········}
139 ····.end·annotation386 ····.end·annotation
  
140 ····.line·329387 ····.line·438
141 ····invoke-static·{p2},·Landroidx/core/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;388 ····invoke-static·{p2},·Landroidx/core/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
  
142 ····.line·330389 ····.line·439
143 ····invoke-virtual·{p0},·Landroid/content/Context;->isRestricted()Z390 ····invoke-virtual·{p0},·Landroid/content/Context;->isRestricted()Z
  
144 ····move-result·v0391 ····move-result·v0
  
145 ····if-eqz·v0,·:cond_0392 ····if-eqz·v0,·:cond_0
  
146 ····const/4·p0,·-0x4393 ····const/4·p0,·-0x4
  
147 ····.line·331394 ····.line·440
148 ····invoke-virtual·{p2,·p0,·p3},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V395 ····invoke-virtual·{p2,·p0,·p3},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V
  
149 ····return-void396 ····return-void
  
150 ····.line·335397 ····.line·444
151 ····:cond_0398 ····:cond_0
152 ····new-instance·v2,·Landroid/util/TypedValue;399 ····new-instance·v2,·Landroid/util/TypedValue;
  
153 ····invoke-direct·{v2},·Landroid/util/TypedValue;-><init>()V400 ····invoke-direct·{v2},·Landroid/util/TypedValue;-><init>()V
  
154 ····const/4·v3,·0x0401 ····const/4·v3,·0x0
  
Offset 174, 25 lines modifiedOffset 421, 129 lines modified
174 ····move-object·v5,·p3421 ····move-object·v5,·p3
  
175 ····invoke-static/range·{v0·..·v6},·Landroidx/core/content/res/ResourcesCompat;->loadFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroidx/core/content/res/ResourcesCompat$FontCallback;Landroid/os/Handler;Z)Landroid/graphics/Typeface;422 ····invoke-static/range·{v0·..·v6},·Landroidx/core/content/res/ResourcesCompat;->loadFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroidx/core/content/res/ResourcesCompat$FontCallback;Landroid/os/Handler;Z)Landroid/graphics/Typeface;
  
176 ····return-void423 ····return-void
177 .end·method424 .end·method
  
 425 .method·private·static·getTypedValue()Landroid/util/TypedValue;
 426 ····.locals·2
  
 427 ····.line·283
 428 ····sget-object·v0,·Landroidx/core/content/res/ResourcesCompat;->sTempTypedValue:Ljava/lang/ThreadLocal;
  
 429 ····invoke-virtual·{v0},·Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
  
 430 ····move-result-object·v0
  
 431 ····check-cast·v0,·Landroid/util/TypedValue;
  
 432 ····if-nez·v0,·:cond_0
  
 433 ····.line·285
 434 ····new-instance·v0,·Landroid/util/TypedValue;
  
 435 ····invoke-direct·{v0},·Landroid/util/TypedValue;-><init>()V
  
 436 ····.line·286
 437 ····sget-object·v1,·Landroidx/core/content/res/ResourcesCompat;->sTempTypedValue:Ljava/lang/ThreadLocal;
  
 438 ····invoke-virtual·{v1,·v0},·Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
  
 439 ····:cond_0
 440 ····return-object·v0
 441 .end·method
  
 442 .method·private·static·inflateColorStateList(Landroid/content/res/Resources;ILandroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList;
 443 ····.locals·2
  
 444 ····.line·225
 445 ····invoke-static·{p0,·p1},·Landroidx/core/content/res/ResourcesCompat;->isColorInt(Landroid/content/res/Resources;I)Z
  
 446 ····move-result·v0
  
 447 ····const/4·v1,·0x0
  
 448 ····if-eqz·v0,·:cond_0
  
 449 ····return-object·v1
  
 450 ····.line·230
 451 ····:cond_0
 452 ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getXml(I)Landroid/content/res/XmlResourceParser;
  
 453 ····move-result-object·p1
  
 454 ····.line·232
 455 ····:try_start_0
 456 ····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;
  
 457 ····move-result-object·p0
 458 ····:try_end_0
 459 ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_0
  
 460 ····return-object·p0
  
 461 ····:catch_0
 462 ····move-exception·p0
  
 463 ····const-string·p1,·"ResourcesCompat"
  
 464 ····const-string·p2,·"Failed·to·inflate·ColorStateList,·leaving·it·to·the·framework"
  
 465 ····.line·234
 466 ····invoke-static·{p1,·p2,·p0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
  
 467 ····return-object·v1
 468 .end·method
  
 469 .method·private·static·isColorInt(Landroid/content/res/Resources;I)Z
 470 ····.locals·2
  
 471 ····.line·274
 472 ····invoke-static·{},·Landroidx/core/content/res/ResourcesCompat;->getTypedValue()Landroid/util/TypedValue;
  
 473 ····move-result-object·v0
  
 474 ····const/4·v1,·0x1
  
 475 ····.line·275
 476 ····invoke-virtual·{p0,·p1,·v0,·v1},·Landroid/content/res/Resources;->getValue(ILandroid/util/TypedValue;Z)V
  
 477 ····.line·277
 478 ····iget·p0,·v0,·Landroid/util/TypedValue;->type:I
  
 479 ····const/16·p1,·0x1c
  
 480 ····if-lt·p0,·p1,·:cond_0
  
 481 ····const/16·p1,·0x1f
  
 482 ····if-gt·p0,·p1,·:cond_0
  
 483 ····goto·:goto_0
  
 484 ····:cond_0
 485 ····const/4·v1,·0x0
  
 486 ····:goto_0
 487 ····return·v1
 488 .end·method
  
178 .method·private·static·loadFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroidx/core/content/res/ResourcesCompat$FontCallback;Landroid/os/Handler;Z)Landroid/graphics/Typeface;489 .method·private·static·loadFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroidx/core/content/res/ResourcesCompat$FontCallback;Landroid/os/Handler;Z)Landroid/graphics/Typeface;
179 ····.locals·8490 ····.locals·8
  
180 ····.line·370491 ····.line·479
181 ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources;492 ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources;
  
182 ····move-result-object·v1493 ····move-result-object·v1
  
183 ····const/4·v0,·0x1494 ····const/4·v0,·0x1
  
184 ····.line·371495 ····.line·480
185 ····invoke-virtual·{v1,·p1,·p2,·v0},·Landroid/content/res/Resources;->getValue(ILandroid/util/TypedValue;Z)V496 ····invoke-virtual·{v1,·p1,·p2,·v0},·Landroid/content/res/Resources;->getValue(ILandroid/util/TypedValue;Z)V
  
186 ····move-object·v0,·p0497 ····move-object·v0,·p0
  
187 ····move-object·v2,·p2498 ····move-object·v2,·p2
  
188 ····move·v3,·p1499 ····move·v3,·p1
Offset 201, 38 lines modifiedOffset 552, 38 lines modified
  
201 ····move-object·v5,·p4552 ····move-object·v5,·p4
  
202 ····move-object·v6,·p5553 ····move-object·v6,·p5
  
203 ····move·v7,·p6554 ····move·v7,·p6
  
204 ····.line·372555 ····.line·481
205 ····invoke-static/range·{v0·..·v7},·Landroidx/core/content/res/ResourcesCompat;->loadFont(Landroid/content/Context;Landroid/content/res/Resources;Landroid/util/TypedValue;IILandroidx/core/content/res/ResourcesCompat$FontCallback;Landroid/os/Handler;Z)Landroid/graphics/Typeface;556 ····invoke-static/range·{v0·..·v7},·Landroidx/core/content/res/ResourcesCompat;->loadFont(Landroid/content/Context;Landroid/content/res/Resources;Landroid/util/TypedValue;IILandroidx/core/content/res/ResourcesCompat$FontCallback;Landroid/os/Handler;Z)Landroid/graphics/Typeface;
  
206 ····move-result-object·p0557 ····move-result-object·p0
  
207 ····if-nez·p0,·:cond_1558 ····if-nez·p0,·:cond_1
  
208 ····if-eqz·p4,·:cond_0559 ····if-eqz·p4,·:cond_0
  
209 ····goto·:goto_0560 ····goto·:goto_0
  
210 ····.line·375561 ····.line·484
211 ····:cond_0562 ····:cond_0
212 ····new-instance·p0,·Landroid/content/res/Resources$NotFoundException;563 ····new-instance·p0,·Landroid/content/res/Resources$NotFoundException;
  
213 ····new-instance·p2,·Ljava/lang/StringBuilder;564 ····new-instance·p2,·Ljava/lang/StringBuilder;
  
214 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V565 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V
  
215 ····const-string·p3,·"Font·resource·ID·#0x"566 ····const-string·p3,·"Font·resource·ID·#0x"
  
216 ····invoke-virtual·{p2,·p3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;567 ····invoke-virtual·{p2,·p3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
217 ····.line·376568 ····.line·485
218 ····invoke-static·{p1},·Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;569 ····invoke-static·{p1},·Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
  
219 ····move-result-object·p1570 ····move-result-object·p1
  
220 ····invoke-virtual·{p2,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;571 ····invoke-virtual·{p2,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
221 ····const-string·p1,·"·could·not·be·retrieved."572 ····const-string·p1,·"·could·not·be·retrieved."
Offset 265, 96 lines modifiedOffset 616, 96 lines modified
  
265 ····move-object/from16·v9,·p5616 ····move-object/from16·v9,·p5
  
266 ····move-object/from16·v10,·p6617 ····move-object/from16·v10,·p6
  
267 ····const-string·v11,·"ResourcesCompat"618 ····const-string·v11,·"ResourcesCompat"
  
268 ····.line·390619 ····.line·499
269 ····iget-object·v2,·v1,·Landroid/util/TypedValue;->string:Ljava/lang/CharSequence;620 ····iget-object·v2,·v1,·Landroid/util/TypedValue;->string:Ljava/lang/CharSequence;
  
270 ····if-eqz·v2,·:cond_a621 ····if-eqz·v2,·:cond_a
  
271 ····.line·395622 ····.line·504
272 ····invoke-interface·{v2},·Ljava/lang/CharSequence;->toString()Ljava/lang/String;623 ····invoke-interface·{v2},·Ljava/lang/CharSequence;->toString()Ljava/lang/String;
  
273 ····move-result-object·v12624 ····move-result-object·v12
  
274 ····const-string·v1,·"res/"625 ····const-string·v1,·"res/"
  
275 ····.line·396626 ····.line·505
276 ····invoke-virtual·{v12,·v1},·Ljava/lang/String;->startsWith(Ljava/lang/String;)Z627 ····invoke-virtual·{v12,·v1},·Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
  
277 ····move-result·v1628 ····move-result·v1
  
278 ····const/4·v13,·0x0629 ····const/4·v13,·0x0
  
279 ····const/4·v14,·-0x3630 ····const/4·v14,·-0x3
  
280 ····if-nez·v1,·:cond_1631 ····if-nez·v1,·:cond_1
  
281 ····if-eqz·v9,·:cond_0632 ····if-eqz·v9,·:cond_0
  
282 ····.line·399633 ····.line·508
283 ····invoke-virtual·{v9,·v14,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V634 ····invoke-virtual·{v9,·v14,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V
  
284 ····:cond_0635 ····:cond_0
285 ····return-object·v13636 ····return-object·v13
  
286 ····.line·404637 ····.line·513
287 ····:cond_1638 ····:cond_1
288 ····invoke-static·{v0,·v4,·v5},·Landroidx/core/graphics/TypefaceCompat;->findFromCache(Landroid/content/res/Resources;II)Landroid/graphics/Typeface;639 ····invoke-static·{v0,·v4,·v5},·Landroidx/core/graphics/TypefaceCompat;->findFromCache(Landroid/content/res/Resources;II)Landroid/graphics/Typeface;
  
289 ····move-result-object·v1640 ····move-result-object·v1
  
290 ····if-eqz·v1,·:cond_3641 ····if-eqz·v1,·:cond_3
  
291 ····if-eqz·v9,·:cond_2642 ····if-eqz·v9,·:cond_2
  
292 ····.line·408643 ····.line·517
293 ····invoke-virtual·{v9,·v1,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackSuccessAsync(Landroid/graphics/Typeface;Landroid/os/Handler;)V644 ····invoke-virtual·{v9,·v1,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackSuccessAsync(Landroid/graphics/Typeface;Landroid/os/Handler;)V
  
294 ····:cond_2645 ····:cond_2
295 ····return-object·v1646 ····return-object·v1
  
296 ····.line·414647 ····.line·523
297 ····:cond_3648 ····:cond_3
298 ····:try_start_0649 ····:try_start_0
299 ····invoke-virtual·{v12},·Ljava/lang/String;->toLowerCase()Ljava/lang/String;650 ····invoke-virtual·{v12},·Ljava/lang/String;->toLowerCase()Ljava/lang/String;
  
300 ····move-result-object·v1651 ····move-result-object·v1
  
301 ····const-string·v2,·".xml"652 ····const-string·v2,·".xml"
  
302 ····invoke-virtual·{v1,·v2},·Ljava/lang/String;->endsWith(Ljava/lang/String;)Z653 ····invoke-virtual·{v1,·v2},·Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
  
303 ····move-result·v1654 ····move-result·v1
  
304 ····if-eqz·v1,·:cond_6655 ····if-eqz·v1,·:cond_6
  
305 ····.line·415656 ····.line·524
306 ····invoke-virtual·{v0,·v4},·Landroid/content/res/Resources;->getXml(I)Landroid/content/res/XmlResourceParser;657 ····invoke-virtual·{v0,·v4},·Landroid/content/res/Resources;->getXml(I)Landroid/content/res/XmlResourceParser;
  
307 ····move-result-object·v1658 ····move-result-object·v1
  
308 ····.line·417659 ····.line·526
309 ····invoke-static·{v1,·v0},·Landroidx/core/content/res/FontResourcesParserCompat;->parse(Lorg/xmlpull/v1/XmlPullParser;Landroid/content/res/Resources;)Landroidx/core/content/res/FontResourcesParserCompat$FamilyResourceEntry;660 ····invoke-static·{v1,·v0},·Landroidx/core/content/res/FontResourcesParserCompat;->parse(Lorg/xmlpull/v1/XmlPullParser;Landroid/content/res/Resources;)Landroidx/core/content/res/FontResourcesParserCompat$FamilyResourceEntry;
  
310 ····move-result-object·v2661 ····move-result-object·v2
  
311 ····if-nez·v2,·:cond_5662 ····if-nez·v2,·:cond_5
  
312 ····const-string·v0,·"Failed·to·find·font-family·tag"663 ····const-string·v0,·"Failed·to·find·font-family·tag"
  
313 ····.line·419664 ····.line·528
314 ····invoke-static·{v11,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I665 ····invoke-static·{v11,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
  
315 ····if-eqz·v9,·:cond_4666 ····if-eqz·v9,·:cond_4
  
316 ····.line·421667 ····.line·530
317 ····invoke-virtual·{v9,·v14,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V668 ····invoke-virtual·{v9,·v14,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V
  
318 ····:cond_4669 ····:cond_4
319 ····return-object·v13670 ····return-object·v13
  
320 ····:cond_5671 ····:cond_5
321 ····move-object·v1,·p0672 ····move-object·v1,·p0
Offset 367, 53 lines modifiedOffset 718, 53 lines modified
  
367 ····move-object/from16·v6,·p5718 ····move-object/from16·v6,·p5
  
368 ····move-object/from16·v7,·p6719 ····move-object/from16·v7,·p6
  
369 ····move/from16·v8,·p7720 ····move/from16·v8,·p7
  
370 ····.line·426721 ····.line·535
371 ····invoke-static/range·{v1·..·v8},·Landroidx/core/graphics/TypefaceCompat;->createFromResourcesFamilyXml(Landroid/content/Context;Landroidx/core/content/res/FontResourcesParserCompat$FamilyResourceEntry;Landroid/content/res/Resources;IILandroidx/core/content/res/ResourcesCompat$FontCallback;Landroid/os/Handler;Z)Landroid/graphics/Typeface;722 ····invoke-static/range·{v1·..·v8},·Landroidx/core/graphics/TypefaceCompat;->createFromResourcesFamilyXml(Landroid/content/Context;Landroidx/core/content/res/FontResourcesParserCompat$FamilyResourceEntry;Landroid/content/res/Resources;IILandroidx/core/content/res/ResourcesCompat$FontCallback;Landroid/os/Handler;Z)Landroid/graphics/Typeface;
  
372 ····move-result-object·v0723 ····move-result-object·v0
  
373 ····return-object·v0724 ····return-object·v0
  
374 ····:cond_6725 ····:cond_6
375 ····move-object·v1,·p0726 ····move-object·v1,·p0
  
376 ····.line·429727 ····.line·538
377 ····invoke-static·{p0,·v0,·v4,·v12,·v5},·Landroidx/core/graphics/TypefaceCompat;->createFromResourcesFontFile(Landroid/content/Context;Landroid/content/res/Resources;ILjava/lang/String;I)Landroid/graphics/Typeface;728 ····invoke-static·{p0,·v0,·v4,·v12,·v5},·Landroidx/core/graphics/TypefaceCompat;->createFromResourcesFontFile(Landroid/content/Context;Landroid/content/res/Resources;ILjava/lang/String;I)Landroid/graphics/Typeface;
  
378 ····move-result-object·v0729 ····move-result-object·v0
  
379 ····if-eqz·v9,·:cond_8730 ····if-eqz·v9,·:cond_8
  
380 ····if-eqz·v0,·:cond_7731 ····if-eqz·v0,·:cond_7
  
381 ····.line·433732 ····.line·542
382 ····invoke-virtual·{v9,·v0,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackSuccessAsync(Landroid/graphics/Typeface;Landroid/os/Handler;)V733 ····invoke-virtual·{v9,·v0,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackSuccessAsync(Landroid/graphics/Typeface;Landroid/os/Handler;)V
  
383 ····goto·:goto_0734 ····goto·:goto_0
  
384 ····.line·435735 ····.line·544
385 ····:cond_7736 ····:cond_7
386 ····invoke-virtual·{v9,·v14,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V737 ····invoke-virtual·{v9,·v14,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V
387 ····:try_end_0738 ····:try_end_0
388 ····.catch·Lorg/xmlpull/v1/XmlPullParserException;·{:try_start_0·..·:try_end_0}·:catch_1739 ····.catch·Lorg/xmlpull/v1/XmlPullParserException;·{:try_start_0·..·:try_end_0}·:catch_1
389 ····.catch·Ljava/io/IOException;·{:try_start_0·..·:try_end_0}·:catch_0740 ····.catch·Ljava/io/IOException;·{:try_start_0·..·:try_end_0}·:catch_0
  
390 ····:cond_8741 ····:cond_8
391 ····:goto_0742 ····:goto_0
392 ····return-object·v0743 ····return-object·v0
  
393 ····:catch_0744 ····:catch_0
394 ····move-exception·v0745 ····move-exception·v0
  
395 ····.line·443746 ····.line·552
396 ····new-instance·v1,·Ljava/lang/StringBuilder;747 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
397 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V748 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V
  
398 ····const-string·v2,·"Failed·to·read·xml·resource·"749 ····const-string·v2,·"Failed·to·read·xml·resource·"
  
399 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;750 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
Offset 427, 15 lines modifiedOffset 778, 15 lines modified
427 ····invoke-static·{v11,·v1,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I778 ····invoke-static·{v11,·v1,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
  
428 ····goto·:goto_1779 ····goto·:goto_1
  
429 ····:catch_1780 ····:catch_1
430 ····move-exception·v0781 ····move-exception·v0
  
431 ····.line·441782 ····.line·550
432 ····new-instance·v1,·Ljava/lang/StringBuilder;783 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
433 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V784 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V
  
434 ····const-string·v2,·"Failed·to·parse·xml·resource·"785 ····const-string·v2,·"Failed·to·parse·xml·resource·"
  
435 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;786 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
Offset 447, 21 lines modifiedOffset 798, 21 lines modified
447 ····move-result-object·v1798 ····move-result-object·v1
  
448 ····invoke-static·{v11,·v1,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I799 ····invoke-static·{v11,·v1,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
  
449 ····:goto_1800 ····:goto_1
450 ····if-eqz·v9,·:cond_9801 ····if-eqz·v9,·:cond_9
  
451 ····.line·446802 ····.line·555
452 ····invoke-virtual·{v9,·v14,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V803 ····invoke-virtual·{v9,·v14,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V
  
453 ····:cond_9804 ····:cond_9
454 ····return-object·v13805 ····return-object·v13
  
455 ····.line·391806 ····.line·500
456 ····:cond_a807 ····:cond_a
457 ····new-instance·v2,·Landroid/content/res/Resources$NotFoundException;808 ····new-instance·v2,·Landroid/content/res/Resources$NotFoundException;
  
458 ····new-instance·v3,·Ljava/lang/StringBuilder;809 ····new-instance·v3,·Ljava/lang/StringBuilder;
  
459 ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V810 ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V
  
Offset 475, 15 lines modifiedOffset 826, 15 lines modified
  
475 ····invoke-virtual·{v3,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;826 ····invoke-virtual·{v3,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
476 ····const-string·v0,·"\"·("827 ····const-string·v0,·"\"·("
  
477 ····invoke-virtual·{v3,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;828 ····invoke-virtual·{v3,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
478 ····.line·392829 ····.line·501
479 ····invoke-static/range·{p3·..·p3},·Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;830 ····invoke-static/range·{p3·..·p3},·Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
  
480 ····move-result-object·v0831 ····move-result-object·v0
  
481 ····invoke-virtual·{v3,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;832 ····invoke-virtual·{v3,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
482 ····const-string·v0,·")·is·not·a·Font:·"833 ····const-string·v0,·")·is·not·a·Font:·"