.class public Lcom/moji/forum/ui/VoteTopicActivity;
.super Lcom/moji/forum/base/ForumBaseActivity;
.source "VoteTopicActivity.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemLongClickListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/moji/forum/ui/VoteTopicActivity$CopyPicTask;,
        Lcom/moji/forum/ui/VoteTopicActivity$TopicHandler;
    }
.end annotation


# static fields
.field public static final AT_FRIEND:I = 0x2a5

.field public static final COME_FROM_FAV:Ljava/lang/String; = "come_from_fav"

.field public static final DEL_IMAGE:I = 0x2a7

.field public static FUNC_CHILD_VIEW_EMOTICON:I = 0x0

.field public static FUNC_CHILD_VIEW_IMAGE:I = 0x1

.field public static final INPUT_CONTENT:Ljava/lang/String; = "input_content"

.field public static final INPUT_IMAGE_LIST:Ljava/lang/String; = "input_image_list"

.field public static final INPUT_TOPIC_ID:Ljava/lang/String; = "input_topic_id"

.field public static final SELECT_IMAGE:I = 0x2a6


# instance fields
.field private A:Landroid/view/inputmethod/InputMethodManager;

.field private B:Landroid/widget/ImageButton;

.field private C:Landroid/widget/ImageButton;

.field private D:Lcom/moji/forum/view/AutoHeightLayout;

.field private E:Landroid/widget/Button;

.field private F:Landroid/widget/Button;

.field private G:Landroid/widget/ImageView;

.field private H:Landroid/widget/RelativeLayout;

.field private I:Landroid/widget/TextView;

.field private J:Landroid/widget/ImageButton;

.field private K:Landroid/widget/ImageView;

.field private L:Z

.field private M:I

.field private N:Landroid/widget/TextView;

.field private O:Landroid/widget/TextView;

.field private P:I

.field private Q:J

.field private R:J

.field private S:I

.field private T:I

.field private U:I

.field private V:I

.field private W:Landroid/widget/RelativeLayout;

.field private X:Z

.field private Y:Landroid/app/Dialog;

.field private Z:Z

.field private aA:Landroid/widget/RelativeLayout;

.field private aB:Lcom/moji/forum/view/VoteView;

.field private aC:Landroid/widget/LinearLayout;

.field private aD:Landroid/widget/LinearLayout;

.field private aE:Landroid/widget/LinearLayout;

.field private aF:Z

.field private aG:Lcom/moji/forum/ui/VoteTopicActivity$TopicHandler;

.field private aH:Ljava/lang/String;

.field private aI:Z

.field private aJ:Landroid/widget/ImageView;

.field private aK:Landroid/widget/ImageView;

.field private aL:Landroid/widget/TextView;

.field private aM:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/moji/http/ugc/bean/AtInfo;",
            ">;"
        }
    .end annotation
.end field

.field private aa:I

.field private ab:I

.field private ac:Z

.field private ad:I

.field private ae:Landroid/widget/LinearLayout;

.field private af:Landroid/widget/FrameLayout;

.field private ag:Landroid/widget/RelativeLayout;

.field private ah:Landroid/graphics/drawable/Drawable;

.field private ai:Landroid/graphics/drawable/Drawable;

.field private aj:Ljava/lang/String;

.field private ak:I

.field private al:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/moji/http/ugc/bean/ImageInfo;",
            ">;"
        }
    .end annotation
.end field

.field private am:Landroid/widget/GridView;

.field private an:Lcom/moji/forum/ui/ImageAdapter;

.field private ao:Landroid/widget/LinearLayout;

.field private ap:Landroid/widget/ImageView;

.field private aq:Landroid/widget/TextView;

.field private ar:Landroid/widget/TextView;

.field private as:Landroid/widget/LinearLayout;

.field private at:Landroid/widget/ImageView;

.field private au:Landroid/widget/TextView;

.field private av:Landroid/widget/TextView;

.field private aw:Landroid/widget/TextView;

.field private ax:Landroid/widget/TextView;

.field private ay:Landroid/widget/ImageView;

.field private az:Landroid/widget/TextView;

.field protected i:Z

.field protected j:Lcom/moji/http/mqn/entity/TopicVote;

.field private k:Ljava/lang/String;

.field private l:Landroid/widget/ListView;

.field private m:Lcom/moji/forum/ui/CommentAdapter;

.field public mChildViewPosition:I

.field public mComment_num:Landroid/widget/TextView;

.field public mEditContent0:Landroid/widget/TextView;

.field public mEditContent1:Landroid/widget/EditText;

.field private n:Lcom/moji/imageview/RoundCornerImageView;

.field private o:Landroid/widget/TextView;

.field private p:Landroid/widget/TextView;

.field public picNumLimit:I

.field private q:Z

.field private r:Lcom/moji/pulltorefresh/PullToFreshContainer;

.field public replyBarAfterClick:Landroid/widget/LinearLayout;

.field public replyBarBeforeClick:Landroid/widget/LinearLayout;

.field private s:Z

.field private t:Z

.field private u:Landroid/widget/FrameLayout;

.field private v:Lcom/moji/http/mqn/entity/Topic;

.field private w:I

.field private x:I

.field private y:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/moji/http/mqn/entity/TopicComment;",
            ">;"
        }
    .end annotation
.end field

.field private z:Lcom/moji/emotion/EmotionFragment;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public constructor <init>()V
    .locals 2

    .line 115
    invoke-direct {p0}, Lcom/moji/forum/base/ForumBaseActivity;-><init>()V

    const-string v0, ""

    .line 118
    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->k:Ljava/lang/String;

    const/4 v0, 0x1

    .line 124
    iput-boolean v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->q:Z

    const/16 v1, 0x14

    .line 131
    iput v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->w:I

    .line 133
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    const/4 v1, 0x0

    .line 159
    iput-boolean v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->L:Z

    .line 163
    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->M:I

    .line 170
    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->S:I

    .line 171
    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->T:I

    .line 173
    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->V:I

    .line 185
    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ab:I

    const/4 v0, 0x2

    .line 189
    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ad:I

    const/4 v0, -0x1

    .line 198
    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mChildViewPosition:I

    .line 203
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    const/4 v0, 0x3

    .line 206
    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->picNumLimit:I

    const/4 v0, 0x0

    .line 231
    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aG:Lcom/moji/forum/ui/VoteTopicActivity$TopicHandler;

    .line 241
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aM:Ljava/util/ArrayList;

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/VoteTopicActivity;Lcom/moji/http/mqn/entity/Topic;)Lcom/moji/http/mqn/entity/Topic;
    .locals 0

    .line 115
    iput-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    return-object p1
.end method

