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, 15 lines modifiedOffset 295, 15 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·347301 ····.line·456
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
Offset 74, 33 lines modifiedOffset 321, 137 lines modified
  
74 ····move-object·v2,·p2321 ····move-object·v2,·p2
  
75 ····move·v3,·p3322 ····move·v3,·p3
  
76 ····move-object·v4,·p4323 ····move-object·v4,·p4
  
77 ····.line·350324 ····.line·459
78 ····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;325 ····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;
  
79 ····move-result-object·p0326 ····move-result-object·p0
  
80 ····return-object·p0327 ····return-object·p0
81 .end·method328 .end·method
  
 329 .method·private·static·getTypedValue()Landroid/util/TypedValue;
 330 ····.locals·2
  
 331 ····.line·283
 332 ····sget-object·v0,·Landroidx/core/content/res/ResourcesCompat;->sTempTypedValue:Ljava/lang/ThreadLocal;
  
 333 ····invoke-virtual·{v0},·Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
  
 334 ····move-result-object·v0
  
 335 ····check-cast·v0,·Landroid/util/TypedValue;
  
 336 ····if-nez·v0,·:cond_0
  
 337 ····.line·285
 338 ····new-instance·v0,·Landroid/util/TypedValue;
  
 339 ····invoke-direct·{v0},·Landroid/util/TypedValue;-><init>()V
  
 340 ····.line·286
 341 ····sget-object·v1,·Landroidx/core/content/res/ResourcesCompat;->sTempTypedValue:Ljava/lang/ThreadLocal;
  
 342 ····invoke-virtual·{v1,·v0},·Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
  
 343 ····:cond_0
 344 ····return-object·v0
 345 .end·method
  
 346 .method·private·static·inflateColorStateList(Landroid/content/res/Resources;ILandroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList;
 347 ····.locals·2
  
 348 ····.line·225
 349 ····invoke-static·{p0,·p1},·Landroidx/core/content/res/ResourcesCompat;->isColorInt(Landroid/content/res/Resources;I)Z
  
 350 ····move-result·v0
  
 351 ····const/4·v1,·0x0
  
 352 ····if-eqz·v0,·:cond_0
  
 353 ····return-object·v1
  
 354 ····.line·230
 355 ····:cond_0
 356 ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getXml(I)Landroid/content/res/XmlResourceParser;
  
 357 ····move-result-object·p1
  
 358 ····.line·232
 359 ····:try_start_0
 360 ····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;
  
 361 ····move-result-object·p0
 362 ····:try_end_0
 363 ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_0
  
 364 ····return-object·p0
  
 365 ····:catch_0
 366 ····move-exception·p0
  
 367 ····const-string·p1,·"ResourcesCompat"
  
 368 ····const-string·p2,·"Failed·to·inflate·ColorStateList,·leaving·it·to·the·framework"
  
 369 ····.line·234
 370 ····invoke-static·{p1,·p2,·p0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
  
 371 ····return-object·v1
 372 .end·method
  
 373 .method·private·static·isColorInt(Landroid/content/res/Resources;I)Z
 374 ····.locals·2
  
 375 ····.line·274
 376 ····invoke-static·{},·Landroidx/core/content/res/ResourcesCompat;->getTypedValue()Landroid/util/TypedValue;
  
 377 ····move-result-object·v0
  
 378 ····const/4·v1,·0x1
  
 379 ····.line·275
 380 ····invoke-virtual·{p0,·p1,·v0,·v1},·Landroid/content/res/Resources;->getValue(ILandroid/util/TypedValue;Z)V
  
 381 ····.line·277
 382 ····iget·p0,·v0,·Landroid/util/TypedValue;->type:I
  
 383 ····const/16·p1,·0x1c
  
 384 ····if-lt·p0,·p1,·:cond_0
  
 385 ····const/16·p1,·0x1f
  
 386 ····if-gt·p0,·p1,·:cond_0
  
 387 ····goto·:goto_0
  
 388 ····:cond_0
 389 ····const/4·v1,·0x0
  
 390 ····:goto_0
 391 ····return·v1
 392 .end·method
  
82 .method·private·static·loadFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroidx/core/content/res/ResourcesCompat$FontCallback;Landroid/os/Handler;Z)Landroid/graphics/Typeface;393 .method·private·static·loadFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroidx/core/content/res/ResourcesCompat$FontCallback;Landroid/os/Handler;Z)Landroid/graphics/Typeface;
83 ····.locals·8394 ····.locals·8
  
84 ····.line·370395 ····.line·479
85 ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources;396 ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources;
  
86 ····move-result-object·v1397 ····move-result-object·v1
  
87 ····const/4·v0,·0x1398 ····const/4·v0,·0x1
  
