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

124 lines
2.8 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/transition/ViewUtilsApi19;
2019-07-24 11:27:29 +00:00
.super Landroidx/transition/ViewUtilsBase;
.source "ViewUtilsApi19.java"
2019-12-06 03:29:40 +00:00
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x13
.end annotation
2019-07-24 11:27:29 +00:00
# static fields
2020-01-07 02:40:43 +00:00
.field public static sTryHiddenTransitionAlpha: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/ViewUtilsBase;-><init>()V
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
.method public clearNonTransitionAlpha(Landroid/view/View;)V
.locals 0
2019-12-06 03:29:40 +00:00
.param p1 # Landroid/view/View;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public getTransitionAlpha(Landroid/view/View;)F
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
.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/ViewUtilsApi19;->sTryHiddenTransitionAlpha: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}, Landroid/view/View;->getTransitionAlpha()F
2019-07-24 11:27:29 +00:00
move-result p1
: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
return p1
:catch_0
2020-01-07 02:40:43 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2020-01-07 02:40:43 +00:00
sput-boolean v0, Landroidx/transition/ViewUtilsApi19;->sTryHiddenTransitionAlpha:Z
2019-07-24 11:27:29 +00:00
:cond_0
2020-01-07 02:40:43 +00:00
invoke-virtual {p1}, Landroid/view/View;->getAlpha()F
2019-07-24 11:27:29 +00:00
move-result p1
return p1
.end method
.method public saveNonTransitionAlpha(Landroid/view/View;)V
.locals 0
2019-12-06 03:29:40 +00:00
.param p1 # Landroid/view/View;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public setTransitionAlpha(Landroid/view/View;F)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
.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/ViewUtilsApi19;->sTryHiddenTransitionAlpha: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;->setTransitionAlpha(F)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
2020-01-07 02:40:43 +00:00
return-void
2019-07-24 11:27:29 +00:00
:catch_0
2020-01-07 02:40:43 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2020-01-07 02:40:43 +00:00
sput-boolean v0, Landroidx/transition/ViewUtilsApi19;->sTryHiddenTransitionAlpha:Z
2019-07-24 11:27:29 +00:00
:cond_0
invoke-virtual {p1, p2}, Landroid/view/View;->setAlpha(F)V
return-void
.end method