2020-08-10 21:02:22 +00:00
|
|
|
.class public final Lcom/discord/views/FailedUploadView;
|
|
|
|
.super Landroidx/constraintlayout/widget/ConstraintLayout;
|
|
|
|
.source "FailedUploadView.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field public static final synthetic g:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final d:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field public final e:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field public final f:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
const/4 v0, 0x3
|
|
|
|
|
|
|
|
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-class v1, Lcom/discord/views/FailedUploadView;
|
2020-08-10 21:02:22 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v2, "displayName"
|
2020-08-10 21:02:22 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v3, "getDisplayName()Landroid/widget/TextView;"
|
2020-08-10 21:02:22 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v4, 0x0
|
2020-08-10 21:02:22 +00:00
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lc0/n/c/r;
|
2020-08-10 21:02:22 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v1
|
2020-08-10 21:02:22 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
aput-object v1, v0, v4
|
2020-08-10 21:02:22 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-class v1, Lcom/discord/views/FailedUploadView;
|
2020-08-10 21:02:22 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v2, "subtitleText"
|
2020-09-08 08:16:32 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v3, "getSubtitleText()Landroid/widget/TextView;"
|
2020-09-08 08:16:32 +00:00
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lc0/n/c/r;
|
2020-09-08 08:16:32 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v1
|
2020-08-10 21:02:22 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-class v1, Lcom/discord/views/FailedUploadView;
|
2020-08-10 21:02:22 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v2, "fileImage"
|
2020-08-10 21:02:22 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v3, "getFileImage()Landroid/widget/ImageView;"
|
2020-09-08 08:16:32 +00:00
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lc0/n/c/r;
|
2020-09-08 08:16:32 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v1
|
2020-08-10 21:02:22 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
|
|
|
|
sput-object v0, Lcom/discord/views/FailedUploadView;->g:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "context"
|
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
invoke-static {p1, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-08-10 21:02:22 +00:00
|
|
|
|
|
|
|
invoke-direct {p0, p1, p2}, Landroidx/constraintlayout/widget/ConstraintLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
|
2020-09-21 23:07:46 +00:00
|
|
|
const p1, 0x7f0a0332
|
2020-08-10 21:02:22 +00:00
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
invoke-static {p0, p1}, Lc0/j/a;->g(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
2020-08-10 21:02:22 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/views/FailedUploadView;->d:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-09-21 23:07:46 +00:00
|
|
|
const p1, 0x7f0a0a01
|
2020-08-10 21:02:22 +00:00
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
invoke-static {p0, p1}, Lc0/j/a;->g(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
2020-08-10 21:02:22 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/views/FailedUploadView;->e:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-09-21 23:07:46 +00:00
|
|
|
const p1, 0x7f0a03e6
|
2020-08-10 21:02:22 +00:00
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
invoke-static {p0, p1}, Lc0/j/a;->g(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
2020-08-10 21:02:22 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/views/FailedUploadView;->f:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
const p2, 0x7f0d0115
|
2020-08-10 21:02:22 +00:00
|
|
|
|
|
|
|
invoke-static {p1, p2, p0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getDisplayName()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/views/FailedUploadView;->d:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/views/FailedUploadView;->g:[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/TextView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getFileImage()Landroid/widget/ImageView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/views/FailedUploadView;->f:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/views/FailedUploadView;->g:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
.method private final getSubtitleText()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/views/FailedUploadView;->e:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/views/FailedUploadView;->g:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
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/TextView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final a(Ljava/lang/String;ILjava/lang/String;)V
|
|
|
|
.locals 1
|
|
|
|
.param p2 # I
|
|
|
|
.annotation build Landroidx/annotation/DrawableRes;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "title"
|
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
invoke-static {p1, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-08-10 21:02:22 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/views/FailedUploadView;->getDisplayName()Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/views/FailedUploadView;->getSubtitleText()Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-static {p1, p3}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setTextAndVisibilityBy(Landroid/widget/TextView;Ljava/lang/CharSequence;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/views/FailedUploadView;->getFileImage()Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|