88 ····.line·371399 ····.line·480
89 ····invoke-virtual·{v1,·p1,·p2,·v0},·Landroid/content/res/Resources;->getValue(ILandroid/util/TypedValue;Z)V400 ····invoke-virtual·{v1,·p1,·p2,·v0},·Landroid/content/res/Resources;->getValue(ILandroid/util/TypedValue;Z)V
  
90 ····move-object·v0,·p0401 ····move-object·v0,·p0
  
91 ····move-object·v2,·p2402 ····move-object·v2,·p2
  
92 ····move·v3,·p1403 ····move·v3,·p1
Offset 109, 38 lines modifiedOffset 460, 38 lines modified
  
109 ····move-object·v5,·p4460 ····move-object·v5,·p4
  
110 ····move-object·v6,·p5461 ····move-object·v6,·p5
  
111 ····move·v7,·p6462 ····move·v7,·p6
  
112 ····.line·372463 ····.line·481
113 ····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;464 ····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;
  
114 ····move-result-object·p0465 ····move-result-object·p0
  
115 ····if-nez·p0,·:cond_1466 ····if-nez·p0,·:cond_1
  
116 ····if-eqz·p4,·:cond_0467 ····if-eqz·p4,·:cond_0
  
117 ····goto·:goto_0468 ····goto·:goto_0
  
118 ····.line·375469 ····.line·484
119 ····:cond_0470 ····:cond_0
120 ····new-instance·p0,·Landroid/content/res/Resources$NotFoundException;471 ····new-instance·p0,·Landroid/content/res/Resources$NotFoundException;
  
121 ····new-instance·p2,·Ljava/lang/StringBuilder;472 ····new-instance·p2,·Ljava/lang/StringBuilder;
  
122 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V473 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V
  
123 ····const-string·p3,·"Font·resource·ID·#0x"474 ····const-string·p3,·"Font·resource·ID·#0x"
  
