apkfuckery/com.discord/smali/com/discord/views/ToolbarTitleLayout.smali

259 lines
7.1 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lcom/discord/views/ToolbarTitleLayout;
.super Lcom/discord/views/b$a;
2019-02-04 20:29:01 +00:00
.source "ToolbarTitleLayout.kt"
2019-02-04 20:08:30 +00:00
# static fields
.field static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
# instance fields
2019-03-26 19:13:28 +00:00
.field private final Ar:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-03-26 19:13:28 +00:00
.field private final As:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-03-08 06:19:26 +00:00
.field private final title$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-22 00:19:04 +00:00
2019-02-04 20:05:16 +00:00
# direct methods
2019-02-04 20:08:30 +00:00
.method static constructor <clinit>()V
.locals 5
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v0, 0x3
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
new-array v0, v0, [Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
new-instance v1, Lkotlin/jvm/internal/u;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-class v2, Lcom/discord/views/ToolbarTitleLayout;
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v3, "title"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v4, "getTitle()Landroid/widget/TextView;"
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x0
aput-object v1, v0, v2
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
new-instance v1, Lkotlin/jvm/internal/u;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-class v2, Lcom/discord/views/ToolbarTitleLayout;
2019-02-17 02:24:41 +00:00
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
2019-02-04 20:05:16 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
const-string v3, "titleSubtext"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v4, "getTitleSubtext()Landroid/widget/TextView;"
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x1
aput-object v1, v0, v2
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
new-instance v1, Lkotlin/jvm/internal/u;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-class v2, Lcom/discord/views/ToolbarTitleLayout;
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v2}, Lkotlin/jvm/internal/v;->N(Ljava/lang/Class;)Lkotlin/reflect/b;
2019-02-04 20:05:16 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
const-string v3, "avatarPresence"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v4, "getAvatarPresence()Landroid/widget/ImageView;"
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-02-04 20:05:16 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v1, Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
aput-object v1, v0, v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
sput-object v0, Lcom/discord/views/ToolbarTitleLayout;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v0, "context"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {p0, p1}, Lcom/discord/views/b$a;-><init>(Landroid/content/Context;)V
2019-02-04 20:05:16 +00:00
2019-03-26 23:13:35 +00:00
const p1, 0x7f0a0653
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {p0, p1}, Lkotterknife/b;->e(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object p1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
iput-object p1, p0, Lcom/discord/views/ToolbarTitleLayout;->title$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-03-26 23:13:35 +00:00
const p1, 0x7f0a0654
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {p0, p1}, Lkotterknife/b;->e(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object p1
2019-02-04 20:05:16 +00:00
2019-03-26 19:13:28 +00:00
iput-object p1, p0, Lcom/discord/views/ToolbarTitleLayout;->Ar:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-03-26 23:13:35 +00:00
const p1, 0x7f0a0652
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-static {p0, p1}, Lkotterknife/b;->e(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object p1
2019-02-04 20:05:16 +00:00
2019-03-26 19:13:28 +00:00
iput-object p1, p0, Lcom/discord/views/ToolbarTitleLayout;->As:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
.method private final getTitle()Landroid/widget/TextView;
.locals 3
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
iget-object v0, p0, Lcom/discord/views/ToolbarTitleLayout;->title$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
sget-object v1, Lcom/discord/views/ToolbarTitleLayout;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
aget-object v1, v1, v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:05:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
check-cast v0, Landroid/widget/TextView;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-object v0
.end method
2019-02-04 20:05:16 +00:00
2019-03-08 06:19:26 +00:00
.method private final getTitleSubtext()Landroid/widget/TextView;
.locals 3
2019-03-26 19:13:28 +00:00
iget-object v0, p0, Lcom/discord/views/ToolbarTitleLayout;->Ar:Lkotlin/properties/ReadOnlyProperty;
2019-03-08 06:19:26 +00:00
sget-object v1, Lcom/discord/views/ToolbarTitleLayout;->$$delegatedProperties:[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
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
# virtual methods
2019-03-22 22:04:12 +00:00
.method public final en()Landroid/view/ViewGroup;
2019-02-04 20:08:30 +00:00
.locals 4
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {p0}, Lcom/discord/views/ToolbarTitleLayout;->getInflater()Landroid/view/LayoutInflater;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-object v1, p0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v1, Landroid/view/ViewGroup;
2019-02-04 20:05:16 +00:00
2019-03-16 02:02:59 +00:00
const v2, 0x7f0d008f
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v3, 0x1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v2, v1, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
if-eqz v0, :cond_0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v0, Landroid/view/ViewGroup;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
:cond_0
new-instance v0, Lkotlin/r;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v1, "null cannot be cast to non-null type android.view.ViewGroup"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {v0, v1}, Lkotlin/r;-><init>(Ljava/lang/String;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
throw v0
.end method
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
.method public final getAvatarPresence()Landroid/widget/ImageView;
.locals 3
2019-02-04 20:05:16 +00:00
2019-03-26 19:13:28 +00:00
iget-object v0, p0, Lcom/discord/views/ToolbarTitleLayout;->As:Lkotlin/properties/ReadOnlyProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
sget-object v1, Lcom/discord/views/ToolbarTitleLayout;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const/4 v2, 0x2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
aget-object v1, v1, v2
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
check-cast v0, Landroid/widget/ImageView;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-object v0
.end method
2019-02-04 20:05:16 +00:00
2019-03-08 06:19:26 +00:00
.method public final setSubtitle(Ljava/lang/CharSequence;)V
.locals 1
2019-02-04 20:05:16 +00:00
2019-03-08 06:19:26 +00:00
invoke-direct {p0}, Lcom/discord/views/ToolbarTitleLayout;->getTitleSubtext()Landroid/widget/TextView;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-03-08 06:19:26 +00:00
invoke-static {v0, p1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setTextAndVisibilityBy(Landroid/widget/TextView;Ljava/lang/CharSequence;)V
2019-02-04 20:08:30 +00:00
2019-03-08 06:19:26 +00:00
return-void
2019-02-04 20:05:16 +00:00
.end method
2019-02-04 20:08:30 +00:00
.method public final setTitle(Ljava/lang/CharSequence;)V
2019-02-04 20:05:16 +00:00
.locals 1
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Lcom/discord/views/ToolbarTitleLayout;->getTitle()Landroid/widget/TextView;
move-result-object v0
2019-02-04 20:05:16 +00:00
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
return-void
.end method