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

129 lines
3.8 KiB
Smali
Raw Normal View History

2020-07-14 22:43:59 +00:00
.class public final Lf/a/l/d;
.super Landroid/widget/FrameLayout;
.source "SparkleView.kt"
# static fields
.field public static final synthetic e:[Lkotlin/reflect/KProperty;
# instance fields
.field public final d:Lkotlin/properties/ReadOnlyProperty;
# direct methods
.method public static constructor <clinit>()V
.locals 5
const/4 v0, 0x1
new-array v0, v0, [Lkotlin/reflect/KProperty;
2020-07-25 00:57:58 +00:00
new-instance v1, Lj0/n/c/q;
2020-07-14 22:43:59 +00:00
const-class v2, Lf/a/l/d;
2020-07-25 00:57:58 +00:00
invoke-static {v2}, Lj0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/r/b;
2020-07-14 22:43:59 +00:00
move-result-object v2
const-string v3, "sparkleImage"
const-string v4, "getSparkleImage()Landroid/widget/ImageView;"
2020-07-25 00:57:58 +00:00
invoke-direct {v1, v2, v3, v4}, Lj0/n/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2020-07-14 22:43:59 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {v1}, Lj0/n/c/s;->property1(Lj0/n/c/p;)Lj0/r/d;
2020-07-14 22:43:59 +00:00
const/4 v2, 0x0
aput-object v1, v0, v2
sput-object v0, Lf/a/l/d;->e:[Lkotlin/reflect/KProperty;
return-void
.end method
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
invoke-direct {p0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V
2020-08-03 21:00:21 +00:00
const p1, 0x7f0a0913
2020-07-14 22:43:59 +00:00
2020-07-25 02:57:47 +00:00
invoke-static {p0, p1}, Lf/n/a/k/a;->h(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2020-07-14 22:43:59 +00:00
move-result-object p1
iput-object p1, p0, Lf/a/l/d;->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-07-25 00:57:58 +00:00
const v0, 0x7f0d00d0
2020-07-14 22:43:59 +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-08-03 21:00:21 +00:00
const v0, 0x7f08053e
2020-07-14 22:43:59 +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"
2020-07-25 00:57:58 +00:00
invoke-static {p1, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-14 22:43:59 +00:00
invoke-direct {p0}, Lf/a/l/d;->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/c;
invoke-direct {v0, p0, p1}, Lf/a/l/c;-><init>(Lf/a/l/d;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
return-void
.end method
.method private final getSparkleImage()Landroid/widget/ImageView;
.locals 3
iget-object v0, p0, Lf/a/l/d;->d:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lf/a/l/d;->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