Changes of com.discord v985
This commit is contained in:
parent
ff04d44b4b
commit
8f4cf7370b
8471 changed files with 204255 additions and 276377 deletions
|
@ -4,10 +4,6 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field private static final CHECKED_STATE_SET:[I
|
||||
|
||||
.field private static final EMPTY_STATE_SET:[I
|
||||
|
||||
.field public static final INSETS_NONE:Landroid/graphics/Rect;
|
||||
|
||||
.field private static final TAG:Ljava/lang/String; = "DrawableUtils"
|
||||
|
@ -26,23 +22,7 @@
|
|||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 3
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
new-array v0, v0, [I
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const v2, 0x10100a0
|
||||
|
||||
aput v2, v0, v1
|
||||
|
||||
sput-object v0, Landroidx/appcompat/widget/DrawableUtils;->CHECKED_STATE_SET:[I
|
||||
|
||||
new-array v0, v1, [I
|
||||
|
||||
sput-object v0, Landroidx/appcompat/widget/DrawableUtils;->EMPTY_STATE_SET:[I
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Landroid/graphics/Rect;
|
||||
|
||||
|
@ -255,7 +235,7 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
sget-object v1, Landroidx/appcompat/widget/DrawableUtils;->EMPTY_STATE_SET:[I
|
||||
sget-object v1, Landroidx/appcompat/widget/ThemeUtils;->EMPTY_STATE_SET:[I
|
||||
|
||||
invoke-virtual {p0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z
|
||||
|
||||
|
@ -263,7 +243,7 @@
|
|||
|
||||
:cond_1
|
||||
:goto_0
|
||||
sget-object v1, Landroidx/appcompat/widget/DrawableUtils;->CHECKED_STATE_SET:[I
|
||||
sget-object v1, Landroidx/appcompat/widget/ThemeUtils;->CHECKED_STATE_SET:[I
|
||||
|
||||
invoke-virtual {p0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z
|
||||
|
||||
|
@ -276,42 +256,9 @@
|
|||
.method public static getOpticalBounds(Landroid/graphics/drawable/Drawable;)Landroid/graphics/Rect;
|
||||
.locals 12
|
||||
|
||||
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 v1, 0x1d
|
||||
|
||||
if-lt v0, v1, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getOpticalInsets()Landroid/graphics/Insets;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
new-instance v0, Landroid/graphics/Rect;
|
||||
|
||||
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
|
||||
|
||||
iget v1, p0, Landroid/graphics/Insets;->left:I
|
||||
|
||||
iput v1, v0, Landroid/graphics/Rect;->left:I
|
||||
|
||||
iget v1, p0, Landroid/graphics/Insets;->right:I
|
||||
|
||||
iput v1, v0, Landroid/graphics/Rect;->right:I
|
||||
|
||||
iget v1, p0, Landroid/graphics/Insets;->top:I
|
||||
|
||||
iput v1, v0, Landroid/graphics/Rect;->top:I
|
||||
|
||||
iget p0, p0, Landroid/graphics/Insets;->bottom:I
|
||||
|
||||
iput p0, v0, Landroid/graphics/Rect;->bottom:I
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Landroidx/appcompat/widget/DrawableUtils;->sInsetsClazz:Ljava/lang/Class;
|
||||
|
||||
if-eqz v0, :cond_7
|
||||
if-eqz v0, :cond_6
|
||||
|
||||
:try_start_0
|
||||
invoke-static {p0}, Landroidx/core/graphics/drawable/DrawableCompat;->unwrap(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
|
||||
|
@ -338,7 +285,7 @@
|
|||
|
||||
move-result-object p0
|
||||
|
||||
if-eqz p0, :cond_7
|
||||
if-eqz p0, :cond_6
|
||||
|
||||
new-instance v0, Landroid/graphics/Rect;
|
||||
|
||||
|
@ -355,7 +302,7 @@
|
|||
const/4 v4, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v4, v3, :cond_6
|
||||
if-ge v4, v3, :cond_5
|
||||
|
||||
aget-object v5, v1, v4
|
||||
|
||||
|
@ -386,7 +333,7 @@
|
|||
|
||||
move-result v6
|
||||
|
||||
if-eqz v6, :cond_1
|
||||
if-eqz v6, :cond_0
|
||||
|
||||
const/4 v7, 0x2
|
||||
|
||||
|
@ -399,7 +346,7 @@
|
|||
|
||||
move-result v6
|
||||
|
||||
if-eqz v6, :cond_1
|
||||
if-eqz v6, :cond_0
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
|
@ -412,7 +359,7 @@
|
|||
|
||||
move-result v6
|
||||
|
||||
if-eqz v6, :cond_1
|
||||
if-eqz v6, :cond_0
|
||||
|
||||
const/4 v7, 0x1
|
||||
|
||||
|
@ -425,23 +372,23 @@
|
|||
|
||||
move-result v6
|
||||
|
||||
if-eqz v6, :cond_1
|
||||
if-eqz v6, :cond_0
|
||||
|
||||
const/4 v7, 0x3
|
||||
|
||||
:cond_1
|
||||
:cond_0
|
||||
:goto_1
|
||||
if-eqz v7, :cond_5
|
||||
if-eqz v7, :cond_4
|
||||
|
||||
if-eq v7, v11, :cond_4
|
||||
if-eq v7, v11, :cond_3
|
||||
|
||||
if-eq v7, v10, :cond_3
|
||||
if-eq v7, v10, :cond_2
|
||||
|
||||
if-eq v7, v9, :cond_2
|
||||
if-eq v7, v9, :cond_1
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_2
|
||||
:cond_1
|
||||
invoke-virtual {v5, p0}, Ljava/lang/reflect/Field;->getInt(Ljava/lang/Object;)I
|
||||
|
||||
move-result v5
|
||||
|
@ -450,7 +397,7 @@
|
|||
|
||||
goto :goto_2
|
||||
|
||||
:cond_3
|
||||
:cond_2
|
||||
invoke-virtual {v5, p0}, Ljava/lang/reflect/Field;->getInt(Ljava/lang/Object;)I
|
||||
|
||||
move-result v5
|
||||
|
@ -459,7 +406,7 @@
|
|||
|
||||
goto :goto_2
|
||||
|
||||
:cond_4
|
||||
:cond_3
|
||||
invoke-virtual {v5, p0}, Ljava/lang/reflect/Field;->getInt(Ljava/lang/Object;)I
|
||||
|
||||
move-result v5
|
||||
|
@ -468,7 +415,7 @@
|
|||
|
||||
goto :goto_2
|
||||
|
||||
:cond_5
|
||||
:cond_4
|
||||
invoke-virtual {v5, p0}, Ljava/lang/reflect/Field;->getInt(Ljava/lang/Object;)I
|
||||
|
||||
move-result v5
|
||||
|
@ -482,7 +429,7 @@
|
|||
|
||||
goto :goto_0
|
||||
|
||||
:cond_6
|
||||
:cond_5
|
||||
return-object v0
|
||||
|
||||
:catch_0
|
||||
|
@ -492,7 +439,7 @@
|
|||
|
||||
invoke-static {p0, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
||||
|
||||
:cond_7
|
||||
:cond_6
|
||||
sget-object p0, Landroidx/appcompat/widget/DrawableUtils;->INSETS_NONE:Landroid/graphics/Rect;
|
||||
|
||||
return-object p0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue