apkfuckery/com.discord/smali/f/a/l/d.smali
2020-07-25 02:57:47 +00:00

128 lines
3.8 KiB
Smali

.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;
new-instance v1, Lj0/n/c/q;
const-class v2, Lf/a/l/d;
invoke-static {v2}, Lj0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lj0/r/b;
move-result-object v2
const-string v3, "sparkleImage"
const-string v4, "getSparkleImage()Landroid/widget/ImageView;"
invoke-direct {v1, v2, v3, v4}, Lj0/n/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lj0/n/c/s;->property1(Lj0/n/c/p;)Lj0/r/d;
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
const p1, 0x7f0a0913
invoke-static {p0, p1}, Lf/n/a/k/a;->h(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
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
const v0, 0x7f0d00d0
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
const v0, 0x7f08053e
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}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
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