SmartRefreshLayout$c.smali
.class public Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;
.super Ljava/lang/Object;
.source "SmartRefreshLayout.java"
# interfaces
.implements Lcom/scwang/smartrefresh/layout/a/i;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "c"
.end annotation
# instance fields
.field final synthetic a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
# direct methods
.method public constructor <init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(I)Landroid/animation/ValueAnimator;
.registers 6
.line 144
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mReboundInterpolator:Landroid/view/animation/Interpolator;
iget v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mReboundDuration:I
const/4 v3, 0x0
invoke-virtual {v0, p1, v3, v1, v2}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->animSpinner(IILandroid/view/animation/Interpolator;I)Landroid/animation/ValueAnimator;
move-result-object p1
return-object p1
.end method
.method public a()Lcom/scwang/smartrefresh/layout/a/i;
.registers 4
.line 53
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
sget-object v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->TwoLevel:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
if-ne v1, v2, :cond_2d
.line 54
iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mKernel:Lcom/scwang/smartrefresh/layout/a/i;
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->TwoLevelFinish:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-interface {v0, v1}, Lcom/scwang/smartrefresh/layout/a/i;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/i;
.line 55
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
const/4 v1, 0x0
if-nez v0, :cond_21
.line 56
invoke-virtual {p0, v1, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a(IZ)Lcom/scwang/smartrefresh/layout/a/i;
.line 57
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->None:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {v0, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->notifyStateChanged(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto :goto_2d
.line 58
:cond_21
invoke-virtual {p0, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a(I)Landroid/animation/ValueAnimator;
move-result-object v0
iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v1, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFloorDuration:I
int-to-long v1, v1
invoke-virtual {v0, v1, v2}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;
:cond_2d
:goto_2d
return-object p0
.end method
.method public a(IZ)Lcom/scwang/smartrefresh/layout/a/i;
.registers 21
move-object/from16 v0, p0
move/from16 v1, p1
.line 59
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v3, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
if-ne v3, v1, :cond_21
iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshHeader:Lcom/scwang/smartrefresh/layout/a/h;
if-eqz v2, :cond_14
.line 60
invoke-interface {v2}, Lcom/scwang/smartrefresh/layout/a/h;->isSupportHorizontalDrag()Z
move-result v2
if-nez v2, :cond_21
:cond_14
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
if-eqz v2, :cond_20
.line 61
invoke-interface {v2}, Lcom/scwang/smartrefresh/layout/a/h;->isSupportHorizontalDrag()Z
move-result v2
if-nez v2, :cond_21
:cond_20
return-object v0
.line 62
:cond_21
iget-object v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
.line 63
iget v10, v9, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
.line 64
iput v1, v9, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
if-eqz p2, :cond_89
.line 65
iget-object v2, v9, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mViceState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
iget-boolean v3, v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->isDragging:Z
if-nez v3, :cond_33
iget-boolean v2, v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->isOpening:Z
if-eqz v2, :cond_89
.line 66
:cond_33
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v3, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
int-to-float v4, v3
iget v5, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mHeaderHeight:I
int-to-float v5, v5
iget v6, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mHeaderTriggerRate:F
mul-float v5, v5, v6
cmpl-float v4, v4, v5
if-lez v4, :cond_51
.line 67
iget-object v3, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
sget-object v4, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->ReleaseToTwoLevel:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
if-eq v3, v4, :cond_89
.line 68
iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mKernel:Lcom/scwang/smartrefresh/layout/a/i;
sget-object v3, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->ReleaseToRefresh:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-interface {v2, v3}, Lcom/scwang/smartrefresh/layout/a/i;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/i;
goto :goto_89
:cond_51
neg-int v3, v3
int-to-float v3, v3
.line 69
iget v4, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterHeight:I
int-to-float v4, v4
iget v5, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterTriggerRate:F
mul-float v4, v4, v5
cmpl-float v3, v3, v4
if-lez v3, :cond_6a
iget-boolean v3, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterNoMoreData:Z
if-nez v3, :cond_6a
.line 70
iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mKernel:Lcom/scwang/smartrefresh/layout/a/i;
sget-object v3, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->ReleaseToLoad:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-interface {v2, v3}, Lcom/scwang/smartrefresh/layout/a/i;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/i;
goto :goto_89
.line 71
:cond_6a
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v3, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
if-gez v3, :cond_7c
iget-boolean v3, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterNoMoreData:Z
if-nez v3, :cond_7c
.line 72
iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mKernel:Lcom/scwang/smartrefresh/layout/a/i;
sget-object v3, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->PullUpToLoad:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-interface {v2, v3}, Lcom/scwang/smartrefresh/layout/a/i;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/i;
goto :goto_89
.line 73
:cond_7c
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v3, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
if-lez v3, :cond_89
.line 74
iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mKernel:Lcom/scwang/smartrefresh/layout/a/i;
sget-object v3, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->PullDownToRefresh:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-interface {v2, v3}, Lcom/scwang/smartrefresh/layout/a/i;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/i;
.line 75
:cond_89
:goto_89
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v3, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshContent:Lcom/scwang/smartrefresh/layout/a/e;
const/4 v11, 0x1
const/4 v12, 0x0
if-eqz v3, :cond_153
if-ltz v1, :cond_a6
.line 76
iget-object v3, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshHeader:Lcom/scwang/smartrefresh/layout/a/h;
if-eqz v3, :cond_a6
.line 77
iget-boolean v4, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableHeaderTranslationContent:Z
invoke-virtual {v2, v4, v3}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isEnableTranslationContent(ZLcom/scwang/smartrefresh/layout/a/h;)Z
move-result v2
if-eqz v2, :cond_a2
move v2, v1
:goto_a0
const/4 v3, 0x1
goto :goto_a8
:cond_a2
if-gez v10, :cond_a6
const/4 v2, 0x0
goto :goto_a0
:cond_a6
const/4 v2, 0x0
const/4 v3, 0x0
:goto_a8
if-gtz v1, :cond_bf
.line 78
iget-object v4, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v5, v4, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
if-eqz v5, :cond_bf
.line 79
iget-boolean v6, v4, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableFooterTranslationContent:Z
invoke-virtual {v4, v6, v5}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isEnableTranslationContent(ZLcom/scwang/smartrefresh/layout/a/h;)Z
move-result v4
if-eqz v4, :cond_bb
move v2, v1
:goto_b9
const/4 v3, 0x1
goto :goto_bf
:cond_bb
if-lez v10, :cond_bf
const/4 v2, 0x0
goto :goto_b9
:cond_bf
:goto_bf
if-eqz v3, :cond_153
.line 80
iget-object v3, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v4, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshContent:Lcom/scwang/smartrefresh/layout/a/e;
iget v5, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mHeaderTranslationViewId:I
iget v3, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterTranslationViewId:I
invoke-interface {v4, v2, v5, v3}, Lcom/scwang/smartrefresh/layout/a/e;->a(III)V
.line 81
iget-object v3, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v4, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterNoMoreData:Z
if-eqz v4, :cond_102
iget-boolean v4, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterNoMoreDataEffective:Z
if-eqz v4, :cond_102
iget-boolean v4, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableFooterFollowWhenNoMoreData:Z
if-eqz v4, :cond_102
iget-object v3, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
instance-of v4, v3, Lcom/scwang/smartrefresh/layout/a/f;
if-eqz v4, :cond_102
.line 82
invoke-interface {v3}, Lcom/scwang/smartrefresh/layout/a/h;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/b;
move-result-object v3
sget-object v4, Lcom/scwang/smartrefresh/layout/constant/b;->a:Lcom/scwang/smartrefresh/layout/constant/b;
if-ne v3, v4, :cond_102
iget-object v3, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v4, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableLoadMore:Z
.line 83
invoke-virtual {v3, v4}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isEnableRefreshOrLoadMore(Z)Z
move-result v3
if-eqz v3, :cond_102
.line 84
iget-object v3, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v3, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
invoke-interface {v3}, Lcom/scwang/smartrefresh/layout/a/h;->getView()Landroid/view/View;
move-result-object v3
invoke-static {v12, v2}, Ljava/lang/Math;->max(II)I
move-result v4
int-to-float v4, v4
invoke-virtual {v3, v4}, Landroid/view/View;->setTranslationY(F)V
.line 85
:cond_102
iget-object v3, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v4, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableClipHeaderWhenFixedBehind:Z
if-eqz v4, :cond_116
iget-object v3, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshHeader:Lcom/scwang/smartrefresh/layout/a/h;
if-eqz v3, :cond_116
invoke-interface {v3}, Lcom/scwang/smartrefresh/layout/a/h;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/b;
move-result-object v3
sget-object v4, Lcom/scwang/smartrefresh/layout/constant/b;->c:Lcom/scwang/smartrefresh/layout/constant/b;
if-ne v3, v4, :cond_116
const/4 v3, 0x1
goto :goto_117
:cond_116
const/4 v3, 0x0
:goto_117
if-nez v3, :cond_122
.line 86
iget-object v3, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v3, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mHeaderBackgroundColor:I
if-eqz v3, :cond_120
goto :goto_122
:cond_120
const/4 v3, 0x0
goto :goto_123
:cond_122
:goto_122
const/4 v3, 0x1
.line 87
:goto_123
iget-object v4, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v5, v4, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableClipFooterWhenFixedBehind:Z
if-eqz v5, :cond_137
iget-object v4, v4, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
if-eqz v4, :cond_137
invoke-interface {v4}, Lcom/scwang/smartrefresh/layout/a/h;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/b;
move-result-object v4
sget-object v5, Lcom/scwang/smartrefresh/layout/constant/b;->c:Lcom/scwang/smartrefresh/layout/constant/b;
if-ne v4, v5, :cond_137
const/4 v4, 0x1
goto :goto_138
:cond_137
const/4 v4, 0x0
:goto_138
if-nez v4, :cond_143
.line 88
iget-object v4, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v4, v4, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterBackgroundColor:I
if-eqz v4, :cond_141
goto :goto_143
:cond_141
const/4 v4, 0x0
goto :goto_144
:cond_143
:goto_143
const/4 v4, 0x1
:goto_144
if-eqz v3, :cond_14a
if-gez v2, :cond_150
if-gtz v10, :cond_150
:cond_14a
if-eqz v4, :cond_153
if-lez v2, :cond_150
if-gez v10, :cond_153
.line 89
:cond_150
invoke-virtual {v9}, Landroid/view/View;->invalidate()V
:cond_153
const/high16 v13, 0x3f800000 # 1.0f
const/high16 v14, 0x40000000 # 2.0f
if-gez v1, :cond_15b
if-lez v10, :cond_278
.line 90
:cond_15b
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshHeader:Lcom/scwang/smartrefresh/layout/a/h;
if-eqz v2, :cond_278
.line 91
invoke-static {v1, v12}, Ljava/lang/Math;->max(II)I
move-result v8
.line 92
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v15, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mHeaderHeight:I
int-to-float v3, v15
.line 93
iget v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mHeaderMaxDragRate:F
mul-float v3, v3, v2
float-to-int v7, v3
int-to-float v2, v8
mul-float v2, v2, v13
if-nez v15, :cond_176
const/4 v3, 0x1
goto :goto_177
:cond_176
move v3, v15
:goto_177
int-to-float v3, v3
div-float v16, v2, v3
.line 94
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v3, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableRefresh:Z
invoke-virtual {v2, v3}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isEnableRefreshOrLoadMore(Z)Z
move-result v2
if-nez v2, :cond_193
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
sget-object v3, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->RefreshFinish:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
if-ne v2, v3, :cond_18f
if-nez p2, :cond_18f
goto :goto_193
:cond_18f
move/from16 v17, v7
goto/16 :goto_258
.line 95
:cond_193
:goto_193
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v3, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
if-eq v10, v3, :cond_22f
.line 96
iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshHeader:Lcom/scwang/smartrefresh/layout/a/h;
invoke-interface {v2}, Lcom/scwang/smartrefresh/layout/a/h;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/b;
move-result-object v2
sget-object v3, Lcom/scwang/smartrefresh/layout/constant/b;->a:Lcom/scwang/smartrefresh/layout/constant/b;
if-ne v2, v3, :cond_1cb
.line 97
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshHeader:Lcom/scwang/smartrefresh/layout/a/h;
invoke-interface {v2}, Lcom/scwang/smartrefresh/layout/a/h;->getView()Landroid/view/View;
move-result-object v2
iget-object v3, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v3, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
int-to-float v3, v3
invoke-virtual {v2, v3}, Landroid/view/View;->setTranslationY(F)V
.line 98
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v3, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mHeaderBackgroundColor:I
if-eqz v3, :cond_21f
iget-object v3, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mPaint:Landroid/graphics/Paint;
if-eqz v3, :cond_21f
iget-boolean v3, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableHeaderTranslationContent:Z
iget-object v4, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshHeader:Lcom/scwang/smartrefresh/layout/a/h;
invoke-virtual {v2, v3, v4}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isEnableTranslationContent(ZLcom/scwang/smartrefresh/layout/a/h;)Z
move-result v2
if-nez v2, :cond_21f
.line 99
invoke-virtual {v9}, Landroid/view/View;->invalidate()V
goto :goto_21f
.line 100
:cond_1cb
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshHeader:Lcom/scwang/smartrefresh/layout/a/h;
invoke-interface {v2}, Lcom/scwang/smartrefresh/layout/a/h;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/b;
move-result-object v2
iget-boolean v2, v2, Lcom/scwang/smartrefresh/layout/constant/b;->i:Z
if-eqz v2, :cond_21f
.line 101
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshHeader:Lcom/scwang/smartrefresh/layout/a/h;
invoke-interface {v2}, Lcom/scwang/smartrefresh/layout/a/h;->getView()Landroid/view/View;
move-result-object v2
.line 102
invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v3
.line 103
instance-of v4, v3, Landroid/view/ViewGroup$MarginLayoutParams;
if-eqz v4, :cond_1ea
check-cast v3, Landroid/view/ViewGroup$MarginLayoutParams;
goto :goto_1ec
:cond_1ea
sget-object v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->sDefaultMarginLP:Landroid/view/ViewGroup$MarginLayoutParams;
.line 104
:goto_1ec
invoke-virtual {v2}, Landroid/view/View;->getMeasuredWidth()I
move-result v4
invoke-static {v4, v14}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v4
.line 105
iget-object v5, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v5, v5, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
iget v6, v3, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
sub-int/2addr v5, v6
iget v6, v3, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
sub-int/2addr v5, v6
invoke-static {v5, v12}, Ljava/lang/Math;->max(II)I
move-result v5
invoke-static {v5, v14}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v5
invoke-virtual {v2, v4, v5}, Landroid/view/View;->measure(II)V
.line 106
iget v4, v3, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
.line 107
iget v3, v3, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
iget-object v5, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v5, v5, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mHeaderInsetStart:I
add-int/2addr v3, v5
.line 108
invoke-virtual {v2}, Landroid/view/View;->getMeasuredWidth()I
move-result v5
add-int/2addr v5, v4
invoke-virtual {v2}, Landroid/view/View;->getMeasuredHeight()I
move-result v6
add-int/2addr v6, v3
invoke-virtual {v2, v4, v3, v5, v6}, Landroid/view/View;->layout(IIII)V
.line 109
:cond_21f
:goto_21f
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshHeader:Lcom/scwang/smartrefresh/layout/a/h;
move/from16 v3, p2
move/from16 v4, v16
move v5, v8
move v6, v15
move/from16 v17, v7
invoke-interface/range {v2 .. v7}, Lcom/scwang/smartrefresh/layout/a/h;->onMoving(ZFIII)V
goto :goto_231
:cond_22f
move/from16 v17, v7
:goto_231
if-eqz p2, :cond_258
.line 110
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshHeader:Lcom/scwang/smartrefresh/layout/a/h;
invoke-interface {v2}, Lcom/scwang/smartrefresh/layout/a/h;->isSupportHorizontalDrag()Z
move-result v2
if-eqz v2, :cond_258
.line 111
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mLastTouchX:F
float-to-int v2, v2
.line 112
invoke-virtual {v9}, Landroid/view/View;->getWidth()I
move-result v3
.line 113
iget-object v4, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v4, v4, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mLastTouchX:F
if-nez v3, :cond_24e
const/4 v5, 0x1
goto :goto_24f
:cond_24e
move v5, v3
:goto_24f
int-to-float v5, v5
div-float/2addr v4, v5
.line 114
iget-object v5, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v5, v5, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshHeader:Lcom/scwang/smartrefresh/layout/a/h;
invoke-interface {v5, v4, v2, v3}, Lcom/scwang/smartrefresh/layout/a/h;->onHorizontalDrag(FII)V
.line 115
:cond_258
:goto_258
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v3, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
if-eq v10, v3, :cond_278
iget-object v3, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mOnMultiPurposeListener:Lcom/scwang/smartrefresh/layout/b/c;
if-eqz v3, :cond_278
iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshHeader:Lcom/scwang/smartrefresh/layout/a/h;
instance-of v4, v2, Lcom/scwang/smartrefresh/layout/a/g;
if-eqz v4, :cond_278
.line 116
move-object v4, v2
check-cast v4, Lcom/scwang/smartrefresh/layout/a/g;
move-object v2, v3
move-object v3, v4
move/from16 v4, p2
move/from16 v5, v16
move v6, v8
move v7, v15
move/from16 v8, v17
invoke-interface/range {v2 .. v8}, Lcom/scwang/smartrefresh/layout/b/c;->a(Lcom/scwang/smartrefresh/layout/a/g;ZFIII)V
:cond_278
if-lez v1, :cond_27c
if-gez v10, :cond_394
.line 117
:cond_27c
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
if-eqz v2, :cond_394
.line 118
invoke-static {v1, v12}, Ljava/lang/Math;->min(II)I
move-result v1
neg-int v7, v1
.line 119
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v8, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterHeight:I
int-to-float v2, v8
.line 120
iget v1, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterMaxDragRate:F
mul-float v2, v2, v1
float-to-int v15, v2
int-to-float v1, v7
mul-float v1, v1, v13
if-nez v8, :cond_298
const/4 v2, 0x1
goto :goto_299
:cond_298
move v2, v8
:goto_299
int-to-float v2, v2
div-float v13, v1, v2
.line 121
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v2, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableLoadMore:Z
invoke-virtual {v1, v2}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isEnableRefreshOrLoadMore(Z)Z
move-result v1
if-nez v1, :cond_2b0
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v1, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
sget-object v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->LoadFinish:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
if-ne v1, v2, :cond_376
if-nez p2, :cond_376
.line 122
:cond_2b0
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v2, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
if-eq v10, v2, :cond_350
.line 123
iget-object v1, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
invoke-interface {v1}, Lcom/scwang/smartrefresh/layout/a/h;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/b;
move-result-object v1
sget-object v2, Lcom/scwang/smartrefresh/layout/constant/b;->a:Lcom/scwang/smartrefresh/layout/constant/b;
if-ne v1, v2, :cond_2e8
.line 124
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v1, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
invoke-interface {v1}, Lcom/scwang/smartrefresh/layout/a/h;->getView()Landroid/view/View;
move-result-object v1
iget-object v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
int-to-float v2, v2
invoke-virtual {v1, v2}, Landroid/view/View;->setTranslationY(F)V
.line 125
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v2, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterBackgroundColor:I
if-eqz v2, :cond_343
iget-object v2, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mPaint:Landroid/graphics/Paint;
if-eqz v2, :cond_343
iget-boolean v2, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableFooterTranslationContent:Z
iget-object v3, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
invoke-virtual {v1, v2, v3}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isEnableTranslationContent(ZLcom/scwang/smartrefresh/layout/a/h;)Z
move-result v1
if-nez v1, :cond_343
.line 126
invoke-virtual {v9}, Landroid/view/View;->invalidate()V
goto :goto_343
.line 127
:cond_2e8
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v1, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
invoke-interface {v1}, Lcom/scwang/smartrefresh/layout/a/h;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/b;
move-result-object v1
iget-boolean v1, v1, Lcom/scwang/smartrefresh/layout/constant/b;->i:Z
if-eqz v1, :cond_343
.line 128
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v1, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
invoke-interface {v1}, Lcom/scwang/smartrefresh/layout/a/h;->getView()Landroid/view/View;
move-result-object v1
.line 129
invoke-virtual {v1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v2
.line 130
instance-of v3, v2, Landroid/view/ViewGroup$MarginLayoutParams;
if-eqz v3, :cond_307
check-cast v2, Landroid/view/ViewGroup$MarginLayoutParams;
goto :goto_309
:cond_307
sget-object v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->sDefaultMarginLP:Landroid/view/ViewGroup$MarginLayoutParams;
.line 131
:goto_309
invoke-virtual {v1}, Landroid/view/View;->getMeasuredWidth()I
move-result v3
invoke-static {v3, v14}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v3
.line 132
iget-object v4, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v4, v4, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
neg-int v4, v4
iget v5, v2, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I
sub-int/2addr v4, v5
iget v5, v2, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
sub-int/2addr v4, v5
invoke-static {v4, v12}, Ljava/lang/Math;->max(II)I
move-result v4
invoke-static {v4, v14}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v4
invoke-virtual {v1, v3, v4}, Landroid/view/View;->measure(II)V
.line 133
iget v3, v2, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
.line 134
iget v2, v2, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
invoke-virtual {v9}, Landroid/view/View;->getMeasuredHeight()I
move-result v4
add-int/2addr v2, v4
iget-object v4, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v4, v4, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterInsetStart:I
sub-int/2addr v2, v4
.line 135
invoke-virtual {v1}, Landroid/view/View;->getMeasuredHeight()I
move-result v4
sub-int v4, v2, v4
invoke-virtual {v1}, Landroid/view/View;->getMeasuredWidth()I
move-result v5
add-int/2addr v5, v3
invoke-virtual {v1, v3, v4, v5, v2}, Landroid/view/View;->layout(IIII)V
.line 136
:cond_343
:goto_343
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v1, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
move/from16 v2, p2
move v3, v13
move v4, v7
move v5, v8
move v6, v15
invoke-interface/range {v1 .. v6}, Lcom/scwang/smartrefresh/layout/a/h;->onMoving(ZFIII)V
:cond_350
if-eqz p2, :cond_376
.line 137
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v1, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
invoke-interface {v1}, Lcom/scwang/smartrefresh/layout/a/h;->isSupportHorizontalDrag()Z
move-result v1
if-eqz v1, :cond_376
.line 138
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v1, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mLastTouchX:F
float-to-int v1, v1
.line 139
invoke-virtual {v9}, Landroid/view/View;->getWidth()I
move-result v2
.line 140
iget-object v3, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v3, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mLastTouchX:F
if-nez v2, :cond_36c
goto :goto_36d
:cond_36c
move v11, v2
:goto_36d
int-to-float v4, v11
div-float/2addr v3, v4
.line 141
iget-object v4, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v4, v4, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
invoke-interface {v4, v3, v1, v2}, Lcom/scwang/smartrefresh/layout/a/h;->onHorizontalDrag(FII)V
.line 142
:cond_376
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v2, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
if-eq v10, v2, :cond_394
iget-object v2, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mOnMultiPurposeListener:Lcom/scwang/smartrefresh/layout/b/c;
if-eqz v2, :cond_394
iget-object v1, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
instance-of v3, v1, Lcom/scwang/smartrefresh/layout/a/f;
if-eqz v3, :cond_394
.line 143
move-object v3, v1
check-cast v3, Lcom/scwang/smartrefresh/layout/a/f;
move-object v1, v2
move-object v2, v3
move/from16 v3, p2
move v4, v13
move v5, v7
move v6, v8
move v7, v15
invoke-interface/range {v1 .. v7}, Lcom/scwang/smartrefresh/layout/b/c;->a(Lcom/scwang/smartrefresh/layout/a/f;ZFIII)V
:cond_394
return-object v0
.end method
.method public a(Lcom/scwang/smartrefresh/layout/a/h;)Lcom/scwang/smartrefresh/layout/a/i;
.registers 4
.line 155
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshHeader:Lcom/scwang/smartrefresh/layout/a/h;
invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_19
.line 156
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mHeaderHeightStatus:Lcom/scwang/smartrefresh/layout/constant/a;
iget-boolean v1, v0, Lcom/scwang/smartrefresh/layout/constant/a;->o:Z
if-eqz v1, :cond_31
.line 157
invoke-virtual {v0}, Lcom/scwang/smartrefresh/layout/constant/a;->b()Lcom/scwang/smartrefresh/layout/constant/a;
move-result-object v0
iput-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mHeaderHeightStatus:Lcom/scwang/smartrefresh/layout/constant/a;
goto :goto_31
.line 158
:cond_19
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_31
.line 159
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterHeightStatus:Lcom/scwang/smartrefresh/layout/constant/a;
iget-boolean v1, v0, Lcom/scwang/smartrefresh/layout/constant/a;->o:Z
if-eqz v1, :cond_31
.line 160
invoke-virtual {v0}, Lcom/scwang/smartrefresh/layout/constant/a;->b()Lcom/scwang/smartrefresh/layout/constant/a;
move-result-object v0
iput-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterHeightStatus:Lcom/scwang/smartrefresh/layout/constant/a;
:cond_31
:goto_31
return-object p0
.end method
.method public a(Lcom/scwang/smartrefresh/layout/a/h;I)Lcom/scwang/smartrefresh/layout/a/i;
.registers 5
.line 145
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mPaint:Landroid/graphics/Paint;
if-nez v1, :cond_f
if-eqz p2, :cond_f
.line 146
new-instance v1, Landroid/graphics/Paint;
invoke-direct {v1}, Landroid/graphics/Paint;-><init>()V
iput-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mPaint:Landroid/graphics/Paint;
.line 147
:cond_f
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshHeader:Lcom/scwang/smartrefresh/layout/a/h;
invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1e
.line 148
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iput p2, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mHeaderBackgroundColor:I
goto :goto_2c
.line 149
:cond_1e
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_2c
.line 150
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iput p2, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterBackgroundColor:I
:cond_2c
:goto_2c
return-object p0
.end method
.method public a(Lcom/scwang/smartrefresh/layout/a/h;Z)Lcom/scwang/smartrefresh/layout/a/i;
.registers 4
.line 151
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshHeader:Lcom/scwang/smartrefresh/layout/a/h;
invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_f
.line 152
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iput-boolean p2, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mHeaderNeedTouchEventWhenRefreshing:Z
goto :goto_1d
.line 153
:cond_f
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mRefreshFooter:Lcom/scwang/smartrefresh/layout/a/h;
invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_1d
.line 154
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iput-boolean p2, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterNeedTouchEventWhenLoading:Z
:cond_1d
:goto_1d
return-object p0
.end method
.method public a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/i;
.registers 4
.line 1
sget-object v0, Lcom/scwang/smartrefresh/layout/a;->a:[I
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
move-result p1
aget p1, v0, p1
const/4 v0, 0x1
packed-switch p1, :pswitch_data_1dc
goto/16 :goto_1d9
.line 2
:pswitch_e
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->TwoLevel:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->notifyStateChanged(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto/16 :goto_1d9
.line 3
:pswitch_17
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->TwoLevelFinish:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->notifyStateChanged(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto/16 :goto_1d9
.line 4
:pswitch_20
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->TwoLevelReleased:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->notifyStateChanged(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto/16 :goto_1d9
.line 5
:pswitch_29
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->Loading:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
if-ne v0, v1, :cond_1d9
.line 6
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->LoadFinish:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->notifyStateChanged(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto/16 :goto_1d9
.line 7
:pswitch_38
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->Refreshing:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
if-ne v0, v1, :cond_1d9
.line 8
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->RefreshFinish:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->notifyStateChanged(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto/16 :goto_1d9
.line 9
:pswitch_47
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->setStateLoading(Z)V
goto/16 :goto_1d9
.line 10
:pswitch_4e
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->setStateRefreshing(Z)V
goto/16 :goto_1d9
.line 11
:pswitch_55
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->isOpening:Z
if-nez v0, :cond_6e
iget-boolean v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableLoadMore:Z
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isEnableRefreshOrLoadMore(Z)Z
move-result p1
if-eqz p1, :cond_6e
.line 12
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->LoadReleased:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->notifyStateChanged(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto/16 :goto_1d9
.line 13
:cond_6e
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->LoadReleased:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->setViceState(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto/16 :goto_1d9
.line 14
:pswitch_77
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->isOpening:Z
if-nez v0, :cond_90
iget-boolean v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableRefresh:Z
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isEnableRefreshOrLoadMore(Z)Z
move-result p1
if-eqz p1, :cond_90
.line 15
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->RefreshReleased:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->notifyStateChanged(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto/16 :goto_1d9
.line 16
:cond_90
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->RefreshReleased:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->setViceState(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto/16 :goto_1d9
.line 17
:pswitch_99
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->isOpening:Z
if-nez v0, :cond_b2
iget-boolean v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableRefresh:Z
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isEnableRefreshOrLoadMore(Z)Z
move-result p1
if-eqz p1, :cond_b2
.line 18
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->ReleaseToTwoLevel:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->notifyStateChanged(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto/16 :goto_1d9
.line 19
:cond_b2
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->ReleaseToTwoLevel:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->setViceState(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto/16 :goto_1d9
.line 20
:pswitch_bb
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableLoadMore:Z
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isEnableRefreshOrLoadMore(Z)Z
move-result p1
if-eqz p1, :cond_e6
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
iget-boolean v1, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->isOpening:Z
if-nez v1, :cond_e6
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->isFinishing:Z
if-nez v0, :cond_e6
iget-boolean v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterNoMoreData:Z
if-eqz v0, :cond_dd
iget-boolean v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableFooterFollowWhenNoMoreData:Z
if-eqz v0, :cond_dd
iget-boolean p1, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterNoMoreDataEffective:Z
if-nez p1, :cond_e6
.line 21
:cond_dd
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->ReleaseToLoad:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->notifyStateChanged(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto/16 :goto_1d9
.line 22
:cond_e6
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->ReleaseToLoad:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->setViceState(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto/16 :goto_1d9
.line 23
:pswitch_ef
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->isOpening:Z
if-nez v0, :cond_108
iget-boolean v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableRefresh:Z
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isEnableRefreshOrLoadMore(Z)Z
move-result p1
if-eqz p1, :cond_108
.line 24
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->ReleaseToRefresh:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->notifyStateChanged(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto/16 :goto_1d9
.line 25
:cond_108
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->ReleaseToRefresh:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->setViceState(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto/16 :goto_1d9
.line 26
:pswitch_111
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableLoadMore:Z
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isEnableRefreshOrLoadMore(Z)Z
move-result p1
if-eqz p1, :cond_13d
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->isOpening:Z
if-nez v0, :cond_13d
iget-boolean v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterNoMoreData:Z
if-eqz v0, :cond_12f
iget-boolean v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableFooterFollowWhenNoMoreData:Z
if-eqz v0, :cond_12f
iget-boolean p1, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterNoMoreDataEffective:Z
if-nez p1, :cond_13d
.line 27
:cond_12f
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->PullUpCanceled:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->notifyStateChanged(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
.line 28
sget-object p1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->None:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p0, p1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/i;
goto/16 :goto_1d9
.line 29
:cond_13d
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->PullUpCanceled:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->setViceState(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto/16 :goto_1d9
.line 30
:pswitch_146
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->isOpening:Z
if-nez v0, :cond_164
iget-boolean v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableRefresh:Z
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isEnableRefreshOrLoadMore(Z)Z
move-result p1
if-eqz p1, :cond_164
.line 31
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->PullDownCanceled:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->notifyStateChanged(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
.line 32
sget-object p1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->None:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p0, p1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/i;
goto/16 :goto_1d9
.line 33
:cond_164
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->PullDownCanceled:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->setViceState(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto/16 :goto_1d9
.line 34
:pswitch_16d
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableLoadMore:Z
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isEnableRefreshOrLoadMore(Z)Z
move-result p1
if-eqz p1, :cond_197
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
iget-boolean v1, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->isOpening:Z
if-nez v1, :cond_197
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->isFinishing:Z
if-nez v0, :cond_197
iget-boolean v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterNoMoreData:Z
if-eqz v0, :cond_18f
iget-boolean v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableFooterFollowWhenNoMoreData:Z
if-eqz v0, :cond_18f
iget-boolean p1, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterNoMoreDataEffective:Z
if-nez p1, :cond_197
.line 35
:cond_18f
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->PullUpToLoad:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->notifyStateChanged(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto :goto_1d9
.line 36
:cond_197
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->PullUpToLoad:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->setViceState(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto :goto_1d9
.line 37
:pswitch_19f
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->isOpening:Z
if-nez v0, :cond_1b7
iget-boolean v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableRefresh:Z
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isEnableRefreshOrLoadMore(Z)Z
move-result p1
if-eqz p1, :cond_1b7
.line 38
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->PullDownToRefresh:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->notifyStateChanged(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto :goto_1d9
.line 39
:cond_1b7
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->PullDownToRefresh:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->setViceState(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto :goto_1d9
.line 40
:pswitch_1bf
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->None:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
if-eq v0, v1, :cond_1cf
iget v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
if-nez v0, :cond_1cf
.line 41
invoke-virtual {p1, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->notifyStateChanged(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
goto :goto_1d9
.line 42
:cond_1cf
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget p1, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
if-eqz p1, :cond_1d9
const/4 p1, 0x0
.line 43
invoke-virtual {p0, p1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a(I)Landroid/animation/ValueAnimator;
:cond_1d9
:goto_1d9
const/4 p1, 0x0
return-object p1
nop
:pswitch_data_1dc
.packed-switch 0x1
:pswitch_1bf
:pswitch_19f
:pswitch_16d
:pswitch_146
:pswitch_111
:pswitch_ef
:pswitch_bb
:pswitch_99
:pswitch_77
:pswitch_55
:pswitch_4e
:pswitch_47
:pswitch_38
:pswitch_29
:pswitch_20
:pswitch_17
:pswitch_e
.end packed-switch
.end method
.method public a(Z)Lcom/scwang/smartrefresh/layout/a/i;
.registers 5
if-eqz p1, :cond_28
.line 44
new-instance p1, Lcom/scwang/smartrefresh/layout/q;
invoke-direct {p1, p0}, Lcom/scwang/smartrefresh/layout/q;-><init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;)V
.line 45
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
.line 46
invoke-virtual {v0}, Landroid/view/View;->getMeasuredHeight()I
move-result v0
invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a(I)Landroid/animation/ValueAnimator;
move-result-object v0
if-eqz v0, :cond_23
.line 47
iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v2, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->reboundAnimator:Landroid/animation/ValueAnimator;
if-ne v0, v2, :cond_23
.line 48
iget v1, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFloorDuration:I
int-to-long v1, v1
invoke-virtual {v0, v1, v2}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;
.line 49
invoke-virtual {v0, p1}, Landroid/animation/ValueAnimator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
goto :goto_36
:cond_23
const/4 v0, 0x0
.line 50
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/q;->onAnimationEnd(Landroid/animation/Animator;)V
goto :goto_36
:cond_28
const/4 p1, 0x0
.line 51
invoke-virtual {p0, p1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a(I)Landroid/animation/ValueAnimator;
move-result-object p1
if-nez p1, :cond_36
.line 52
iget-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->None:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->notifyStateChanged(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
:cond_36
:goto_36
return-object p0
.end method
.method public b(I)Lcom/scwang/smartrefresh/layout/a/i;
.registers 3
.line 2
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iput p1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFloorDuration:I
return-object p0
.end method
.method public b()Lcom/scwang/smartrefresh/layout/a/j;
.registers 2
.line 1
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->a:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
return-object v0
.end method