apkfuckery/com.discord/smali/f/a/l/c.smali

127 lines
3.7 KiB
Smali
Raw Normal View History

2020-07-14 22:43:59 +00:00
.class public final Lf/a/l/c;
2020-09-14 18:37:20 +00:00
.super Landroid/widget/FrameLayout;
2020-07-14 22:43:59 +00:00
.source "SparkleView.kt"
2020-09-14 18:37:20 +00:00
# static fields
.field public static final synthetic e:[Lkotlin/reflect/KProperty;
2020-07-14 22:43:59 +00:00
2020-09-14 18:37:20 +00:00
# instance fields
.field public final d:Lkotlin/properties/ReadOnlyProperty;
2020-07-14 22:43:59 +00:00
# direct methods
2020-09-14 18:37:20 +00:00
.method public static constructor <clinit>()V
.locals 5
const/4 v0, 0x1
new-array v0, v0, [Lkotlin/reflect/KProperty;
const-class v1, Lf/a/l/c;
2020-07-14 22:43:59 +00:00
2020-09-14 18:37:20 +00:00
const-string v2, "sparkleImage"
2020-07-14 22:43:59 +00:00
2020-09-14 18:37:20 +00:00
const-string v3, "getSparkleImage()Landroid/widget/ImageView;"
2020-07-14 22:43:59 +00:00
2020-09-14 18:37:20 +00:00
const/4 v4, 0x0
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r;
move-result-object v1
aput-object v1, v0, v4
sput-object v0, Lf/a/l/c;->e:[Lkotlin/reflect/KProperty;
2020-07-14 22:43:59 +00:00
return-void
.end method
2020-09-14 18:37:20 +00:00
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
2020-07-14 22:43:59 +00:00
2020-09-14 18:37:20 +00:00
const-string v0, "context"
2020-09-09 19:21:20 +00:00
invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-14 22:43:59 +00:00
2020-09-14 18:37:20 +00:00
invoke-direct {p0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V
2020-09-16 05:42:47 +00:00
const p1, 0x7f0a0994
2020-09-14 18:37:20 +00:00
invoke-static {p0, p1}, Lk0/j/a;->g(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object p1
iput-object p1, p0, Lf/a/l/c;->d:Lkotlin/properties/ReadOnlyProperty;
new-instance p1, Landroid/widget/FrameLayout$LayoutParams;
const/4 v0, -0x2
invoke-direct {p1, v0, v0}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
move-result-object p1
const v0, 0x7f0d00df
2020-07-14 22:43:59 +00:00
2020-09-14 18:37:20 +00:00
invoke-static {p1, v0, p0}, Landroid/widget/FrameLayout;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
2020-07-14 22:43:59 +00:00
2020-09-14 18:37:20 +00:00
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
2020-07-14 22:43:59 +00:00
2020-09-14 18:37:20 +00:00
move-result-object p1
2020-07-14 22:43:59 +00:00
2020-09-14 18:37:20 +00:00
const v0, 0x7f08052b
2020-07-14 22:43:59 +00:00
2020-09-14 18:37:20 +00:00
invoke-static {p1, v0}, Landroidx/vectordrawable/graphics/drawable/AnimatedVectorDrawableCompat;->create(Landroid/content/Context;I)Landroidx/vectordrawable/graphics/drawable/AnimatedVectorDrawableCompat;
move-result-object p1
if-eqz p1, :cond_0
const-string v0, "AnimatedVectorDrawableCo\u2026ed_vector\n ) ?: return"
invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Lf/a/l/c;->getSparkleImage()Landroid/widget/ImageView;
move-result-object v0
invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
new-instance v0, Lf/a/l/b;
invoke-direct {v0, p0, p1}, Lf/a/l/b;-><init>(Lf/a/l/c;Landroidx/vectordrawable/graphics/drawable/AnimatedVectorDrawableCompat;)V
invoke-virtual {p1, v0}, Landroidx/vectordrawable/graphics/drawable/AnimatedVectorDrawableCompat;->registerAnimationCallback(Landroidx/vectordrawable/graphics/drawable/Animatable2Compat$AnimationCallback;)V
invoke-virtual {p1}, Landroidx/vectordrawable/graphics/drawable/AnimatedVectorDrawableCompat;->start()V
:cond_0
2020-07-14 22:43:59 +00:00
return-void
.end method
2020-09-14 18:37:20 +00:00
.method private final getSparkleImage()Landroid/widget/ImageView;
.locals 3
iget-object v0, p0, Lf/a/l/c;->d:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lf/a/l/c;->e:[Lkotlin/reflect/KProperty;
const/4 v2, 0x0
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/widget/ImageView;
return-object v0
.end method