2019-07-31 00:08:31 +00:00
|
|
|
.class public final Lcom/discord/views/i;
|
|
|
|
.super Landroid/widget/LinearLayout;
|
|
|
|
.source "ReactionView.java"
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-10-11 21:55:41 +00:00
|
|
|
.field public DW:Landroid/widget/TextSwitcher;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-11 21:55:41 +00:00
|
|
|
.field private DX:Landroid/widget/TextView;
|
2019-08-14 23:59:34 +00:00
|
|
|
|
2019-10-11 21:55:41 +00:00
|
|
|
.field private DY:Landroid/widget/TextView;
|
2019-08-30 20:04:20 +00:00
|
|
|
|
2019-10-11 21:55:41 +00:00
|
|
|
.field public DZ:I
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-11 21:55:41 +00:00
|
|
|
.field public Ea:Ljava/lang/Long;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
.field public emojiTextView:Lcom/discord/utilities/view/text/SimpleDraweeSpanTextView;
|
|
|
|
|
|
|
|
.field public reaction:Lcom/discord/models/domain/ModelMessageReaction;
|
|
|
|
|
|
|
|
|
|
|
|
# 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/i;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
const v0, 0x7f0d0055
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-static {p1, v0, p0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-11 21:55:41 +00:00
|
|
|
const v0, 0x7f0a0561
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
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/i;->emojiTextView:Lcom/discord/utilities/view/text/SimpleDraweeSpanTextView;
|
|
|
|
|
2019-10-11 21:55:41 +00:00
|
|
|
const v0, 0x7f0a0560
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/TextSwitcher;
|
|
|
|
|
2019-10-11 21:55:41 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/views/i;->DW:Landroid/widget/TextSwitcher;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-11 21:55:41 +00:00
|
|
|
const v0, 0x7f0a055e
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
|
2019-10-11 21:55:41 +00:00
|
|
|
iput-object v0, p0, Lcom/discord/views/i;->DX:Landroid/widget/TextView;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-11 21:55:41 +00:00
|
|
|
const v0, 0x7f0a055f
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
|
2019-10-11 21:55:41 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/views/i;->DY:Landroid/widget/TextView;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final getReaction()Lcom/discord/models/domain/ModelMessageReaction;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/views/i;->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/i;->setActivated(Z)V
|
|
|
|
|
2019-10-11 21:55:41 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/views/i;->DX:Landroid/widget/TextView;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setActivated(Z)V
|
|
|
|
|
2019-10-11 21:55:41 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/views/i;->DY:Landroid/widget/TextView;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setActivated(Z)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|