.class public Lcom/moji/newliveview/subject/presenter/SubjectPresenter; .super Lcom/moji/base/MJPresenter; .source "SubjectPresenter.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/moji/newliveview/subject/presenter/SubjectPresenter$SubjectCallback; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lcom/moji/base/MJPresenter<", "Lcom/moji/newliveview/subject/presenter/SubjectPresenter$SubjectCallback;", ">;" } .end annotation # instance fields .field private b:Z .field private c:Z .field private d:Ljava/lang/String; .field private e:Z .field private f:Z .field private g:Z .field private h:Z # direct methods .method public constructor (Lcom/moji/newliveview/subject/presenter/SubjectPresenter$SubjectCallback;)V .locals 0 .line 37 invoke-direct {p0, p1}, Lcom/moji/base/MJPresenter;->(Lcom/moji/base/MJPresenter$ICallback;)V .line 38 iput-object p1, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-void .end method .method static synthetic a(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic a(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;Ljava/lang/String;)Ljava/lang/String; .locals 0 .line 30 iput-object p1, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->d:Ljava/lang/String; return-object p1 .end method .method static synthetic a(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;Z)Z .locals 0 .line 30 iput-boolean p1, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->b:Z return p1 .end method .method static synthetic b(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic b(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;Z)Z .locals 0 .line 30 iput-boolean p1, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->c:Z return p1 .end method .method static synthetic c(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic c(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;Z)Z .locals 0 .line 30 iput-boolean p1, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->e:Z return p1 .end method .method static synthetic d(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic d(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;Z)Z .locals 0 .line 30 iput-boolean p1, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->f:Z return p1 .end method .method static synthetic e(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic e(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;Z)Z .locals 0 .line 30 iput-boolean p1, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->g:Z return p1 .end method .method static synthetic f(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic f(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;Z)Z .locals 0 .line 30 iput-boolean p1, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->h:Z return p1 .end method .method static synthetic g(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic h(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic i(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic j(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic k(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic l(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic m(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic n(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic o(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic p(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic q(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic r(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic s(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic t(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic u(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic v(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Lcom/moji/base/MJPresenter$ICallback; .locals 0 .line 30 iget-object p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->a:Lcom/moji/base/MJPresenter$ICallback; return-object p0 .end method .method static synthetic w(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)Z .locals 0 .line 30 iget-boolean p0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->g:Z return p0 .end method # virtual methods .method public a()V .locals 1 const/4 v0, 0x0 .line 121 iput-object v0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->d:Ljava/lang/String; return-void .end method .method public a(J)V .locals 8 .line 82 iget-boolean v0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->c:Z if-eqz v0, :cond_0 return-void :cond_0 const/4 v0, 0x1 .line 85 iput-boolean v0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->c:Z .line 86 iget-object v1, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->d:Ljava/lang/String; invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z move-result v1 xor-int/lit8 v5, v1, 0x1 .line 87 new-instance v0, Lcom/moji/http/snsforum/SubjectCommentListRequest; const/16 v6, 0x14 iget-object v7, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->d:Ljava/lang/String; move-object v2, v0 move-wide v3, p1 invoke-direct/range {v2 .. v7}, Lcom/moji/http/snsforum/SubjectCommentListRequest;->(JIILjava/lang/String;)V .line 88 new-instance p1, Lcom/moji/newliveview/subject/presenter/SubjectPresenter$2; invoke-direct {p1, p0}, Lcom/moji/newliveview/subject/presenter/SubjectPresenter$2;->(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)V invoke-virtual {v0, p1}, Lcom/moji/http/snsforum/SubjectCommentListRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V return-void .end method .method public a(JJJ)V .locals 8 .line 157 new-instance v7, Lcom/moji/http/snsforum/SubjectCommentDeleteRequest; move-object v0, v7 move-wide v1, p1 move-wide v3, p3 move-wide v5, p5 invoke-direct/range {v0 .. v6}, Lcom/moji/http/snsforum/SubjectCommentDeleteRequest;->(JJJ)V .line 158 new-instance p1, Lcom/moji/newliveview/subject/presenter/SubjectPresenter$4; move-object v0, p1 move-object v1, p0 move-wide v2, p3 move-wide v4, p5 invoke-direct/range {v0 .. v5}, Lcom/moji/newliveview/subject/presenter/SubjectPresenter$4;->(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;JJ)V invoke-virtual {v7, p1}, Lcom/moji/http/snsforum/SubjectCommentDeleteRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V return-void .end method .method public a(JLcom/moji/common/area/AreaInfo;)V .locals 1 .line 42 iget-boolean v0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->b:Z if-eqz v0, :cond_0 return-void :cond_0 const/4 v0, 0x1 .line 45 iput-boolean v0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->b:Z .line 46 new-instance v0, Lcom/moji/http/snsforum/SubjectDetailRequest; if-eqz p3, :cond_1 iget p3, p3, Lcom/moji/common/area/AreaInfo;->cityId:I goto :goto_0 :cond_1 const/4 p3, -0x1 :goto_0 invoke-direct {v0, p1, p2, p3}, Lcom/moji/http/snsforum/SubjectDetailRequest;->(JI)V .line 47 new-instance p1, Lcom/moji/newliveview/subject/presenter/SubjectPresenter$1; invoke-direct {p1, p0}, Lcom/moji/newliveview/subject/presenter/SubjectPresenter$1;->(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)V invoke-virtual {v0, p1}, Lcom/moji/http/snsforum/SubjectDetailRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V return-void .end method .method public a(Landroid/view/View;)V .locals 4 .line 189 iget-boolean v0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->e:Z if-eqz v0, :cond_0 return-void .line 192 :cond_0 invoke-static {}, Lcom/moji/tool/DeviceTool;->b()I move-result v0 invoke-virtual {p1}, Landroid/view/View;->getWidth()I move-result v1 sub-int/2addr v0, v1 .line 193 invoke-virtual {p1}, Landroid/view/View;->getX()F move-result v1 .line 194 iget-boolean v2, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->f:Z if-nez v2, :cond_1 int-to-float v2, v0 cmpl-float v2, v1, v2 if-nez v2, :cond_1 return-void :cond_1 const/4 v2, 0x2 .line 197 new-array v2, v2, [F const/4 v3, 0x0 aput v1, v2, v3 const/4 v1, 0x1 int-to-float v0, v0 aput v0, v2, v1 invoke-static {v2}, Landroid/animation/ValueAnimator;->ofFloat([F)Landroid/animation/ValueAnimator; move-result-object v0 const-wide/16 v1, 0x2bc .line 198 invoke-virtual {v0, v1, v2}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator; .line 199 new-instance v1, Lcom/moji/newliveview/subject/presenter/SubjectPresenter$5; invoke-direct {v1, p0, p1}, Lcom/moji/newliveview/subject/presenter/SubjectPresenter$5;->(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;Landroid/view/View;)V invoke-virtual {v0, v1}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V .line 207 invoke-virtual {v0}, Landroid/animation/ValueAnimator;->start()V return-void .end method .method public a(Landroid/view/View;Landroid/view/View;)V .locals 5 .line 233 iget-boolean v0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->g:Z if-eqz v0, :cond_0 return-void .line 236 :cond_0 invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent; move-result-object v0 check-cast v0, Landroid/view/View; if-nez v0, :cond_1 return-void .line 240 :cond_1 invoke-virtual {v0}, Landroid/view/View;->getHeight()I move-result v0 invoke-virtual {p1}, Landroid/view/View;->getHeight()I move-result v1 sub-int/2addr v0, v1 .line 241 invoke-virtual {p1}, Landroid/view/View;->getY()F move-result v1 .line 242 iget-boolean v2, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->h:Z if-nez v2, :cond_2 int-to-float v2, v0 cmpl-float v2, v1, v2 if-nez v2, :cond_2 return-void .line 245 :cond_2 invoke-virtual {p1}, Landroid/view/View;->getHeight()I move-result v2 const/4 v3, 0x2 .line 246 new-array v3, v3, [F const/4 v4, 0x0 aput v1, v3, v4 const/4 v1, 0x1 int-to-float v0, v0 aput v0, v3, v1 invoke-static {v3}, Landroid/animation/ValueAnimator;->ofFloat([F)Landroid/animation/ValueAnimator; move-result-object v0 const-wide/16 v3, 0x64 .line 247 invoke-virtual {v0, v3, v4}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator; .line 248 new-instance v1, Lcom/moji/newliveview/subject/presenter/SubjectPresenter$7; invoke-direct {v1, p0, p2, v2, p1}, Lcom/moji/newliveview/subject/presenter/SubjectPresenter$7;->(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;Landroid/view/View;ILandroid/view/View;)V invoke-virtual {v0, v1}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V .line 259 invoke-virtual {v0}, Landroid/animation/ValueAnimator;->start()V return-void .end method .method public a(Ljava/lang/String;JJJILjava/lang/String;)V .locals 12 .line 125 new-instance v11, Lcom/moji/http/snsforum/SubjectCommentAddRequest; move/from16 v0, p8 int-to-long v8, v0 move-object v0, v11 move-wide v1, p2 move-wide/from16 v3, p4 move-wide/from16 v5, p6 move-object v7, p1 move-object/from16 v10, p9 invoke-direct/range {v0 .. v10}, Lcom/moji/http/snsforum/SubjectCommentAddRequest;->(JJJLjava/lang/String;JLjava/lang/String;)V .line 126 new-instance v0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter$3; move-object v1, p0 invoke-direct {v0, p0}, Lcom/moji/newliveview/subject/presenter/SubjectPresenter$3;->(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;)V invoke-virtual {v11, v0}, Lcom/moji/http/snsforum/SubjectCommentAddRequest;->a(Lcom/moji/requestcore/MJBaseHttpCallback;)V return-void .end method .method public b(Landroid/view/View;)V .locals 4 .line 211 iget-boolean v0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->f:Z if-eqz v0, :cond_0 return-void .line 214 :cond_0 invoke-static {}, Lcom/moji/tool/DeviceTool;->b()I move-result v0 .line 215 invoke-virtual {p1}, Landroid/view/View;->getX()F move-result v1 .line 216 iget-boolean v2, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->e:Z if-nez v2, :cond_1 int-to-float v2, v0 cmpl-float v2, v1, v2 if-nez v2, :cond_1 return-void :cond_1 const/4 v2, 0x2 .line 219 new-array v2, v2, [F const/4 v3, 0x0 aput v1, v2, v3 const/4 v1, 0x1 int-to-float v0, v0 aput v0, v2, v1 invoke-static {v2}, Landroid/animation/ValueAnimator;->ofFloat([F)Landroid/animation/ValueAnimator; move-result-object v0 const-wide/16 v1, 0x2bc .line 220 invoke-virtual {v0, v1, v2}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator; .line 221 new-instance v1, Lcom/moji/newliveview/subject/presenter/SubjectPresenter$6; invoke-direct {v1, p0, p1}, Lcom/moji/newliveview/subject/presenter/SubjectPresenter$6;->(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;Landroid/view/View;)V invoke-virtual {v0, v1}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V .line 229 invoke-virtual {v0}, Landroid/animation/ValueAnimator;->start()V return-void .end method .method public b(Landroid/view/View;Landroid/view/View;)V .locals 4 .line 263 iget-boolean v0, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->h:Z if-eqz v0, :cond_0 return-void .line 266 :cond_0 invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent; move-result-object v0 check-cast v0, Landroid/view/View; if-nez v0, :cond_1 return-void .line 270 :cond_1 invoke-virtual {v0}, Landroid/view/View;->getHeight()I move-result v0 .line 271 invoke-virtual {p1}, Landroid/view/View;->getY()F move-result v1 .line 272 iget-boolean v2, p0, Lcom/moji/newliveview/subject/presenter/SubjectPresenter;->g:Z if-nez v2, :cond_2 int-to-float v2, v0 cmpl-float v2, v1, v2 if-nez v2, :cond_2 return-void :cond_2 const/4 v2, 0x2 .line 275 new-array v2, v2, [F const/4 v3, 0x0 aput v1, v2, v3 const/4 v1, 0x1 int-to-float v0, v0 aput v0, v2, v1 invoke-static {v2}, Landroid/animation/ValueAnimator;->ofFloat([F)Landroid/animation/ValueAnimator; move-result-object v0 const-wide/16 v1, 0x64 .line 276 invoke-virtual {v0, v1, v2}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator; .line 277 new-instance v1, Lcom/moji/newliveview/subject/presenter/SubjectPresenter$8; invoke-direct {v1, p0, p2, p1}, Lcom/moji/newliveview/subject/presenter/SubjectPresenter$8;->(Lcom/moji/newliveview/subject/presenter/SubjectPresenter;Landroid/view/View;Landroid/view/View;)V invoke-virtual {v0, v1}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V .line 286 invoke-virtual {v0}, Landroid/animation/ValueAnimator;->start()V return-void .end method