.class Lcom/moji/forum/ui/NewTopicActivity$8;
.super Ljava/lang/Object;
.source "NewTopicActivity.java"

# interfaces
.implements Lcom/moji/forum/view/AutoHeightLayout$OnAutoResizeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/forum/ui/NewTopicActivity;->a()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/forum/ui/NewTopicActivity;


# direct methods
.method constructor <init>(Lcom/moji/forum/ui/NewTopicActivity;)V
    .locals 0

    .line 487
    iput-object p1, p0, Lcom/moji/forum/ui/NewTopicActivity$8;->a:Lcom/moji/forum/ui/NewTopicActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 4

    .line 491
    iget-object v0, p0, Lcom/moji/forum/ui/NewTopicActivity$8;->a:Lcom/moji/forum/ui/NewTopicActivity;

    invoke-static {v0}, Lcom/moji/forum/ui/NewTopicActivity;->o(Lcom/moji/forum/ui/NewTopicActivity;)Landroid/os/Handler;

    move-result-object v0

    const/16 v1, 0xc

    invoke-virtual {v0, v1}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;

    move-result-object v0

    .line 492
    iget-object v1, p0, Lcom/moji/forum/ui/NewTopicActivity$8;->a:Lcom/moji/forum/ui/NewTopicActivity;

    invoke-static {v1}, Lcom/moji/forum/ui/NewTopicActivity;->o(Lcom/moji/forum/ui/NewTopicActivity;)Landroid/os/Handler;

    move-result-object v1

    const-wide/16 v2, 0x64

    invoke-virtual {v1, v0, v2, v3}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z

    .line 498
    iget-object v0, p0, Lcom/moji/forum/ui/NewTopicActivity$8;->a:Lcom/moji/forum/ui/NewTopicActivity;

    invoke-static {v0}, Lcom/moji/forum/ui/NewTopicActivity;->n(Lcom/moji/forum/ui/NewTopicActivity;)Landroid/widget/ImageButton;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$drawable;->add_emotion_forum:I

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    return-void
.end method

.method public b()V
    .locals 2

    .line 503
    iget-object v0, p0, Lcom/moji/forum/ui/NewTopicActivity$8;->a:Lcom/moji/forum/ui/NewTopicActivity;

    iget v0, v0, Lcom/moji/forum/ui/NewTopicActivity;->mChildViewPosition:I

    sget v1, Lcom/moji/forum/ui/NewTopicActivity;->FUNC_CHILD_VIEW_EMOTICON:I

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/moji/forum/ui/NewTopicActivity$8;->a:Lcom/moji/forum/ui/NewTopicActivity;

    invoke-static {v0}, Lcom/moji/forum/ui/NewTopicActivity;->e(Lcom/moji/forum/ui/NewTopicActivity;)Lcom/moji/forum/view/AutoHeightLayout;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/forum/view/AutoHeightLayout;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 504
    iget-object v0, p0, Lcom/moji/forum/ui/NewTopicActivity$8;->a:Lcom/moji/forum/ui/NewTopicActivity;

    invoke-static {v0}, Lcom/moji/forum/ui/NewTopicActivity;->n(Lcom/moji/forum/ui/NewTopicActivity;)Landroid/widget/ImageButton;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$drawable;->add_words_forum:I

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    :cond_0
    return-void
.end method

.method public c()V
    .locals 2

    .line 509
    iget-object v0, p0, Lcom/moji/forum/ui/NewTopicActivity$8;->a:Lcom/moji/forum/ui/NewTopicActivity;

    invoke-static {v0}, Lcom/moji/forum/ui/NewTopicActivity;->c(Lcom/moji/forum/ui/NewTopicActivity;)Landroid/widget/Button;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    return-void
.end method
