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-16 23:45:23 +00:00
.super Landroid/widget/FrameLayout;
2020-07-14 22:43:59 +00:00
.source "SparkleView.kt"
2020-09-16 23:45:23 +00:00
# static fields
.field public static final synthetic e:[Lkotlin/reflect/KProperty;
2020-09-14 18:37:20 +00:00
2020-09-16 23:45:23 +00:00
# instance fields
.field public final d:Lkotlin/properties/ReadOnlyProperty;
2020-09-14 18:37:20 +00:00
2020-07-14 22:43:59 +00:00
2020-09-16 21:45:36 +00:00
# direct methods
2020-09-16 23:45:23 +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-09-14 18:37:20 +00:00
2020-09-16 23:45:23 +00:00
const-string v2, "sparkleImage"
2020-09-14 18:37:20 +00:00
2020-09-16 23:45:23 +00:00
const-string v3, "getSparkleImage()Landroid/widget/ImageView;"
2020-09-14 18:37:20 +00:00
2020-09-16 23:45:23 +00:00
const/4 v4, 0x0
2020-10-05 23:18:16 +00:00
invoke-static {v1, v2, v3, v4}, Lf/e/c/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lc0/n/c/s;
2020-09-16 23:45:23 +00:00
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-16 23:45:23 +00:00
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
2020-09-14 18:37:20 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "context"
2020-10-05 23:18:16 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
invoke-direct {p0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V
2020-10-17 00:53:08 +00:00
const p1, 0x7f0a09ca
2020-09-16 23:45:23 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p0, p1}, Lc0/j/a;->g(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2020-09-16 23:45:23 +00:00
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
2020-10-03 03:03:24 +00:00
const v0, 0x7f0d00e5
2020-09-16 23:45:23 +00:00
invoke-static {p1, v0, p0}, Landroid/widget/FrameLayout;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
move-result-object p1
2020-10-13 20:45:03 +00:00
const v0, 0x7f08055b
2020-09-16 23:45:23 +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
2020-09-14 18:37:20 +00:00
if-eqz p1, :cond_0
2020-09-16 23:45:23 +00:00
const-string v0, "AnimatedVectorDrawableCo\u2026ed_vector\n ) ?: return"
2020-09-14 18:37:20 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-14 18:37:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {p0}, Lf/a/l/c;->getSparkleImage()Landroid/widget/ImageView;
2020-09-14 18:37:20 +00:00
2020-09-16 23:45:23 +00:00
move-result-object v0
2020-09-14 18:37:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
2020-09-14 18:37:20 +00:00
2020-09-16 23:45:23 +00:00
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
2020-09-14 18:37:20 +00:00
2020-09-16 21:45:36 +00:00
:cond_0
2020-09-16 23:45:23 +00:00
return-void
.end method
.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;
2020-09-14 18:37:20 +00:00
2020-09-16 23:45:23 +00:00
move-result-object v0
2020-09-14 18:37:20 +00:00
2020-09-16 23:45:23 +00:00
check-cast v0, Landroid/widget/ImageView;
2020-09-14 18:37:20 +00:00
2020-09-16 23:45:23 +00:00
return-object v0
2020-09-14 18:37:20 +00:00
.end method