Changes of com.discord v968
This commit is contained in:
parent
2be3c10320
commit
8dbf9fb1c2
8046 changed files with 353591 additions and 366898 deletions
|
@ -4,6 +4,10 @@
|
|||
|
||||
|
||||
# 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"
|
||||
|
@ -22,7 +26,23 @@
|
|||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 2
|
||||
.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
|
||||
|
||||
new-instance v0, Landroid/graphics/Rect;
|
||||
|
||||
|
@ -235,7 +255,7 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
sget-object v1, Landroidx/appcompat/widget/ThemeUtils;->EMPTY_STATE_SET:[I
|
||||
sget-object v1, Landroidx/appcompat/widget/DrawableUtils;->EMPTY_STATE_SET:[I
|
||||
|
||||
invoke-virtual {p0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z
|
||||
|
||||
|
@ -243,7 +263,7 @@
|
|||
|
||||
:cond_1
|
||||
:goto_0
|
||||
sget-object v1, Landroidx/appcompat/widget/ThemeUtils;->CHECKED_STATE_SET:[I
|
||||
sget-object v1, Landroidx/appcompat/widget/DrawableUtils;->CHECKED_STATE_SET:[I
|
||||
|
||||
invoke-virtual {p0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z
|
||||
|
||||
|
@ -256,9 +276,42 @@
|
|||
.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_6
|
||||
if-eqz v0, :cond_7
|
||||
|
||||
:try_start_0
|
||||
invoke-static {p0}, Landroidx/core/graphics/drawable/DrawableCompat;->unwrap(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
|
||||
|
@ -285,7 +338,7 @@
|
|||
|
||||
move-result-object p0
|
||||
|
||||
if-eqz p0, :cond_6
|
||||
if-eqz p0, :cond_7
|
||||
|
||||
new-instance v0, Landroid/graphics/Rect;
|
||||
|
||||
|
@ -302,7 +355,7 @@
|
|||
const/4 v4, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v4, v3, :cond_5
|
||||
if-ge v4, v3, :cond_6
|
||||
|
||||
aget-object v5, v1, v4
|
||||
|
||||
|
@ -333,7 +386,7 @@
|
|||
|
||||
move-result v6
|
||||
|
||||
if-eqz v6, :cond_0
|
||||
if-eqz v6, :cond_1
|
||||
|
||||
const/4 v7, 0x2
|
||||
|
||||
|
@ -346,7 +399,7 @@
|
|||
|
||||
move-result v6
|
||||
|
||||
if-eqz v6, :cond_0
|
||||
if-eqz v6, :cond_1
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
|
@ -359,7 +412,7 @@
|
|||
|
||||
move-result v6
|
||||
|
||||
if-eqz v6, :cond_0
|
||||
if-eqz v6, :cond_1
|
||||
|
||||
const/4 v7, 0x1
|
||||
|
||||
|
@ -372,28 +425,19 @@
|
|||
|
||||
move-result v6
|
||||
|
||||
if-eqz v6, :cond_0
|
||||
if-eqz v6, :cond_1
|
||||
|
||||
const/4 v7, 0x3
|
||||
|
||||
:cond_0
|
||||
:goto_1
|
||||
if-eqz v7, :cond_4
|
||||
|
||||
if-eq v7, v11, :cond_3
|
||||
|
||||
if-eq v7, v10, :cond_2
|
||||
|
||||
if-eq v7, v9, :cond_1
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {v5, p0}, Ljava/lang/reflect/Field;->getInt(Ljava/lang/Object;)I
|
||||
:goto_1
|
||||
if-eqz v7, :cond_5
|
||||
|
||||
move-result v5
|
||||
if-eq v7, v11, :cond_4
|
||||
|
||||
iput v5, v0, Landroid/graphics/Rect;->bottom:I
|
||||
if-eq v7, v10, :cond_3
|
||||
|
||||
if-eq v7, v9, :cond_2
|
||||
|
||||
goto :goto_2
|
||||
|
||||
|
@ -402,7 +446,7 @@
|
|||
|
||||
move-result v5
|
||||
|
||||
iput v5, v0, Landroid/graphics/Rect;->right:I
|
||||
iput v5, v0, Landroid/graphics/Rect;->bottom:I
|
||||
|
||||
goto :goto_2
|
||||
|
||||
|
@ -411,7 +455,7 @@
|
|||
|
||||
move-result v5
|
||||
|
||||
iput v5, v0, Landroid/graphics/Rect;->top:I
|
||||
iput v5, v0, Landroid/graphics/Rect;->right:I
|
||||
|
||||
goto :goto_2
|
||||
|
||||
|
@ -420,6 +464,15 @@
|
|||
|
||||
move-result v5
|
||||
|
||||
iput v5, v0, Landroid/graphics/Rect;->top:I
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_5
|
||||
invoke-virtual {v5, p0}, Ljava/lang/reflect/Field;->getInt(Ljava/lang/Object;)I
|
||||
|
||||
move-result v5
|
||||
|
||||
iput v5, v0, Landroid/graphics/Rect;->left:I
|
||||
:try_end_0
|
||||
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
@ -429,7 +482,7 @@
|
|||
|
||||
goto :goto_0
|
||||
|
||||
:cond_5
|
||||
:cond_6
|
||||
return-object v0
|
||||
|
||||
:catch_0
|
||||
|
@ -439,7 +492,7 @@
|
|||
|
||||
invoke-static {p0, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
||||
|
||||
:cond_6
|
||||
:cond_7
|
||||
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