69 lines
1.8 KiB
Smali
69 lines
1.8 KiB
Smali
.class public final Lcom/discord/utilities/view/extensions/FadeAnimation;
|
|
.super Ljava/lang/Object;
|
|
.source "ViewExtensions.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/discord/utilities/view/extensions/FadeAnimation$Type;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final type:Lcom/discord/utilities/view/extensions/FadeAnimation$Type;
|
|
|
|
.field public final viewPropertyAnimator:Landroid/view/ViewPropertyAnimator;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/view/ViewPropertyAnimator;Lcom/discord/utilities/view/extensions/FadeAnimation$Type;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/discord/utilities/view/extensions/FadeAnimation;->viewPropertyAnimator:Landroid/view/ViewPropertyAnimator;
|
|
|
|
iput-object p2, p0, Lcom/discord/utilities/view/extensions/FadeAnimation;->type:Lcom/discord/utilities/view/extensions/FadeAnimation$Type;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "type"
|
|
|
|
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p1, "viewPropertyAnimator"
|
|
|
|
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getType()Lcom/discord/utilities/view/extensions/FadeAnimation$Type;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/view/extensions/FadeAnimation;->type:Lcom/discord/utilities/view/extensions/FadeAnimation$Type;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getViewPropertyAnimator()Landroid/view/ViewPropertyAnimator;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/view/extensions/FadeAnimation;->viewPropertyAnimator:Landroid/view/ViewPropertyAnimator;
|
|
|
|
return-object v0
|
|
.end method
|