.method private a(JLjava/lang/String;)V
    .locals 7

    .line 1432
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->showLoadDialog()V

    .line 1433
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    invoke-direct {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->m()I

    move-result v0

    if-eqz v0, :cond_0

    .line 1434
    new-instance v0, Lcom/moji/forum/ui/VoteTopicActivity$15;

    sget-object v3, Lcom/moji/tool/thread/ThreadPriority;->NORMAL:Lcom/moji/tool/thread/ThreadPriority;

    move-object v1, v0

    move-object v2, p0

    move-wide v4, p1

    move-object v6, p3

    invoke-direct/range {v1 .. v6}, Lcom/moji/forum/ui/VoteTopicActivity$15;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;Lcom/moji/tool/thread/ThreadPriority;JLjava/lang/String;)V

    sget-object p1, Lcom/moji/tool/thread/ThreadType;->NORMAL_THREAD:Lcom/moji/tool/thread/ThreadType;

    const/4 p2, 0x0

    new-array p2, p2, [Ljava/lang/Void;

    .line 1507
    invoke-virtual {v0, p1, p2}, Lcom/moji/forum/ui/VoteTopicActivity$15;->a(Lcom/moji/tool/thread/ThreadType;[Ljava/lang/Object;)Lcom/moji/tool/thread/task/MJAsyncTask;

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 1509
    invoke-direct {p0, p1, p2, p3, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->a(JLjava/lang/String;Ljava/lang/String;)V

    :goto_0
    return-void
.end method

.method private a(JLjava/lang/String;Ljava/lang/String;)V
    .locals 4

    .line 1514
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aM:Ljava/util/ArrayList;

    invoke-static {p3, v0}, Lcom/moji/forum/common/ForumUtil;->b(Ljava/lang/String;Ljava/util/List;)Ljava/lang/String;

    move-result-object v0

    .line 1515
    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    const-string v2, "topic_id"

    .line 1516
    iget-object v3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->k:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v2, "comment_id"

    .line 1517
    invoke-static {p1, p2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v1, v2, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string p1, "content"

    .line 1518
    invoke-virtual {v1, p1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string p1, "type"

    const-string p2, "1"

    .line 1519
    invoke-virtual {v1, p1, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1520
    iget-boolean p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aI:Z

    if-eqz p1, :cond_0

    const-string p1, "source"

    const-string p2, "1"

    .line 1521
    invoke-virtual {v1, p1, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1522
    :cond_0
    invoke-static {p4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_1

    const-string p1, "image_info"

    .line 1523
    invoke-virtual {v1, p1, p4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1527
    :cond_1
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aM:Ljava/util/ArrayList;

    if-eqz p1, :cond_2

    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aM:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result p1

    if-lez p1, :cond_2

    const-string p1, "sids"

    .line 1528
    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aM:Ljava/util/ArrayList;

    invoke-static {p3, p2}, Lcom/moji/forum/common/ForumUtil;->a(Ljava/lang/String;Ljava/util/List;)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {v1, p1, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1531
    :cond_2
    new-instance p1, Lcom/moji/http/mqn/NewCommentRequest;

    invoke-direct {p1, v1}, Lcom/moji/http/mqn/NewCommentRequest;-><init>(Ljava/util/HashMap;)V

    new-instance p2, Lcom/moji/forum/ui/VoteTopicActivity$16;

    invoke-direct {p2, p0}, Lcom/moji/forum/ui/VoteTopicActivity$16;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;)V

    invoke-virtual {p1, p2}, Lcom/moji/http/mqn/NewCommentRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private a(Landroid/widget/ImageView;II)V
    .locals 2

    .line 848
    invoke-static {}, Lcom/moji/tool/DeviceTool;->b()I

    move-result v0

    int-to-float v1, v0

    int-to-float p2, p2

    div-float/2addr v1, p2

    int-to-float p2, p3

    mul-float v1, v1, p2

    float-to-int p2, v1

    .line 850
    invoke-virtual {p1}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p3

    if-nez p3, :cond_0

    .line 851
    new-instance p3, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {p3, v0, p2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {p1, p3}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_0

    .line 853
    :cond_0
    invoke-virtual {p1}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p3

    iput v0, p3, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 854
    invoke-virtual {p1}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p3

    iput p2, p3, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 856
    :goto_0
    invoke-virtual {p1}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p2

    check-cast p2, Landroid/widget/RelativeLayout$LayoutParams;

    .line 858
    invoke-virtual {p1, p2}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 859
    invoke-virtual {p1}, Landroid/widget/ImageView;->requestLayout()V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/VoteTopicActivity;)V
    .locals 0

    .line 115
    invoke-direct {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->k()V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/VoteTopicActivity;I)V
    .locals 0

    .line 115
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/VoteTopicActivity;->b(I)V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/VoteTopicActivity;J)V
    .locals 0

    .line 115
    invoke-direct {p0, p1, p2}, Lcom/moji/forum/ui/VoteTopicActivity;->c(J)V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/VoteTopicActivity;JLjava/lang/String;Ljava/lang/String;)V
    .locals 0

    .line 115
    invoke-direct {p0, p1, p2, p3, p4}, Lcom/moji/forum/ui/VoteTopicActivity;->a(JLjava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/VoteTopicActivity;Lcom/moji/http/mqn/entity/TopicComment;)V
    .locals 0

    .line 115
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/VoteTopicActivity;->a(Lcom/moji/http/mqn/entity/TopicComment;)V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/VoteTopicActivity;Lcom/moji/http/mqn/entity/TopicCommentList;ZZ)V
    .locals 0

    .line 115
    invoke-direct {p0, p1, p2, p3}, Lcom/moji/forum/ui/VoteTopicActivity;->a(Lcom/moji/http/mqn/entity/TopicCommentList;ZZ)V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/VoteTopicActivity;Ljava/lang/String;)V
    .locals 0

    .line 115
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/VoteTopicActivity;->a(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/VoteTopicActivity;Z)V
    .locals 0

    .line 115
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/VoteTopicActivity;->c(Z)V

    return-void
.end method

.method static synthetic a(Lcom/moji/forum/ui/VoteTopicActivity;ZZ)V
    .locals 0

    .line 115
    invoke-direct {p0, p1, p2}, Lcom/moji/forum/ui/VoteTopicActivity;->a(ZZ)V

    return-void
.end method

.method private a(Lcom/moji/http/mqn/entity/TopicComment;)V
    .locals 3

    .line 628
    new-instance v0, Lcom/moji/http/mqn/CommentPraiseRequest;

    iget-wide v1, p1, Lcom/moji/http/mqn/entity/TopicComment;->id:J

    invoke-direct {v0, v1, v2}, Lcom/moji/http/mqn/CommentPraiseRequest;-><init>(J)V

    new-instance v1, Lcom/moji/forum/ui/VoteTopicActivity$8;

    invoke-direct {v1, p0, p1}, Lcom/moji/forum/ui/VoteTopicActivity$8;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;Lcom/moji/http/mqn/entity/TopicComment;)V

    invoke-virtual {v0, v1}, Lcom/moji/http/mqn/CommentPraiseRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private a(Lcom/moji/http/mqn/entity/TopicCommentList;)V
    .locals 5

    const/4 v0, 0x0

    const/4 v1, 0x0

    .line 1159
    :goto_0
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-ge v1, v2, :cond_0

    .line 1160
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/moji/http/mqn/entity/TopicComment;

    iget v3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->U:I

    add-int/lit8 v3, v3, -0x1

    iget v4, p0, Lcom/moji/forum/ui/VoteTopicActivity;->w:I

    mul-int v3, v3, v4

    add-int/2addr v3, v1

    iput v3, v2, Lcom/moji/http/mqn/entity/TopicComment;->floor:I

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 1163
    :cond_0
    :goto_1
    iget-object v1, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v0, v1, :cond_2

    .line 1164
    iget-object v1, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/moji/http/mqn/entity/TopicComment;

    iget-boolean v1, v1, Lcom/moji/http/mqn/entity/TopicComment;->is_del:Z

    if-eqz v1, :cond_1

    .line 1165
    iget-object v1, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    add-int/lit8 v0, v0, -0x1

    :cond_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_2
    return-void
.end method

.method private a(Lcom/moji/http/mqn/entity/TopicCommentList;ZZ)V
    .locals 9

    .line 1000
    iget-boolean v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->L:Z

    if-eqz v0, :cond_0

    return-void

    :cond_0
    const/4 v0, 0x0

    .line 1002
    iput-boolean v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->s:Z

    const/4 v1, 0x0

    if-eqz p1, :cond_1a

    .line 1004
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    if-eqz v2, :cond_1a

    .line 1005
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_count:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    const/4 v3, 0x1

    if-nez v2, :cond_1

    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_count:Ljava/lang/String;

    const-string v4, "0"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_1

    .line 1006
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_count:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v2

    iput v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->x:I

    .line 1007
    iget v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->x:I

    iget v4, p0, Lcom/moji/forum/ui/VoteTopicActivity;->w:I

    div-int/2addr v2, v4

    add-int/2addr v2, v3

    iput v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->V:I

    :cond_1
    if-eqz p3, :cond_2

    .line 1010
    iget-object p3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    invoke-virtual {p3}, Ljava/util/ArrayList;->clear()V

    :cond_2
    if-eqz p2, :cond_3

    .line 1011
    iget-boolean p3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->X:Z

    if-eqz p3, :cond_3

    .line 1012
    iget-object p3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    invoke-virtual {p3}, Ljava/util/ArrayList;->clear()V

    .line 1013
    iput v3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->T:I

    .line 1014
    iget-boolean p3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->t:Z

    if-eqz p3, :cond_3

    .line 1015
    iput-boolean v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->t:Z

    .line 1016
    iget-object p3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->O:Landroid/widget/TextView;

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

    :cond_3
    if-eqz p2, :cond_e

    .line 1020
    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->r:Lcom/moji/pulltorefresh/PullToFreshContainer;

    invoke-virtual {p2}, Lcom/moji/pulltorefresh/PullToFreshContainer;->b()V

    .line 1021
    iget p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->M:I

    if-ne p2, v3, :cond_9

    .line 1022
    iget p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->U:I

    iput p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->S:I

    .line 1023
    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->m:Lcom/moji/forum/ui/CommentAdapter;

    iget p3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->S:I

    invoke-virtual {p2, p3}, Lcom/moji/forum/ui/CommentAdapter;->c(I)V

    .line 1024
    iget p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->S:I

    if-ne p2, v3, :cond_4

    .line 1025
    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->r:Lcom/moji/pulltorefresh/PullToFreshContainer;

    invoke-virtual {p2, v1}, Lcom/moji/pulltorefresh/PullToFreshContainer;->setPullToRefreshText(Ljava/lang/String;)V

    goto :goto_0

    .line 1027
    :cond_4
    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->r:Lcom/moji/pulltorefresh/PullToFreshContainer;

    new-instance p3, Ljava/lang/StringBuilder;

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

    sget v2, Lcom/moji/forum/R$string;->pull_to_refresh_1:I

    invoke-static {v2}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->S:I

    sub-int/2addr v2, v3

    invoke-static {v2, v3}, Ljava/lang/Math;->max(II)I

    move-result v2

    invoke-virtual {p3, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    sget v2, Lcom/moji/forum/R$string;->page:I

    .line 1028
    invoke-static {v2}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p3

    .line 1027
    invoke-virtual {p2, p3}, Lcom/moji/pulltorefresh/PullToFreshContainer;->setPullToRefreshText(Ljava/lang/String;)V

    .line 1029
    :goto_0
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    .line 1030
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/VoteTopicActivity;->a(Lcom/moji/http/mqn/entity/TopicCommentList;)V

    const/4 p3, 0x0

    .line 1031
    :goto_1
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-ge p3, v2, :cond_8

    .line 1033
    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_5
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_6

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/moji/http/mqn/entity/TopicComment;

    .line 1034
    iget-object v5, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v5, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/moji/http/mqn/entity/TopicComment;

    iget-wide v5, v5, Lcom/moji/http/mqn/entity/TopicComment;->id:J

    iget-wide v7, v4, Lcom/moji/http/mqn/entity/TopicComment;->id:J

    cmp-long v4, v5, v7

    if-nez v4, :cond_5

    const/4 v2, 0x1

    goto :goto_2

    :cond_6
    const/4 v2, 0x0

    :goto_2
    if-nez v2, :cond_7

    .line 1040
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v2, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {p2, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_7
    add-int/lit8 p3, p3, 0x1

    goto :goto_1

    .line 1043
    :cond_8
    iget-object p3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    invoke-virtual {p3, v0, p2}, Ljava/util/ArrayList;->addAll(ILjava/util/Collection;)Z

    goto/16 :goto_a

    .line 1045
    :cond_9
    iget p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->U:I

    iput p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->S:I

    .line 1046
    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->m:Lcom/moji/forum/ui/CommentAdapter;

    iget p3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->T:I

    invoke-virtual {p2, p3}, Lcom/moji/forum/ui/CommentAdapter;->a(I)V

    .line 1047
    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->r:Lcom/moji/pulltorefresh/PullToFreshContainer;

    sget p3, Lcom/moji/forum/R$string;->load_more:I

    invoke-static {p3}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object p3

    invoke-virtual {p2, p3}, Lcom/moji/pulltorefresh/PullToFreshContainer;->setPullToRefreshText(Ljava/lang/String;)V

    .line 1048
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    .line 1049
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/VoteTopicActivity;->a(Lcom/moji/http/mqn/entity/TopicCommentList;)V

    const/4 p3, 0x0

    .line 1050
    :goto_3
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-ge p3, v2, :cond_d

    .line 1052
    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_a
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_b

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/moji/http/mqn/entity/TopicComment;

    .line 1053
    iget-object v5, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v5, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/moji/http/mqn/entity/TopicComment;

    iget-wide v5, v5, Lcom/moji/http/mqn/entity/TopicComment;->id:J

    iget-wide v7, v4, Lcom/moji/http/mqn/entity/TopicComment;->id:J

    cmp-long v4, v5, v7

    if-nez v4, :cond_a

    const/4 v2, 0x1

    goto :goto_4

    :cond_b
    const/4 v2, 0x0

    :goto_4
    if-nez v2, :cond_c

    .line 1059
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v2, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {p2, v0, v2}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    :cond_c
    add-int/lit8 p3, p3, 0x1

    goto :goto_3

    .line 1062
    :cond_d
    iget-object p3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    invoke-virtual {p3, v0, p2}, Ljava/util/ArrayList;->addAll(ILjava/util/Collection;)Z

    goto/16 :goto_a

    .line 1065
    :cond_e
    iget p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->M:I

    if-ne p2, v3, :cond_13

    .line 1066
    iget p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->U:I

    iput p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->T:I

    .line 1067
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    .line 1068
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/VoteTopicActivity;->a(Lcom/moji/http/mqn/entity/TopicCommentList;)V

    const/4 p3, 0x0

    .line 1069
    :goto_5
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-ge p3, v2, :cond_12

    .line 1071
    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_f
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_10

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/moji/http/mqn/entity/TopicComment;

    .line 1072
    iget-object v5, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v5, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/moji/http/mqn/entity/TopicComment;

    iget-wide v5, v5, Lcom/moji/http/mqn/entity/TopicComment;->id:J

    iget-wide v7, v4, Lcom/moji/http/mqn/entity/TopicComment;->id:J

    cmp-long v4, v5, v7

    if-nez v4, :cond_f

    const/4 v2, 0x1

    goto :goto_6

    :cond_10
    const/4 v2, 0x0

    :goto_6
    if-nez v2, :cond_11

    .line 1078
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v2, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {p2, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_11
    add-int/lit8 p3, p3, 0x1

    goto :goto_5

    .line 1081
    :cond_12
    iget-object p3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    invoke-virtual {p3, p2}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    goto :goto_a

    .line 1083
    :cond_13
    iget p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->U:I

    iput p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->T:I

    .line 1084
    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->m:Lcom/moji/forum/ui/CommentAdapter;

    iget p3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->T:I

    invoke-virtual {p2, p3}, Lcom/moji/forum/ui/CommentAdapter;->a(I)V

    .line 1085
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    .line 1086
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/VoteTopicActivity;->a(Lcom/moji/http/mqn/entity/TopicCommentList;)V

    const/4 p3, 0x0

    .line 1087
    :goto_7
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-ge p3, v2, :cond_16

    const/4 v2, 0x0

    .line 1088
    :goto_8
    iget-object v4, p0, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v4

    if-ge v2, v4, :cond_15

    .line 1089
    iget-object v4, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v4, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/moji/http/mqn/entity/TopicComment;

    iget-wide v4, v4, Lcom/moji/http/mqn/entity/TopicComment;->id:J

    iget-object v6, p0, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    invoke-virtual {v6, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lcom/moji/http/mqn/entity/TopicComment;

    iget-wide v6, v6, Lcom/moji/http/mqn/entity/TopicComment;->id:J

    cmp-long v8, v4, v6

    if-nez v8, :cond_14

    .line 1090
    iget-object v4, p0, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    goto :goto_9

    :cond_14
    add-int/lit8 v2, v2, 0x1

    goto :goto_8

    .line 1094
    :cond_15
    :goto_9
    iget-object v2, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {v2, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {p2, v0, v2}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    add-int/lit8 p3, p3, 0x1

    goto :goto_7

    .line 1096
    :cond_16
    iget-object p3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    invoke-virtual {p3, p2}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    .line 1114
    :goto_a
    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->u:Landroid/widget/FrameLayout;

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

    .line 1115
    iget p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->M:I

    const/4 p3, 0x4

    if-ne p2, v3, :cond_17

    .line 1116
    iget-boolean p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->t:Z

    if-nez p2, :cond_18

    iget-object p1, p1, Lcom/moji/http/mqn/entity/TopicCommentList;->comment_list:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result p1

    iget p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->w:I

    if-ge p1, p2, :cond_18

    .line 1117
    iput-boolean v3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->t:Z

    .line 1118
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->O:Landroid/widget/TextView;

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

    goto :goto_b

    .line 1121
    :cond_17
    iget-boolean p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->t:Z

    if-nez p1, :cond_18

    iget p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->U:I

    if-ne p1, v3, :cond_18

    .line 1122
    iput-boolean v3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->t:Z

    .line 1123
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->O:Landroid/widget/TextView;

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

    .line 1126
    :cond_18
    :goto_b
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result p1

    if-lez p1, :cond_19

    .line 1127
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aL:Landroid/widget/TextView;

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

    goto :goto_c

    .line 1129
    :cond_19
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aL:Landroid/widget/TextView;

    const/16 p2, 0x8

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

    .line 1130
    :goto_c
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->m:Lcom/moji/forum/ui/CommentAdapter;

    invoke-virtual {p1}, Lcom/moji/forum/ui/CommentAdapter;->notifyDataSetChanged()V

    .line 1132
    :cond_1a
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result p1

    if-nez p1, :cond_1c

    .line 1133
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->N:Landroid/widget/TextView;

    sget p2, Lcom/moji/forum/R$string;->no_comment:I

    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setText(I)V

    .line 1134
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ah:Landroid/graphics/drawable/Drawable;

    if-nez p1, :cond_1b

    .line 1135
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    sget p2, Lcom/moji/forum/R$drawable;->no_comment_face:I

    invoke-virtual {p1, p2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    iput-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ah:Landroid/graphics/drawable/Drawable;

    .line 1136
    :cond_1b
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ah:Landroid/graphics/drawable/Drawable;

    if-eqz p1, :cond_1e

    .line 1137
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ah:Landroid/graphics/drawable/Drawable;

    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ah:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p2}, Landroid/graphics/drawable/Drawable;->getMinimumWidth()I

    move-result p2

    iget-object p3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ah:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p3}, Landroid/graphics/drawable/Drawable;->getMinimumHeight()I

    move-result p3

    invoke-virtual {p1, v0, v0, p2, p3}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 1138
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->N:Landroid/widget/TextView;

    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ah:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p1, v1, v1, p2, v1}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    goto :goto_d

    .line 1141
    :cond_1c
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->N:Landroid/widget/TextView;

    sget p2, Lcom/moji/forum/R$string;->no_more_comment:I

    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setText(I)V

    .line 1142
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ai:Landroid/graphics/drawable/Drawable;

    if-nez p1, :cond_1d

    .line 1143
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    sget p2, Lcom/moji/forum/R$drawable;->no_more_comment_face:I

    invoke-virtual {p1, p2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    iput-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ai:Landroid/graphics/drawable/Drawable;

    .line 1144
    :cond_1d
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ai:Landroid/graphics/drawable/Drawable;

    if-eqz p1, :cond_1e

    .line 1145
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ai:Landroid/graphics/drawable/Drawable;

    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ai:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p2}, Landroid/graphics/drawable/Drawable;->getMinimumWidth()I

    move-result p2

    iget-object p3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ai:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p3}, Landroid/graphics/drawable/Drawable;->getMinimumHeight()I

    move-result p3

    invoke-virtual {p1, v0, v0, p2, p3}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 1146
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->N:Landroid/widget/TextView;

    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ai:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p1, v1, v1, p2, v1}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    .line 1150
    :cond_1e
    :goto_d
    iget-boolean p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->Z:Z

    if-eqz p1, :cond_1f

    .line 1151
    iput-boolean v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->Z:Z

    .line 1152
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->l:Landroid/widget/ListView;

    iget p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aa:I

    invoke-virtual {p1, p2, v0}, Landroid/widget/ListView;->setSelectionFromTop(II)V

    :cond_1f
    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 1

    if-eqz p1, :cond_0

    const-string v0, "20"

    .line 1198
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_0

    .line 1215
    new-instance p1, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    invoke-direct {p1, p0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;-><init>(Landroid/content/Context;)V

    sget v0, Lcom/moji/forum/R$string;->point_info:I

    .line 1216
    invoke-virtual {p1, v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    sget v0, Lcom/moji/forum/R$string;->topic_has_delete:I

    .line 1217
    invoke-virtual {p1, v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    sget v0, Lcom/moji/forum/R$string;->ok:I

    .line 1218
    invoke-virtual {p1, v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    const/4 v0, 0x0

    .line 1219
    invoke-virtual {p1, v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->c(Z)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    .line 1220
    invoke-virtual {p1, v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(Z)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    new-instance v0, Lcom/moji/forum/ui/VoteTopicActivity$13;

    invoke-direct {v0, p0}, Lcom/moji/forum/ui/VoteTopicActivity$13;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;)V

    .line 1221
    invoke-virtual {p1, v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    .line 1227
    invoke-virtual {p1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b()Lcom/moji/dialog/MJDialog;

    :cond_0
    return-void
.end method

.method private a(Ljava/util/HashMap;ZZ)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;ZZ)V"
        }
    .end annotation

    const-string v0, "is_webp"

    .line 932
    invoke-static {}, Lcom/moji/tool/DeviceTool;->M()Z

    move-result v1

    if-eqz v1, :cond_0

    const-string v1, "1"

    goto :goto_0

    :cond_0
    const-string v1, "0"

    :goto_0
    invoke-virtual {p1, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 933
    new-instance v0, Lcom/moji/http/mqn/CommentRequest;

    invoke-direct {v0, p1}, Lcom/moji/http/mqn/CommentRequest;-><init>(Ljava/util/HashMap;)V

    new-instance p1, Lcom/moji/forum/ui/VoteTopicActivity$10;

    invoke-direct {p1, p0, p2, p3}, Lcom/moji/forum/ui/VoteTopicActivity$10;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;ZZ)V

    invoke-virtual {v0, p1}, Lcom/moji/http/mqn/CommentRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private a(ZZ)V
    .locals 4

    const/4 v0, 0x0

    .line 881
    iput-boolean v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->X:Z

    const/4 v0, 0x1

    .line 882
    iput-boolean v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->s:Z

    .line 883
    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->N:Landroid/widget/TextView;

    sget v2, Lcom/moji/forum/R$string;->forum_loading_more:I

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(I)V

    .line 884
    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->N:Landroid/widget/TextView;

    const/4 v2, 0x0

    invoke-virtual {v1, v2, v2, v2, v2}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    .line 886
    :try_start_0
    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    const-string v2, "topic_id"

    .line 887
    iget-object v3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->k:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v2, "type"

    const-string v3, "1"

    .line 888
    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    if-eqz p1, :cond_1

    .line 890
    iget v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->M:I

    if-ne v2, v0, :cond_0

    .line 891
    iget v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->S:I

    sub-int/2addr v2, v0

    invoke-static {v2, v0}, Ljava/lang/Math;->max(II)I

    move-result v2

    iput v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->U:I

    .line 892
    iget v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->S:I

    if-ne v2, v0, :cond_3

    .line 893
    iput-boolean v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->X:Z

    goto :goto_1

    .line 895
    :cond_0
    iget v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->S:I

    add-int/2addr v2, v0

    iget v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->V:I

    invoke-static {v2, v0}, Ljava/lang/Math;->min(II)I

    move-result v0

    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->U:I

    goto :goto_1

    .line 898
    :cond_1
    iget v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->M:I

    if-ne v2, v0, :cond_2

    .line 899
    iget v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->T:I

    add-int/2addr v2, v0

    iget v3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->V:I

    invoke-static {v2, v3}, Ljava/lang/Math;->min(II)I

    move-result v2

    iput v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->U:I

    goto :goto_0

    .line 901
    :cond_2
    iget v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->T:I

    sub-int/2addr v2, v0

    invoke-static {v2, v0}, Ljava/lang/Math;->max(II)I

    move-result v2

    iput v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->U:I

    .line 903
    :goto_0
    iget v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->P:I

    add-int/2addr v2, v0

    iput v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->P:I

    :cond_3
    :goto_1
    const-string v0, "page_no"

    .line 905
    iget v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->U:I

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v0, "page_length"

    .line 906
    iget v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->w:I

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 907
    iget v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ab:I

    packed-switch v0, :pswitch_data_0

    .line 923
    invoke-direct {p0, v1, p1, p2}, Lcom/moji/forum/ui/VoteTopicActivity;->a(Ljava/util/HashMap;ZZ)V

    goto :goto_2

    :pswitch_0
    const-string v0, "own_type"

    const-string v2, "1"

    .line 919
    invoke-virtual {v1, v0, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 920
    invoke-direct {p0, v1, p1, p2}, Lcom/moji/forum/ui/VoteTopicActivity;->c(Ljava/util/HashMap;ZZ)V

    goto :goto_2

    :pswitch_1
    const-string v0, "own_type"

    const-string v2, "2"

    .line 915
    invoke-virtual {v1, v0, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 916
    invoke-direct {p0, v1, p1, p2}, Lcom/moji/forum/ui/VoteTopicActivity;->c(Ljava/util/HashMap;ZZ)V

    goto :goto_2

    .line 912
    :pswitch_2
    invoke-direct {p0, v1, p1, p2}, Lcom/moji/forum/ui/VoteTopicActivity;->b(Ljava/util/HashMap;ZZ)V

    goto :goto_2

    .line 909
    :pswitch_3
    invoke-direct {p0, v1, p1, p2}, Lcom/moji/forum/ui/VoteTopicActivity;->a(Ljava/util/HashMap;ZZ)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :goto_2
    return-void

    nop

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

.method private b(I)V
    .locals 1

    .line 1851
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aA:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    .line 1852
    iput p1, v0, Landroid/widget/LinearLayout$LayoutParams;->width:I

    .line 1853
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aA:Landroid/widget/RelativeLayout;

    invoke-virtual {p1}, Landroid/widget/RelativeLayout;->requestLayout()V

    return-void
.end method

.method private b(J)V
    .locals 3

    .line 1233
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    iget-boolean v0, v0, Lcom/moji/http/mqn/entity/Topic;->is_moderator:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x3

    .line 1234
    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->M:I

    goto :goto_0

    :cond_0
    const/4 v0, 0x1

    .line 1236
    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->M:I

    .line 1238
    :goto_0
    new-instance v0, Lcom/moji/http/mqn/DeleteCommentRequest;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->k:Ljava/lang/String;

    iget v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->M:I

    invoke-direct {v0, v1, p1, p2, v2}, Lcom/moji/http/mqn/DeleteCommentRequest;-><init>(Ljava/lang/String;JI)V

    new-instance v1, Lcom/moji/forum/ui/VoteTopicActivity$14;

    invoke-direct {v1, p0, p1, p2}, Lcom/moji/forum/ui/VoteTopicActivity$14;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;J)V

    invoke-virtual {v0, v1}, Lcom/moji/http/mqn/DeleteCommentRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private b(Landroid/widget/ImageView;II)V
    .locals 1

    .line 872
    invoke-virtual {p1}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    if-nez v0, :cond_0

    .line 874
    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v0, p2, p3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 875
    :cond_0
    iput p2, v0, Landroid/widget/LinearLayout$LayoutParams;->width:I

    .line 876
    iput p3, v0, Landroid/widget/LinearLayout$LayoutParams;->height:I

    .line 877
    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    return-void
.end method

.method static synthetic b(Lcom/moji/forum/ui/VoteTopicActivity;J)V
    .locals 0

    .line 115
    invoke-direct {p0, p1, p2}, Lcom/moji/forum/ui/VoteTopicActivity;->b(J)V

    return-void
.end method

.method private b(Ljava/util/HashMap;ZZ)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;ZZ)V"
        }
    .end annotation

    const-string v0, "sns_id"

    .line 954
    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->sns_id:Ljava/lang/String;

    invoke-virtual {p1, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 955
    new-instance v0, Lcom/moji/http/mqn/GetHostCommentRequest;

    invoke-direct {v0, p1}, Lcom/moji/http/mqn/GetHostCommentRequest;-><init>(Ljava/util/HashMap;)V

    new-instance p1, Lcom/moji/forum/ui/VoteTopicActivity$11;

    invoke-direct {p1, p0, p2, p3}, Lcom/moji/forum/ui/VoteTopicActivity$11;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;ZZ)V

    invoke-virtual {v0, p1}, Lcom/moji/http/mqn/GetHostCommentRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method static synthetic b(Lcom/moji/forum/ui/VoteTopicActivity;)Z
    .locals 0

    .line 115
    iget-boolean p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ac:Z

    return p0
.end method

.method static synthetic b(Lcom/moji/forum/ui/VoteTopicActivity;Z)Z
    .locals 0

    .line 115
    iput-boolean p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ac:Z

    return p1
.end method

.method static synthetic c(Lcom/moji/forum/ui/VoteTopicActivity;)Lcom/moji/forum/view/AutoHeightLayout;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->D:Lcom/moji/forum/view/AutoHeightLayout;

    return-object p0
.end method

.method private c(J)V
    .locals 2

    .line 2083
    new-instance v0, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    invoke-direct {v0, p0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;-><init>(Landroid/content/Context;)V

    sget v1, Lcom/moji/forum/R$string;->point_info:I

    .line 2084
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$string;->make_sure_delete_topic:I

    .line 2085
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$string;->ok:I

    .line 2086
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$string;->cancel:I

    .line 2087
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->e(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    new-instance v1, Lcom/moji/forum/ui/VoteTopicActivity$28;

    invoke-direct {v1, p0, p1, p2}, Lcom/moji/forum/ui/VoteTopicActivity$28;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;J)V

    .line 2088
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    .line 2094
    invoke-virtual {p1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b()Lcom/moji/dialog/MJDialog;

    return-void
.end method

.method static synthetic c(Lcom/moji/forum/ui/VoteTopicActivity;Z)V
    .locals 0

    .line 115
    invoke-direct {p0, p1}, Lcom/moji/forum/ui/VoteTopicActivity;->d(Z)V

    return-void
.end method

.method private c(Ljava/util/HashMap;ZZ)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;ZZ)V"
        }
    .end annotation

    .line 977
    new-instance v0, Lcom/moji/http/mqn/GetImageCommentRequest;

    invoke-direct {v0, p1}, Lcom/moji/http/mqn/GetImageCommentRequest;-><init>(Ljava/util/HashMap;)V

    new-instance p1, Lcom/moji/forum/ui/VoteTopicActivity$12;

    invoke-direct {p1, p0, p2, p3}, Lcom/moji/forum/ui/VoteTopicActivity$12;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;ZZ)V

    invoke-virtual {v0, p1}, Lcom/moji/http/mqn/GetImageCommentRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method private c(Z)V
    .locals 3

    const/16 v0, 0x8

    const/4 v1, 0x0

    if-eqz p1, :cond_0

    .line 654
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    const/4 v2, 0x1

    invoke-virtual {p1, v2}, Landroid/widget/EditText;->setFocusable(Z)V

    .line 655
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1, v2}, Landroid/widget/EditText;->setFocusableInTouchMode(Z)V

    .line 656
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->requestFocus()Z

    .line 657
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-static {p1}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/widget/EditText;)V

    .line 658
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->B:Landroid/widget/ImageButton;

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

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

    .line 659
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->D:Lcom/moji/forum/view/AutoHeightLayout;

    invoke-virtual {p1}, Lcom/moji/forum/view/AutoHeightLayout;->c()V

    .line 660
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->replyBarBeforeClick:Landroid/widget/LinearLayout;

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

    .line 661
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->replyBarAfterClick:Landroid/widget/LinearLayout;

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

    goto :goto_0

    .line 663
    :cond_0
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1, v1}, Landroid/widget/EditText;->setFocusable(Z)V

    .line 664
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1, v1}, Landroid/widget/EditText;->setFocusableInTouchMode(Z)V

    .line 665
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->replyBarBeforeClick:Landroid/widget/LinearLayout;

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

    .line 666
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->replyBarAfterClick:Landroid/widget/LinearLayout;

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

    .line 667
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->B:Landroid/widget/ImageButton;

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

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

    :goto_0
    return-void
.end method

.method static synthetic d(Lcom/moji/forum/ui/VoteTopicActivity;)Landroid/widget/ImageButton;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->B:Landroid/widget/ImageButton;

    return-object p0
.end method

.method private d(Z)V
    .locals 4

    .line 1764
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->av:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

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

    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object v2, v2, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/moji/http/mqn/entity/TopicVote$Vote;

    iget v2, v2, Lcom/moji/http/mqn/entity/TopicVote$Vote;->red_percent:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v2, "%"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1765
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aw:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

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

    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object v2, v2, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/moji/http/mqn/entity/TopicVote$Vote;

    iget v2, v2, Lcom/moji/http/mqn/entity/TopicVote$Vote;->blue_percent:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v2, "%"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1766
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->au:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/moji/http/mqn/entity/TopicVote$Vote;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/TopicVote$Vote;->red_name:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1767
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->az:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/moji/http/mqn/entity/TopicVote$Vote;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/TopicVote$Vote;->blue_name:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1768
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ax:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

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

    sget v2, Lcom/moji/forum/R$string;->total_have:I

    invoke-static {v2}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object v2, v2, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/moji/http/mqn/entity/TopicVote$Vote;

    iget v2, v2, Lcom/moji/http/mqn/entity/TopicVote$Vote;->total_count:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    sget v2, Lcom/moji/forum/R$string;->people_join:I

    invoke-static {v2}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1769
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->o:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/moji/http/mqn/entity/TopicVote$Vote;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/TopicVote$Vote;->ask_name:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1770
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/moji/http/mqn/entity/TopicVote$Vote;

    iget v0, v0, Lcom/moji/http/mqn/entity/TopicVote$Vote;->total_count:I

    if-nez v0, :cond_0

    .line 1771
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aB:Lcom/moji/forum/view/VoteView;

    const/high16 v1, 0x3f000000    # 0.5f

    invoke-virtual {v0, v1}, Lcom/moji/forum/view/VoteView;->setPercent(F)V

    goto :goto_0

    .line 1773
    :cond_0
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aB:Lcom/moji/forum/view/VoteView;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/moji/http/mqn/entity/TopicVote$Vote;

    iget v1, v1, Lcom/moji/http/mqn/entity/TopicVote$Vote;->red_count:I

    int-to-float v1, v1

    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object v2, v2, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/moji/http/mqn/entity/TopicVote$Vote;

    iget v2, v2, Lcom/moji/http/mqn/entity/TopicVote$Vote;->total_count:I

    int-to-float v2, v2

    div-float/2addr v1, v2

    invoke-virtual {v0, v1}, Lcom/moji/forum/view/VoteView;->setPercent(F)V

    .line 1774
    :goto_0
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/moji/http/mqn/entity/TopicVote$Vote;

    iget-boolean v0, v0, Lcom/moji/http/mqn/entity/TopicVote$Vote;->is_vote:Z

    if-eqz v0, :cond_2

    .line 1775
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aA:Landroid/widget/RelativeLayout;

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

    if-eqz p1, :cond_1

    .line 1777
    invoke-direct {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->o()V

    goto :goto_1

    .line 1779
    :cond_1
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aA:Landroid/widget/RelativeLayout;

    invoke-virtual {p1}, Landroid/widget/RelativeLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p1

    check-cast p1, Landroid/widget/LinearLayout$LayoutParams;

    .line 1780
    iput v3, p1, Landroid/widget/LinearLayout$LayoutParams;->width:I

    const/high16 v0, 0x3f800000    # 1.0f

    .line 1781
    iput v0, p1, Landroid/widget/LinearLayout$LayoutParams;->weight:F

    .line 1782
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aA:Landroid/widget/RelativeLayout;

    invoke-virtual {p1}, Landroid/widget/RelativeLayout;->requestLayout()V

    goto :goto_1

    .line 1786
    :cond_2
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aA:Landroid/widget/RelativeLayout;

    const/4 v0, 0x4

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

    .line 1787
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aA:Landroid/widget/RelativeLayout;

    invoke-virtual {p1}, Landroid/widget/RelativeLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p1

    check-cast p1, Landroid/widget/LinearLayout$LayoutParams;

    const/high16 v0, 0x42b80000    # 92.0f

    .line 1788
    invoke-static {}, Lcom/moji/forum/common/ResUtil;->a()F

    move-result v1

    mul-float v1, v1, v0

    float-to-int v0, v1

    iput v0, p1, Landroid/widget/LinearLayout$LayoutParams;->width:I

    const/4 v0, 0x0

    .line 1789
    iput v0, p1, Landroid/widget/LinearLayout$LayoutParams;->weight:F

    .line 1790
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aA:Landroid/widget/RelativeLayout;

    invoke-virtual {p1}, Landroid/widget/RelativeLayout;->requestLayout()V

    .line 1793
    :goto_1
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object p1, p1, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    invoke-virtual {p1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/moji/http/mqn/entity/TopicVote$Vote;

    iget p1, p1, Lcom/moji/http/mqn/entity/TopicVote$Vote;->vote_type:I

    const/4 v0, 0x1

    if-ne p1, v0, :cond_3

    .line 1794
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->at:Landroid/widget/ImageView;

    sget v0, Lcom/moji/forum/R$drawable;->topic_agree_select:I

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

    .line 1795
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ay:Landroid/widget/ImageView;

    sget v0, Lcom/moji/forum/R$drawable;->topic_not_agree:I

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

    goto :goto_2

    .line 1796
    :cond_3
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object p1, p1, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    invoke-virtual {p1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/moji/http/mqn/entity/TopicVote$Vote;

    iget p1, p1, Lcom/moji/http/mqn/entity/TopicVote$Vote;->vote_type:I

    const/4 v0, 0x2

    if-ne p1, v0, :cond_4

    .line 1797
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ay:Landroid/widget/ImageView;

    sget v0, Lcom/moji/forum/R$drawable;->topic_not_agree_select:I

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

    .line 1798
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->at:Landroid/widget/ImageView;

    sget v0, Lcom/moji/forum/R$drawable;->topic_agree:I

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

    :cond_4
    :goto_2
    return-void
.end method

.method static synthetic e(Lcom/moji/forum/ui/VoteTopicActivity;)Z
    .locals 0

    .line 115
    iget-boolean p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->s:Z

    return p0
.end method

.method static synthetic f(Lcom/moji/forum/ui/VoteTopicActivity;)Ljava/util/ArrayList;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    return-object p0
.end method

.method static synthetic g(Lcom/moji/forum/ui/VoteTopicActivity;)Z
    .locals 0

    .line 115
    iget-boolean p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->t:Z

    return p0
.end method

.method static synthetic h(Lcom/moji/forum/ui/VoteTopicActivity;)Landroid/widget/ImageView;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->K:Landroid/widget/ImageView;

    return-object p0
.end method

.method static synthetic i(Lcom/moji/forum/ui/VoteTopicActivity;)Landroid/widget/ListView;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->l:Landroid/widget/ListView;

    return-object p0
.end method

.method static synthetic j(Lcom/moji/forum/ui/VoteTopicActivity;)Landroid/widget/RelativeLayout;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->H:Landroid/widget/RelativeLayout;

    return-object p0
.end method

.method static synthetic k(Lcom/moji/forum/ui/VoteTopicActivity;)Landroid/widget/TextView;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->I:Landroid/widget/TextView;

    return-object p0
.end method

.method private k()V
    .locals 3

    .line 760
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string v1, "topic_id"

    .line 761
    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->k:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v1, "type"

    .line 762
    iget v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ad:I

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v1, "tag_type"

    const-string v2, "1"

    .line 763
    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 764
    iget-boolean v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aI:Z

    if-eqz v1, :cond_0

    const-string v1, "expand_id"

    .line 765
    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aH:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 768
    :cond_0
    new-instance v1, Lcom/moji/http/mqn/TopicRequest;

    invoke-direct {v1, v0}, Lcom/moji/http/mqn/TopicRequest;-><init>(Ljava/util/HashMap;)V

    new-instance v0, Lcom/moji/forum/ui/VoteTopicActivity$9;

    invoke-direct {v0, p0}, Lcom/moji/forum/ui/VoteTopicActivity$9;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;)V

    invoke-virtual {v1, v0}, Lcom/moji/http/mqn/TopicRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method static synthetic l(Lcom/moji/forum/ui/VoteTopicActivity;)Ljava/lang/String;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->k:Ljava/lang/String;

    return-object p0
.end method

.method private l()V
    .locals 3

    .line 1266
    new-instance v0, Lcom/moji/camera/model/GalleryOptions$Builder;

    invoke-direct {v0}, Lcom/moji/camera/model/GalleryOptions$Builder;-><init>()V

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/moji/camera/model/GalleryOptions$Builder;->a(Z)Lcom/moji/camera/model/GalleryOptions$Builder;

    move-result-object v0

    iget v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->picNumLimit:I

    invoke-virtual {v0, v2}, Lcom/moji/camera/model/GalleryOptions$Builder;->a(I)Lcom/moji/camera/model/GalleryOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/moji/camera/model/GalleryOptions$Builder;->b(Z)Lcom/moji/camera/model/GalleryOptions$Builder;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/camera/model/GalleryOptions$Builder;->a()Lcom/moji/camera/model/GalleryOptions;

    move-result-object v0

    .line 1267
    new-instance v2, Lcom/moji/camera/model/CropOptions$Builder;

    invoke-direct {v2}, Lcom/moji/camera/model/CropOptions$Builder;-><init>()V

    invoke-virtual {v2, v1}, Lcom/moji/camera/model/CropOptions$Builder;->a(I)Lcom/moji/camera/model/CropOptions$Builder;

    move-result-object v2

    invoke-virtual {v2, v1}, Lcom/moji/camera/model/CropOptions$Builder;->b(I)Lcom/moji/camera/model/CropOptions$Builder;

    move-result-object v2

    invoke-virtual {v2, v1}, Lcom/moji/camera/model/CropOptions$Builder;->c(I)Lcom/moji/camera/model/CropOptions$Builder;

    move-result-object v2

    invoke-virtual {v2, v1}, Lcom/moji/camera/model/CropOptions$Builder;->d(I)Lcom/moji/camera/model/CropOptions$Builder;

    move-result-object v1

    invoke-virtual {v1}, Lcom/moji/camera/model/CropOptions$Builder;->a()Lcom/moji/camera/model/CropOptions;

    move-result-object v1

    .line 1268
    sget v2, Lcom/moji/forum/R$string;->select_photo:I

    invoke-static {v2}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {p0, v2, v0, v1}, Lcom/moji/camera/PhotoActivity;->takePhoto(Landroid/app/Activity;Ljava/lang/String;Lcom/moji/camera/model/GalleryOptions;Lcom/moji/camera/model/CropOptions;)V

    return-void
.end method

.method private m()I
    .locals 3

    const/4 v0, 0x0

    const/4 v1, 0x0

    .line 1335
    :goto_0
    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-ge v0, v2, :cond_1

    .line 1336
    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/moji/http/ugc/bean/ImageInfo;

    iget v2, v2, Lcom/moji/http/ugc/bean/ImageInfo;->type:I

    if-nez v2, :cond_0

    add-int/lit8 v1, v1, 0x1

    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    return v1
.end method

.method static synthetic m(Lcom/moji/forum/ui/VoteTopicActivity;)Ljava/util/ArrayList;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aM:Ljava/util/ArrayList;

    return-object p0
.end method

.method static synthetic n(Lcom/moji/forum/ui/VoteTopicActivity;)Landroid/widget/Button;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->E:Landroid/widget/Button;

    return-object p0
.end method

.method private n()V
    .locals 4

    .line 1343
    invoke-direct {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->m()I

    move-result v0

    .line 1344
    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ar:Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

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

    sget v3, Lcom/moji/forum/R$string;->topic_comment_image_select:I

    invoke-static {v3}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    sget v3, Lcom/moji/forum/R$string;->topic_comment_image_pager:I

    invoke-static {v3}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const/4 v1, 0x0

    const/16 v2, 0x8

    if-nez v0, :cond_0

    .line 1346
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->as:Landroid/widget/LinearLayout;

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

    .line 1347
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->am:Landroid/widget/GridView;

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

    .line 1348
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ar:Landroid/widget/TextView;

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

    .line 1349
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ao:Landroid/widget/LinearLayout;

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

    goto :goto_0

    .line 1351
    :cond_0
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->as:Landroid/widget/LinearLayout;

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

    .line 1352
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->am:Landroid/widget/GridView;

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

    .line 1353
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ar:Landroid/widget/TextView;

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

    .line 1354
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ao:Landroid/widget/LinearLayout;

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

    :goto_0
    return-void
.end method

.method static synthetic o(Lcom/moji/forum/ui/VoteTopicActivity;)Landroid/widget/Button;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->F:Landroid/widget/Button;

    return-object p0
.end method

.method private o()V
    .locals 7
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    .line 1805
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aA:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->getWidth()I

    move-result v0

    .line 1806
    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aC:Landroid/widget/LinearLayout;

    invoke-virtual {v1}, Landroid/widget/LinearLayout;->getWidth()I

    move-result v1

    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aD:Landroid/widget/LinearLayout;

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->getWidth()I

    move-result v2

    sub-int/2addr v1, v2

    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aE:Landroid/widget/LinearLayout;

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->getWidth()I

    move-result v2

    sub-int/2addr v1, v2

    sub-int v2, v1, v0

    .line 1810
    iget-object v3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object v3, v3, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/moji/http/mqn/entity/TopicVote$Vote;

    iget v3, v3, Lcom/moji/http/mqn/entity/TopicVote$Vote;->total_count:I

    const/high16 v5, 0x3f000000    # 0.5f

    if-eqz v3, :cond_0

    .line 1811
    iget-object v3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object v3, v3, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    invoke-virtual {v3, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/moji/http/mqn/entity/TopicVote$Vote;

    iget v3, v3, Lcom/moji/http/mqn/entity/TopicVote$Vote;->red_count:I

    int-to-float v3, v3

    iget-object v6, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object v6, v6, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    invoke-virtual {v6, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/moji/http/mqn/entity/TopicVote$Vote;

    iget v4, v4, Lcom/moji/http/mqn/entity/TopicVote$Vote;->total_count:I

    int-to-float v4, v4

    div-float/2addr v3, v4

    goto :goto_0

    :cond_0
    const/high16 v3, 0x3f000000    # 0.5f

    :goto_0
    sub-float/2addr v3, v5

    const/4 v4, 0x2

    .line 1814
    new-array v4, v4, [F

    fill-array-data v4, :array_0

    invoke-static {v4}, Landroid/animation/ValueAnimator;->ofFloat([F)Landroid/animation/ValueAnimator;

    move-result-object v4

    const-wide/16 v5, 0x2bc

    invoke-virtual {v4, v5, v6}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;

    move-result-object v4

    .line 1815
    new-instance v5, Lcom/moji/forum/ui/VoteTopicActivity$19;

    invoke-direct {v5, p0, v1}, Lcom/moji/forum/ui/VoteTopicActivity$19;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;I)V

    invoke-virtual {v4, v5}, Landroid/animation/ValueAnimator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 1838
    new-instance v1, Lcom/moji/forum/ui/VoteTopicActivity$20;

    invoke-direct {v1, p0, v0, v2, v3}, Lcom/moji/forum/ui/VoteTopicActivity$20;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;IIF)V

    invoke-virtual {v4, v1}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V

    .line 1847
    invoke-virtual {v4}, Landroid/animation/ValueAnimator;->start()V

    return-void

    :array_0
    .array-data 4
        0x0
        0x3f800000    # 1.0f
    .end array-data
.end method

.method private p()V
    .locals 3

    .line 1876
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/moji/forum/ui/ReportOrGagActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "report_or_gag_type"

    const/4 v2, 0x1

    .line 1877
    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string v1, "topic_id"

    .line 1878
    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->k:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 1879
    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method static synthetic p(Lcom/moji/forum/ui/VoteTopicActivity;)V
    .locals 0

    .line 115
    invoke-direct {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->l()V

    return-void
.end method

.method private q()V
    .locals 3

    .line 2043
    iget-boolean v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aF:Z

    if-eqz v0, :cond_0

    .line 2044
    invoke-direct {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->r()V

    goto :goto_0

    .line 2046
    :cond_0
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string v1, "input_content"

    .line 2047
    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "input_topic_id"

    .line 2048
    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->k:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "input_image_list"

    .line 2049
    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/4 v1, -0x1

    .line 2051
    invoke-virtual {p0, v1, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->setResult(ILandroid/content/Intent;)V

    .line 2052
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->finish()V

    :goto_0
    return-void
.end method

.method static synthetic q(Lcom/moji/forum/ui/VoteTopicActivity;)V
    .locals 0

    .line 115
    invoke-direct {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->n()V

    return-void
.end method

.method private r()V
    .locals 2

    .line 2057
    new-instance v0, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    invoke-direct {v0, p0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;-><init>(Landroid/content/Context;)V

    sget v1, Lcom/moji/forum/R$string;->point_info:I

    .line 2058
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$string;->invite_to_play_forum:I

    .line 2059
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$string;->goto_see:I

    .line 2060
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$string;->refuse:I

    .line 2061
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->e(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    new-instance v1, Lcom/moji/forum/ui/VoteTopicActivity$27;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/VoteTopicActivity$27;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;)V

    .line 2062
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    new-instance v1, Lcom/moji/forum/ui/VoteTopicActivity$26;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/VoteTopicActivity$26;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;)V

    .line 2072
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    .line 2078
    invoke-virtual {v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b()Lcom/moji/dialog/MJDialog;

    return-void
.end method

.method static synthetic r(Lcom/moji/forum/ui/VoteTopicActivity;)Z
    .locals 0

    .line 115
    iget-boolean p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->L:Z

    return p0
.end method

.method static synthetic s(Lcom/moji/forum/ui/VoteTopicActivity;)Lcom/moji/forum/ui/CommentAdapter;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->m:Lcom/moji/forum/ui/CommentAdapter;

    return-object p0
.end method

.method static synthetic t(Lcom/moji/forum/ui/VoteTopicActivity;)Landroid/widget/RelativeLayout;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->W:Landroid/widget/RelativeLayout;

    return-object p0
.end method

.method static synthetic u(Lcom/moji/forum/ui/VoteTopicActivity;)Lcom/moji/pulltorefresh/PullToFreshContainer;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->r:Lcom/moji/pulltorefresh/PullToFreshContainer;

    return-object p0
.end method

.method static synthetic v(Lcom/moji/forum/ui/VoteTopicActivity;)Ljava/util/ArrayList;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    return-object p0
.end method

.method static synthetic w(Lcom/moji/forum/ui/VoteTopicActivity;)Lcom/moji/forum/ui/ImageAdapter;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->an:Lcom/moji/forum/ui/ImageAdapter;

    return-object p0
.end method

.method static synthetic x(Lcom/moji/forum/ui/VoteTopicActivity;)Lcom/moji/forum/view/VoteView;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aB:Lcom/moji/forum/view/VoteView;

    return-object p0
.end method

.method static synthetic y(Lcom/moji/forum/ui/VoteTopicActivity;)Lcom/moji/forum/ui/VoteTopicActivity$TopicHandler;
    .locals 0

    .line 115
    iget-object p0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aG:Lcom/moji/forum/ui/VoteTopicActivity$TopicHandler;

    return-object p0
.end method


# virtual methods
.method protected a()V
    .locals 2

    .line 414
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aK:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 415
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->at:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 416
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ay:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 417
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ap:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 418
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->l:Landroid/widget/ListView;

    invoke-virtual {v0, p0}, Landroid/widget/ListView;->setOnItemLongClickListener(Landroid/widget/AdapterView$OnItemLongClickListener;)V

    .line 419
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->B:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 420
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->C:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 421
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->E:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 422
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->F:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 423
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->G:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 424
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->J:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 425
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->K:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 426
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent0:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 427
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mComment_num:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 428
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->n:Lcom/moji/imageview/RoundCornerImageView;

    invoke-virtual {v0, p0}, Lcom/moji/imageview/RoundCornerImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 429
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent0:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object v0

    new-instance v1, Lcom/moji/forum/ui/VoteTopicActivity$1;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/VoteTopicActivity$1;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/ViewTreeObserver;->addOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V

    .line 437
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->r:Lcom/moji/pulltorefresh/PullToFreshContainer;

    new-instance v1, Lcom/moji/forum/ui/VoteTopicActivity$2;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/VoteTopicActivity$2;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/pulltorefresh/PullToFreshContainer;->setOnRefreshListener(Lcom/moji/pulltorefresh/PullRefresher$OnContainerRefreshListener;)V

    .line 459
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->l:Landroid/widget/ListView;

    new-instance v1, Lcom/moji/forum/ui/VoteTopicActivity$3;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/VoteTopicActivity$3;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    .line 500
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->m:Lcom/moji/forum/ui/CommentAdapter;

    new-instance v1, Lcom/moji/forum/ui/VoteTopicActivity$4;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/VoteTopicActivity$4;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/forum/ui/CommentAdapter;->a(Lcom/moji/forum/ui/CommentAdapter$CommentAdapterListener;)V

    .line 558
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    new-instance v1, Lcom/moji/forum/ui/VoteTopicActivity$5;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/VoteTopicActivity$5;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 584
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->D:Lcom/moji/forum/view/AutoHeightLayout;

    new-instance v1, Lcom/moji/forum/ui/VoteTopicActivity$6;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/VoteTopicActivity$6;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/forum/view/AutoHeightLayout;->setOnAutoResizeListener(Lcom/moji/forum/view/AutoHeightLayout$OnAutoResizeListener;)V

    .line 612
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->an:Lcom/moji/forum/ui/ImageAdapter;

    new-instance v1, Lcom/moji/forum/ui/VoteTopicActivity$7;

    invoke-direct {v1, p0}, Lcom/moji/forum/ui/VoteTopicActivity$7;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;)V

    invoke-virtual {v0, v1}, Lcom/moji/forum/ui/ImageAdapter;->a(Lcom/moji/forum/ui/ImageAdapter$ImageAdapterListener;)V

    return-void
.end method

.method protected a(J)V
    .locals 3

    .line 2026
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/moji/forum/ui/ReportOrGagActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "report_or_gag_type"

    const/4 v2, 0x1

    .line 2027
    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string v1, "comment_id"

    .line 2028
    new-instance v2, Ljava/lang/StringBuilder;

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

    invoke-virtual {v2, p1, p2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    const-string p1, ""

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 2029
    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method protected a(Z)V
    .locals 4

    .line 1726
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_0

    goto :goto_1

    .line 1728
    :cond_0
    new-instance v0, Lcom/moji/http/mqn/VoteRequest;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/moji/http/mqn/entity/TopicVote$Vote;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/TopicVote$Vote;->id:Ljava/lang/String;

    iget-object v3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->j:Lcom/moji/http/mqn/entity/TopicVote;

    iget-object v3, v3, Lcom/moji/http/mqn/entity/TopicVote;->list:Ljava/util/ArrayList;

    invoke-virtual {v3, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/moji/http/mqn/entity/TopicVote$Vote;

    iget-object v2, v2, Lcom/moji/http/mqn/entity/TopicVote$Vote;->topic_id:Ljava/lang/String;

    if-eqz p1, :cond_1

    const/4 p1, 0x1

    goto :goto_0

    :cond_1
    const/4 p1, 0x2

    :goto_0
    invoke-direct {v0, v1, v2, p1}, Lcom/moji/http/mqn/VoteRequest;-><init>(Ljava/lang/String;Ljava/lang/String;I)V

    new-instance p1, Lcom/moji/forum/ui/VoteTopicActivity$17;

    invoke-direct {p1, p0}, Lcom/moji/forum/ui/VoteTopicActivity$17;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;)V

    invoke-virtual {v0, p1}, Lcom/moji/http/mqn/VoteRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void

    :cond_2
    :goto_1
    return-void
.end method

.method protected b()V
    .locals 6

    .line 687
    :try_start_0
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v0

    const/4 v1, 0x1

    if-eqz v0, :cond_0

    .line 689
    iput-boolean v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aF:Z

    const-string v2, "topic_id"

    .line 690
    invoke-virtual {v0, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->k:Ljava/lang/String;

    .line 692
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    new-instance v2, Lcom/moji/http/ugc/bean/ImageInfo;

    invoke-direct {v2, v1}, Lcom/moji/http/ugc/bean/ImageInfo;-><init>(I)V

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 693
    invoke-direct {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->n()V

    .line 694
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->an:Lcom/moji/forum/ui/ImageAdapter;

    invoke-virtual {v0}, Lcom/moji/forum/ui/ImageAdapter;->notifyDataSetChanged()V

    .line 696
    :cond_0
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    if-eqz v0, :cond_8

    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "topic_id"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_8

    .line 697
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "topic_id"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->k:Ljava/lang/String;

    .line 699
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "input_content"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aj:Ljava/lang/String;

    .line 700
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "input_image_list"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    if-eqz v0, :cond_2

    .line 701
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "input_image_list"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    .line 702
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_1

    .line 703
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    new-instance v2, Lcom/moji/http/ugc/bean/ImageInfo;

    invoke-direct {v2, v1}, Lcom/moji/http/ugc/bean/ImageInfo;-><init>(I)V

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 704
    :cond_1
    invoke-direct {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->n()V

    .line 705
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->an:Lcom/moji/forum/ui/ImageAdapter;

    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Lcom/moji/forum/ui/ImageAdapter;->a(Ljava/util/ArrayList;)V

    .line 706
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->an:Lcom/moji/forum/ui/ImageAdapter;

    invoke-virtual {v0}, Lcom/moji/forum/ui/ImageAdapter;->notifyDataSetChanged()V

    goto :goto_0

    .line 708
    :cond_2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    .line 709
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    new-instance v2, Lcom/moji/http/ugc/bean/ImageInfo;

    invoke-direct {v2, v1}, Lcom/moji/http/ugc/bean/ImageInfo;-><init>(I)V

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 710
    invoke-direct {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->n()V

    .line 711
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->an:Lcom/moji/forum/ui/ImageAdapter;

    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Lcom/moji/forum/ui/ImageAdapter;->a(Ljava/util/ArrayList;)V

    .line 712
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->an:Lcom/moji/forum/ui/ImageAdapter;

    invoke-virtual {v0}, Lcom/moji/forum/ui/ImageAdapter;->notifyDataSetChanged()V

    .line 714
    :goto_0
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "page_no"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_3

    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "page_seat"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_3

    .line 715
    iput-boolean v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->Z:Z

    .line 716
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "page_no"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    add-int/2addr v0, v1

    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->S:I

    .line 717
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->m:Lcom/moji/forum/ui/CommentAdapter;

    iget v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->S:I

    invoke-virtual {v0, v2}, Lcom/moji/forum/ui/CommentAdapter;->c(I)V

    .line 718
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "page_no"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->T:I

    .line 719
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "page_seat"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aa:I

    .line 721
    :cond_3
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v2, "comment_id"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const/4 v2, 0x0

    if-eqz v0, :cond_4

    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v3, "from_name"

    invoke-virtual {v0, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_4

    .line 722
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->H:Landroid/widget/RelativeLayout;

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

    .line 723
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->H:Landroid/widget/RelativeLayout;

    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v3

    const-string v4, "comment_id"

    invoke-virtual {v3, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J

    move-result-wide v3

    invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->setTag(Ljava/lang/Object;)V

    .line 724
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->I:Landroid/widget/TextView;

    new-instance v3, Ljava/lang/StringBuilder;

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

    sget v4, Lcom/moji/forum/R$string;->reply:I

    invoke-static {v4}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v4

    const-string v5, "from_name"

    invoke-virtual {v4, v5}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v4, "\uff1a"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 726
    :cond_4
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v3, "come_from_fav"

    invoke-virtual {v0, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_5

    .line 727
    iput v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ad:I

    .line 729
    :cond_5
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v3, "square_id"

    invoke-virtual {v0, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_6

    .line 730
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v3, "square_id"

    invoke-virtual {v0, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aH:Ljava/lang/String;

    const/4 v0, 0x3

    .line 731
    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ad:I

    .line 732
    iput-boolean v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aI:Z

    .line 734
    :cond_6
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aj:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_7

    .line 735
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mComment_num:Landroid/widget/TextView;

    const/16 v1, 0x8

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

    .line 736
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent0:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aj:Ljava/lang/String;

    invoke-static {v1}, Lcom/moji/tool/TextUtil;->a(Ljava/lang/String;)Landroid/text/SpannableString;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 737
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aj:Ljava/lang/String;

    invoke-static {v1}, Lcom/moji/tool/TextUtil;->a(Ljava/lang/String;)Landroid/text/SpannableString;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 741
    :cond_7
    invoke-virtual {p0, v2}, Lcom/moji/forum/ui/VoteTopicActivity;->b(Z)V

    .line 746
    :cond_8
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->l:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->m:Lcom/moji/forum/ui/CommentAdapter;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method

.method protected b(Z)V
    .locals 3

    .line 1742
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string v1, "topic_id"

    .line 1743
    iget-object v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->k:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1745
    new-instance v1, Lcom/moji/http/mqn/GetTopicVoteRequest;

    invoke-direct {v1, v0}, Lcom/moji/http/mqn/GetTopicVoteRequest;-><init>(Ljava/util/HashMap;)V

    new-instance v0, Lcom/moji/forum/ui/VoteTopicActivity$18;

    invoke-direct {v0, p0, p1}, Lcom/moji/forum/ui/VoteTopicActivity$18;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;Z)V

    invoke-virtual {v1, v0}, Lcom/moji/http/mqn/GetTopicVoteRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V

    return-void
.end method

.method protected c()V
    .locals 5
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    .line 320
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->d()V

    .line 321
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->c:Landroid/widget/TextView;

    sget v1, Lcom/moji/forum/R$string;->vote:I

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

    .line 322
    new-instance v0, Lcom/moji/forum/ui/VoteTopicActivity$TopicHandler;

    invoke-direct {v0, p0}, Lcom/moji/forum/ui/VoteTopicActivity$TopicHandler;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;)V

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aG:Lcom/moji/forum/ui/VoteTopicActivity$TopicHandler;

    .line 323
    sget v0, Lcom/moji/forum/R$id;->ll_image_layout:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ae:Landroid/widget/LinearLayout;

    .line 324
    sget v0, Lcom/moji/forum/R$id;->fl_foot_func:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->af:Landroid/widget/FrameLayout;

    .line 325
    sget v0, Lcom/moji/forum/R$id;->rl_emotion:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ag:Landroid/widget/RelativeLayout;

    .line 326
    sget v0, Lcom/moji/forum/R$id;->ll_empty_add_image:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ao:Landroid/widget/LinearLayout;

    .line 327
    sget v0, Lcom/moji/forum/R$id;->ll_current_image_layout:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->as:Landroid/widget/LinearLayout;

    .line 328
    sget v0, Lcom/moji/forum/R$id;->iv_empty_add_image:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ap:Landroid/widget/ImageView;

    .line 329
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ap:Landroid/widget/ImageView;

    iget v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ak:I

    iget v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ak:I

    invoke-direct {p0, v0, v1, v2}, Lcom/moji/forum/ui/VoteTopicActivity;->b(Landroid/widget/ImageView;II)V

    .line 330
    sget v0, Lcom/moji/forum/R$id;->gv_comment_image:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/GridView;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->am:Landroid/widget/GridView;

    .line 331
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    new-instance v1, Lcom/moji/http/ugc/bean/ImageInfo;

    const/4 v2, 0x1

    invoke-direct {v1, v2}, Lcom/moji/http/ugc/bean/ImageInfo;-><init>(I)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 332
    new-instance v0, Lcom/moji/forum/ui/ImageAdapter;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    iget v3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ak:I

    const/4 v4, 0x2

    invoke-direct {v0, p0, v1, v3, v4}, Lcom/moji/forum/ui/ImageAdapter;-><init>(Landroid/content/Context;Ljava/util/ArrayList;II)V

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->an:Lcom/moji/forum/ui/ImageAdapter;

    .line 333
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->am:Landroid/widget/GridView;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->an:Lcom/moji/forum/ui/ImageAdapter;

    invoke-virtual {v0, v1}, Landroid/widget/GridView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 334
    sget v0, Lcom/moji/forum/R$id;->tv_empty_info:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aq:Landroid/widget/TextView;

    .line 335
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aq:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

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

    sget v3, Lcom/moji/forum/R$string;->topic_comment_image_select:I

    invoke-static {v3}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v3, "0"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    sget v3, Lcom/moji/forum/R$string;->topic_comment_image_pager:I

    .line 336
    invoke-static {v3}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 335
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 337
    sget v0, Lcom/moji/forum/R$id;->tv_info:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ar:Landroid/widget/TextView;

    .line 345
    sget v0, Lcom/moji/forum/R$id;->rl_empty:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->W:Landroid/widget/RelativeLayout;

    .line 346
    sget v0, Lcom/moji/forum/R$id;->listview:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->l:Landroid/widget/ListView;

    .line 347
    sget v0, Lcom/moji/forum/R$id;->iv_return_top:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->K:Landroid/widget/ImageView;

    .line 348
    sget v0, Lcom/moji/forum/R$id;->topicpulltofresh:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/moji/pulltorefresh/PullToFreshContainer;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->r:Lcom/moji/pulltorefresh/PullToFreshContainer;

    .line 349
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$layout;->topic_detail_loading_view:I

    const/4 v3, 0x0

    invoke-virtual {v0, v1, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->u:Landroid/widget/FrameLayout;

    .line 350
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->u:Landroid/widget/FrameLayout;

    const/16 v1, 0x8

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

    .line 351
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->u:Landroid/widget/FrameLayout;

    sget v1, Lcom/moji/forum/R$id;->tv_loading_info:I

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->N:Landroid/widget/TextView;

    .line 352
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->u:Landroid/widget/FrameLayout;

    sget v1, Lcom/moji/forum/R$id;->tv_loadingTv:I

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->O:Landroid/widget/TextView;

    .line 353
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$layout;->vote_topic_header:I

    invoke-virtual {v0, v1, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    .line 354
    sget v1, Lcom/moji/forum/R$id;->iv_vote:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aJ:Landroid/widget/ImageView;

    .line 355
    sget v1, Lcom/moji/forum/R$id;->riv_face:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Lcom/moji/imageview/RoundCornerImageView;

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->n:Lcom/moji/imageview/RoundCornerImageView;

    .line 356
    sget v1, Lcom/moji/forum/R$id;->tv_header_topic_title:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->o:Landroid/widget/TextView;

    .line 357
    sget v1, Lcom/moji/forum/R$id;->tv_content:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->p:Landroid/widget/TextView;

    .line 358
    sget v1, Lcom/moji/forum/R$id;->vv_vote:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Lcom/moji/forum/view/VoteView;

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aB:Lcom/moji/forum/view/VoteView;

    .line 360
    sget v1, Lcom/moji/forum/R$id;->iv_vote_agree:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->at:Landroid/widget/ImageView;

    .line 361
    sget v1, Lcom/moji/forum/R$id;->tv_vote_agree:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->au:Landroid/widget/TextView;

    .line 362
    sget v1, Lcom/moji/forum/R$id;->tv_vote_agree_percent:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->av:Landroid/widget/TextView;

    .line 363
    sget v1, Lcom/moji/forum/R$id;->tv_vote_not_agree_percent:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aw:Landroid/widget/TextView;

    .line 364
    sget v1, Lcom/moji/forum/R$id;->tv_vote_num:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ax:Landroid/widget/TextView;

    .line 365
    sget v1, Lcom/moji/forum/R$id;->iv_vote_not_agree:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ay:Landroid/widget/ImageView;

    .line 366
    sget v1, Lcom/moji/forum/R$id;->tv_vote_not_agree:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->az:Landroid/widget/TextView;

    .line 367
    sget v1, Lcom/moji/forum/R$id;->rl_vote_result:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/RelativeLayout;

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aA:Landroid/widget/RelativeLayout;

    .line 368
    sget v1, Lcom/moji/forum/R$id;->ll_common_vote_layout:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aC:Landroid/widget/LinearLayout;

    .line 369
    sget v1, Lcom/moji/forum/R$id;->ll_vote_agree:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aD:Landroid/widget/LinearLayout;

    .line 370
    sget v1, Lcom/moji/forum/R$id;->ll_vote_not_agree:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aE:Landroid/widget/LinearLayout;

    .line 371
    sget v1, Lcom/moji/forum/R$id;->tv_all_comment:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aL:Landroid/widget/TextView;

    .line 373
    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->l:Landroid/widget/ListView;

    invoke-virtual {v1, v3}, Landroid/widget/ListView;->setDivider(Landroid/graphics/drawable/Drawable;)V

    .line 374
    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->l:Landroid/widget/ListView;

    const/4 v3, 0x0

    invoke-virtual {v1, v3}, Landroid/widget/ListView;->setDividerHeight(I)V

    .line 375
    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->l:Landroid/widget/ListView;

    sget v3, Lcom/moji/forum/R$color;->transparent:I

    invoke-virtual {v1, v3}, Landroid/widget/ListView;->setSelector(I)V

    .line 376
    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->l:Landroid/widget/ListView;

    invoke-virtual {v1, v0}, Landroid/widget/ListView;->addHeaderView(Landroid/view/View;)V

    .line 377
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->l:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->u:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->addFooterView(Landroid/view/View;)V

    .line 379
    sget v0, Lcom/moji/forum/R$id;->rrl_rize_layout:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/moji/forum/view/AutoHeightLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->D:Lcom/moji/forum/view/AutoHeightLayout;

    .line 380
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->D:Lcom/moji/forum/view/AutoHeightLayout;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->af:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v1}, Lcom/moji/forum/view/AutoHeightLayout;->setAutoHeightLayoutView(Landroid/view/View;)V

    const-string v0, "input_method"

    .line 381
    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/inputmethod/InputMethodManager;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->A:Landroid/view/inputmethod/InputMethodManager;

    .line 382
    sget v0, Lcom/moji/forum/R$id;->replyBarBeforeClick:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->replyBarBeforeClick:Landroid/widget/LinearLayout;

    .line 383
    sget v0, Lcom/moji/forum/R$id;->replyBarAfterClick:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->replyBarAfterClick:Landroid/widget/LinearLayout;

    .line 384
    sget v0, Lcom/moji/forum/R$id;->edit_comment0:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent0:Landroid/widget/TextView;

    .line 385
    sget v0, Lcom/moji/forum/R$id;->comment_num:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mComment_num:Landroid/widget/TextView;

    .line 386
    sget v0, Lcom/moji/forum/R$id;->edit_comment1:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    .line 387
    sget v0, Lcom/moji/forum/R$id;->emoticonBtn:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->B:Landroid/widget/ImageButton;

    .line 388
    sget v0, Lcom/moji/forum/R$id;->atBtn:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->C:Landroid/widget/ImageButton;

    .line 389
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getSupportFragmentManager()Landroid/support/v4/app/FragmentManager;

    move-result-object v0

    sget v1, Lcom/moji/forum/R$id;->emoticonFragment:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/FragmentManager;->findFragmentById(I)Landroid/support/v4/app/Fragment;

    move-result-object v0

    check-cast v0, Lcom/moji/emotion/EmotionFragment;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->z:Lcom/moji/emotion/EmotionFragment;

    .line 390
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->z:Lcom/moji/emotion/EmotionFragment;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {v0, v1}, Lcom/moji/emotion/EmotionFragment;->a(Landroid/widget/EditText;)V

    .line 391
    sget v0, Lcom/moji/forum/R$id;->sendBtn1:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->E:Landroid/widget/Button;

    .line 392
    sget v0, Lcom/moji/forum/R$id;->sendBtn0:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->F:Landroid/widget/Button;

    .line 393
    sget v0, Lcom/moji/forum/R$id;->iv_photo:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->G:Landroid/widget/ImageView;

    .line 394
    sget v0, Lcom/moji/forum/R$id;->iv_photo_after_click:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aK:Landroid/widget/ImageView;

    .line 395
    sget v0, Lcom/moji/forum/R$id;->replyBar:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->H:Landroid/widget/RelativeLayout;

    .line 396
    sget v0, Lcom/moji/forum/R$id;->replyText:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->I:Landroid/widget/TextView;

    .line 397
    sget v0, Lcom/moji/forum/R$id;->replyCancleBtn:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->J:Landroid/widget/ImageButton;

    .line 398
    new-instance v0, Lcom/moji/forum/ui/CommentAdapter;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    invoke-direct {v0, v1, p0}, Lcom/moji/forum/ui/CommentAdapter;-><init>(Ljava/util/ArrayList;Landroid/content/Context;)V

    iput-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->m:Lcom/moji/forum/ui/CommentAdapter;

    .line 399
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->l:Landroid/widget/ListView;

    const v1, 0x3ca3d70a    # 0.02f

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setFriction(F)V

    .line 400
    iget v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->M:I

    if-ne v0, v2, :cond_0

    .line 401
    iput v4, p0, Lcom/moji/forum/ui/VoteTopicActivity;->M:I

    .line 402
    iget v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->V:I

    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->S:I

    .line 403
    iget v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->V:I

    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->T:I

    goto :goto_0

    .line 404
    :cond_0
    iget v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->M:I

    if-ne v0, v4, :cond_1

    .line 405
    iput v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->M:I

    .line 406
    iput v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->S:I

    .line 407
    iput v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->T:I

    .line 409
    :cond_1
    :goto_0
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->m:Lcom/moji/forum/ui/CommentAdapter;

    iget v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->M:I

    invoke-virtual {v0, v1}, Lcom/moji/forum/ui/CommentAdapter;->b(I)V

    return-void
.end method

.method public dispatchKeyEvent(Landroid/view/KeyEvent;)Z
    .locals 2

    .line 674
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getAction()I

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {p1}, Landroid/view/KeyEvent;->getKeyCode()I

    move-result v0

    const/4 v1, 0x4

    if-ne v0, v1, :cond_0

    .line 675
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->D:Lcom/moji/forum/view/AutoHeightLayout;

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

    move-result v0

    if-eqz v0, :cond_0

    .line 676
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->D:Lcom/moji/forum/view/AutoHeightLayout;

    invoke-virtual {p1}, Lcom/moji/forum/view/AutoHeightLayout;->b()V

    .line 677
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->B:Landroid/widget/ImageButton;

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

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

    const/4 p1, 0x1

    return p1

    .line 681
    :cond_0
    invoke-super {p0, p1}, Lcom/moji/forum/base/ForumBaseActivity;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z

    move-result p1

    return p1
.end method

.method protected e()V
    .locals 3

    .line 274
    sget v0, Lcom/moji/forum/R$layout;->activity_vote_topic:I

    invoke-virtual {p0, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->setContentView(I)V

    .line 276
    invoke-static {}, Lcom/moji/tool/DeviceTool;->C()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 277
    sget-object v0, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;

    const-string v1, "4.4.4"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {p0}, Lcom/moji/tool/DeviceTool;->c(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 278
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/16 v1, 0x20

    invoke-virtual {v0, v1}, Landroid/view/Window;->setSoftInputMode(I)V

    goto :goto_0

    .line 280
    :cond_0
    new-instance v0, Lcom/moji/mjweather/library/AndroidBug5497Workaround;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/library/AndroidBug5497Workaround;-><init>(Landroid/app/Activity;)V

    .line 283
    :cond_1
    :goto_0
    invoke-static {}, Lcom/moji/tool/DeviceTool;->b()I

    move-result v0

    int-to-float v0, v0

    const/high16 v1, 0x42280000    # 42.0f

    invoke-static {}, Lcom/moji/forum/common/ResUtil;->a()F

    move-result v2

    mul-float v2, v2, v1

    sub-float/2addr v0, v2

    const/high16 v1, 0x40400000    # 3.0f

    div-float/2addr v0, v1

    float-to-int v0, v0

    iput v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ak:I

    return-void
.end method

.method protected j()V
    .locals 4

    .line 796
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    if-nez v0, :cond_0

    return-void

    .line 798
    :cond_0
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aJ:Landroid/widget/ImageView;

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

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

    .line 799
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    iget v0, v0, Lcom/moji/http/mqn/entity/Topic;->sex:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_1

    .line 800
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->n:Lcom/moji/imageview/RoundCornerImageView;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->face:Ljava/lang/String;

    sget v2, Lcom/moji/forum/R$drawable;->sns_female_face_default:I

    invoke-virtual {p0, v0, v1, v2}, Lcom/moji/forum/ui/VoteTopicActivity;->a(Landroid/widget/ImageView;Ljava/lang/String;I)V

    goto :goto_0

    .line 802
    :cond_1
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->n:Lcom/moji/imageview/RoundCornerImageView;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->face:Ljava/lang/String;

    sget v2, Lcom/moji/forum/R$drawable;->sns_face_default:I

    invoke-virtual {p0, v0, v1, v2}, Lcom/moji/forum/ui/VoteTopicActivity;->a(Landroid/widget/ImageView;Ljava/lang/String;I)V

    .line 804
    :goto_0
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    iget-object v0, v0, Lcom/moji/http/mqn/entity/Topic;->image_list:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_2

    .line 805
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aJ:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->image_list:Ljava/util/ArrayList;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/moji/http/mqn/entity/Topic$TopicImage;

    iget v1, v1, Lcom/moji/http/mqn/entity/Topic$TopicImage;->width:I

    iget-object v3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    iget-object v3, v3, Lcom/moji/http/mqn/entity/Topic;->image_list:Ljava/util/ArrayList;

    invoke-virtual {v3, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/moji/http/mqn/entity/Topic$TopicImage;

    iget v3, v3, Lcom/moji/http/mqn/entity/Topic$TopicImage;->height:I

    invoke-direct {p0, v0, v1, v3}, Lcom/moji/forum/ui/VoteTopicActivity;->a(Landroid/widget/ImageView;II)V

    .line 806
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aJ:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->image_list:Ljava/util/ArrayList;

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/moji/http/mqn/entity/Topic$TopicImage;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic$TopicImage;->path:Ljava/lang/String;

    invoke-virtual {p0, v0, v1}, Lcom/moji/forum/ui/VoteTopicActivity;->a(Landroid/widget/ImageView;Ljava/lang/String;)V

    .line 808
    :cond_2
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->p:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v1, Lcom/moji/http/mqn/entity/Topic;->content:Ljava/lang/String;

    invoke-static {v1}, Lcom/moji/tool/TextUtil;->a(Ljava/lang/String;)Landroid/text/SpannableString;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 4

    .line 1273
    invoke-super {p0, p1, p2, p3}, Lcom/moji/forum/base/ForumBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    const/16 v0, 0x7b

    const/4 v1, -0x1

    const/4 v2, 0x1

    const/4 v3, 0x0

    if-eq p1, v0, :cond_9

    const/16 v0, 0x2a5

    if-eq p1, v0, :cond_4

    const/16 v0, 0x2a7

    if-eq p1, v0, :cond_0

    goto/16 :goto_5

    :cond_0
    if-nez p2, :cond_f

    if-eqz p3, :cond_3

    :try_start_0
    const-string p1, "total_iamge_id"

    .line 1297
    invoke-virtual {p3, p1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object p1

    if-nez p1, :cond_1

    goto :goto_0

    .line 1299
    :cond_1
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->clear()V

    const-string p1, "total_iamge_id"

    .line 1300
    invoke-virtual {p3, p1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object p1

    check-cast p1, Ljava/util/ArrayList;

    iput-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    .line 1301
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result p1

    iget p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->picNumLimit:I

    if-ge p1, p2, :cond_2

    .line 1302
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    new-instance p2, Lcom/moji/http/ugc/bean/ImageInfo;

    invoke-direct {p2, v2}, Lcom/moji/http/ugc/bean/ImageInfo;-><init>(I)V

    invoke-virtual {p1, p2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 1304
    :cond_2
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->an:Lcom/moji/forum/ui/ImageAdapter;

    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    invoke-virtual {p1, p2}, Lcom/moji/forum/ui/ImageAdapter;->a(Ljava/util/ArrayList;)V

    .line 1305
    invoke-direct {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->n()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 1308
    :catch_0
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->an:Lcom/moji/forum/ui/ImageAdapter;

    invoke-virtual {p1}, Lcom/moji/forum/ui/ImageAdapter;->notifyDataSetChanged()V

    goto/16 :goto_5

    :cond_3
    :goto_0
    return-void

    :cond_4
    if-ne p2, v1, :cond_f

    .line 1277
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aM:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result p1

    const/16 p2, 0x14

    if-lt p1, p2, :cond_5

    .line 1278
    sget p1, Lcom/moji/forum/R$string;->at_more_than_limit_people:I

    invoke-static {p0, p1, v3}, Lcom/moji/forum/common/ToastUtil;->a(Landroid/content/Context;II)V

    return-void

    :cond_5
    if-nez p3, :cond_6

    return-void

    :cond_6
    const-string p1, "nickName"

    .line 1283
    invoke-virtual {p3, p1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    const-string p2, "snsId"

    .line 1284
    invoke-virtual {p3, p2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    if-eqz p1, :cond_8

    if-nez p2, :cond_7

    goto :goto_1

    .line 1287
    :cond_7
    iget-object p3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->aM:Ljava/util/ArrayList;

    invoke-static {p0, p1, p2, p3}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/util/ArrayList;)Landroid/graphics/Bitmap;

    move-result-object p1

    .line 1288
    new-instance p3, Landroid/text/SpannableString;

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, " @"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, " "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p3, v0}, Landroid/text/SpannableString;-><init>(Ljava/lang/CharSequence;)V

    .line 1289
    new-instance v0, Lcom/moji/forum/ui/MyImageSpan;

    invoke-direct {v0, p0, p1}, Lcom/moji/forum/ui/MyImageSpan;-><init>(Landroid/content/Context;Landroid/graphics/Bitmap;)V

    invoke-virtual {p2}, Ljava/lang/String;->length()I

    move-result p1

    add-int/lit8 p1, p1, 0x3

    const/16 p2, 0x21

    invoke-virtual {p3, v0, v3, p1, p2}, Landroid/text/SpannableString;->setSpan(Ljava/lang/Object;III)V

    .line 1290
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getEditableText()Landroid/text/Editable;

    move-result-object p1

    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p2}, Landroid/widget/EditText;->getSelectionStart()I

    move-result p2

    invoke-interface {p1, p2, p3}, Landroid/text/Editable;->insert(ILjava/lang/CharSequence;)Landroid/text/Editable;

    .line 1291
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->requestFocus()Z

    goto :goto_5

    :cond_8
    :goto_1
    return-void

    :cond_9
    if-ne p2, v1, :cond_f

    const-string p1, "result_extra_data"

    .line 1314
    invoke-virtual {p3, p1}, Landroid/content/Intent;->getParcelableArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object p1

    if-eqz p1, :cond_e

    .line 1315
    invoke-virtual {p1}, Ljava/util/ArrayList;->isEmpty()Z

    move-result p2

    if-eqz p2, :cond_a

    goto :goto_4

    .line 1318
    :cond_a
    invoke-virtual {p1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_b
    :goto_2
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result p2

    if-eqz p2, :cond_d

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Lcom/moji/camera/model/Image;

    .line 1319
    new-instance p3, Lcom/moji/http/ugc/bean/ImageInfo;

    iget-object p2, p2, Lcom/moji/camera/model/Image;->originalUri:Landroid/net/Uri;

    invoke-virtual {p2}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object p2

    const-wide/16 v0, 0xb

    invoke-direct {p3, p2, v3, v0, v1}, Lcom/moji/http/ugc/bean/ImageInfo;-><init>(Ljava/lang/String;IJ)V

    .line 1320
    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    sub-int/2addr v0, v2

    if-ltz v0, :cond_c

    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    sub-int/2addr v0, v2

    goto :goto_3

    :cond_c
    const/4 v0, 0x0

    :goto_3
    invoke-virtual {p2, v0, p3}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    .line 1321
    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result p2

    iget p3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->picNumLimit:I

    if-le p2, p3, :cond_b

    .line 1322
    iget-object p2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    iget-object p3, p0, Lcom/moji/forum/ui/VoteTopicActivity;->al:Ljava/util/ArrayList;

    invoke-virtual {p3}, Ljava/util/ArrayList;->size()I

    move-result p3

    sub-int/2addr p3, v2

    invoke-virtual {p2, p3}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    goto :goto_2

    .line 1324
    :cond_d
    invoke-direct {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->n()V

    .line 1325
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->an:Lcom/moji/forum/ui/ImageAdapter;

    invoke-virtual {p1}, Lcom/moji/forum/ui/ImageAdapter;->notifyDataSetChanged()V

    goto :goto_5

    :cond_e
    :goto_4
    return-void

    :cond_f
    :goto_5
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 5

    .line 1558
    invoke-static {}, Lcom/moji/forum/common/ForumUtil;->d()Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 1561
    :cond_0
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    .line 1562
    sget v1, Lcom/moji/forum/R$id;->iv_title_back:I

    if-ne v0, v1, :cond_1

    .line 1563
    invoke-direct {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->q()V

    goto/16 :goto_4

    .line 1564
    :cond_1
    sget v1, Lcom/moji/forum/R$id;->atBtn:I

    if-ne v0, v1, :cond_2

    .line 1565
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->C_AT_FRIENDS_SHOW:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "2"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 1567
    new-instance p1, Landroid/content/Intent;

    const-class v0, Lcom/moji/forum/ui/MyFriendActivity;

    invoke-direct {p1, p0, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v0, "from"

    const/4 v1, 0x2

    .line 1568
    invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const/16 v0, 0x2a5

    .line 1569
    invoke-virtual {p0, p1, v0}, Lcom/moji/forum/ui/VoteTopicActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto/16 :goto_4

    .line 1571
    :cond_2
    sget v1, Lcom/moji/forum/R$id;->emoticonBtn:I

    if-ne v0, v1, :cond_4

    .line 1572
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->D:Lcom/moji/forum/view/AutoHeightLayout;

    invoke-virtual {p1}, Lcom/moji/forum/view/AutoHeightLayout;->getKeyBoardState()I

    move-result p1

    packed-switch p1, :pswitch_data_0

    :pswitch_0
    goto/16 :goto_4

    .line 1582
    :pswitch_1
    iget p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mChildViewPosition:I

    sget v0, Lcom/moji/forum/ui/VoteTopicActivity;->FUNC_CHILD_VIEW_EMOTICON:I

    if-ne p1, v0, :cond_3

    .line 1583
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->B:Landroid/widget/ImageButton;

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

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

    .line 1584
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-static {p1}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/widget/EditText;)V

    goto/16 :goto_4

    .line 1587
    :cond_3
    sget p1, Lcom/moji/forum/ui/VoteTopicActivity;->FUNC_CHILD_VIEW_EMOTICON:I

    invoke-virtual {p0, p1}, Lcom/moji/forum/ui/VoteTopicActivity;->show(I)V

    .line 1588
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->B:Landroid/widget/ImageButton;

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

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

    goto/16 :goto_4

    .line 1575
    :pswitch_2
    sget p1, Lcom/moji/forum/ui/VoteTopicActivity;->FUNC_CHILD_VIEW_EMOTICON:I

    invoke-virtual {p0, p1}, Lcom/moji/forum/ui/VoteTopicActivity;->show(I)V

    .line 1576
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->B:Landroid/widget/ImageButton;

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

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

    .line 1578
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->D:Lcom/moji/forum/view/AutoHeightLayout;

    invoke-virtual {p1}, Lcom/moji/forum/view/AutoHeightLayout;->c()V

    .line 1579
    invoke-static {p0}, Lcom/moji/forum/common/ForumUtil;->c(Landroid/content/Context;)V

    goto/16 :goto_4

    .line 1593
    :cond_4
    sget v1, Lcom/moji/forum/R$id;->sendBtn0:I

    const/4 v2, 0x1

    if-eq v0, v1, :cond_18

    sget v1, Lcom/moji/forum/R$id;->sendBtn1:I

    if-ne v0, v1, :cond_5

    goto/16 :goto_2

    .line 1624
    :cond_5
    sget v1, Lcom/moji/forum/R$id;->iv_photo:I

    const/16 v3, 0x8

    const/4 v4, 0x0

    if-eq v0, v1, :cond_16

    sget v1, Lcom/moji/forum/R$id;->iv_photo_after_click:I

    if-ne v0, v1, :cond_6

    goto/16 :goto_1

    .line 1649
    :cond_6
    sget v1, Lcom/moji/forum/R$id;->tv_reply:I

    if-ne v0, v1, :cond_8

    .line 1655
    :try_start_0
    invoke-static {}, Lcom/moji/forum/common/ForumUtil;->a()Z

    move-result v0

    if-eqz v0, :cond_7

    .line 1656
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/moji/http/mqn/entity/TopicComment;

    .line 1657
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->H:Landroid/widget/RelativeLayout;

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

    .line 1658
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->H:Landroid/widget/RelativeLayout;

    iget-wide v1, p1, Lcom/moji/http/mqn/entity/TopicComment;->id:J

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setTag(Ljava/lang/Object;)V

    .line 1659
    iget-object v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->I:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

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

    sget v2, Lcom/moji/forum/R$string;->reply:I

    invoke-static {v2}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object p1, p1, Lcom/moji/http/mqn/entity/TopicComment;->nick:Ljava/lang/String;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, "\uff1a"

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1660
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->replyBarBeforeClick:Landroid/widget/LinearLayout;

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

    .line 1661
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->replyBarAfterClick:Landroid/widget/LinearLayout;

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

    .line 1662
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-static {p1}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/widget/EditText;)V

    goto/16 :goto_4

    .line 1664
    :cond_7
    invoke-static {p0}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_4

    :catch_0
    move-exception p1

    const-string v0, "VOTE"

    .line 1667
    invoke-static {v0, p1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    goto/16 :goto_4

    .line 1670
    :cond_8
    sget v1, Lcom/moji/forum/R$id;->replyCancleBtn:I

    if-ne v0, v1, :cond_9

    .line 1671
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->H:Landroid/widget/RelativeLayout;

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

    goto/16 :goto_4

    .line 1674
    :cond_9
    sget v1, Lcom/moji/forum/R$id;->iv_report:I

    if-ne v0, v1, :cond_a

    .line 1675
    invoke-direct {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->p()V

    goto/16 :goto_4

    .line 1678
    :cond_a
    sget v1, Lcom/moji/forum/R$id;->iv_return_top:I

    if-ne v0, v1, :cond_b

    .line 1679
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->l:Landroid/widget/ListView;

    if-eqz p1, :cond_1e

    .line 1680
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->l:Landroid/widget/ListView;

    invoke-virtual {p1, v4, v4}, Landroid/widget/ListView;->setSelectionFromTop(II)V

    goto/16 :goto_4

    .line 1682
    :cond_b
    sget v1, Lcom/moji/forum/R$id;->riv_face:I

    if-ne v0, v1, :cond_c

    .line 1685
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    iget-object p1, p1, Lcom/moji/http/mqn/entity/Topic;->sns_id:Ljava/lang/String;

    invoke-static {p0, p1}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;Ljava/lang/String;)V

    goto/16 :goto_4

    .line 1686
    :cond_c
    sget v1, Lcom/moji/forum/R$id;->riv_item_face:I

    if-ne v0, v1, :cond_d

    .line 1687
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/moji/http/mqn/entity/TopicComment;

    .line 1688
    iget-object p1, p1, Lcom/moji/http/mqn/entity/TopicComment;->sns_id:Ljava/lang/String;

    invoke-static {p0, p1}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;Ljava/lang/String;)V

    goto/16 :goto_4

    .line 1690
    :cond_d
    sget p1, Lcom/moji/forum/R$id;->comment_num:I

    if-eq v0, p1, :cond_15

    sget p1, Lcom/moji/forum/R$id;->edit_comment0:I

    if-ne v0, p1, :cond_e

    goto :goto_0

    .line 1693
    :cond_e
    sget p1, Lcom/moji/forum/R$id;->btn_cancel:I

    if-ne v0, p1, :cond_f

    .line 1695
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->Y:Landroid/app/Dialog;

    if-eqz p1, :cond_1e

    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->Y:Landroid/app/Dialog;

    invoke-virtual {p1}, Landroid/app/Dialog;->isShowing()Z

    move-result p1

    if-eqz p1, :cond_1e

    .line 1696
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->Y:Landroid/app/Dialog;

    invoke-virtual {p1}, Landroid/app/Dialog;->dismiss()V

    goto/16 :goto_4

    .line 1699
    :cond_f
    sget p1, Lcom/moji/forum/R$id;->iv_empty_add_image:I

    if-ne v0, p1, :cond_11

    .line 1700
    invoke-static {}, Landroid/os/Environment;->getExternalStorageState()Ljava/lang/String;

    move-result-object p1

    const-string v0, "mounted"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_10

    .line 1701
    invoke-direct {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->l()V

    goto/16 :goto_4

    .line 1703
    :cond_10
    sget p1, Lcom/moji/forum/R$string;->rc_nosdcardOrProtocted:I

    invoke-virtual {p0, p1}, Lcom/moji/forum/ui/VoteTopicActivity;->getString(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p0, p1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/Toast;->show()V

    goto/16 :goto_4

    .line 1706
    :cond_11
    sget p1, Lcom/moji/forum/R$id;->iv_vote_agree:I

    if-ne v0, p1, :cond_13

    .line 1707
    invoke-static {}, Lcom/moji/forum/common/ForumUtil;->a()Z

    move-result p1

    if-eqz p1, :cond_12

    .line 1708
    invoke-virtual {p0, v2}, Lcom/moji/forum/ui/VoteTopicActivity;->a(Z)V

    goto/16 :goto_4

    .line 1710
    :cond_12
    invoke-static {p0}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;)V

    goto/16 :goto_4

    .line 1713
    :cond_13
    sget p1, Lcom/moji/forum/R$id;->iv_vote_not_agree:I

    if-ne v0, p1, :cond_1e

    .line 1714
    invoke-static {}, Lcom/moji/forum/common/ForumUtil;->a()Z

    move-result p1

    if-eqz p1, :cond_14

    .line 1715
    invoke-virtual {p0, v4}, Lcom/moji/forum/ui/VoteTopicActivity;->a(Z)V

    goto/16 :goto_4

    .line 1717
    :cond_14
    invoke-static {p0}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;)V

    goto/16 :goto_4

    .line 1691
    :cond_15
    :goto_0
    invoke-direct {p0, v2}, Lcom/moji/forum/ui/VoteTopicActivity;->c(Z)V

    goto/16 :goto_4

    .line 1627
    :cond_16
    :goto_1
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->CAMERA_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "2"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 1629
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->replyBarBeforeClick:Landroid/widget/LinearLayout;

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

    .line 1630
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->replyBarAfterClick:Landroid/widget/LinearLayout;

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

    .line 1631
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->D:Lcom/moji/forum/view/AutoHeightLayout;

    invoke-virtual {p1}, Lcom/moji/forum/view/AutoHeightLayout;->getKeyBoardState()I

    move-result p1

    packed-switch p1, :pswitch_data_1

    :pswitch_3
    goto/16 :goto_4

    .line 1640
    :pswitch_4
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->B:Landroid/widget/ImageButton;

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

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

    .line 1641
    iget p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mChildViewPosition:I

    sget v0, Lcom/moji/forum/ui/VoteTopicActivity;->FUNC_CHILD_VIEW_IMAGE:I

    if-ne p1, v0, :cond_17

    .line 1642
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->D:Lcom/moji/forum/view/AutoHeightLayout;

    invoke-virtual {p1}, Lcom/moji/forum/view/AutoHeightLayout;->b()V

    goto/16 :goto_4

    .line 1644
    :cond_17
    sget p1, Lcom/moji/forum/ui/VoteTopicActivity;->FUNC_CHILD_VIEW_IMAGE:I

    invoke-virtual {p0, p1}, Lcom/moji/forum/ui/VoteTopicActivity;->show(I)V

    goto/16 :goto_4

    .line 1634
    :pswitch_5
    sget p1, Lcom/moji/forum/ui/VoteTopicActivity;->FUNC_CHILD_VIEW_IMAGE:I

    invoke-virtual {p0, p1}, Lcom/moji/forum/ui/VoteTopicActivity;->show(I)V

    .line 1635
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->B:Landroid/widget/ImageButton;

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

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

    .line 1636
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->D:Lcom/moji/forum/view/AutoHeightLayout;

    invoke-virtual {p1}, Lcom/moji/forum/view/AutoHeightLayout;->c()V

    .line 1637
    invoke-static {p0}, Lcom/moji/forum/common/ForumUtil;->c(Landroid/content/Context;)V

    goto/16 :goto_4

    .line 1599
    :cond_18
    :goto_2
    invoke-static {}, Lcom/moji/tool/DeviceTool;->m()Z

    move-result p1

    if-nez p1, :cond_19

    .line 1600
    sget p1, Lcom/moji/forum/R$string;->network_exception:I

    invoke-static {p0, p1, v2}, Lcom/moji/forum/common/ToastUtil;->a(Landroid/content/Context;II)V

    goto/16 :goto_4

    .line 1601
    :cond_19
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object p1

    const-string v0, " "

    const-string v1, ""

    invoke-virtual {p1, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/moji/tool/TextUtil;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    const/4 v0, 0x3

    invoke-static {p1, v0}, Lcom/moji/tool/TextUtil;->b(Ljava/lang/String;I)Z

    move-result p1

    if-eqz p1, :cond_1a

    .line 1604
    sget p1, Lcom/moji/forum/R$string;->text_too_short:I

    invoke-static {p0, p1, v2}, Lcom/moji/forum/common/ToastUtil;->a(Landroid/content/Context;II)V

    goto :goto_4

    .line 1605
    :cond_1a
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    const/16 v0, 0x3e8

    invoke-static {p1, v0}, Lcom/moji/tool/TextUtil;->a(Ljava/lang/String;I)Z

    move-result p1

    if-eqz p1, :cond_1b

    .line 1608
    sget p1, Lcom/moji/forum/R$string;->content_is_too_more:I

    invoke-static {p0, p1, v2}, Lcom/moji/forum/common/ToastUtil;->a(Landroid/content/Context;II)V

    goto :goto_4

    .line 1610
    :cond_1b
    invoke-static {}, Lcom/moji/forum/common/ForumUtil;->a()Z

    move-result p1

    if-eqz p1, :cond_1d

    .line 1611
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->H:Landroid/widget/RelativeLayout;

    invoke-virtual {p1}, Landroid/widget/RelativeLayout;->getVisibility()I

    move-result p1

    if-nez p1, :cond_1c

    .line 1612
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->H:Landroid/widget/RelativeLayout;

    invoke-virtual {p1}, Landroid/widget/RelativeLayout;->getTag()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/Long;

    invoke-virtual {p1}, Ljava/lang/Long;->longValue()J

    move-result-wide v0

    .line 1613
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-direct {p0, v0, v1, p1}, Lcom/moji/forum/ui/VoteTopicActivity;->a(JLjava/lang/String;)V

    goto :goto_3

    :cond_1c
    const-wide/16 v0, -0x1

    .line 1615
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mEditContent1:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-direct {p0, v0, v1, p1}, Lcom/moji/forum/ui/VoteTopicActivity;->a(JLjava/lang/String;)V

    .line 1617
    :goto_3
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->D:Lcom/moji/forum/view/AutoHeightLayout;

    invoke-virtual {p1}, Lcom/moji/forum/view/AutoHeightLayout;->b()V

    .line 1618
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->B:Landroid/widget/ImageButton;

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

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

    goto :goto_4

    .line 1620
    :cond_1d
    invoke-static {p0}, Lcom/moji/forum/common/ForumUtil;->a(Landroid/content/Context;)V

    :cond_1e
    :goto_4
    return-void

    :pswitch_data_0
    .packed-switch 0x64
        :pswitch_2
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch

    :pswitch_data_1
    .packed-switch 0x64
        :pswitch_5
        :pswitch_3
        :pswitch_4
        :pswitch_5
    .end packed-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    .line 247
    invoke-super {p0, p1}, Lcom/moji/forum/base/ForumBaseActivity;->onCreate(Landroid/os/Bundle;)V

    .line 248
    invoke-static {}, Lcom/moji/tool/DeviceTool;->C()Z

    move-result p1

    if-eqz p1, :cond_1

    .line 250
    sget p1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v0, 0x15

    if-lt p1, v0, :cond_0

    .line 251
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getWindow()Landroid/view/Window;

    move-result-object p1

    const/high16 v0, -0x80000000

    .line 252
    invoke-virtual {p1, v0}, Landroid/view/Window;->clearFlags(I)V

    .line 254
    :cond_0
    invoke-virtual {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->getWindow()Landroid/view/Window;

    move-result-object p1

    const/high16 v0, 0x4000000

    invoke-virtual {p1, v0}, Landroid/view/Window;->addFlags(I)V

    :cond_1
    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .line 288
    invoke-super {p0}, Lcom/moji/forum/base/ForumBaseActivity;->onDestroy()V

    const/4 v0, 0x1

    .line 289
    iput-boolean v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->L:Z

    return-void
.end method

.method public onItemLongClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)Z
    .locals 17
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView<",
            "*>;",
            "Landroid/view/View;",
            "IJ)Z"
        }
    .end annotation

    move-object/from16 v6, p0

    move-wide/from16 v0, p4

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-ltz v4, :cond_2

    .line 1906
    :try_start_0
    iget-object v2, v6, Lcom/moji/forum/ui/VoteTopicActivity;->y:Ljava/util/ArrayList;

    long-to-int v0, v0

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/moji/http/mqn/entity/TopicComment;

    if-eqz v0, :cond_3

    .line 1908
    new-instance v1, Landroid/app/Dialog;

    sget v2, Lcom/moji/forum/R$style;->dialog_report:I

    invoke-direct {v1, v6, v2}, Landroid/app/Dialog;-><init>(Landroid/content/Context;I)V

    .line 1909
    invoke-static/range {p0 .. p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v2

    sget v3, Lcom/moji/forum/R$layout;->sns_picture_menu:I

    const/4 v4, 0x0

    invoke-virtual {v2, v3, v4}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    .line 1910
    invoke-virtual {v1, v2}, Landroid/app/Dialog;->setContentView(Landroid/view/View;)V

    .line 1911
    sget v3, Lcom/moji/forum/R$id;->tv_send_comment_like:I

    invoke-virtual {v2, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    .line 1912
    sget v4, Lcom/moji/forum/R$id;->iv_send_comment_like:I

    invoke-virtual {v2, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/ImageView;

    .line 1913
    sget v5, Lcom/moji/forum/R$id;->btn_save_to_sd:I

    invoke-virtual {v2, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    .line 1914
    sget v8, Lcom/moji/forum/R$id;->iv_save_to_sd:I

    invoke-virtual {v2, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/ImageView;

    .line 1915
    sget v9, Lcom/moji/forum/R$id;->btn_report:I

    invoke-virtual {v2, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/TextView;

    .line 1916
    sget v10, Lcom/moji/forum/R$id;->iv_report:I

    invoke-virtual {v2, v10}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v10

    check-cast v10, Landroid/widget/ImageView;

    .line 1917
    sget v11, Lcom/moji/forum/R$id;->btn_delete:I

    invoke-virtual {v2, v11}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v11

    check-cast v11, Landroid/widget/TextView;

    .line 1918
    sget v12, Lcom/moji/forum/R$id;->iv_delete:I

    invoke-virtual {v2, v12}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v12

    check-cast v12, Landroid/widget/ImageView;

    .line 1919
    sget v13, Lcom/moji/forum/R$id;->btn_cancle:I

    invoke-virtual {v2, v13}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v13

    check-cast v13, Landroid/widget/TextView;

    .line 1920
    sget v14, Lcom/moji/forum/R$id;->btn_gag:I

    invoke-virtual {v2, v14}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v14

    check-cast v14, Landroid/widget/TextView;

    .line 1921
    sget v15, Lcom/moji/forum/R$id;->iv_gag:I

    invoke-virtual {v2, v15}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v15

    check-cast v15, Landroid/widget/ImageView;

    .line 1922
    sget v7, Lcom/moji/forum/R$id;->btn_ungag:I

    invoke-virtual {v2, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    move-object/from16 v16, v1

    .line 1923
    sget v1, Lcom/moji/forum/R$id;->iv_ungag:I

    invoke-virtual {v2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    const/16 v2, 0x8

    .line 1925
    invoke-virtual {v3, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1926
    invoke-virtual {v4, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    const/4 v3, 0x0

    .line 1927
    invoke-virtual {v5, v3}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1928
    sget v4, Lcom/moji/forum/R$string;->reply:I

    invoke-virtual {v5, v4}, Landroid/widget/TextView;->setText(I)V

    .line 1929
    invoke-virtual {v8, v3}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 1930
    invoke-virtual {v14, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1931
    invoke-virtual {v15, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 1932
    invoke-virtual {v7, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1933
    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 1934
    invoke-virtual {v13, v3}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1936
    iget-object v1, v0, Lcom/moji/http/mqn/entity/TopicComment;->sns_id:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, v0, Lcom/moji/http/mqn/entity/TopicComment;->sns_id:Ljava/lang/String;

    invoke-static {}, Lcom/moji/forum/common/ForumUtil;->b()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 1937
    invoke-virtual {v9, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1938
    invoke-virtual {v10, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    const/4 v1, 0x0

    .line 1939
    invoke-virtual {v11, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1940
    invoke-virtual {v12, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    .line 1942
    invoke-virtual {v9, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1943
    invoke-virtual {v10, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 1944
    invoke-virtual {v11, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1945
    invoke-virtual {v12, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 1946
    sget v1, Lcom/moji/forum/R$string;->report:I

    invoke-virtual {v9, v1}, Landroid/widget/TextView;->setText(I)V

    .line 1948
    :goto_0
    iget-object v1, v6, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    if-eqz v1, :cond_1

    iget-object v1, v6, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    iget-boolean v1, v1, Lcom/moji/http/mqn/entity/Topic;->is_moderator:Z

    if-eqz v1, :cond_1

    const/4 v1, 0x0

    .line 1949
    invoke-virtual {v11, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1950
    invoke-virtual {v12, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 1952
    :cond_1
    new-instance v1, Lcom/moji/forum/ui/VoteTopicActivity$21;

    move-object/from16 v2, v16

    invoke-direct {v1, v6, v2, v0}, Lcom/moji/forum/ui/VoteTopicActivity$21;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;Landroid/app/Dialog;Lcom/moji/http/mqn/entity/TopicComment;)V

    invoke-virtual {v11, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 1960
    new-instance v1, Lcom/moji/forum/ui/VoteTopicActivity$22;

    invoke-direct {v1, v6, v2, v0}, Lcom/moji/forum/ui/VoteTopicActivity$22;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;Landroid/app/Dialog;Lcom/moji/http/mqn/entity/TopicComment;)V

    invoke-virtual {v9, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 1972
    new-instance v1, Lcom/moji/forum/ui/VoteTopicActivity$23;

    invoke-direct {v1, v6, v2}, Lcom/moji/forum/ui/VoteTopicActivity$23;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;Landroid/app/Dialog;)V

    invoke-virtual {v13, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 1979
    new-instance v1, Lcom/moji/forum/ui/VoteTopicActivity$24;

    invoke-direct {v1, v6, v2, v0}, Lcom/moji/forum/ui/VoteTopicActivity$24;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;Landroid/app/Dialog;Lcom/moji/http/mqn/entity/TopicComment;)V

    invoke-virtual {v5, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 1994
    invoke-virtual {v2}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v0

    invoke-static {}, Lcom/moji/tool/DeviceTool;->b()I

    move-result v1

    int-to-float v1, v1

    const v3, 0x3f3c71c7

    mul-float v1, v1, v3

    float-to-int v1, v1

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->width:I

    const/4 v0, 0x1

    .line 1995
    invoke-virtual {v2, v0}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V

    .line 1996
    invoke-virtual {v2}, Landroid/app/Dialog;->show()V

    goto :goto_1

    :cond_2
    const-wide/16 v2, -0x1

    cmp-long v4, v0, v2

    if-nez v4, :cond_3

    .line 1999
    iget-object v0, v6, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    iget-object v1, v0, Lcom/moji/http/mqn/entity/Topic;->sns_id:Ljava/lang/String;

    iget-object v0, v6, Lcom/moji/forum/ui/VoteTopicActivity;->v:Lcom/moji/http/mqn/entity/Topic;

    iget-object v2, v0, Lcom/moji/http/mqn/entity/Topic;->id:Ljava/lang/String;

    const/4 v3, 0x0

    const/4 v4, 0x1

    new-instance v5, Lcom/moji/forum/ui/VoteTopicActivity$25;

    invoke-direct {v5, v6}, Lcom/moji/forum/ui/VoteTopicActivity$25;-><init>(Lcom/moji/forum/ui/VoteTopicActivity;)V

    move-object/from16 v0, p0

    invoke-static/range {v0 .. v5}, Lcom/moji/forum/ui/CommonLongClickDialog;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLcom/moji/forum/ui/CommonLongClickDialog$OnLongClickResultListener;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :cond_3
    :goto_1
    const/4 v0, 0x0

    return v0
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 1

    const/4 v0, 0x4

    if-eq p1, v0, :cond_0

    .line 2039
    invoke-super {p0, p1, p2}, Lcom/moji/forum/base/ForumBaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result p1

    return p1

    .line 2036
    :cond_0
    invoke-direct {p0}, Lcom/moji/forum/ui/VoteTopicActivity;->q()V

    .line 2037
    invoke-super {p0, p1, p2}, Lcom/moji/forum/base/ForumBaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result p1

    return p1
.end method

.method protected onPause()V
    .locals 5

    .line 267
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iget-wide v2, p0, Lcom/moji/forum/ui/VoteTopicActivity;->R:J

    sub-long/2addr v0, v2

    .line 268
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object v2

    sget-object v3, Lcom/moji/statistics/EVENT_TAG;->CIRCLE_POSTDETAIL_STAY_TIME:Lcom/moji/statistics/EVENT_TAG;

    iget-object v4, p0, Lcom/moji/forum/ui/VoteTopicActivity;->k:Ljava/lang/String;

    invoke-virtual {v2, v3, v4, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;J)Lcom/moji/statistics/EventManager;

    .line 269
    invoke-super {p0}, Lcom/moji/forum/base/ForumBaseActivity;->onPause()V

    return-void
.end method

.method protected onResume()V
    .locals 2

    .line 260
    invoke-super {p0}, Lcom/moji/forum/base/ForumBaseActivity;->onResume()V

    .line 261
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->R:J

    return-void
.end method

.method protected onStart()V
    .locals 2

    .line 753
    invoke-super {p0}, Lcom/moji/forum/base/ForumBaseActivity;->onStart()V

    .line 754
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/moji/forum/ui/VoteTopicActivity;->Q:J

    return-void
.end method

.method public show(I)V
    .locals 2

    .line 1857
    iput p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->mChildViewPosition:I

    const/16 v0, 0x8

    const/4 v1, 0x0

    packed-switch p1, :pswitch_data_0

    goto :goto_0

    .line 1865
    :pswitch_0
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ag:Landroid/widget/RelativeLayout;

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

    .line 1866
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->z:Lcom/moji/emotion/EmotionFragment;

    invoke-virtual {p1, v0}, Lcom/moji/emotion/EmotionFragment;->a(I)V

    .line 1867
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ae:Landroid/widget/LinearLayout;

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

    goto :goto_0

    .line 1860
    :pswitch_1
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ag:Landroid/widget/RelativeLayout;

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

    .line 1861
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->z:Lcom/moji/emotion/EmotionFragment;

    invoke-virtual {p1, v1}, Lcom/moji/emotion/EmotionFragment;->a(I)V

    .line 1862
    iget-object p1, p0, Lcom/moji/forum/ui/VoteTopicActivity;->ae:Landroid/widget/LinearLayout;

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

    :goto_0
    return-void

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
