Changes of com.discord v1017
This commit is contained in:
parent
346c5a87ca
commit
f68d8f1190
3195 changed files with 220840 additions and 133867 deletions
|
@ -10,22 +10,20 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final TAG:Ljava/lang/String; = "ViewUtilsApi21"
|
||||
.field public static sTryHiddenSetAnimationMatrix:Z = true
|
||||
|
||||
.field public static sSetAnimationMatrixMethod:Ljava/lang/reflect/Method;
|
||||
.field public static sTryHiddenTransformMatrixToGlobal:Z = true
|
||||
|
||||
.field public static sSetAnimationMatrixMethodFetched:Z
|
||||
|
||||
.field public static sTransformMatrixToGlobalMethod:Ljava/lang/reflect/Method;
|
||||
|
||||
.field public static sTransformMatrixToGlobalMethodFetched:Z
|
||||
|
||||
.field public static sTransformMatrixToLocalMethod:Ljava/lang/reflect/Method;
|
||||
|
||||
.field public static sTransformMatrixToLocalMethodFetched:Z
|
||||
.field public static sTryHiddenTransformMatrixToLocal:Z = true
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
|
@ -34,223 +32,47 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method private fetchSetAnimationMatrix()V
|
||||
.locals 5
|
||||
|
||||
sget-boolean v0, Landroidx/transition/ViewUtilsApi21;->sSetAnimationMatrixMethodFetched:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
:try_start_0
|
||||
const-class v1, Landroid/view/View;
|
||||
|
||||
new-array v2, v0, [Ljava/lang/Class;
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const-class v4, Landroid/graphics/Matrix;
|
||||
|
||||
aput-object v4, v2, v3
|
||||
:try_end_0
|
||||
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
const-string v3, "setAnimationMatrix"
|
||||
|
||||
:try_start_1
|
||||
invoke-virtual {v1, v3, v2}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
sput-object v1, Landroidx/transition/ViewUtilsApi21;->sSetAnimationMatrixMethod:Ljava/lang/reflect/Method;
|
||||
|
||||
sget-object v1, Landroidx/transition/ViewUtilsApi21;->sSetAnimationMatrixMethod:Ljava/lang/reflect/Method;
|
||||
|
||||
invoke-virtual {v1, v0}, Ljava/lang/reflect/Method;->setAccessible(Z)V
|
||||
:try_end_1
|
||||
.catch Ljava/lang/NoSuchMethodException; {:try_start_1 .. :try_end_1} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v1
|
||||
|
||||
const-string v2, "ViewUtilsApi21"
|
||||
|
||||
const-string v3, "Failed to retrieve setAnimationMatrix method"
|
||||
|
||||
invoke-static {v2, v3, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
||||
|
||||
:goto_0
|
||||
sput-boolean v0, Landroidx/transition/ViewUtilsApi21;->sSetAnimationMatrixMethodFetched:Z
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private fetchTransformMatrixToGlobalMethod()V
|
||||
.locals 5
|
||||
|
||||
sget-boolean v0, Landroidx/transition/ViewUtilsApi21;->sTransformMatrixToGlobalMethodFetched:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
:try_start_0
|
||||
const-class v1, Landroid/view/View;
|
||||
|
||||
new-array v2, v0, [Ljava/lang/Class;
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const-class v4, Landroid/graphics/Matrix;
|
||||
|
||||
aput-object v4, v2, v3
|
||||
:try_end_0
|
||||
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
const-string v3, "transformMatrixToGlobal"
|
||||
|
||||
:try_start_1
|
||||
invoke-virtual {v1, v3, v2}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
sput-object v1, Landroidx/transition/ViewUtilsApi21;->sTransformMatrixToGlobalMethod:Ljava/lang/reflect/Method;
|
||||
|
||||
sget-object v1, Landroidx/transition/ViewUtilsApi21;->sTransformMatrixToGlobalMethod:Ljava/lang/reflect/Method;
|
||||
|
||||
invoke-virtual {v1, v0}, Ljava/lang/reflect/Method;->setAccessible(Z)V
|
||||
:try_end_1
|
||||
.catch Ljava/lang/NoSuchMethodException; {:try_start_1 .. :try_end_1} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v1
|
||||
|
||||
const-string v2, "ViewUtilsApi21"
|
||||
|
||||
const-string v3, "Failed to retrieve transformMatrixToGlobal method"
|
||||
|
||||
invoke-static {v2, v3, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
||||
|
||||
:goto_0
|
||||
sput-boolean v0, Landroidx/transition/ViewUtilsApi21;->sTransformMatrixToGlobalMethodFetched:Z
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private fetchTransformMatrixToLocalMethod()V
|
||||
.locals 5
|
||||
|
||||
sget-boolean v0, Landroidx/transition/ViewUtilsApi21;->sTransformMatrixToLocalMethodFetched:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
:try_start_0
|
||||
const-class v1, Landroid/view/View;
|
||||
|
||||
new-array v2, v0, [Ljava/lang/Class;
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const-class v4, Landroid/graphics/Matrix;
|
||||
|
||||
aput-object v4, v2, v3
|
||||
:try_end_0
|
||||
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
const-string v3, "transformMatrixToLocal"
|
||||
|
||||
:try_start_1
|
||||
invoke-virtual {v1, v3, v2}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
sput-object v1, Landroidx/transition/ViewUtilsApi21;->sTransformMatrixToLocalMethod:Ljava/lang/reflect/Method;
|
||||
|
||||
sget-object v1, Landroidx/transition/ViewUtilsApi21;->sTransformMatrixToLocalMethod:Ljava/lang/reflect/Method;
|
||||
|
||||
invoke-virtual {v1, v0}, Ljava/lang/reflect/Method;->setAccessible(Z)V
|
||||
:try_end_1
|
||||
.catch Ljava/lang/NoSuchMethodException; {:try_start_1 .. :try_end_1} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v1
|
||||
|
||||
const-string v2, "ViewUtilsApi21"
|
||||
|
||||
const-string v3, "Failed to retrieve transformMatrixToLocal method"
|
||||
|
||||
invoke-static {v2, v3, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
||||
|
||||
:goto_0
|
||||
sput-boolean v0, Landroidx/transition/ViewUtilsApi21;->sTransformMatrixToLocalMethodFetched:Z
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public setAnimationMatrix(Landroid/view/View;Landroid/graphics/Matrix;)V
|
||||
.locals 3
|
||||
.locals 1
|
||||
.param p1 # Landroid/view/View;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/graphics/Matrix;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroid/annotation/SuppressLint;
|
||||
value = {
|
||||
"NewApi"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Landroidx/transition/ViewUtilsApi21;->fetchSetAnimationMatrix()V
|
||||
|
||||
sget-object v0, Landroidx/transition/ViewUtilsApi21;->sSetAnimationMatrixMethod:Ljava/lang/reflect/Method;
|
||||
sget-boolean v0, Landroidx/transition/ViewUtilsApi21;->sTryHiddenSetAnimationMatrix:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
:try_start_0
|
||||
new-array v1, v1, [Ljava/lang/Object;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
aput-object p2, v1, v2
|
||||
|
||||
invoke-virtual {v0, p1, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setAnimationMatrix(Landroid/graphics/Matrix;)V
|
||||
:try_end_0
|
||||
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_1
|
||||
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catch Ljava/lang/NoSuchMethodError; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
const/4 p1, 0x0
|
||||
|
||||
new-instance p2, Ljava/lang/RuntimeException;
|
||||
sput-boolean p1, Landroidx/transition/ViewUtilsApi21;->sTryHiddenSetAnimationMatrix:Z
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/IllegalAccessException;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {p2, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
||||
|
||||
throw p2
|
||||
|
||||
:catch_1
|
||||
:cond_0
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public transformMatrixToGlobal(Landroid/view/View;Landroid/graphics/Matrix;)V
|
||||
.locals 3
|
||||
.locals 1
|
||||
.param p1 # Landroid/view/View;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
@ -259,50 +81,35 @@
|
|||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroid/annotation/SuppressLint;
|
||||
value = {
|
||||
"NewApi"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Landroidx/transition/ViewUtilsApi21;->fetchTransformMatrixToGlobalMethod()V
|
||||
|
||||
sget-object v0, Landroidx/transition/ViewUtilsApi21;->sTransformMatrixToGlobalMethod:Ljava/lang/reflect/Method;
|
||||
sget-boolean v0, Landroidx/transition/ViewUtilsApi21;->sTryHiddenTransformMatrixToGlobal:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
:try_start_0
|
||||
new-array v1, v1, [Ljava/lang/Object;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
aput-object p2, v1, v2
|
||||
|
||||
invoke-virtual {v0, p1, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->transformMatrixToGlobal(Landroid/graphics/Matrix;)V
|
||||
:try_end_0
|
||||
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_1
|
||||
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catch Ljava/lang/NoSuchMethodError; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
const/4 p1, 0x0
|
||||
|
||||
new-instance p2, Ljava/lang/RuntimeException;
|
||||
sput-boolean p1, Landroidx/transition/ViewUtilsApi21;->sTryHiddenTransformMatrixToGlobal:Z
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/reflect/InvocationTargetException;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {p2, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
||||
|
||||
throw p2
|
||||
|
||||
:catch_1
|
||||
:cond_0
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public transformMatrixToLocal(Landroid/view/View;Landroid/graphics/Matrix;)V
|
||||
.locals 3
|
||||
.locals 1
|
||||
.param p1 # Landroid/view/View;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
@ -311,43 +118,28 @@
|
|||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroid/annotation/SuppressLint;
|
||||
value = {
|
||||
"NewApi"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Landroidx/transition/ViewUtilsApi21;->fetchTransformMatrixToLocalMethod()V
|
||||
|
||||
sget-object v0, Landroidx/transition/ViewUtilsApi21;->sTransformMatrixToLocalMethod:Ljava/lang/reflect/Method;
|
||||
sget-boolean v0, Landroidx/transition/ViewUtilsApi21;->sTryHiddenTransformMatrixToLocal:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
:try_start_0
|
||||
new-array v1, v1, [Ljava/lang/Object;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
aput-object p2, v1, v2
|
||||
|
||||
invoke-virtual {v0, p1, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->transformMatrixToLocal(Landroid/graphics/Matrix;)V
|
||||
:try_end_0
|
||||
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_1
|
||||
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catch Ljava/lang/NoSuchMethodError; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
const/4 p1, 0x0
|
||||
|
||||
new-instance p2, Ljava/lang/RuntimeException;
|
||||
sput-boolean p1, Landroidx/transition/ViewUtilsApi21;->sTryHiddenTransformMatrixToLocal:Z
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/reflect/InvocationTargetException;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {p2, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
||||
|
||||
throw p2
|
||||
|
||||
:catch_1
|
||||
:cond_0
|
||||
:goto_0
|
||||
return-void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue