Weather/smali_classes2/com/moji/mjweather/ipc/view/CommentFooterView.smali
2021-05-10 10:13:34 +02:00

859 lines
22 KiB
Smali

.class public Lcom/moji/mjweather/ipc/view/CommentFooterView;
.super Landroid/widget/RelativeLayout;
.source "CommentFooterView.java"
# instance fields
.field private a:Landroid/view/View;
.field private b:Landroid/widget/TextView;
.field private c:Landroid/view/View;
.field private d:I
.field private e:Landroid/view/View;
.field private f:Ljava/lang/String;
.field private g:Ljava/lang/String;
.field private h:Ljava/lang/String;
.field private i:Ljava/lang/String;
.field private j:Z
.field private k:Z
.field private l:Landroid/widget/RelativeLayout;
.field private m:I
.field private n:I
.field private o:I
.field private p:I
.field private q:I
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
.line 39
invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V
const/4 v0, 0x1
.line 34
iput-boolean v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->j:Z
iput-boolean v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->k:Z
.line 36
sget v0, Lcom/moji/mjweather/ipc/R$color;->c_80_1a1a1a:I
iput v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->q:I
.line 40
invoke-direct {p0, p1}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->a(Landroid/content/Context;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 0
.line 44
invoke-direct {p0, p1, p2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
const/4 p2, 0x1
.line 34
iput-boolean p2, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->j:Z
iput-boolean p2, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->k:Z
.line 36
sget p2, Lcom/moji/mjweather/ipc/R$color;->c_80_1a1a1a:I
iput p2, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->q:I
.line 45
invoke-direct {p0, p1}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->a(Landroid/content/Context;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.locals 0
.line 49
invoke-direct {p0, p1, p2, p3}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
const/4 p2, 0x1
.line 34
iput-boolean p2, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->j:Z
iput-boolean p2, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->k:Z
.line 36
sget p2, Lcom/moji/mjweather/ipc/R$color;->c_80_1a1a1a:I
iput p2, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->q:I
.line 50
invoke-direct {p0, p1}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->a(Landroid/content/Context;)V
return-void
.end method
.method private a(Landroid/content/Context;)V
.locals 1
.line 54
sget v0, Lcom/moji/mjweather/ipc/R$layout;->view_comment_footer:I
invoke-static {p1, v0, p0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
.line 55
sget p1, Lcom/moji/mjweather/ipc/R$id;->pb_loading:I
invoke-virtual {p0, p1}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->findViewById(I)Landroid/view/View;
move-result-object p1
iput-object p1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->a:Landroid/view/View;
.line 56
sget p1, Lcom/moji/mjweather/ipc/R$id;->iv_arrow:I
invoke-virtual {p0, p1}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->findViewById(I)Landroid/view/View;
move-result-object p1
iput-object p1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->c:Landroid/view/View;
.line 57
sget p1, Lcom/moji/mjweather/ipc/R$id;->tv_footer:I
invoke-virtual {p0, p1}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Landroid/widget/TextView;
iput-object p1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
.line 58
sget p1, Lcom/moji/mjweather/ipc/R$id;->ll_root:I
invoke-virtual {p0, p1}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->findViewById(I)Landroid/view/View;
move-result-object p1
iput-object p1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->e:Landroid/view/View;
.line 59
iget-object p1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->c:Landroid/view/View;
const/16 v0, 0x8
invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V
.line 60
sget p1, Lcom/moji/mjweather/ipc/R$id;->footer_root:I
invoke-virtual {p0, p1}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Landroid/widget/RelativeLayout;
iput-object p1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->l:Landroid/widget/RelativeLayout;
return-void
.end method
# virtual methods
.method public a()V
.locals 3
const/4 v0, 0x1
.line 64
iput v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->d:I
.line 65
iget-boolean v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->j:Z
const/16 v1, 0x8
if-eqz v0, :cond_0
.line 66
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->a:Landroid/view/View;
const/4 v2, 0x0
invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V
goto :goto_0
.line 68
:cond_0
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->a:Landroid/view/View;
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 70
:goto_0
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->c:Landroid/view/View;
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 71
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->f:Ljava/lang/String;
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_1
.line 72
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
iget-object v1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->f:Ljava/lang/String;
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
goto :goto_1
.line 74
:cond_1
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
sget v1, Lcom/moji/mjweather/ipc/R$string;->footer_loading:I
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V
.line 76
:goto_1
iget v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->m:I
if-nez v0, :cond_2
.line 77
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
invoke-virtual {p0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->getContext()Landroid/content/Context;
move-result-object v1
iget v2, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->q:I
invoke-static {v1, v2}, Lcom/moji/tool/DeviceTool;->a(Landroid/content/Context;I)I
move-result v1
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V
goto :goto_2
.line 79
:cond_2
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
invoke-virtual {p0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->getContext()Landroid/content/Context;
move-result-object v1
iget v2, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->m:I
invoke-static {v1, v2}, Lcom/moji/tool/DeviceTool;->a(Landroid/content/Context;I)I
move-result v1
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V
:goto_2
return-void
.end method
.method public a(I)V
.locals 0
packed-switch p1, :pswitch_data_0
goto :goto_0
.line 154
:pswitch_0
invoke-virtual {p0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->d()V
goto :goto_0
.line 151
:pswitch_1
invoke-virtual {p0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->c()V
goto :goto_0
.line 157
:pswitch_2
invoke-virtual {p0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b()V
goto :goto_0
.line 148
:pswitch_3
invoke-virtual {p0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->a()V
:goto_0
return-void
:pswitch_data_0
.packed-switch 0x1
:pswitch_3
:pswitch_2
:pswitch_1
:pswitch_0
.end packed-switch
.end method
.method public a(Z)V
.locals 0
.line 213
iput-boolean p1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->j:Z
return-void
.end method
.method public b()V
.locals 3
const/4 v0, 0x2
.line 84
iput v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->d:I
.line 85
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->a:Landroid/view/View;
const/16 v1, 0x8
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 86
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->c:Landroid/view/View;
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 87
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->h:Ljava/lang/String;
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_1
.line 88
invoke-static {}, Lcom/moji/tool/DeviceTool;->m()Z
move-result v0
if-eqz v0, :cond_0
.line 89
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
iget-object v1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->h:Ljava/lang/String;
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
goto :goto_0
.line 91
:cond_0
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
sget v1, Lcom/moji/mjweather/ipc/R$string;->fail_by_net:I
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V
goto :goto_0
.line 94
:cond_1
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
sget v1, Lcom/moji/mjweather/ipc/R$string;->footer_fail:I
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V
.line 97
:goto_0
iget v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->p:I
if-nez v0, :cond_2
.line 98
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
invoke-virtual {p0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->getContext()Landroid/content/Context;
move-result-object v1
iget v2, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->q:I
invoke-static {v1, v2}, Lcom/moji/tool/DeviceTool;->a(Landroid/content/Context;I)I
move-result v1
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V
goto :goto_1
.line 100
:cond_2
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
invoke-virtual {p0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->getContext()Landroid/content/Context;
move-result-object v1
iget v2, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->p:I
invoke-static {v1, v2}, Lcom/moji/tool/DeviceTool;->a(Landroid/content/Context;I)I
move-result v1
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V
:goto_1
return-void
.end method
.method public b(Z)V
.locals 0
.line 217
iput-boolean p1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->k:Z
return-void
.end method
.method public c()V
.locals 3
const/4 v0, 0x3
.line 105
iput v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->d:I
.line 106
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->a:Landroid/view/View;
const/16 v1, 0x8
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 107
iget-boolean v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->k:Z
if-eqz v0, :cond_0
.line 108
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->c:Landroid/view/View;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
goto :goto_0
.line 110
:cond_0
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->c:Landroid/view/View;
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 112
:goto_0
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->i:Ljava/lang/String;
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_1
.line 113
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
iget-object v1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->i:Ljava/lang/String;
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
goto :goto_1
.line 115
:cond_1
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
sget v1, Lcom/moji/mjweather/ipc/R$string;->footer_load_more:I
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V
.line 117
:goto_1
iget v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->n:I
if-nez v0, :cond_2
.line 118
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
invoke-virtual {p0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->getContext()Landroid/content/Context;
move-result-object v1
iget v2, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->q:I
invoke-static {v1, v2}, Lcom/moji/tool/DeviceTool;->a(Landroid/content/Context;I)I
move-result v1
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V
goto :goto_2
.line 120
:cond_2
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
invoke-virtual {p0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->getContext()Landroid/content/Context;
move-result-object v1
iget v2, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->n:I
invoke-static {v1, v2}, Lcom/moji/tool/DeviceTool;->a(Landroid/content/Context;I)I
move-result v1
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V
:goto_2
return-void
.end method
.method public d()V
.locals 3
const/4 v0, 0x4
.line 125
iput v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->d:I
.line 126
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->a:Landroid/view/View;
const/16 v1, 0x8
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 127
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->c:Landroid/view/View;
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 128
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->g:Ljava/lang/String;
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_0
.line 129
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
iget-object v1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->g:Ljava/lang/String;
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
goto :goto_0
.line 131
:cond_0
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
sget v1, Lcom/moji/mjweather/ipc/R$string;->footer_no_more:I
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V
.line 133
:goto_0
iget v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->o:I
if-nez v0, :cond_1
.line 134
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
invoke-virtual {p0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->getContext()Landroid/content/Context;
move-result-object v1
iget v2, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->q:I
invoke-static {v1, v2}, Lcom/moji/tool/DeviceTool;->a(Landroid/content/Context;I)I
move-result v1
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V
goto :goto_1
.line 136
:cond_1
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
invoke-virtual {p0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->getContext()Landroid/content/Context;
move-result-object v1
iget v2, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->o:I
invoke-static {v1, v2}, Lcom/moji/tool/DeviceTool;->a(Landroid/content/Context;I)I
move-result v1
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V
:goto_1
return-void
.end method
.method public e()Z
.locals 2
.line 142
iget v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->d:I
const/4 v1, 0x3
if-eq v0, v1, :cond_1
iget v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->d:I
const/4 v1, 0x2
if-ne v0, v1, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 v0, 0x1
:goto_1
return v0
.end method
.method public setBackgroundColor(I)V
.locals 1
.line 221
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->l:Landroid/widget/RelativeLayout;
invoke-virtual {v0, p1}, Landroid/widget/RelativeLayout;->setBackgroundColor(I)V
return-void
.end method
.method public setDoneText(Ljava/lang/String;)V
.locals 0
.line 209
iput-object p1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->i:Ljava/lang/String;
return-void
.end method
.method public setDoneTextColor(I)V
.locals 0
.line 229
iput p1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->n:I
return-void
.end method
.method public setFailText(Ljava/lang/String;)V
.locals 0
.line 205
iput-object p1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->h:Ljava/lang/String;
return-void
.end method
.method public setFailTextColor(I)V
.locals 0
.line 237
iput p1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->p:I
return-void
.end method
.method public setFooterMinHeight(I)V
.locals 1
.line 181
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->e:Landroid/view/View;
int-to-float p1, p1
invoke-static {p1}, Lcom/moji/tool/DeviceTool;->a(F)I
move-result p1
invoke-virtual {v0, p1}, Landroid/view/View;->setMinimumHeight(I)V
return-void
.end method
.method public setFooterViewHeight(I)V
.locals 1
.line 176
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->e:Landroid/view/View;
invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
int-to-float p1, p1
invoke-static {p1}, Lcom/moji/tool/DeviceTool;->a(F)I
move-result p1
iput p1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I
.line 177
invoke-virtual {p0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->invalidate()V
return-void
.end method
.method public setLoadingText(Ljava/lang/String;)V
.locals 0
.line 197
iput-object p1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->f:Ljava/lang/String;
return-void
.end method
.method public setLoadingTextColor(I)V
.locals 0
.line 225
iput p1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->m:I
return-void
.end method
.method public setNoMoreText(Ljava/lang/String;)V
.locals 0
.line 201
iput-object p1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->g:Ljava/lang/String;
return-void
.end method
.method public setNoMoreTextColor(I)V
.locals 0
.line 233
iput p1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->o:I
return-void
.end method
.method public setTextColor(I)V
.locals 2
.line 192
iput p1, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->q:I
.line 193
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
invoke-virtual {p0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->getContext()Landroid/content/Context;
move-result-object v1
invoke-static {v1, p1}, Lcom/moji/tool/DeviceTool;->a(Landroid/content/Context;I)I
move-result p1
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextColor(I)V
return-void
.end method
.method public setTextSize(I)V
.locals 2
.line 188
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b:Landroid/widget/TextView;
int-to-float p1, p1
const/4 v1, 0x1
invoke-virtual {v0, v1, p1}, Landroid/widget/TextView;->setTextSize(IF)V
return-void
.end method
.method public setVisibility(I)V
.locals 1
.line 166
invoke-super {p0, p1}, Landroid/widget/RelativeLayout;->setVisibility(I)V
.line 167
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->e:Landroid/view/View;
if-eqz v0, :cond_0
.line 168
iget-object v0, p0, Lcom/moji/mjweather/ipc/view/CommentFooterView;->e:Landroid/view/View;
invoke-virtual {v0, p1}, Landroid/view/View;->setVisibility(I)V
:cond_0
return-void
.end method