124 ····invoke-virtual·{p2,·p3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;475 ····invoke-virtual·{p2,·p3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
125 ····.line·376476 ····.line·485
126 ····invoke-static·{p1},·Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;477 ····invoke-static·{p1},·Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
  
127 ····move-result-object·p1478 ····move-result-object·p1
  
128 ····invoke-virtual·{p2,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;479 ····invoke-virtual·{p2,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
129 ····const-string·p1,·"·could·not·be·retrieved."480 ····const-string·p1,·"·could·not·be·retrieved."
Offset 173, 96 lines modifiedOffset 524, 96 lines modified
  
173 ····move-object/from16·v9,·p5524 ····move-object/from16·v9,·p5
  
174 ····move-object/from16·v10,·p6525 ····move-object/from16·v10,·p6
  
175 ····const-string·v11,·"ResourcesCompat"526 ····const-string·v11,·"ResourcesCompat"
  
176 ····.line·390527 ····.line·499
177 ····iget-object·v2,·v1,·Landroid/util/TypedValue;->string:Ljava/lang/CharSequence;528 ····iget-object·v2,·v1,·Landroid/util/TypedValue;->string:Ljava/lang/CharSequence;
  
178 ····if-eqz·v2,·:cond_a529 ····if-eqz·v2,·:cond_a
  
179 ····.line·395530 ····.line·504
180 ····invoke-interface·{v2},·Ljava/lang/CharSequence;->toString()Ljava/lang/String;531 ····invoke-interface·{v2},·Ljava/lang/CharSequence;->toString()Ljava/lang/String;
  
181 ····move-result-object·v12532 ····move-result-object·v12
  
182 ····const-string·v1,·"res/"533 ····const-string·v1,·"res/"
  
183 ····.line·396534 ····.line·505
184 ····invoke-virtual·{v12,·v1},·Ljava/lang/String;->startsWith(Ljava/lang/String;)Z535 ····invoke-virtual·{v12,·v1},·Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
  
185 ····move-result·v1536 ····move-result·v1
  
186 ····const/4·v13,·0x0537 ····const/4·v13,·0x0
  
187 ····const/4·v14,·-0x3538 ····const/4·v14,·-0x3
  
188 ····if-nez·v1,·:cond_1539 ····if-nez·v1,·:cond_1
  
189 ····if-eqz·v9,·:cond_0540 ····if-eqz·v9,·:cond_0
  
190 ····.line·399541 ····.line·508
191 ····invoke-virtual·{v9,·v14,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V542 ····invoke-virtual·{v9,·v14,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V
  
192 ····:cond_0543 ····:cond_0
193 ····return-object·v13544 ····return-object·v13
  
194 ····.line·404545 ····.line·513
195 ····:cond_1546 ····:cond_1
196 ····invoke-static·{v0,·v4,·v5},·Landroidx/core/graphics/TypefaceCompat;->findFromCache(Landroid/content/res/Resources;II)Landroid/graphics/Typeface;547 ····invoke-static·{v0,·v4,·v5},·Landroidx/core/graphics/TypefaceCompat;->findFromCache(Landroid/content/res/Resources;II)Landroid/graphics/Typeface;
  
197 ····move-result-object·v1548 ····move-result-object·v1
  
198 ····if-eqz·v1,·:cond_3549 ····if-eqz·v1,·:cond_3
  
199 ····if-eqz·v9,·:cond_2550 ····if-eqz·v9,·:cond_2
  
200 ····.line·408551 ····.line·517
201 ····invoke-virtual·{v9,·v1,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackSuccessAsync(Landroid/graphics/Typeface;Landroid/os/Handler;)V552 ····invoke-virtual·{v9,·v1,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackSuccessAsync(Landroid/graphics/Typeface;Landroid/os/Handler;)V
  
202 ····:cond_2553 ····:cond_2
203 ····return-object·v1554 ····return-object·v1
  
204 ····.line·414555 ····.line·523
205 ····:cond_3556 ····:cond_3
206 ····:try_start_0557 ····:try_start_0
207 ····invoke-virtual·{v12},·Ljava/lang/String;->toLowerCase()Ljava/lang/String;558 ····invoke-virtual·{v12},·Ljava/lang/String;->toLowerCase()Ljava/lang/String;
  
208 ····move-result-object·v1559 ····move-result-object·v1
  
209 ····const-string·v2,·".xml"560 ····const-string·v2,·".xml"
  
210 ····invoke-virtual·{v1,·v2},·Ljava/lang/String;->endsWith(Ljava/lang/String;)Z561 ····invoke-virtual·{v1,·v2},·Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
  
211 ····move-result·v1562 ····move-result·v1
  
212 ····if-eqz·v1,·:cond_6563 ····if-eqz·v1,·:cond_6
  
213 ····.line·415564 ····.line·524
214 ····invoke-virtual·{v0,·v4},·Landroid/content/res/Resources;->getXml(I)Landroid/content/res/XmlResourceParser;565 ····invoke-virtual·{v0,·v4},·Landroid/content/res/Resources;->getXml(I)Landroid/content/res/XmlResourceParser;
  
215 ····move-result-object·v1566 ····move-result-object·v1
  
216 ····.line·417567 ····.line·526
217 ····invoke-static·{v1,·v0},·Landroidx/core/content/res/FontResourcesParserCompat;->parse(Lorg/xmlpull/v1/XmlPullParser;Landroid/content/res/Resources;)Landroidx/core/content/res/FontResourcesParserCompat$FamilyResourceEntry;568 ····invoke-static·{v1,·v0},·Landroidx/core/content/res/FontResourcesParserCompat;->parse(Lorg/xmlpull/v1/XmlPullParser;Landroid/content/res/Resources;)Landroidx/core/content/res/FontResourcesParserCompat$FamilyResourceEntry;
  
218 ····move-result-object·v2569 ····move-result-object·v2
  
219 ····if-nez·v2,·:cond_5570 ····if-nez·v2,·:cond_5
  
220 ····const-string·v0,·"Failed·to·find·font-family·tag"571 ····const-string·v0,·"Failed·to·find·font-family·tag"
  
221 ····.line·419572 ····.line·528
222 ····invoke-static·{v11,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I573 ····invoke-static·{v11,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
  
223 ····if-eqz·v9,·:cond_4574 ····if-eqz·v9,·:cond_4
  
224 ····.line·421575 ····.line·530
225 ····invoke-virtual·{v9,·v14,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V576 ····invoke-virtual·{v9,·v14,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V
  
226 ····:cond_4577 ····:cond_4
227 ····return-object·v13578 ····return-object·v13
  
228 ····:cond_5579 ····:cond_5
229 ····move-object·v1,·p0580 ····move-object·v1,·p0
Offset 275, 53 lines modifiedOffset 626, 53 lines modified
  
275 ····move-object/from16·v6,·p5626 ····move-object/from16·v6,·p5
  
276 ····move-object/from16·v7,·p6627 ····move-object/from16·v7,·p6
  
277 ····move/from16·v8,·p7628 ····move/from16·v8,·p7
  
278 ····.line·426629 ····.line·535
279 ····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;630 ····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;
  
280 ····move-result-object·v0631 ····move-result-object·v0
  
281 ····return-object·v0632 ····return-object·v0
  
282 ····:cond_6633 ····:cond_6
283 ····move-object·v1,·p0634 ····move-object·v1,·p0
  
284 ····.line·429635 ····.line·538
285 ····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;636 ····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;
  
286 ····move-result-object·v0637 ····move-result-object·v0
  
287 ····if-eqz·v9,·:cond_8638 ····if-eqz·v9,·:cond_8
  
288 ····if-eqz·v0,·:cond_7639 ····if-eqz·v0,·:cond_7
  
289 ····.line·433640 ····.line·542
290 ····invoke-virtual·{v9,·v0,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackSuccessAsync(Landroid/graphics/Typeface;Landroid/os/Handler;)V641 ····invoke-virtual·{v9,·v0,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackSuccessAsync(Landroid/graphics/Typeface;Landroid/os/Handler;)V
  
291 ····goto·:goto_0642 ····goto·:goto_0
  
292 ····.line·435643 ····.line·544
293 ····:cond_7644 ····:cond_7
294 ····invoke-virtual·{v9,·v14,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V645 ····invoke-virtual·{v9,·v14,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V
295 ····:try_end_0646 ····:try_end_0
296 ····.catch·Lorg/xmlpull/v1/XmlPullParserException;·{:try_start_0·..·:try_end_0}·:catch_1647 ····.catch·Lorg/xmlpull/v1/XmlPullParserException;·{:try_start_0·..·:try_end_0}·:catch_1
297 ····.catch·Ljava/io/IOException;·{:try_start_0·..·:try_end_0}·:catch_0648 ····.catch·Ljava/io/IOException;·{:try_start_0·..·:try_end_0}·:catch_0
  
298 ····:cond_8649 ····:cond_8
299 ····:goto_0650 ····:goto_0
300 ····return-object·v0651 ····return-object·v0
  
301 ····:catch_0652 ····:catch_0
302 ····move-exception·v0653 ····move-exception·v0
  
303 ····.line·443654 ····.line·552
304 ····new-instance·v1,·Ljava/lang/StringBuilder;655 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
305 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V656 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V
  
306 ····const-string·v2,·"Failed·to·read·xml·resource·"657 ····const-string·v2,·"Failed·to·read·xml·resource·"
  
307 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;658 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
Offset 335, 15 lines modifiedOffset 686, 15 lines modified
335 ····invoke-static·{v11,·v1,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I686 ····invoke-static·{v11,·v1,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
  
336 ····goto·:goto_1687 ····goto·:goto_1
  
337 ····:catch_1688 ····:catch_1
338 ····move-exception·v0689 ····move-exception·v0
  
339 ····.line·441690 ····.line·550
340 ····new-instance·v1,·Ljava/lang/StringBuilder;691 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
341 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V692 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V
  
342 ····const-string·v2,·"Failed·to·parse·xml·resource·"693 ····const-string·v2,·"Failed·to·parse·xml·resource·"
  
343 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;694 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
Offset 355, 21 lines modifiedOffset 706, 21 lines modified
355 ····move-result-object·v1706 ····move-result-object·v1
  
356 ····invoke-static·{v11,·v1,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I707 ····invoke-static·{v11,·v1,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
  
357 ····:goto_1708 ····:goto_1
358 ····if-eqz·v9,·:cond_9709 ····if-eqz·v9,·:cond_9
  
359 ····.line·446710 ····.line·555
360 ····invoke-virtual·{v9,·v14,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V711 ····invoke-virtual·{v9,·v14,·v10},·Landroidx/core/content/res/ResourcesCompat$FontCallback;->callbackFailAsync(ILandroid/os/Handler;)V
  
361 ····:cond_9712 ····:cond_9
362 ····return-object·v13713 ····return-object·v13
  
363 ····.line·391714 ····.line·500
364 ····:cond_a715 ····:cond_a
365 ····new-instance·v2,·Landroid/content/res/Resources$NotFoundException;716 ····new-instance·v2,·Landroid/content/res/Resources$NotFoundException;
  
366 ····new-instance·v3,·Ljava/lang/StringBuilder;717 ····new-instance·v3,·Ljava/lang/StringBuilder;
  
367 ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V718 ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V
  
Offset 383, 15 lines modifiedOffset 734, 15 lines modified
  
383 ····invoke-virtual·{v3,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;734 ····invoke-virtual·{v3,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
384 ····const-string·v0,·"\"·("735 ····const-string·v0,·"\"·("
  
385 ····invoke-virtual·{v3,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;736 ····invoke-virtual·{v3,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
386 ····.line·392737 ····.line·501
387 ····invoke-static/range·{p3·..·p3},·Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;738 ····invoke-static/range·{p3·..·p3},·Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
  
388 ····move-result-object·v0739 ····move-result-object·v0
  
389 ····invoke-virtual·{v3,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;740 ····invoke-virtual·{v3,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
390 ····const-string·v0,·")·is·not·a·Font:·"741 ····const-string·v0,·")·is·not·a·Font:·"