105 lines
2.7 KiB
Smali
105 lines
2.7 KiB
Smali
.class public final Lcom/discord/views/d;
|
|
.super Landroid/widget/LinearLayout;
|
|
|
|
|
|
# instance fields
|
|
.field public emojiTextView:Lcom/discord/utilities/view/text/SimpleDraweeSpanTextView;
|
|
|
|
.field public reaction:Lcom/discord/models/domain/ModelMessageReaction;
|
|
|
|
.field public zp:Landroid/widget/TextSwitcher;
|
|
|
|
.field private zq:Landroid/widget/TextView;
|
|
|
|
.field private zr:Landroid/widget/TextView;
|
|
|
|
.field public zs:I
|
|
|
|
.field public zt:Ljava/lang/Long;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V
|
|
|
|
invoke-virtual {p0}, Lcom/discord/views/d;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
const v0, 0x7f0d004f
|
|
|
|
invoke-static {p1, v0, p0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
const v0, 0x7f0a041e
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/discord/utilities/view/text/SimpleDraweeSpanTextView;
|
|
|
|
iput-object v0, p0, Lcom/discord/views/d;->emojiTextView:Lcom/discord/utilities/view/text/SimpleDraweeSpanTextView;
|
|
|
|
const v0, 0x7f0a041d
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextSwitcher;
|
|
|
|
iput-object v0, p0, Lcom/discord/views/d;->zp:Landroid/widget/TextSwitcher;
|
|
|
|
const v0, 0x7f0a041b
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
iput-object v0, p0, Lcom/discord/views/d;->zq:Landroid/widget/TextView;
|
|
|
|
const v0, 0x7f0a041c
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
iput-object p1, p0, Lcom/discord/views/d;->zr:Landroid/widget/TextView;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getReaction()Lcom/discord/models/domain/ModelMessageReaction;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/views/d;->reaction:Lcom/discord/models/domain/ModelMessageReaction;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final setIsMe(Z)V
|
|
.locals 1
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/views/d;->setActivated(Z)V
|
|
|
|
iget-object v0, p0, Lcom/discord/views/d;->zq:Landroid/widget/TextView;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setActivated(Z)V
|
|
|
|
iget-object v0, p0, Lcom/discord/views/d;->zr:Landroid/widget/TextView;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setActivated(Z)V
|
|
|
|
return-void
|
|
.end method
|