apkfuckery/com.discord/smali/androidx/transition/ViewUtilsApi21.smali
2020-01-07 03:40:43 +01:00

146 lines
3.7 KiB
Smali

.class public Landroidx/transition/ViewUtilsApi21;
.super Landroidx/transition/ViewUtilsApi19;
.source "ViewUtilsApi21.java"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x15
.end annotation
# static fields
.field public static sTryHiddenSetAnimationMatrix:Z = true
.field public static sTryHiddenTransformMatrixToGlobal:Z = true
.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
invoke-direct {p0}, Landroidx/transition/ViewUtilsApi19;-><init>()V
return-void
.end method
# virtual methods
.method public setAnimationMatrix(Landroid/view/View;Landroid/graphics/Matrix;)V
.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
sget-boolean v0, Landroidx/transition/ViewUtilsApi21;->sTryHiddenSetAnimationMatrix:Z
if-eqz v0, :cond_0
:try_start_0
invoke-virtual {p1, p2}, Landroid/view/View;->setAnimationMatrix(Landroid/graphics/Matrix;)V
:try_end_0
.catch Ljava/lang/NoSuchMethodError; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
const/4 p1, 0x0
sput-boolean p1, Landroidx/transition/ViewUtilsApi21;->sTryHiddenSetAnimationMatrix:Z
:cond_0
:goto_0
return-void
.end method
.method public transformMatrixToGlobal(Landroid/view/View;Landroid/graphics/Matrix;)V
.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/NonNull;
.end annotation
.end param
.annotation build Landroid/annotation/SuppressLint;
value = {
"NewApi"
}
.end annotation
sget-boolean v0, Landroidx/transition/ViewUtilsApi21;->sTryHiddenTransformMatrixToGlobal:Z
if-eqz v0, :cond_0
:try_start_0
invoke-virtual {p1, p2}, Landroid/view/View;->transformMatrixToGlobal(Landroid/graphics/Matrix;)V
:try_end_0
.catch Ljava/lang/NoSuchMethodError; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
const/4 p1, 0x0
sput-boolean p1, Landroidx/transition/ViewUtilsApi21;->sTryHiddenTransformMatrixToGlobal:Z
:cond_0
:goto_0
return-void
.end method
.method public transformMatrixToLocal(Landroid/view/View;Landroid/graphics/Matrix;)V
.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/NonNull;
.end annotation
.end param
.annotation build Landroid/annotation/SuppressLint;
value = {
"NewApi"
}
.end annotation
sget-boolean v0, Landroidx/transition/ViewUtilsApi21;->sTryHiddenTransformMatrixToLocal:Z
if-eqz v0, :cond_0
:try_start_0
invoke-virtual {p1, p2}, Landroid/view/View;->transformMatrixToLocal(Landroid/graphics/Matrix;)V
:try_end_0
.catch Ljava/lang/NoSuchMethodError; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
const/4 p1, 0x0
sput-boolean p1, Landroidx/transition/ViewUtilsApi21;->sTryHiddenTransformMatrixToLocal:Z
:cond_0
:goto_0
return-void
.end method