| | | |
Offset 9, 197 lines modified | Offset 9, 186 lines modified |
9 | .field·private·static·sTempValue:Landroid/util/TypedValue; | 9 | .field·private·static·sTempValue:Landroid/util/TypedValue; |
| |
| |
10 | #·direct·methods | 10 | #·direct·methods |
11 | .method·static·constructor·<clinit>()V | 11 | .method·static·constructor·<clinit>()V |
12 | ····.locals·1 | 12 | ····.locals·1 |
| |
13 | ····.line·153 | 13 | ····.line·154 |
14 | ····new-instance·v0,·Ljava/lang/Object; | 14 | ····new-instance·v0,·Ljava/lang/Object; |
| |
15 | ····invoke-direct·{v0},·Ljava/lang/Object;-><init>()V | 15 | ····invoke-direct·{v0},·Ljava/lang/Object;-><init>()V |
| |
16 | ····sput-object·v0,·Landroidx/core/content/ContextCompat;->sLock:Ljava/lang/Object; | 16 | ····sput-object·v0,·Landroidx/core/content/ContextCompat;->sLock:Ljava/lang/Object; |
| |
17 | ····return-void | 17 | ····return-void |
18 | .end·method | 18 | .end·method |
| |
19 | .method·public·static·getColor(Landroid/content/Context;I)I | 19 | .method·public·static·getColor(Landroid/content/Context;I)I |
20 | ····.locals·2 | 20 | ····.locals·2 |
| |
21 | ····.line·516 | 21 | ····.line·511 |
22 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I | 22 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I |
| |
23 | ····const/16·v1,·0x17 | 23 | ····const/16·v1,·0x17 |
| |
24 | ····if-lt·v0,·v1,·:cond_0 | 24 | ····if-lt·v0,·v1,·:cond_0 |
| |
25 | ····.line·517 | 25 | ····.line·512 |
26 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->getColor(I)I | 26 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->getColor(I)I |
| |
27 | ····move-result·p0 | 27 | ····move-result·p0 |
| |
28 | ····return·p0 | 28 | ····return·p0 |
| |
29 | ····.line·519 | 29 | ····.line·514 |
30 | ····:cond_0 | 30 | ····:cond_0 |
31 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 31 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
32 | ····move-result-object·p0 | 32 | ····move-result-object·p0 |
| |
33 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getColor(I)I | 33 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getColor(I)I |
| |
34 | ····move-result·p0 | 34 | ····move-result·p0 |
| |
35 | ····return·p0 | 35 | ····return·p0 |
36 | .end·method | 36 | .end·method |
| |
37 | .method·public·static·getColorStateList(Landroid/content/Context;I)Landroid/content/res/ColorStateList; | 37 | .method·public·static·getColorStateList(Landroid/content/Context;I)Landroid/content/res/ColorStateList; |
38 | ····.locals·2 | 38 | ····.locals·1 |
| |
39 | ····.line·493 | |
40 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I | |
| |
41 | ····const/16·v1,·0x17 | |
| |
42 | ····if-lt·v0,·v1,·:cond_0 | |
| |
43 | ····.line·494 | |
44 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->getColorStateList(I)Landroid/content/res/ColorStateList; | |
| |
45 | ····move-result-object·p0 | 39 | ····.line·492 |
| 40 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
46 | ····return-object·p0 | 41 | ····move-result-object·v0 |
| |
47 | ····.line·496 | |
48 | ····:cond_0 | |
49 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 42 | ····invoke-virtual·{p0},·Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme; |
| |
50 | ····move-result-object·p0 | 43 | ····move-result-object·p0 |
| |
51 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getColorStateList(I)Landroid/content/res/ColorStateList; | 44 | ····invoke-static·{v0,·p1,·p0},·Landroidx/core/content/res/ResourcesCompat;->getColorStateList(Landroid/content/res/Resources;ILandroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList; |
| |
52 | ····move-result-object·p0 | 45 | ····move-result-object·p0 |
| |
53 | ····return-object·p0 | 46 | ····return-object·p0 |
54 | .end·method | 47 | .end·method |
| |
55 | .method·public·static·getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable; | 48 | .method·public·static·getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable; |
56 | ····.locals·4 | 49 | ····.locals·4 |
| |
57 | ····.line·454 | 50 | ····.line·455 |
58 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I | 51 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I |
| |
59 | ····const/16·v1,·0x15 | 52 | ····const/16·v1,·0x15 |
| |
60 | ····if-lt·v0,·v1,·:cond_0 | 53 | ····if-lt·v0,·v1,·:cond_0 |
| |
61 | ····.line·455 | 54 | ····.line·456 |
62 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable; | 55 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable; |
| |
63 | ····move-result-object·p0 | 56 | ····move-result-object·p0 |
| |
64 | ····return-object·p0 | 57 | ····return-object·p0 |
| |
65 | ····:cond_0 | 58 | ····:cond_0 |
66 | ····const/16·v1,·0x10 | 59 | ····const/16·v1,·0x10 |
| |
67 | ····if-lt·v0,·v1,·:cond_1 | 60 | ····if-lt·v0,·v1,·:cond_1 |
| |
68 | ····.line·457 | 61 | ····.line·458 |
69 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 62 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
70 | ····move-result-object·p0 | 63 | ····move-result-object·p0 |
| |
71 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable; | 64 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable; |
| |
72 | ····move-result-object·p0 | 65 | ····move-result-object·p0 |
| |
73 | ····return-object·p0 | 66 | ····return-object·p0 |
| |
74 | ····.line·464 | 67 | ····.line·465 |
75 | ····:cond_1 | 68 | ····:cond_1 |
76 | ····sget-object·v0,·Landroidx/core/content/ContextCompat;->sLock:Ljava/lang/Object; | 69 | ····sget-object·v0,·Landroidx/core/content/ContextCompat;->sLock:Ljava/lang/Object; |
| |
77 | ····monitor-enter·v0 | 70 | ····monitor-enter·v0 |
| |
78 | ····.line·465 | 71 | ····.line·466 |
79 | ····:try_start_0 | 72 | ····:try_start_0 |
80 | ····sget-object·v1,·Landroidx/core/content/ContextCompat;->sTempValue:Landroid/util/TypedValue; | 73 | ····sget-object·v1,·Landroidx/core/content/ContextCompat;->sTempValue:Landroid/util/TypedValue; |
| |
81 | ····if-nez·v1,·:cond_2 | 74 | ····if-nez·v1,·:cond_2 |
| |
82 | ····.line·466 | 75 | ····.line·467 |
83 | ····new-instance·v1,·Landroid/util/TypedValue; | 76 | ····new-instance·v1,·Landroid/util/TypedValue; |
| |
84 | ····invoke-direct·{v1},·Landroid/util/TypedValue;-><init>()V | 77 | ····invoke-direct·{v1},·Landroid/util/TypedValue;-><init>()V |
| |
85 | ····sput-object·v1,·Landroidx/core/content/ContextCompat;->sTempValue:Landroid/util/TypedValue; | 78 | ····sput-object·v1,·Landroidx/core/content/ContextCompat;->sTempValue:Landroid/util/TypedValue; |
| |
86 | ····.line·468 | 79 | ····.line·469 |
87 | ····:cond_2 | 80 | ····:cond_2 |
88 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 81 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
89 | ····move-result-object·v1 | 82 | ····move-result-object·v1 |
| |
90 | ····sget-object·v2,·Landroidx/core/content/ContextCompat;->sTempValue:Landroid/util/TypedValue; | 83 | ····sget-object·v2,·Landroidx/core/content/ContextCompat;->sTempValue:Landroid/util/TypedValue; |
| |
91 | ····const/4·v3,·0x1 | 84 | ····const/4·v3,·0x1 |
| |
92 | ····invoke-virtual·{v1,·p1,·v2,·v3},·Landroid/content/res/Resources;->getValue(ILandroid/util/TypedValue;Z)V | 85 | ····invoke-virtual·{v1,·p1,·v2,·v3},·Landroid/content/res/Resources;->getValue(ILandroid/util/TypedValue;Z)V |
| |
93 | ····.line·469 | 86 | ····.line·470 |
94 | ····sget-object·p1,·Landroidx/core/content/ContextCompat;->sTempValue:Landroid/util/TypedValue; | 87 | ····sget-object·p1,·Landroidx/core/content/ContextCompat;->sTempValue:Landroid/util/TypedValue; |
| |
95 | ····iget·p1,·p1,·Landroid/util/TypedValue;->resourceId:I | 88 | ····iget·p1,·p1,·Landroid/util/TypedValue;->resourceId:I |
| |
96 | ····.line·470 | 89 | ····.line·471 |
97 | ····monitor-exit·v0 | 90 | ····monitor-exit·v0 |
98 | ····:try_end_0 | 91 | ····:try_end_0 |
99 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 92 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
| |
100 | ····.line·471 | 93 | ····.line·472 |
101 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 94 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
102 | ····move-result-object·p0 | 95 | ····move-result-object·p0 |
| |
103 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable; | 96 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable; |
| |
104 | ····move-result-object·p0 | 97 | ····move-result-object·p0 |
| |
105 | ····return-object·p0 | 98 | ····return-object·p0 |
| |
106 | ····:catchall_0 | 99 | ····:catchall_0 |
107 | ····move-exception·p0 | 100 | ····move-exception·p0 |
| |
108 | ····.line·470 | 101 | ····.line·471 |
109 | ····:try_start_1 | 102 | ····:try_start_1 |
110 | ····monitor-exit·v0 | 103 | ····monitor-exit·v0 |
111 | ····:try_end_1 | 104 | ····:try_end_1 |
112 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 105 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
| |
113 | ····throw·p0 | 106 | ····throw·p0 |
114 | .end·method | 107 | .end·method |
| |
115 | .method·public·static·startActivities(Landroid/content/Context;[Landroid/content/Intent;Landroid/os/Bundle;)Z | 108 | .method·public·static·startActivities(Landroid/content/Context;[Landroid/content/Intent;Landroid/os/Bundle;)Z |
116 | ····.locals·2 | 109 | ····.locals·2 |
| |
117 | ····.line·223 | 110 | ····.line·224 |
118 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I | 111 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I |
| |
119 | ····const/16·v1,·0x10 | 112 | ····const/16·v1,·0x10 |
| |
120 | ····if-lt·v0,·v1,·:cond_0 | 113 | ····if-lt·v0,·v1,·:cond_0 |
| |
121 | ····.line·224 | 114 | ····.line·225 |
122 | ····invoke-virtual·{p0,·p1,·p2},·Landroid/content/Context;->startActivities([Landroid/content/Intent;Landroid/os/Bundle;)V | 115 | ····invoke-virtual·{p0,·p1,·p2},·Landroid/content/Context;->startActivities([Landroid/content/Intent;Landroid/os/Bundle;)V |
| |
123 | ····goto·:goto_0 | 116 | ····goto·:goto_0 |
| |
124 | ····.line·226 | 117 | ····.line·227 |
125 | ····:cond_0 | 118 | ····:cond_0 |
126 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->startActivities([Landroid/content/Intent;)V | 119 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->startActivities([Landroid/content/Intent;)V |
| |
127 | ····:goto_0 | 120 | ····:goto_0 |
128 | ····const/4·p0,·0x1 | 121 | ····const/4·p0,·0x1 |
| |
129 | ····return·p0 | 122 | ····return·p0 |