Changes of com.discord v998

This commit is contained in:
root 2019-12-06 04:29:40 +01:00
parent dc3b174a87
commit a8e290ae89
20243 changed files with 1573881 additions and 1337713 deletions

View file

@ -3,18 +3,32 @@
.source "DrawableUtils.java"
# static fields
.field private static final CHECKED_STATE_SET:[I
# annotations
.annotation build Landroid/annotation/SuppressLint;
value = {
"RestrictedAPI"
}
.end annotation
.field private static final EMPTY_STATE_SET:[I
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
# static fields
.field public static final CHECKED_STATE_SET:[I
.field public static final EMPTY_STATE_SET:[I
.field public static final INSETS_NONE:Landroid/graphics/Rect;
.field private static final TAG:Ljava/lang/String; = "DrawableUtils"
.field public static final TAG:Ljava/lang/String; = "DrawableUtils"
.field private static final VECTOR_DRAWABLE_CLAZZ_NAME:Ljava/lang/String; = "android.graphics.drawable.VectorDrawable"
.field public static final VECTOR_DRAWABLE_CLAZZ_NAME:Ljava/lang/String; = "android.graphics.drawable.VectorDrawable"
.field private static sInsetsClazz:Ljava/lang/Class;
.field public static sInsetsClazz:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
@ -25,7 +39,7 @@
# direct methods
.method static constructor <clinit>()V
.method public static constructor <clinit>()V
.locals 3
const/4 v0, 0x1
@ -52,13 +66,9 @@
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x12
if-lt v0, v1, :cond_0
:try_start_0
const-string v0, "android.graphics.Insets"
:try_start_0
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v0
@ -68,11 +78,10 @@
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
:catch_0
:cond_0
return-void
.end method
.method private constructor <init>()V
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
@ -82,50 +91,16 @@
.method public static canSafelyMutateDrawable(Landroid/graphics/drawable/Drawable;)Z
.locals 4
.param p0 # Landroid/graphics/drawable/Drawable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
:goto_0
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0xf
const/4 v2, 0x0
if-ge v0, v1, :cond_0
instance-of v0, p0, Landroid/graphics/drawable/InsetDrawable;
if-eqz v0, :cond_0
return v2
:cond_0
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
if-ge v0, v1, :cond_1
instance-of v0, p0, Landroid/graphics/drawable/GradientDrawable;
if-eqz v0, :cond_1
return v2
:cond_1
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x11
if-ge v0, v1, :cond_2
instance-of v0, p0, Landroid/graphics/drawable/LayerDrawable;
if-eqz v0, :cond_2
return v2
:cond_2
instance-of v0, p0, Landroid/graphics/drawable/DrawableContainer;
if-eqz v0, :cond_4
if-eqz v0, :cond_1
invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getConstantState()Landroid/graphics/drawable/Drawable$ConstantState;
@ -133,7 +108,7 @@
instance-of v0, p0, Landroid/graphics/drawable/DrawableContainer$DrawableContainerState;
if-eqz v0, :cond_7
if-eqz v0, :cond_4
check-cast p0, Landroid/graphics/drawable/DrawableContainer$DrawableContainerState;
@ -145,28 +120,30 @@
const/4 v1, 0x0
:goto_1
if-ge v1, v0, :cond_7
const/4 v2, 0x0
aget-object v3, p0, v1
:goto_0
if-ge v2, v0, :cond_4
aget-object v3, p0, v2
invoke-static {v3}, Landroidx/appcompat/widget/DrawableUtils;->canSafelyMutateDrawable(Landroid/graphics/drawable/Drawable;)Z
move-result v3
if-nez v3, :cond_3
if-nez v3, :cond_0
return v2
return v1
:cond_3
add-int/lit8 v1, v1, 0x1
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_1
goto :goto_0
:cond_4
:cond_1
instance-of v0, p0, Landroidx/core/graphics/drawable/WrappedDrawable;
if-eqz v0, :cond_5
if-eqz v0, :cond_2
check-cast p0, Landroidx/core/graphics/drawable/WrappedDrawable;
@ -174,12 +151,16 @@
move-result-object p0
goto :goto_0
invoke-static {p0}, Landroidx/appcompat/widget/DrawableUtils;->canSafelyMutateDrawable(Landroid/graphics/drawable/Drawable;)Z
:cond_5
move-result p0
return p0
:cond_2
instance-of v0, p0, Landroidx/appcompat/graphics/drawable/DrawableWrapper;
if-eqz v0, :cond_6
if-eqz v0, :cond_3
check-cast p0, Landroidx/appcompat/graphics/drawable/DrawableWrapper;
@ -187,12 +168,16 @@
move-result-object p0
goto :goto_0
invoke-static {p0}, Landroidx/appcompat/widget/DrawableUtils;->canSafelyMutateDrawable(Landroid/graphics/drawable/Drawable;)Z
:cond_6
move-result p0
return p0
:cond_3
instance-of v0, p0, Landroid/graphics/drawable/ScaleDrawable;
if-eqz v0, :cond_7
if-eqz v0, :cond_4
check-cast p0, Landroid/graphics/drawable/ScaleDrawable;
@ -200,16 +185,24 @@
move-result-object p0
goto :goto_0
invoke-static {p0}, Landroidx/appcompat/widget/DrawableUtils;->canSafelyMutateDrawable(Landroid/graphics/drawable/Drawable;)Z
:cond_7
move-result p0
return p0
:cond_4
const/4 p0, 0x1
return p0
.end method
.method static fixDrawable(Landroid/graphics/drawable/Drawable;)V
.method public static fixDrawable(Landroid/graphics/drawable/Drawable;)V
.locals 2
.param p0 # Landroid/graphics/drawable/Drawable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
@ -239,7 +232,7 @@
return-void
.end method
.method private static fixVectorDrawableTinting(Landroid/graphics/drawable/Drawable;)V
.method public static fixVectorDrawableTinting(Landroid/graphics/drawable/Drawable;)V
.locals 2
invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getState()[I