.class Lcom/moji/forum/ui/NewTopicActivity$NewTopicHandler;
.super Landroid/os/Handler;
.source "NewTopicActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/moji/forum/ui/NewTopicActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "NewTopicHandler"
.end annotation


# instance fields
.field private final a:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference<",
            "Lcom/moji/forum/ui/NewTopicActivity;",
            ">;"
        }
    .end annotation
.end field


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

    .line 173
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    .line 174
    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/moji/forum/ui/NewTopicActivity$NewTopicHandler;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 3

    .line 179
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 180
    iget-object v0, p0, Lcom/moji/forum/ui/NewTopicActivity$NewTopicHandler;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/moji/forum/ui/NewTopicActivity;

    if-eqz v0, :cond_0

    .line 182
    iget v1, p1, Landroid/os/Message;->what:I

    const/4 v2, 0x0

    packed-switch v1, :pswitch_data_0

    goto :goto_0

    .line 197
    :pswitch_0
    invoke-static {v0}, Lcom/moji/forum/ui/NewTopicActivity;->d(Lcom/moji/forum/ui/NewTopicActivity;)V

    goto :goto_0

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

    move-result-object p1

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

    goto :goto_0

    .line 189
    :pswitch_2
    invoke-static {v0, v2}, Lcom/moji/forum/ui/NewTopicActivity;->a(Lcom/moji/forum/ui/NewTopicActivity;Z)Z

    .line 190
    invoke-static {v0}, Lcom/moji/forum/ui/NewTopicActivity;->b(Lcom/moji/forum/ui/NewTopicActivity;)Landroid/widget/ImageView;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/ImageView;->clearAnimation()V

    goto :goto_0

    .line 184
    :pswitch_3
    invoke-static {v0}, Lcom/moji/forum/ui/NewTopicActivity;->a(Lcom/moji/forum/ui/NewTopicActivity;)Lcom/moji/ArcProcess;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 185
    invoke-static {v0}, Lcom/moji/forum/ui/NewTopicActivity;->a(Lcom/moji/forum/ui/NewTopicActivity;)Lcom/moji/ArcProcess;

    move-result-object v0

    iget p1, p1, Landroid/os/Message;->arg1:I

    invoke-virtual {v0, p1}, Lcom/moji/ArcProcess;->setAngle(I)V

    :cond_0
    :goto_0
    return-void

    nop

    :pswitch_data_0
    .packed-switch 0xa
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
