apkfuckery/com.discord/smali/androidx/transition/ViewUtilsApi21.smali

147 lines
3.7 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/transition/ViewUtilsApi21;
2019-07-24 11:27:29 +00:00
.super Landroidx/transition/ViewUtilsApi19;
.source "ViewUtilsApi21.java"
2019-12-06 03:29:40 +00:00
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x15
.end annotation
2019-07-24 11:27:29 +00:00
# static fields
2020-01-07 02:40:43 +00:00
.field public static sTryHiddenSetAnimationMatrix:Z = true
2019-07-24 11:27:29 +00:00
2020-01-07 02:40:43 +00:00
.field public static sTryHiddenTransformMatrixToGlobal:Z = true
2019-07-24 11:27:29 +00:00
2020-01-07 02:40:43 +00:00
.field public static sTryHiddenTransformMatrixToLocal:Z = true
2019-07-24 11:27:29 +00:00
# direct methods
2020-01-07 02:40:43 +00:00
.method public static constructor <clinit>()V
2019-07-24 11:27:29 +00:00
.locals 0
return-void
.end method
2020-01-07 02:40:43 +00:00
.method public constructor <init>()V
.locals 0
2019-07-24 11:27:29 +00:00
2020-01-07 02:40:43 +00:00
invoke-direct {p0}, Landroidx/transition/ViewUtilsApi19;-><init>()V
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
.method public setAnimationMatrix(Landroid/view/View;Landroid/graphics/Matrix;)V
2020-01-07 02:40:43 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
.param p1 # Landroid/view/View;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2020-01-07 02:40:43 +00:00
.param p2 # Landroid/graphics/Matrix;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroid/annotation/SuppressLint;
value = {
"NewApi"
}
.end annotation
2019-07-24 11:27:29 +00:00
2020-01-07 02:40:43 +00:00
sget-boolean v0, Landroidx/transition/ViewUtilsApi21;->sTryHiddenSetAnimationMatrix:Z
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
:try_start_0
2020-01-07 02:40:43 +00:00
invoke-virtual {p1, p2}, Landroid/view/View;->setAnimationMatrix(Landroid/graphics/Matrix;)V
2019-07-24 11:27:29 +00:00
:try_end_0
2020-01-07 02:40:43 +00:00
.catch Ljava/lang/NoSuchMethodError; {:try_start_0 .. :try_end_0} :catch_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:catch_0
2020-01-07 02:40:43 +00:00
const/4 p1, 0x0
2019-07-24 11:27:29 +00:00
2020-01-07 02:40:43 +00:00
sput-boolean p1, Landroidx/transition/ViewUtilsApi21;->sTryHiddenSetAnimationMatrix:Z
2019-07-24 11:27:29 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public transformMatrixToGlobal(Landroid/view/View;Landroid/graphics/Matrix;)V
2020-01-07 02:40:43 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
.param p1 # Landroid/view/View;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/graphics/Matrix;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2020-01-07 02:40:43 +00:00
.annotation build Landroid/annotation/SuppressLint;
value = {
"NewApi"
}
.end annotation
2019-07-24 11:27:29 +00:00
2020-01-07 02:40:43 +00:00
sget-boolean v0, Landroidx/transition/ViewUtilsApi21;->sTryHiddenTransformMatrixToGlobal:Z
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
:try_start_0
2020-01-07 02:40:43 +00:00
invoke-virtual {p1, p2}, Landroid/view/View;->transformMatrixToGlobal(Landroid/graphics/Matrix;)V
2019-07-24 11:27:29 +00:00
:try_end_0
2020-01-07 02:40:43 +00:00
.catch Ljava/lang/NoSuchMethodError; {:try_start_0 .. :try_end_0} :catch_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:catch_0
2020-01-07 02:40:43 +00:00
const/4 p1, 0x0
2019-07-24 11:27:29 +00:00
2020-01-07 02:40:43 +00:00
sput-boolean p1, Landroidx/transition/ViewUtilsApi21;->sTryHiddenTransformMatrixToGlobal:Z
2019-07-24 11:27:29 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public transformMatrixToLocal(Landroid/view/View;Landroid/graphics/Matrix;)V
2020-01-07 02:40:43 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
.param p1 # Landroid/view/View;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/graphics/Matrix;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2020-01-07 02:40:43 +00:00
.annotation build Landroid/annotation/SuppressLint;
value = {
"NewApi"
}
.end annotation
2019-07-24 11:27:29 +00:00
2020-01-07 02:40:43 +00:00
sget-boolean v0, Landroidx/transition/ViewUtilsApi21;->sTryHiddenTransformMatrixToLocal:Z
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
:try_start_0
2020-01-07 02:40:43 +00:00
invoke-virtual {p1, p2}, Landroid/view/View;->transformMatrixToLocal(Landroid/graphics/Matrix;)V
2019-07-24 11:27:29 +00:00
:try_end_0
2020-01-07 02:40:43 +00:00
.catch Ljava/lang/NoSuchMethodError; {:try_start_0 .. :try_end_0} :catch_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:catch_0
2020-01-07 02:40:43 +00:00
const/4 p1, 0x0
2019-07-24 11:27:29 +00:00
2020-01-07 02:40:43 +00:00
sput-boolean p1, Landroidx/transition/ViewUtilsApi21;->sTryHiddenTransformMatrixToLocal:Z
2019-07-24 11:27:29 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-void
.end method