SmartRefreshLayout.smali

.class public Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
.super Landroid/view/ViewGroup;

# interfaces
.implements Landroid/support/v4/view/NestedScrollingChild;
.implements Landroid/support/v4/view/NestedScrollingParent;
.implements Lcom/scwang/smartrefresh/layout/a/h;


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "RestrictedApi"
    }
.end annotation

.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$d;,
        Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;,
        Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$a;,
        Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$b;
    }
.end annotation


# static fields
.field protected static aH:Z

.field protected static aI:Lcom/scwang/smartrefresh/layout/a/a;

.field protected static aJ:Lcom/scwang/smartrefresh/layout/a/b;


# instance fields
.field protected A:Z

.field protected B:Z

.field protected C:Z

.field protected D:Z

.field protected E:Z

.field protected F:Z

.field protected G:Z

.field protected H:Z

.field protected I:Z

.field protected J:Z

.field protected K:Z

.field protected L:Z

.field protected M:Z

.field protected N:Z

.field protected O:Z

.field protected P:Z

.field protected Q:Z

.field protected R:Z

.field protected S:Z

.field protected T:Z

.field protected U:Z

.field protected V:Z

.field protected W:Lcom/scwang/smartrefresh/layout/f/d;

.field protected a:I

.field protected aA:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

.field protected aB:J

.field protected aC:I

.field protected aD:I

.field protected aE:Z

.field protected aF:Z

.field protected aG:Z

.field protected aK:Z

.field protected aL:Landroid/view/MotionEvent;

.field protected aM:Ljava/lang/Runnable;

.field protected aN:Landroid/animation/ValueAnimator;

.field protected aa:Lcom/scwang/smartrefresh/layout/f/b;

.field protected ab:Lcom/scwang/smartrefresh/layout/f/c;

.field protected ac:Lcom/scwang/smartrefresh/layout/a/i;

.field protected ad:I

.field protected ae:Z

.field protected af:[I

.field protected ag:Landroid/support/v4/view/NestedScrollingChildHelper;

.field protected ah:Landroid/support/v4/view/NestedScrollingParentHelper;

.field protected ai:I

.field protected aj:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

.field protected ak:I

.field protected al:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

.field protected am:I

.field protected an:I

.field protected ao:F

.field protected ap:F

.field protected aq:F

.field protected ar:F

.field protected as:Lcom/scwang/smartrefresh/layout/a/f;

.field protected at:Lcom/scwang/smartrefresh/layout/a/f;

.field protected au:Lcom/scwang/smartrefresh/layout/a/c;

.field protected av:Landroid/graphics/Paint;

.field protected aw:Landroid/os/Handler;

.field protected ax:Lcom/scwang/smartrefresh/layout/a/g;

.field protected ay:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lcom/scwang/smartrefresh/layout/g/a;",
            ">;"
        }
    .end annotation
.end field

.field protected az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

.field protected b:I

.field protected c:I

.field protected d:I

.field protected e:I

.field protected f:I

.field protected g:I

.field protected h:F

.field protected i:F

.field protected j:F

.field protected k:F

.field protected l:F

.field protected m:C

.field protected n:Z

.field protected o:Z

.field protected p:I

.field protected q:I

.field protected r:I

.field protected s:I

.field protected t:I

.field protected u:I

.field protected v:I

.field protected w:Landroid/widget/Scroller;

.field protected x:Landroid/view/VelocityTracker;

.field protected y:Landroid/view/animation/Interpolator;

.field protected z:[I


# direct methods
.method static constructor <clinit>()V
    .registers 1

    const/4 v0, 0x0

    sput-boolean v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aH:Z

    new-instance v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$1;

    invoke-direct {v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$1;-><init>()V

    sput-object v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aI:Lcom/scwang/smartrefresh/layout/a/a;

    new-instance v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$3;

    invoke-direct {v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$3;-><init>()V

    sput-object v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aJ:Lcom/scwang/smartrefresh/layout/a/b;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .registers 3

    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .registers 4

    const/4 v0, 0x0

    invoke-direct {p0, p1, p2, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .registers 12

    const/high16 v1, 0x3f800000    # 1.0f

    const/4 v7, 0x2

    const/4 v6, -0x1

    const/4 v5, 0x1

    const/4 v4, 0x0

    invoke-direct {p0, p1, p2, p3}, Landroid/view/ViewGroup;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    const/16 v0, 0xfa

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->e:I

    const/16 v0, 0xfa

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->f:I

    const/high16 v0, 0x3f000000    # 0.5f

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->l:F

    const/16 v0, 0x6e

    iput-char v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->m:C

    iput-boolean v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->A:Z

    iput-boolean v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->B:Z

    iput-boolean v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->C:Z

    iput-boolean v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->D:Z

    iput-boolean v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->E:Z

    iput-boolean v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->F:Z

    iput-boolean v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->G:Z

    iput-boolean v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->H:Z

    iput-boolean v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->I:Z

    iput-boolean v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->J:Z

    iput-boolean v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->K:Z

    iput-boolean v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->L:Z

    iput-boolean v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->M:Z

    iput-boolean v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->N:Z

    iput-boolean v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->O:Z

    iput-boolean v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->P:Z

    iput-boolean v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->Q:Z

    iput-boolean v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->R:Z

    iput-boolean v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->S:Z

    iput-boolean v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->T:Z

    iput-boolean v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->U:Z

    iput-boolean v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->V:Z

    new-array v0, v7, [I

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->af:[I

    new-instance v0, Landroid/support/v4/view/NestedScrollingChildHelper;

    invoke-direct {v0, p0}, Landroid/support/v4/view/NestedScrollingChildHelper;-><init>(Landroid/view/View;)V

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ag:Landroid/support/v4/view/NestedScrollingChildHelper;

    new-instance v0, Landroid/support/v4/view/NestedScrollingParentHelper;

    invoke-direct {v0, p0}, Landroid/support/v4/view/NestedScrollingParentHelper;-><init>(Landroid/view/ViewGroup;)V

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ah:Landroid/support/v4/view/NestedScrollingParentHelper;

    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->a:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aj:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->a:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->al:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    const/high16 v0, 0x40200000    # 2.5f

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ao:F

    const/high16 v0, 0x40200000    # 2.5f

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ap:F

    iput v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aq:F

    iput v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ar:F

    new-instance v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$d;

    invoke-direct {v0, p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$d;-><init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;)V

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->a:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->a:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aA:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    const-wide/16 v0, 0x0

    iput-wide v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aB:J

    iput v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aC:I

    iput v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aD:I

    iput-boolean v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aG:Z

    iput-boolean v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aK:Z

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aL:Landroid/view/MotionEvent;

    invoke-super {p0, v4}, Landroid/view/ViewGroup;->setClipToPadding(Z)V

    new-instance v0, Lcom/scwang/smartrefresh/layout/g/b;

    invoke-direct {v0}, Lcom/scwang/smartrefresh/layout/g/b;-><init>()V

    invoke-static {p1}, Landroid/view/ViewConfiguration;->get(Landroid/content/Context;)Landroid/view/ViewConfiguration;

    move-result-object v1

    new-instance v2, Landroid/widget/Scroller;

    invoke-direct {v2, p1}, Landroid/widget/Scroller;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->w:Landroid/widget/Scroller;

    invoke-static {}, Landroid/view/VelocityTracker;->obtain()Landroid/view/VelocityTracker;

    move-result-object v2

    iput-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->x:Landroid/view/VelocityTracker;

    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v2

    iget v2, v2, Landroid/util/DisplayMetrics;->heightPixels:I

    iput v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->g:I

    new-instance v2, Lcom/scwang/smartrefresh/layout/g/f;

    invoke-direct {v2}, Lcom/scwang/smartrefresh/layout/g/f;-><init>()V

    iput-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->y:Landroid/view/animation/Interpolator;

    invoke-virtual {v1}, Landroid/view/ViewConfiguration;->getScaledTouchSlop()I

    move-result v2

    iput v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a:I

    invoke-virtual {v1}, Landroid/view/ViewConfiguration;->getScaledMinimumFlingVelocity()I

    move-result v2

    iput v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->t:I

    invoke-virtual {v1}, Landroid/view/ViewConfiguration;->getScaledMaximumFlingVelocity()I

    move-result v1

    iput v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->u:I

    sget-object v1, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout:[I

    invoke-virtual {p1, p2, v1}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;

    move-result-object v1

    sget v2, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableNestedScrolling:I

    invoke-virtual {v1, v2, v4}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v2

    invoke-virtual {p0, v2}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->setNestedScrollingEnabled(Z)V

    sget v2, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlDragRate:I

    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->l:F

    invoke-virtual {v1, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F

    move-result v2

    iput v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->l:F

    sget v2, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlHeaderMaxDragRate:I

    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ao:F

    invoke-virtual {v1, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F

    move-result v2

    iput v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ao:F

    sget v2, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlFooterMaxDragRate:I

    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ap:F

    invoke-virtual {v1, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F

    move-result v2

    iput v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ap:F

    sget v2, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlHeaderTriggerRate:I

    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aq:F

    invoke-virtual {v1, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F

    move-result v2

    iput v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aq:F

    sget v2, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlFooterTriggerRate:I

    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ar:F

    invoke-virtual {v1, v2, v3}, Landroid/content/res/TypedArray;->getFloat(IF)F

    move-result v2

    iput v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ar:F

    sget v2, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableRefresh:I

    iget-boolean v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->A:Z

    invoke-virtual {v1, v2, v3}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v2

    iput-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->A:Z

    sget v2, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlReboundDuration:I

    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->f:I

    invoke-virtual {v1, v2, v3}, Landroid/content/res/TypedArray;->getInt(II)I

    move-result v2

    iput v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->f:I

    sget v2, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableLoadMore:I

    iget-boolean v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->B:Z

    invoke-virtual {v1, v2, v3}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v2

    iput-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->B:Z

    sget v2, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlHeaderHeight:I

    const/high16 v3, 0x42c80000    # 100.0f

    invoke-virtual {v0, v3}, Lcom/scwang/smartrefresh/layout/g/b;->b(F)I

    move-result v3

    invoke-virtual {v1, v2, v3}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I

    move-result v2

    iput v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    sget v2, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlFooterHeight:I

    const/high16 v3, 0x42700000    # 60.0f

    invoke-virtual {v0, v3}, Lcom/scwang/smartrefresh/layout/g/b;->b(F)I

    move-result v0

    invoke-virtual {v1, v2, v0}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I

    move-result v0

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlHeaderInsetStart:I

    invoke-virtual {v1, v0, v4}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I

    move-result v0

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->am:I

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlFooterInsetStart:I

    invoke-virtual {v1, v0, v4}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I

    move-result v0

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->an:I

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlDisableContentWhenRefresh:I

    iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->P:Z

    invoke-virtual {v1, v0, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->P:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlDisableContentWhenLoading:I

    iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->Q:Z

    invoke-virtual {v1, v0, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->Q:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableHeaderTranslationContent:I

    iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->E:Z

    invoke-virtual {v1, v0, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->E:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableFooterTranslationContent:I

    iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->F:Z

    invoke-virtual {v1, v0, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->F:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnablePreviewInEditMode:I

    iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->H:Z

    invoke-virtual {v1, v0, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->H:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableAutoLoadMore:I

    iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->K:Z

    invoke-virtual {v1, v0, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->K:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableOverScrollBounce:I

    iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->I:Z

    invoke-virtual {v1, v0, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->I:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnablePureScrollMode:I

    iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->L:Z

    invoke-virtual {v1, v0, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->L:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableScrollContentWhenLoaded:I

    iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->M:Z

    invoke-virtual {v1, v0, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->M:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableScrollContentWhenRefreshed:I

    iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->N:Z

    invoke-virtual {v1, v0, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->N:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableLoadMoreWhenContentNotFull:I

    iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->O:Z

    invoke-virtual {v1, v0, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->O:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableFooterFollowWhenLoadFinished:I

    iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->G:Z

    invoke-virtual {v1, v0, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->G:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableClipHeaderWhenFixedBehind:I

    iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->C:Z

    invoke-virtual {v1, v0, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->C:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableClipFooterWhenFixedBehind:I

    iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->D:Z

    invoke-virtual {v1, v0, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->D:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableOverScrollDrag:I

    iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->J:Z

    invoke-virtual {v1, v0, v2}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->J:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlFixedHeaderViewId:I

    invoke-virtual {v1, v0, v6}, Landroid/content/res/TypedArray;->getResourceId(II)I

    move-result v0

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->p:I

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlFixedFooterViewId:I

    invoke-virtual {v1, v0, v6}, Landroid/content/res/TypedArray;->getResourceId(II)I

    move-result v0

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->q:I

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlHeaderTranslationViewId:I

    invoke-virtual {v1, v0, v6}, Landroid/content/res/TypedArray;->getResourceId(II)I

    move-result v0

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->r:I

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlFooterTranslationViewId:I

    invoke-virtual {v1, v0, v6}, Landroid/content/res/TypedArray;->getResourceId(II)I

    move-result v0

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->s:I

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->L:Z

    if-eqz v0, :cond_216

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableOverScrollDrag:I

    invoke-virtual {v1, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z

    move-result v0

    if-nez v0, :cond_216

    iput-boolean v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->J:Z

    :cond_216
    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableLoadMore:I

    invoke-virtual {v1, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->S:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableNestedScrolling:I

    invoke-virtual {v1, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->T:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlEnableHeaderTranslationContent:I

    invoke-virtual {v1, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->U:Z

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlHeaderHeight:I

    invoke-virtual {v1, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z

    move-result v0

    if-eqz v0, :cond_262

    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->g:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    :goto_238
    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aj:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlFooterHeight:I

    invoke-virtual {v1, v0}, Landroid/content/res/TypedArray;->hasValue(I)Z

    move-result v0

    if-eqz v0, :cond_265

    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->g:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    :goto_244
    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->al:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    sget v0, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlAccentColor:I

    invoke-virtual {v1, v0, v4}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v0

    sget v2, Lcom/scwang/smartrefresh/layout/a$b;->SmartRefreshLayout_srlPrimaryColor:I

    invoke-virtual {v1, v2, v4}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v2

    if-eqz v2, :cond_26f

    if-eqz v0, :cond_268

    new-array v3, v7, [I

    aput v2, v3, v4

    aput v0, v3, v5

    iput-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->z:[I

    :cond_25e
    :goto_25e
    invoke-virtual {v1}, Landroid/content/res/TypedArray;->recycle()V

    return-void

    :cond_262
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aj:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    goto :goto_238

    :cond_265
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->al:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    goto :goto_244

    :cond_268
    new-array v0, v5, [I

    aput v2, v0, v4

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->z:[I

    goto :goto_25e

    :cond_26f
    if-eqz v0, :cond_25e

    new-array v2, v7, [I

    aput v4, v2, v4

    aput v0, v2, v5

    iput-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->z:[I

    goto :goto_25e
.end method

.method static synthetic a(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;Landroid/view/MotionEvent;)Z
    .registers 3

    invoke-super {p0, p1}, Landroid/view/ViewGroup;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0
.end method

.method static synthetic b(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;Landroid/view/MotionEvent;)Z
    .registers 3

    invoke-super {p0, p1}, Landroid/view/ViewGroup;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0
.end method

.method static synthetic c(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;Landroid/view/MotionEvent;)Z
    .registers 3

    invoke-super {p0, p1}, Landroid/view/ViewGroup;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0
.end method

.method static synthetic d(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;Landroid/view/MotionEvent;)Z
    .registers 3

    invoke-super {p0, p1}, Landroid/view/ViewGroup;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0
.end method

.method public static setDefaultRefreshFooterCreator(Lcom/scwang/smartrefresh/layout/a/a;)V
    .registers 2
    .param p0    # Lcom/scwang/smartrefresh/layout/a/a;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    sput-object p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aI:Lcom/scwang/smartrefresh/layout/a/a;

    const/4 v0, 0x1

    sput-boolean v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aH:Z

    return-void
.end method

.method public static setDefaultRefreshHeaderCreator(Lcom/scwang/smartrefresh/layout/a/b;)V
    .registers 1
    .param p0    # Lcom/scwang/smartrefresh/layout/a/b;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    sput-object p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aJ:Lcom/scwang/smartrefresh/layout/a/b;

    return-void
.end method


# virtual methods
.method protected a(IILandroid/view/animation/Interpolator;I)Landroid/animation/ValueAnimator;
    .registers 9

    const/4 v0, 0x0

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-eq v1, p1, :cond_4d

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    if-eqz v1, :cond_e

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    invoke-virtual {v1}, Landroid/animation/ValueAnimator;->cancel()V

    :cond_e
    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aM:Ljava/lang/Runnable;

    const/4 v0, 0x2

    new-array v0, v0, [I

    const/4 v1, 0x0

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    aput v2, v0, v1

    const/4 v1, 0x1

    aput p1, v0, v1

    invoke-static {v0}, Landroid/animation/ValueAnimator;->ofInt([I)Landroid/animation/ValueAnimator;

    move-result-object v0

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    int-to-long v2, p4

    invoke-virtual {v0, v2, v3}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    invoke-virtual {v0, p3}, Landroid/animation/ValueAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    new-instance v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$7;

    invoke-direct {v1, p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$7;-><init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;)V

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

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    new-instance v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;

    invoke-direct {v1, p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$8;-><init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;)V

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

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    int-to-long v2, p2

    invoke-virtual {v0, v2, v3}, Landroid/animation/ValueAnimator;->setStartDelay(J)V

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    invoke-virtual {v0}, Landroid/animation/ValueAnimator;->start()V

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    :cond_4d
    return-object v0
.end method

.method public a(Landroid/util/AttributeSet;)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;
    .registers 4

    new-instance v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;

    invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1, p1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-object v0
.end method

.method protected a(Landroid/view/ViewGroup$LayoutParams;)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;
    .registers 3

    new-instance v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;

    invoke-direct {v0, p1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;-><init>(Landroid/view/ViewGroup$LayoutParams;)V

    return-object v0
.end method

.method public a(IZ)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
    .registers 6

    new-instance v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;

    invoke-direct {v2, p0, p2}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;-><init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;Z)V

    if-gtz p1, :cond_d

    const-wide/16 v0, 0x1

    :goto_9
    invoke-virtual {p0, v2, v0, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->postDelayed(Ljava/lang/Runnable;J)Z

    return-object p0

    :cond_d
    int-to-long v0, p1

    goto :goto_9
.end method

.method public a(IZZ)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
    .registers 7

    new-instance v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    invoke-direct {v2, p0, p2, p3}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;-><init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;ZZ)V

    if-gtz p1, :cond_d

    const-wide/16 v0, 0x1

    :goto_9
    invoke-virtual {p0, v2, v0, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->postDelayed(Ljava/lang/Runnable;J)Z

    return-object p0

    :cond_d
    int-to-long v0, p1

    goto :goto_9
.end method

.method public a(Lcom/scwang/smartrefresh/layout/a/d;)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
    .registers 4
    .param p1    # Lcom/scwang/smartrefresh/layout/a/d;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    const/4 v0, -0x1

    const/4 v1, -0x2

    invoke-virtual {p0, p1, v0, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(Lcom/scwang/smartrefresh/layout/a/d;II)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

    move-result-object v0

    return-object v0
.end method

.method public a(Lcom/scwang/smartrefresh/layout/a/d;II)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
    .registers 7
    .param p1    # Lcom/scwang/smartrefresh/layout/a/d;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v0, :cond_e

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v0

    invoke-super {p0, v0}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V

    :cond_e
    iput-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    iput v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aD:I

    iput-boolean v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aF:Z

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->al:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    invoke-virtual {v0}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->a()Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    move-result-object v0

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->al:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->S:Z

    if-eqz v0, :cond_24

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->B:Z

    if-eqz v0, :cond_40

    :cond_24
    const/4 v0, 0x1

    :goto_25
    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->B:Z

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v0

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->c:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v0, v2, :cond_42

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v0

    new-instance v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;

    invoke-direct {v2, p2, p3}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;-><init>(II)V

    invoke-super {p0, v0, v1, v2}, Landroid/view/ViewGroup;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    :goto_3f
    return-object p0

    :cond_40
    move v0, v1

    goto :goto_25

    :cond_42
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v0

    invoke-super {p0, v0, p2, p3}, Landroid/view/ViewGroup;->addView(Landroid/view/View;II)V

    goto :goto_3f
.end method

.method public a(Lcom/scwang/smartrefresh/layout/a/e;)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
    .registers 4
    .param p1    # Lcom/scwang/smartrefresh/layout/a/e;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    const/4 v0, -0x1

    const/4 v1, -0x2

    invoke-virtual {p0, p1, v0, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(Lcom/scwang/smartrefresh/layout/a/e;II)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

    move-result-object v0

    return-object v0
.end method

.method public a(Lcom/scwang/smartrefresh/layout/a/e;II)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
    .registers 7
    .param p1    # Lcom/scwang/smartrefresh/layout/a/e;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v0, :cond_e

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v0

    invoke-super {p0, v0}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V

    :cond_e
    iput-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    iput v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aC:I

    iput-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aE:Z

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aj:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    invoke-virtual {v0}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->a()Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    move-result-object v0

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aj:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    invoke-interface {p1}, Lcom/scwang/smartrefresh/layout/a/e;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v0

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->c:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v0, v1, :cond_33

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;

    invoke-direct {v1, p2, p3}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;-><init>(II)V

    invoke-super {p0, v0, v2, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    :goto_32
    return-object p0

    :cond_33
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v0

    invoke-super {p0, v0, p2, p3}, Landroid/view/ViewGroup;->addView(Landroid/view/View;II)V

    goto :goto_32
.end method

.method public a(Lcom/scwang/smartrefresh/layout/f/b;)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
    .registers 3

    iput-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aa:Lcom/scwang/smartrefresh/layout/f/b;

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->B:Z

    if-nez v0, :cond_c

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->S:Z

    if-nez v0, :cond_10

    if-eqz p1, :cond_10

    :cond_c
    const/4 v0, 0x1

    :goto_d
    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->B:Z

    return-object p0

    :cond_10
    const/4 v0, 0x0

    goto :goto_d
.end method

.method public a(Lcom/scwang/smartrefresh/layout/f/d;)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
    .registers 2

    iput-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->W:Lcom/scwang/smartrefresh/layout/f/d;

    return-object p0
.end method

.method public a(Z)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
    .registers 3

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->S:Z

    iput-boolean p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->B:Z

    return-object p0
.end method

.method protected a()V
    .registers 6

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->m:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-eq v0, v1, :cond_50

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aB:J

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aG:Z

    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->m:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aa:Lcom/scwang/smartrefresh/layout/f/b;

    if-eqz v0, :cond_51

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aa:Lcom/scwang/smartrefresh/layout/f/b;

    invoke-interface {v0, p0}, Lcom/scwang/smartrefresh/layout/f/b;->onLoadMore(Lcom/scwang/smartrefresh/layout/a/h;)V

    :cond_1d
    :goto_1d
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v0, :cond_2f

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ap:F

    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    int-to-float v3, v3

    mul-float/2addr v2, v3

    float-to-int v2, v2

    invoke-interface {v0, p0, v1, v2}, Lcom/scwang/smartrefresh/layout/a/f;->onStartAnimator(Lcom/scwang/smartrefresh/layout/a/h;II)V

    :cond_2f
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ab:Lcom/scwang/smartrefresh/layout/f/c;

    if-eqz v0, :cond_50

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    instance-of v0, v0, Lcom/scwang/smartrefresh/layout/a/d;

    if-eqz v0, :cond_50

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ab:Lcom/scwang/smartrefresh/layout/f/c;

    invoke-interface {v0, p0}, Lcom/scwang/smartrefresh/layout/f/c;->onLoadMore(Lcom/scwang/smartrefresh/layout/a/h;)V

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ab:Lcom/scwang/smartrefresh/layout/f/c;

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    check-cast v0, Lcom/scwang/smartrefresh/layout/a/d;

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ap:F

    iget v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    int-to-float v4, v4

    mul-float/2addr v3, v4

    float-to-int v3, v3

    invoke-interface {v1, v0, v2, v3}, Lcom/scwang/smartrefresh/layout/f/c;->b(Lcom/scwang/smartrefresh/layout/a/d;II)V

    :cond_50
    return-void

    :cond_51
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ab:Lcom/scwang/smartrefresh/layout/f/c;

    if-nez v0, :cond_1d

    const/16 v0, 0x7d0

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->c(I)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

    goto :goto_1d
.end method

.method protected a(F)V
    .registers 5

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    if-nez v0, :cond_1e

    cmpl-float v0, p1, v2

    if-lez v0, :cond_1f

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->l:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-eq v0, v1, :cond_15

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->n:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v0, v1, :cond_1f

    :cond_15
    new-instance v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$a;

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    invoke-direct {v0, p0, p1, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$a;-><init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;FI)V

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aM:Ljava/lang/Runnable;

    :cond_1e
    :goto_1e
    return-void

    :cond_1f
    cmpg-float v0, p1, v2

    if-gez v0, :cond_56

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->m:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-eq v0, v1, :cond_4b

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->G:Z

    if-eqz v0, :cond_37

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->R:Z

    if-eqz v0, :cond_37

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v0

    if-nez v0, :cond_4b

    :cond_37
    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->K:Z

    if-eqz v0, :cond_56

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->R:Z

    if-nez v0, :cond_56

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v0

    if-eqz v0, :cond_56

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->l:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-eq v0, v1, :cond_56

    :cond_4b
    new-instance v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$a;

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    neg-int v1, v1

    invoke-direct {v0, p0, p1, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$a;-><init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;FI)V

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aM:Ljava/lang/Runnable;

    goto :goto_1e

    :cond_56
    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-nez v0, :cond_1e

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->I:Z

    if-eqz v0, :cond_1e

    new-instance v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$a;

    const/4 v1, 0x0

    invoke-direct {v0, p0, p1, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$a;-><init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;FI)V

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aM:Ljava/lang/Runnable;

    goto :goto_1e
.end method

.method protected a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
    .registers 6

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-eq v0, p1, :cond_1d

    iput-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iput-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aA:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ab:Lcom/scwang/smartrefresh/layout/f/c;

    if-eqz v1, :cond_13

    invoke-interface {v1, p0, v0, p1}, Lcom/scwang/smartrefresh/layout/f/f;->onStateChanged(Lcom/scwang/smartrefresh/layout/a/h;Lcom/scwang/smartrefresh/layout/constant/RefreshState;Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V

    :cond_13
    if-eqz v2, :cond_18

    invoke-interface {v2, p0, v0, p1}, Lcom/scwang/smartrefresh/layout/f/f;->onStateChanged(Lcom/scwang/smartrefresh/layout/a/h;Lcom/scwang/smartrefresh/layout/constant/RefreshState;Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V

    :cond_18
    if-eqz v3, :cond_1d

    invoke-interface {v3, p0, v0, p1}, Lcom/scwang/smartrefresh/layout/f/f;->onStateChanged(Lcom/scwang/smartrefresh/layout/a/h;Lcom/scwang/smartrefresh/layout/constant/RefreshState;Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V

    :cond_1d
    return-void
.end method

.method protected a(I)Z
    .registers 6

    const/4 v3, 0x0

    const/4 v0, 0x1

    if-nez p1, :cond_25

    iput-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aM:Ljava/lang/Runnable;

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    if-eqz v1, :cond_25

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-boolean v1, v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->v:Z

    if-eqz v1, :cond_11

    :cond_10
    :goto_10
    return v0

    :cond_11
    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->d:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v1, v2, :cond_2b

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->b:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-interface {v1, v2}, Lcom/scwang/smartrefresh/layout/a/g;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/g;

    :cond_1e
    :goto_1e
    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    invoke-virtual {v1}, Landroid/animation/ValueAnimator;->cancel()V

    iput-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    :cond_25
    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    if-nez v1, :cond_10

    const/4 v0, 0x0

    goto :goto_10

    :cond_2b
    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->e:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v1, v2, :cond_1e

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->c:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-interface {v1, v2}, Lcom/scwang/smartrefresh/layout/a/g;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/g;

    goto :goto_1e
.end method

.method protected a(Ljava/lang/Float;)Z
    .registers 11

    const/4 v3, 0x1

    const/4 v6, 0x0

    const/4 v1, 0x0

    if-nez p1, :cond_3b

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->v:I

    int-to-float v0, v0

    move v2, v0

    :goto_9
    invoke-static {v2}, Ljava/lang/Math;->abs(F)F

    move-result v0

    iget v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->t:I

    int-to-float v4, v4

    cmpl-float v0, v0, v4

    if-lez v0, :cond_3a

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    int-to-float v0, v0

    mul-float/2addr v0, v2

    cmpg-float v0, v0, v6

    if-gez v0, :cond_5e

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->u:Z

    if-eqz v0, :cond_41

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v4, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->n:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-eq v0, v4, :cond_5e

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-object v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aA:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-eq v0, v4, :cond_5e

    new-instance v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$b;

    invoke-direct {v0, p0, v2}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$b;-><init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;F)V

    invoke-virtual {v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$b;->a()Ljava/lang/Runnable;

    move-result-object v0

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aM:Ljava/lang/Runnable;

    move v1, v3

    :cond_3a
    :goto_3a
    return v1

    :cond_3b
    invoke-virtual {p1}, Ljava/lang/Float;->floatValue()F

    move-result v0

    move v2, v0

    goto :goto_9

    :cond_41
    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    int-to-float v0, v0

    iget v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    int-to-float v4, v4

    iget v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aq:F

    mul-float/2addr v4, v5

    cmpl-float v0, v0, v4

    if-gtz v0, :cond_5c

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    neg-int v0, v0

    int-to-float v0, v0

    iget v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    int-to-float v4, v4

    iget v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ar:F

    mul-float/2addr v4, v5

    cmpl-float v0, v0, v4

    if-lez v0, :cond_5e

    :cond_5c
    move v1, v3

    goto :goto_3a

    :cond_5e
    cmpg-float v0, v2, v6

    if-gez v0, :cond_84

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->I:Z

    if-eqz v0, :cond_70

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->J:Z

    if-nez v0, :cond_a0

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v0

    if-nez v0, :cond_a0

    :cond_70
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v3, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->m:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v0, v3, :cond_7a

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-gez v0, :cond_a0

    :cond_7a
    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->K:Z

    if-eqz v0, :cond_84

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v0

    if-nez v0, :cond_a0

    :cond_84
    cmpl-float v0, v2, v6

    if-lez v0, :cond_3a

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->I:Z

    if-eqz v0, :cond_96

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->J:Z

    if-nez v0, :cond_a0

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i()Z

    move-result v0

    if-nez v0, :cond_a0

    :cond_96
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v3, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->l:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v0, v3, :cond_3a

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-gtz v0, :cond_3a

    :cond_a0
    iput-boolean v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aK:Z

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->w:Landroid/widget/Scroller;

    neg-float v2, v2

    float-to-int v4, v2

    const v7, -0x7fffffff

    const v8, 0x7fffffff

    move v2, v1

    move v3, v1

    move v5, v1

    move v6, v1

    invoke-virtual/range {v0 .. v8}, Landroid/widget/Scroller;->fling(IIIIIIII)V

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->w:Landroid/widget/Scroller;

    invoke-virtual {v0}, Landroid/widget/Scroller;->computeScrollOffset()Z

    invoke-virtual {p0}, Landroid/view/View;->invalidate()V

    goto/16 :goto_3a
.end method

.method public b(I)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
    .registers 3

    const/4 v0, 0x1

    invoke-virtual {p0, p1, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(IZ)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

    move-result-object v0

    return-object v0
.end method

.method public b(Z)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
    .registers 2

    iput-boolean p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->A:Z

    return-object p0
.end method

.method protected b()V
    .registers 8

    new-instance v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$5;

    invoke-direct {v1, p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$5;-><init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;)V

    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->k:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    neg-int v2, v2

    invoke-interface {v0, v2}, Lcom/scwang/smartrefresh/layout/a/g;->a(I)Landroid/animation/ValueAnimator;

    move-result-object v2

    if-eqz v2, :cond_18

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

    :cond_18
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v0, :cond_2a

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    iget v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ap:F

    iget v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    int-to-float v5, v5

    mul-float/2addr v4, v5

    float-to-int v4, v4

    invoke-interface {v0, p0, v3, v4}, Lcom/scwang/smartrefresh/layout/a/f;->onReleased(Lcom/scwang/smartrefresh/layout/a/h;II)V

    :cond_2a
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ab:Lcom/scwang/smartrefresh/layout/f/c;

    if-eqz v0, :cond_46

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    instance-of v0, v0, Lcom/scwang/smartrefresh/layout/a/d;

    if-eqz v0, :cond_46

    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ab:Lcom/scwang/smartrefresh/layout/f/c;

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    check-cast v0, Lcom/scwang/smartrefresh/layout/a/d;

    iget v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    iget v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ap:F

    iget v6, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    int-to-float v6, v6

    mul-float/2addr v5, v6

    float-to-int v5, v5

    invoke-interface {v3, v0, v4, v5}, Lcom/scwang/smartrefresh/layout/f/c;->a(Lcom/scwang/smartrefresh/layout/a/d;II)V

    :cond_46
    if-nez v2, :cond_4c

    const/4 v0, 0x0

    invoke-virtual {v1, v0}, Landroid/animation/AnimatorListenerAdapter;->onAnimationEnd(Landroid/animation/Animator;)V

    :cond_4c
    return-void
.end method

.method protected b(F)V
    .registers 16

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->n:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v0, v1, :cond_52

    const/4 v0, 0x0

    cmpl-float v0, p1, v0

    if-lez v0, :cond_52

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    float-to-int v1, p1

    invoke-virtual {p0}, Landroid/view/View;->getMeasuredHeight()I

    move-result v2

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

    move-result v1

    const/4 v2, 0x1

    invoke-interface {v0, v1, v2}, Lcom/scwang/smartrefresh/layout/a/g;->a(IZ)Lcom/scwang/smartrefresh/layout/a/g;

    :goto_1a
    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->K:Z

    if-eqz v0, :cond_51

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->R:Z

    if-nez v0, :cond_51

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v0

    if-eqz v0, :cond_51

    const/4 v0, 0x0

    cmpg-float v0, p1, v0

    if-gez v0, :cond_51

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->l:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-eq v0, v1, :cond_51

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->m:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-eq v0, v1, :cond_51

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->p:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-eq v0, v1, :cond_51

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a()V

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->Q:Z

    if-eqz v0, :cond_51

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aM:Ljava/lang/Runnable;

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    neg-int v1, v1

    invoke-interface {v0, v1}, Lcom/scwang/smartrefresh/layout/a/g;->a(I)Landroid/animation/ValueAnimator;

    :cond_51
    return-void

    :cond_52
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->l:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v0, v1, :cond_bc

    const/4 v0, 0x0

    cmpl-float v0, p1, v0

    if-ltz v0, :cond_bc

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    int-to-float v0, v0

    cmpg-float v0, p1, v0

    if-gez v0, :cond_6c

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    float-to-int v1, p1

    const/4 v2, 0x1

    invoke-interface {v0, v1, v2}, Lcom/scwang/smartrefresh/layout/a/g;->a(IZ)Lcom/scwang/smartrefresh/layout/a/g;

    goto :goto_1a

    :cond_6c
    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ao:F

    const/high16 v1, 0x3f800000    # 1.0f

    sub-float/2addr v0, v1

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    int-to-float v1, v1

    mul-float/2addr v0, v1

    float-to-double v2, v0

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->g:I

    mul-int/lit8 v0, v0, 0x4

    div-int/lit8 v0, v0, 0x3

    invoke-virtual {p0}, Landroid/view/View;->getHeight()I

    move-result v1

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

    move-result v0

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    sub-int/2addr v0, v1

    int-to-double v0, v0

    const/4 v4, 0x0

    iget v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    int-to-float v5, v5

    sub-float v5, p1, v5

    iget v6, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->l:F

    mul-float/2addr v5, v6

    invoke-static {v4, v5}, Ljava/lang/Math;->max(FF)F

    move-result v4

    float-to-double v4, v4

    const-wide/high16 v6, 0x3ff0000000000000L    # 1.0

    const-wide/high16 v8, 0x4059000000000000L    # 100.0

    neg-double v10, v4

    const-wide/16 v12, 0x0

    cmpl-double v12, v0, v12

    if-nez v12, :cond_a3

    const-wide/high16 v0, 0x3ff0000000000000L    # 1.0

    :cond_a3
    div-double v0, v10, v0

    invoke-static {v8, v9, v0, v1}, Ljava/lang/Math;->pow(DD)D

    move-result-wide v0

    sub-double v0, v6, v0

    mul-double/2addr v0, v2

    invoke-static {v0, v1, v4, v5}, Ljava/lang/Math;->min(DD)D

    move-result-wide v0

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    double-to-int v0, v0

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    add-int/2addr v0, v1

    const/4 v1, 0x1

    invoke-interface {v2, v0, v1}, Lcom/scwang/smartrefresh/layout/a/g;->a(IZ)Lcom/scwang/smartrefresh/layout/a/g;

    goto/16 :goto_1a

    :cond_bc
    const/4 v0, 0x0

    cmpg-float v0, p1, v0

    if-gez v0, :cond_145

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->m:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-eq v0, v1, :cond_e3

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->G:Z

    if-eqz v0, :cond_d5

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->R:Z

    if-eqz v0, :cond_d5

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v0

    if-nez v0, :cond_e3

    :cond_d5
    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->K:Z

    if-eqz v0, :cond_145

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->R:Z

    if-nez v0, :cond_145

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v0

    if-eqz v0, :cond_145

    :cond_e3
    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    neg-int v0, v0

    int-to-float v0, v0

    cmpl-float v0, p1, v0

    if-lez v0, :cond_f4

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    float-to-int v1, p1

    const/4 v2, 0x1

    invoke-interface {v0, v1, v2}, Lcom/scwang/smartrefresh/layout/a/g;->a(IZ)Lcom/scwang/smartrefresh/layout/a/g;

    goto/16 :goto_1a

    :cond_f4
    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ap:F

    const/high16 v1, 0x3f800000    # 1.0f

    sub-float/2addr v0, v1

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    int-to-float v1, v1

    mul-float/2addr v0, v1

    float-to-double v2, v0

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->g:I

    mul-int/lit8 v0, v0, 0x4

    div-int/lit8 v0, v0, 0x3

    invoke-virtual {p0}, Landroid/view/View;->getHeight()I

    move-result v1

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

    move-result v0

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    sub-int/2addr v0, v1

    int-to-double v0, v0

    const/4 v4, 0x0

    iget v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    int-to-float v5, v5

    add-float/2addr v5, p1

    iget v6, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->l:F

    mul-float/2addr v5, v6

    invoke-static {v4, v5}, Ljava/lang/Math;->min(FF)F

    move-result v4

    neg-float v4, v4

    float-to-double v4, v4

    const-wide/high16 v6, 0x3ff0000000000000L    # 1.0

    const-wide/high16 v8, 0x4059000000000000L    # 100.0

    neg-double v10, v4

    const-wide/16 v12, 0x0

    cmpl-double v12, v0, v12

    if-nez v12, :cond_12b

    const-wide/high16 v0, 0x3ff0000000000000L    # 1.0

    :cond_12b
    div-double v0, v10, v0

    invoke-static {v8, v9, v0, v1}, Ljava/lang/Math;->pow(DD)D

    move-result-wide v0

    sub-double v0, v6, v0

    mul-double/2addr v0, v2

    invoke-static {v0, v1, v4, v5}, Ljava/lang/Math;->min(DD)D

    move-result-wide v0

    neg-double v0, v0

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    double-to-int v0, v0

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    sub-int/2addr v0, v1

    const/4 v1, 0x1

    invoke-interface {v2, v0, v1}, Lcom/scwang/smartrefresh/layout/a/g;->a(IZ)Lcom/scwang/smartrefresh/layout/a/g;

    goto/16 :goto_1a

    :cond_145
    const/4 v0, 0x0

    cmpl-float v0, p1, v0

    if-ltz v0, :cond_18a

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ao:F

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    int-to-float v1, v1

    mul-float/2addr v0, v1

    float-to-double v2, v0

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->g:I

    div-int/lit8 v0, v0, 0x2

    invoke-virtual {p0}, Landroid/view/View;->getHeight()I

    move-result v1

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

    move-result v0

    int-to-double v0, v0

    const/4 v4, 0x0

    iget v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->l:F

    mul-float/2addr v5, p1

    invoke-static {v4, v5}, Ljava/lang/Math;->max(FF)F

    move-result v4

    float-to-double v4, v4

    const-wide/high16 v6, 0x3ff0000000000000L    # 1.0

    const-wide/high16 v8, 0x4059000000000000L    # 100.0

    neg-double v10, v4

    const-wide/16 v12, 0x0

    cmpl-double v12, v0, v12

    if-nez v12, :cond_174

    const-wide/high16 v0, 0x3ff0000000000000L    # 1.0

    :cond_174
    div-double v0, v10, v0

    invoke-static {v8, v9, v0, v1}, Ljava/lang/Math;->pow(DD)D

    move-result-wide v0

    sub-double v0, v6, v0

    mul-double/2addr v0, v2

    invoke-static {v0, v1, v4, v5}, Ljava/lang/Math;->min(DD)D

    move-result-wide v0

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    double-to-int v0, v0

    const/4 v1, 0x1

    invoke-interface {v2, v0, v1}, Lcom/scwang/smartrefresh/layout/a/g;->a(IZ)Lcom/scwang/smartrefresh/layout/a/g;

    goto/16 :goto_1a

    :cond_18a
    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ap:F

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    int-to-float v1, v1

    mul-float/2addr v0, v1

    float-to-double v2, v0

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->g:I

    div-int/lit8 v0, v0, 0x2

    invoke-virtual {p0}, Landroid/view/View;->getHeight()I

    move-result v1

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

    move-result v0

    int-to-double v0, v0

    const/4 v4, 0x0

    iget v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->l:F

    mul-float/2addr v5, p1

    invoke-static {v4, v5}, Ljava/lang/Math;->min(FF)F

    move-result v4

    neg-float v4, v4

    float-to-double v4, v4

    const-wide/high16 v6, 0x3ff0000000000000L    # 1.0

    const-wide/high16 v8, 0x4059000000000000L    # 100.0

    neg-double v10, v4

    const-wide/16 v12, 0x0

    cmpl-double v12, v0, v12

    if-nez v12, :cond_1b5

    const-wide/high16 v0, 0x3ff0000000000000L    # 1.0

    :cond_1b5
    div-double v0, v10, v0

    invoke-static {v8, v9, v0, v1}, Ljava/lang/Math;->pow(DD)D

    move-result-wide v0

    sub-double v0, v6, v0

    mul-double/2addr v0, v2

    invoke-static {v0, v1, v4, v5}, Ljava/lang/Math;->min(DD)D

    move-result-wide v0

    neg-double v0, v0

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    double-to-int v0, v0

    const/4 v1, 0x1

    invoke-interface {v2, v0, v1}, Lcom/scwang/smartrefresh/layout/a/g;->a(IZ)Lcom/scwang/smartrefresh/layout/a/g;

    goto/16 :goto_1a
.end method

.method public c(I)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
    .registers 4

    const/4 v0, 0x1

    const/4 v1, 0x0

    invoke-virtual {p0, p1, v0, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(IZZ)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

    move-result-object v0

    return-object v0
.end method

.method public c(Z)Lcom/scwang/smartrefresh/layout/a/h;
    .registers 2

    invoke-virtual {p0, p1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->setNestedScrollingEnabled(Z)V

    return-object p0
.end method

.method protected c()V
    .registers 8

    new-instance v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$6;

    invoke-direct {v1, p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$6;-><init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;)V

    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->j:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    invoke-interface {v0, v2}, Lcom/scwang/smartrefresh/layout/a/g;->a(I)Landroid/animation/ValueAnimator;

    move-result-object v2

    if-eqz v2, :cond_17

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

    :cond_17
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v0, :cond_29

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    iget v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ao:F

    iget v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    int-to-float v5, v5

    mul-float/2addr v4, v5

    float-to-int v4, v4

    invoke-interface {v0, p0, v3, v4}, Lcom/scwang/smartrefresh/layout/a/f;->onReleased(Lcom/scwang/smartrefresh/layout/a/h;II)V

    :cond_29
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ab:Lcom/scwang/smartrefresh/layout/f/c;

    if-eqz v0, :cond_45

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    instance-of v0, v0, Lcom/scwang/smartrefresh/layout/a/e;

    if-eqz v0, :cond_45

    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ab:Lcom/scwang/smartrefresh/layout/f/c;

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    check-cast v0, Lcom/scwang/smartrefresh/layout/a/e;

    iget v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    iget v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ao:F

    iget v6, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    int-to-float v6, v6

    mul-float/2addr v5, v6

    float-to-int v5, v5

    invoke-interface {v3, v0, v4, v5}, Lcom/scwang/smartrefresh/layout/f/c;->a(Lcom/scwang/smartrefresh/layout/a/e;II)V

    :cond_45
    if-nez v2, :cond_4b

    const/4 v0, 0x0

    invoke-virtual {v1, v0}, Landroid/animation/AnimatorListenerAdapter;->onAnimationEnd(Landroid/animation/Animator;)V

    :cond_4b
    return-void
.end method

.method public canScrollVertically(I)Z
    .registers 6

    const/4 v0, 0x0

    const/4 v1, 0x1

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    invoke-interface {v2}, Lcom/scwang/smartrefresh/layout/a/c;->b()Landroid/view/View;

    move-result-object v2

    if-gez p1, :cond_1c

    iget-boolean v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->J:Z

    if-nez v3, :cond_1a

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i()Z

    move-result v3

    if-nez v3, :cond_1a

    invoke-static {v2}, Lcom/scwang/smartrefresh/layout/g/d;->a(Landroid/view/View;)Z

    move-result v2

    if-eqz v2, :cond_1b

    :cond_1a
    move v0, v1

    :cond_1b
    :goto_1b
    return v0

    :cond_1c
    if-lez p1, :cond_30

    iget-boolean v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->J:Z

    if-nez v3, :cond_2e

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v3

    if-nez v3, :cond_2e

    invoke-static {v2}, Lcom/scwang/smartrefresh/layout/g/d;->b(Landroid/view/View;)Z

    move-result v2

    if-eqz v2, :cond_1b

    :cond_2e
    move v0, v1

    goto :goto_1b

    :cond_30
    move v0, v1

    goto :goto_1b
.end method

.method protected checkLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Z
    .registers 3

    instance-of v0, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;

    return v0
.end method

.method public computeScroll()V
    .registers 5

    const/4 v3, 0x1

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->w:Landroid/widget/Scroller;

    invoke-virtual {v0}, Landroid/widget/Scroller;->getCurrY()I

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->w:Landroid/widget/Scroller;

    invoke-virtual {v0}, Landroid/widget/Scroller;->computeScrollOffset()Z

    move-result v0

    if-eqz v0, :cond_57

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->w:Landroid/widget/Scroller;

    invoke-virtual {v0}, Landroid/widget/Scroller;->getFinalY()I

    move-result v0

    if-gez v0, :cond_28

    iget-boolean v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->J:Z

    if-nez v1, :cond_20

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i()Z

    move-result v1

    if-eqz v1, :cond_28

    :cond_20
    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    invoke-interface {v1}, Lcom/scwang/smartrefresh/layout/a/c;->c()Z

    move-result v1

    if-nez v1, :cond_3c

    :cond_28
    if-lez v0, :cond_7f

    iget-boolean v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->J:Z

    if-nez v1, :cond_34

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v1

    if-eqz v1, :cond_7f

    :cond_34
    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    invoke-interface {v1}, Lcom/scwang/smartrefresh/layout/a/c;->d()Z

    move-result v1

    if-eqz v1, :cond_7f

    :cond_3c
    iget-boolean v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aK:Z

    if-eqz v1, :cond_52

    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v2, 0xe

    if-lt v1, v2, :cond_5f

    if-lez v0, :cond_58

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->w:Landroid/widget/Scroller;

    invoke-virtual {v0}, Landroid/widget/Scroller;->getCurrVelocity()F

    move-result v0

    neg-float v0, v0

    :goto_4f
    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(F)V

    :cond_52
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->w:Landroid/widget/Scroller;

    invoke-virtual {v0, v3}, Landroid/widget/Scroller;->forceFinished(Z)V

    :cond_57
    :goto_57
    return-void

    :cond_58
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->w:Landroid/widget/Scroller;

    invoke-virtual {v0}, Landroid/widget/Scroller;->getCurrVelocity()F

    move-result v0

    goto :goto_4f

    :cond_5f
    const/high16 v1, 0x3f800000    # 1.0f

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->w:Landroid/widget/Scroller;

    invoke-virtual {v2}, Landroid/widget/Scroller;->getCurrY()I

    move-result v2

    sub-int v0, v2, v0

    int-to-float v0, v0

    mul-float/2addr v0, v1

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->w:Landroid/widget/Scroller;

    invoke-virtual {v1}, Landroid/widget/Scroller;->getDuration()I

    move-result v1

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->w:Landroid/widget/Scroller;

    invoke-virtual {v2}, Landroid/widget/Scroller;->timePassed()I

    move-result v2

    sub-int/2addr v1, v2

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

    move-result v1

    int-to-float v1, v1

    div-float/2addr v0, v1

    goto :goto_4f

    :cond_7f
    iput-boolean v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aK:Z

    invoke-virtual {p0}, Landroid/view/View;->invalidate()V

    goto :goto_57
.end method

.method public d(Z)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
    .registers 5

    iput-boolean p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->R:Z

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    instance-of v0, v0, Lcom/scwang/smartrefresh/layout/a/d;

    if-eqz v0, :cond_34

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    check-cast v0, Lcom/scwang/smartrefresh/layout/a/d;

    invoke-interface {v0, p1}, Lcom/scwang/smartrefresh/layout/a/d;->setNoMoreData(Z)Z

    move-result v0

    if-nez v0, :cond_34

    sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;

    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string/jumbo v2, "Footer:"

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

    move-result-object v1

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

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

    move-result-object v1

    const-string/jumbo v2, " Prompt completion is not supported.(\u4e0d\u652f\u6301\u63d0\u793a\u5b8c\u6210)"

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

    move-result-object v1

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

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    :cond_34
    return-object p0
.end method

.method protected d()V
    .registers 3

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->a:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-eq v0, v1, :cond_f

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-nez v0, :cond_f

    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->a:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V

    :cond_f
    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-eqz v0, :cond_19

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Lcom/scwang/smartrefresh/layout/a/g;->a(I)Landroid/animation/ValueAnimator;

    :cond_19
    return-void
.end method

.method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    .registers 15

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionMasked()I

    move-result v4

    const/4 v0, 0x6

    if-ne v4, v0, :cond_21

    const/4 v0, 0x1

    move v6, v0

    :goto_9
    if-eqz v6, :cond_24

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionIndex()I

    move-result v0

    :goto_f
    const/4 v5, 0x0

    const/4 v2, 0x0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getPointerCount()I

    move-result v3

    const/4 v1, 0x0

    move v12, v1

    move v1, v2

    move v2, v5

    move v5, v12

    :goto_1a
    if-ge v5, v3, :cond_31

    if-ne v0, v5, :cond_26

    :goto_1e
    add-int/lit8 v5, v5, 0x1

    goto :goto_1a

    :cond_21
    const/4 v0, 0x0

    move v6, v0

    goto :goto_9

    :cond_24
    const/4 v0, -0x1

    goto :goto_f

    :cond_26
    invoke-virtual {p1, v5}, Landroid/view/MotionEvent;->getX(I)F

    move-result v7

    add-float/2addr v2, v7

    invoke-virtual {p1, v5}, Landroid/view/MotionEvent;->getY(I)F

    move-result v7

    add-float/2addr v1, v7

    goto :goto_1e

    :cond_31
    if-eqz v6, :cond_8e

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

    :goto_35
    int-to-float v3, v0

    div-float/2addr v2, v3

    int-to-float v0, v0

    div-float v10, v1, v0

    const/4 v0, 0x6

    if-eq v4, v0, :cond_40

    const/4 v0, 0x5

    if-ne v4, v0, :cond_4d

    :cond_40
    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->n:Z

    if-eqz v0, :cond_4d

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i:F

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->k:F

    sub-float v1, v10, v1

    add-float/2addr v0, v1

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i:F

    :cond_4d
    iput v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j:F

    iput v10, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->k:F

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ae:Z

    if-eqz v0, :cond_ae

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I

    invoke-super {p0, p1}, Landroid/view/ViewGroup;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v2

    const/4 v1, 0x2

    if-ne v4, v1, :cond_8c

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I

    if-ne v0, v1, :cond_8c

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j:F

    float-to-int v3, v0

    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v1

    iget v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j:F

    if-nez v1, :cond_90

    const/4 v0, 0x1

    :goto_6e
    int-to-float v0, v0

    div-float v0, v4, v0

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i()Z

    move-result v4

    if-eqz v4, :cond_92

    iget v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-lez v4, :cond_92

    iget-object v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v4, :cond_92

    iget-object v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v4}, Lcom/scwang/smartrefresh/layout/a/f;->isSupportHorizontalDrag()Z

    move-result v4

    if-eqz v4, :cond_92

    iget-object v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v4, v0, v3, v1}, Lcom/scwang/smartrefresh/layout/a/f;->onHorizontalDrag(FII)V

    :cond_8c
    :goto_8c
    move v0, v2

    :goto_8d
    return v0

    :cond_8e
    move v0, v3

    goto :goto_35

    :cond_90
    move v0, v1

    goto :goto_6e

    :cond_92
    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v4

    if-eqz v4, :cond_8c

    iget v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-gez v4, :cond_8c

    iget-object v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v4, :cond_8c

    iget-object v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v4}, Lcom/scwang/smartrefresh/layout/a/f;->isSupportHorizontalDrag()Z

    move-result v4

    if-eqz v4, :cond_8c

    iget-object v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v4, v0, v3, v1}, Lcom/scwang/smartrefresh/layout/a/f;->onHorizontalDrag(FII)V

    goto :goto_8c

    :cond_ae
    invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z

    move-result v0

    if-eqz v0, :cond_f0

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i()Z

    move-result v0

    if-nez v0, :cond_c4

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v0

    if-nez v0, :cond_c4

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->J:Z

    if-eqz v0, :cond_f0

    :cond_c4
    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aE:Z

    if-eqz v0, :cond_da

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->u:Z

    if-nez v0, :cond_d4

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->v:Z

    if-eqz v0, :cond_da

    :cond_d4
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->r:Z

    if-nez v0, :cond_f0

    :cond_da
    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aF:Z

    if-eqz v0, :cond_f5

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->u:Z

    if-nez v0, :cond_ea

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->v:Z

    if-eqz v0, :cond_f5

    :cond_ea
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->s:Z

    if-eqz v0, :cond_f5

    :cond_f0
    invoke-super {p0, p1}, Landroid/view/ViewGroup;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto :goto_8d

    :cond_f5
    invoke-virtual {p0, v4}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(I)Z

    move-result v0

    if-nez v0, :cond_115

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->v:Z

    if-nez v0, :cond_115

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->m:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v0, v1, :cond_10b

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->Q:Z

    if-nez v0, :cond_115

    :cond_10b
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->l:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v0, v1, :cond_118

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->P:Z

    if-eqz v0, :cond_118

    :cond_115
    const/4 v0, 0x0

    goto/16 :goto_8d

    :cond_118
    packed-switch v4, :pswitch_data_3a0

    :cond_11b
    :goto_11b
    invoke-super {p0, p1}, Landroid/view/ViewGroup;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_8d

    :pswitch_121
    const/4 v0, 0x0

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->v:I

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->x:Landroid/view/VelocityTracker;

    invoke-virtual {v0, p1}, Landroid/view/VelocityTracker;->addMovement(Landroid/view/MotionEvent;)V

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->w:Landroid/widget/Scroller;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/Scroller;->forceFinished(Z)V

    iput v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->h:F

    iput v10, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i:F

    const/4 v0, 0x0

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->c:I

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->d:I

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->n:Z

    invoke-super {p0, p1}, Landroid/view/ViewGroup;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->o:Z

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->n:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v0, v1, :cond_160

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i:F

    invoke-virtual {p0}, Landroid/view/View;->getMeasuredHeight()I

    move-result v1

    mul-int/lit8 v1, v1, 0x5

    div-int/lit8 v1, v1, 0x6

    int-to-float v1, v1

    cmpg-float v0, v0, v1

    if-gez v0, :cond_160

    const/16 v0, 0x68

    iput-char v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->m:C

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->o:Z

    goto/16 :goto_8d

    :cond_160
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    if-eqz v0, :cond_169

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    invoke-interface {v0, p1}, Lcom/scwang/smartrefresh/layout/a/c;->a(Landroid/view/MotionEvent;)V

    :cond_169
    const/4 v0, 0x1

    goto/16 :goto_8d

    :pswitch_16c
    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->h:F

    sub-float v11, v2, v0

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i:F

    sub-float v0, v10, v0

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->x:Landroid/view/VelocityTracker;

    invoke-virtual {v1, p1}, Landroid/view/VelocityTracker;->addMovement(Landroid/view/MotionEvent;)V

    iget-boolean v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->n:Z

    if-nez v1, :cond_2f8

    iget-char v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->m:C

    const/16 v2, 0x68

    if-eq v1, v2, :cond_2f8

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    if-eqz v1, :cond_2f8

    iget-char v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->m:C

    const/16 v2, 0x76

    if-eq v1, v2, :cond_1a4

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v1

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a:I

    int-to-float v2, v2

    cmpl-float v1, v1, v2

    if-ltz v1, :cond_2d7

    invoke-static {v11}, Ljava/lang/Math;->abs(F)F

    move-result v1

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v2

    cmpg-float v1, v1, v2

    if-gez v1, :cond_2d7

    :cond_1a4
    const/16 v1, 0x76

    iput-char v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->m:C

    const/4 v1, 0x0

    cmpl-float v1, v0, v1

    if-lez v1, :cond_29e

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-ltz v1, :cond_1c3

    iget-boolean v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->J:Z

    if-nez v1, :cond_1bb

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i()Z

    move-result v1

    if-eqz v1, :cond_29e

    :cond_1bb
    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    invoke-interface {v1}, Lcom/scwang/smartrefresh/layout/a/c;->c()Z

    move-result v1

    if-eqz v1, :cond_29e

    :cond_1c3
    const/4 v1, 0x1

    iput-boolean v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->n:Z

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a:I

    int-to-float v1, v1

    sub-float v1, v10, v1

    iput v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i:F

    :cond_1cd
    :goto_1cd
    iget-boolean v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->n:Z

    if-eqz v1, :cond_2f8

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i:F

    sub-float v0, v10, v0

    iget-boolean v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->o:Z

    if-eqz v1, :cond_1e0

    const/4 v1, 0x3

    invoke-virtual {p1, v1}, Landroid/view/MotionEvent;->setAction(I)V

    invoke-super {p0, p1}, Landroid/view/ViewGroup;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    :cond_1e0
    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-gtz v1, :cond_1ed

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-nez v1, :cond_2ce

    const/4 v1, 0x0

    cmpl-float v1, v0, v1

    if-lez v1, :cond_2ce

    :cond_1ed
    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->b:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-interface {v1, v2}, Lcom/scwang/smartrefresh/layout/a/g;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/g;

    :goto_1f4
    invoke-virtual {p0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v1

    const/4 v2, 0x1

    invoke-interface {v1, v2}, Landroid/view/ViewParent;->requestDisallowInterceptTouchEvent(Z)V

    move v8, v0

    :goto_1fd
    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->n:Z

    if-eqz v0, :cond_338

    float-to-int v0, v8

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->d:I

    add-int v9, v0, v1

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aA:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->r:Z

    if-eqz v0, :cond_212

    if-ltz v9, :cond_21e

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->c:I

    if-ltz v0, :cond_21e

    :cond_212
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aA:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->s:Z

    if-eqz v0, :cond_331

    if-gtz v9, :cond_21e

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->c:I

    if-lez v0, :cond_331

    :cond_21e
    iput v9, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->c:I

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getEventTime()J

    move-result-wide v0

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aL:Landroid/view/MotionEvent;

    if-nez v2, :cond_23c

    const/4 v4, 0x0

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->h:F

    add-float v5, v2, v11

    iget v6, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i:F

    const/4 v7, 0x0

    move-wide v2, v0

    invoke-static/range {v0 .. v7}, Landroid/view/MotionEvent;->obtain(JJIFFI)Landroid/view/MotionEvent;

    move-result-object v2

    iput-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aL:Landroid/view/MotionEvent;

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aL:Landroid/view/MotionEvent;

    invoke-super {p0, v2}, Landroid/view/ViewGroup;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    :cond_23c
    const/4 v4, 0x2

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->h:F

    add-float v5, v2, v11

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i:F

    int-to-float v3, v9

    add-float v6, v2, v3

    const/4 v7, 0x0

    move-wide v2, v0

    invoke-static/range {v0 .. v7}, Landroid/view/MotionEvent;->obtain(JJIFFI)Landroid/view/MotionEvent;

    move-result-object v1

    invoke-super {p0, v1}, Landroid/view/ViewGroup;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aG:Z

    if-eqz v0, :cond_261

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a:I

    int-to-float v0, v0

    cmpl-float v0, v8, v0

    if-lez v0, :cond_261

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-gez v0, :cond_261

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aG:Z

    :cond_261
    if-lez v9, :cond_2fb

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->J:Z

    if-nez v0, :cond_26d

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i()Z

    move-result v0

    if-eqz v0, :cond_2fb

    :cond_26d
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/c;->c()Z

    move-result v0

    if-eqz v0, :cond_2fb

    iput v10, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->k:F

    iput v10, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i:F

    const/4 v0, 0x0

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->d:I

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    sget-object v3, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->b:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-interface {v2, v3}, Lcom/scwang/smartrefresh/layout/a/g;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/g;

    :goto_283
    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aA:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-boolean v2, v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->r:Z

    if-eqz v2, :cond_28b

    if-ltz v0, :cond_293

    :cond_28b
    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aA:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-boolean v2, v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->s:Z

    if-eqz v2, :cond_31f

    if-lez v0, :cond_31f

    :cond_293
    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-eqz v0, :cond_29b

    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b(F)V

    :cond_29b
    const/4 v0, 0x1

    goto/16 :goto_8d

    :cond_29e
    const/4 v1, 0x0

    cmpg-float v1, v0, v1

    if-gez v1, :cond_1cd

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-gtz v1, :cond_2c3

    iget-boolean v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->J:Z

    if-nez v1, :cond_2b1

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v1

    if-eqz v1, :cond_1cd

    :cond_2b1
    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->m:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v1, v2, :cond_2bb

    iget-boolean v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aG:Z

    if-nez v1, :cond_2c3

    :cond_2bb
    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    invoke-interface {v1}, Lcom/scwang/smartrefresh/layout/a/c;->d()Z

    move-result v1

    if-eqz v1, :cond_1cd

    :cond_2c3
    const/4 v1, 0x1

    iput-boolean v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->n:Z

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a:I

    int-to-float v1, v1

    add-float/2addr v1, v10

    iput v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i:F

    goto/16 :goto_1cd

    :cond_2ce
    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->c:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-interface {v1, v2}, Lcom/scwang/smartrefresh/layout/a/g;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/g;

    goto/16 :goto_1f4

    :cond_2d7
    invoke-static {v11}, Ljava/lang/Math;->abs(F)F

    move-result v1

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a:I

    int-to-float v2, v2

    cmpl-float v1, v1, v2

    if-ltz v1, :cond_2f8

    invoke-static {v11}, Ljava/lang/Math;->abs(F)F

    move-result v1

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v2

    cmpl-float v1, v1, v2

    if-lez v1, :cond_2f8

    iget-char v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->m:C

    const/16 v2, 0x76

    if-eq v1, v2, :cond_2f8

    const/16 v1, 0x68

    iput-char v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->m:C

    :cond_2f8
    move v8, v0

    goto/16 :goto_1fd

    :cond_2fb
    if-gez v9, :cond_39d

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->J:Z

    if-nez v0, :cond_307

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v0

    if-eqz v0, :cond_39d

    :cond_307
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/c;->d()Z

    move-result v0

    if-eqz v0, :cond_39d

    iput v10, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->k:F

    iput v10, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i:F

    const/4 v0, 0x0

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->d:I

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    sget-object v3, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->c:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-interface {v2, v3}, Lcom/scwang/smartrefresh/layout/a/g;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/g;

    goto/16 :goto_283

    :cond_31f
    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aL:Landroid/view/MotionEvent;

    if-eqz v2, :cond_32d

    const/4 v2, 0x0

    iput-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aL:Landroid/view/MotionEvent;

    const/4 v2, 0x3

    invoke-virtual {v1, v2}, Landroid/view/MotionEvent;->setAction(I)V

    invoke-super {p0, v1}, Landroid/view/ViewGroup;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    :cond_32d
    invoke-virtual {v1}, Landroid/view/MotionEvent;->recycle()V

    move v9, v0

    :cond_331
    int-to-float v0, v9

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b(F)V

    const/4 v0, 0x1

    goto/16 :goto_8d

    :cond_338
    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aG:Z

    if-eqz v0, :cond_11b

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a:I

    int-to-float v0, v0

    cmpl-float v0, v8, v0

    if-lez v0, :cond_11b

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-gez v0, :cond_11b

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aG:Z

    goto/16 :goto_11b

    :pswitch_34c
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->x:Landroid/view/VelocityTracker;

    invoke-virtual {v0, p1}, Landroid/view/VelocityTracker;->addMovement(Landroid/view/MotionEvent;)V

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->x:Landroid/view/VelocityTracker;

    const/16 v1, 0x3e8

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->u:I

    int-to-float v2, v2

    invoke-virtual {v0, v1, v2}, Landroid/view/VelocityTracker;->computeCurrentVelocity(IF)V

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->x:Landroid/view/VelocityTracker;

    invoke-virtual {v0}, Landroid/view/VelocityTracker;->getYVelocity()F

    move-result v0

    float-to-int v0, v0

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->v:I

    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(Ljava/lang/Float;)Z

    :pswitch_368
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->x:Landroid/view/VelocityTracker;

    invoke-virtual {v0}, Landroid/view/VelocityTracker;->clear()V

    const/16 v0, 0x6e

    iput-char v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->m:C

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aL:Landroid/view/MotionEvent;

    if-eqz v0, :cond_390

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aL:Landroid/view/MotionEvent;

    invoke-virtual {v0}, Landroid/view/MotionEvent;->recycle()V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aL:Landroid/view/MotionEvent;

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getEventTime()J

    move-result-wide v0

    iget v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->h:F

    const/4 v7, 0x0

    move-wide v2, v0

    move v6, v10

    invoke-static/range {v0 .. v7}, Landroid/view/MotionEvent;->obtain(JJIFFI)Landroid/view/MotionEvent;

    move-result-object v0

    invoke-super {p0, v0}, Landroid/view/ViewGroup;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    invoke-virtual {v0}, Landroid/view/MotionEvent;->recycle()V

    :cond_390
    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->e()V

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->n:Z

    if-eqz v0, :cond_11b

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->n:Z

    const/4 v0, 0x1

    goto/16 :goto_8d

    :cond_39d
    move v0, v9

    goto/16 :goto_283

    :pswitch_data_3a0
    .packed-switch 0x0
        :pswitch_121
        :pswitch_34c
        :pswitch_16c
        :pswitch_368
    .end packed-switch
.end method

.method protected drawChild(Landroid/graphics/Canvas;Landroid/view/View;J)Z
    .registers 14

    const/4 v8, 0x1

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    if-eqz v0, :cond_2a

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/c;->a()Landroid/view/View;

    move-result-object v0

    move-object v6, v0

    :goto_c
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v0, :cond_b3

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v0

    if-ne v0, p2, :cond_b3

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i()Z

    move-result v0

    if-eqz v0, :cond_28

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->H:Z

    if-nez v0, :cond_2d

    invoke-virtual {p0}, Landroid/view/View;->isInEditMode()Z

    move-result v0

    if-eqz v0, :cond_2d

    :cond_28
    move v0, v8

    :goto_29
    return v0

    :cond_2a
    const/4 v0, 0x0

    move-object v6, v0

    goto :goto_c

    :cond_2d
    if-eqz v6, :cond_b3

    invoke-virtual {v6}, Landroid/view/View;->getTop()I

    move-result v0

    invoke-virtual {v6}, Landroid/view/View;->getPaddingTop()I

    move-result v1

    add-int/2addr v0, v1

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    add-int/2addr v0, v1

    invoke-virtual {p2}, Landroid/view/View;->getTop()I

    move-result v1

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

    move-result v0

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aC:I

    if-eqz v1, :cond_78

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->av:Landroid/graphics/Paint;

    if-eqz v1, :cond_78

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->av:Landroid/graphics/Paint;

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aC:I

    invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setColor(I)V

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v1}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v1

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->b:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v1, v2, :cond_a0

    invoke-virtual {p2}, Landroid/view/View;->getBottom()I

    move-result v0

    move v7, v0

    :goto_61
    invoke-virtual {p2}, Landroid/view/View;->getLeft()I

    move-result v0

    int-to-float v1, v0

    invoke-virtual {p2}, Landroid/view/View;->getTop()I

    move-result v0

    int-to-float v2, v0

    invoke-virtual {p2}, Landroid/view/View;->getRight()I

    move-result v0

    int-to-float v3, v0

    int-to-float v4, v7

    iget-object v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->av:Landroid/graphics/Paint;

    move-object v0, p1

    invoke-virtual/range {v0 .. v5}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V

    move v0, v7

    :cond_78
    iget-boolean v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->C:Z

    if-eqz v1, :cond_b3

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v1}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v1

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->c:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v1, v2, :cond_b3

    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    invoke-virtual {p2}, Landroid/view/View;->getLeft()I

    move-result v1

    invoke-virtual {p2}, Landroid/view/View;->getTop()I

    move-result v2

    invoke-virtual {p2}, Landroid/view/View;->getRight()I

    move-result v3

    invoke-virtual {p1, v1, v2, v3, v0}, Landroid/graphics/Canvas;->clipRect(IIII)Z

    invoke-super {p0, p1, p2, p3, p4}, Landroid/view/ViewGroup;->drawChild(Landroid/graphics/Canvas;Landroid/view/View;J)Z

    move-result v0

    invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V

    goto :goto_29

    :cond_a0
    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v1}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v1

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->a:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v1, v2, :cond_161

    invoke-virtual {p2}, Landroid/view/View;->getBottom()I

    move-result v0

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    add-int/2addr v0, v1

    move v7, v0

    goto :goto_61

    :cond_b3
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v0, :cond_159

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v0

    if-ne v0, p2, :cond_159

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v0

    if-eqz v0, :cond_cf

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->H:Z

    if-nez v0, :cond_d2

    invoke-virtual {p0}, Landroid/view/View;->isInEditMode()Z

    move-result v0

    if-eqz v0, :cond_d2

    :cond_cf
    move v0, v8

    goto/16 :goto_29

    :cond_d2
    if-eqz v6, :cond_159

    invoke-virtual {v6}, Landroid/view/View;->getBottom()I

    move-result v0

    invoke-virtual {v6}, Landroid/view/View;->getPaddingBottom()I

    move-result v1

    sub-int/2addr v0, v1

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    add-int/2addr v0, v1

    invoke-virtual {p2}, Landroid/view/View;->getBottom()I

    move-result v1

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

    move-result v0

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aD:I

    if-eqz v1, :cond_11d

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->av:Landroid/graphics/Paint;

    if-eqz v1, :cond_11d

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->av:Landroid/graphics/Paint;

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aD:I

    invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setColor(I)V

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v1}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v1

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->b:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v1, v2, :cond_146

    invoke-virtual {p2}, Landroid/view/View;->getTop()I

    move-result v0

    move v6, v0

    :goto_106
    invoke-virtual {p2}, Landroid/view/View;->getLeft()I

    move-result v0

    int-to-float v1, v0

    int-to-float v2, v6

    invoke-virtual {p2}, Landroid/view/View;->getRight()I

    move-result v0

    int-to-float v3, v0

    invoke-virtual {p2}, Landroid/view/View;->getBottom()I

    move-result v0

    int-to-float v4, v0

    iget-object v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->av:Landroid/graphics/Paint;

    move-object v0, p1

    invoke-virtual/range {v0 .. v5}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V

    move v0, v6

    :cond_11d
    iget-boolean v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->D:Z

    if-eqz v1, :cond_159

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v1}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v1

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->c:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v1, v2, :cond_159

    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    invoke-virtual {p2}, Landroid/view/View;->getLeft()I

    move-result v1

    invoke-virtual {p2}, Landroid/view/View;->getRight()I

    move-result v2

    invoke-virtual {p2}, Landroid/view/View;->getBottom()I

    move-result v3

    invoke-virtual {p1, v1, v0, v2, v3}, Landroid/graphics/Canvas;->clipRect(IIII)Z

    invoke-super {p0, p1, p2, p3, p4}, Landroid/view/ViewGroup;->drawChild(Landroid/graphics/Canvas;Landroid/view/View;J)Z

    move-result v0

    invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V

    goto/16 :goto_29

    :cond_146
    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v1}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v1

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->a:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v1, v2, :cond_15f

    invoke-virtual {p2}, Landroid/view/View;->getTop()I

    move-result v0

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    add-int/2addr v0, v1

    move v6, v0

    goto :goto_106

    :cond_159
    invoke-super {p0, p1, p2, p3, p4}, Landroid/view/ViewGroup;->drawChild(Landroid/graphics/Canvas;Landroid/view/View;J)Z

    move-result v0

    goto/16 :goto_29

    :cond_15f
    move v6, v0

    goto :goto_106

    :cond_161
    move v7, v0

    goto/16 :goto_61
.end method

.method public e(Z)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
    .registers 8

    const/4 v0, 0x0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    iget-wide v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aB:J

    sub-long/2addr v2, v4

    if-eqz p1, :cond_11

    long-to-int v1, v2

    rsub-int v1, v1, 0x12c

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

    move-result v0

    :cond_11
    invoke-virtual {p0, v0, p1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(IZ)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

    move-result-object v0

    return-object v0
.end method

.method protected e()V
    .registers 5

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->n:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v0, v1, :cond_34

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->v:I

    const/16 v1, -0x3e8

    if-le v0, v1, :cond_2a

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    invoke-virtual {p0}, Landroid/view/View;->getMeasuredHeight()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    if-le v0, v1, :cond_2a

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    invoke-virtual {p0}, Landroid/view/View;->getMeasuredHeight()I

    move-result v1

    invoke-interface {v0, v1}, Lcom/scwang/smartrefresh/layout/a/g;->a(I)Landroid/animation/ValueAnimator;

    move-result-object v0

    if-eqz v0, :cond_29

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->e:I

    int-to-long v2, v1

    invoke-virtual {v0, v2, v3}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;

    :cond_29
    :goto_29
    return-void

    :cond_2a
    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->n:Z

    if-eqz v0, :cond_29

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/g;->b()Lcom/scwang/smartrefresh/layout/a/g;

    goto :goto_29

    :cond_34
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->m:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-eq v0, v1, :cond_4c

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->G:Z

    if-eqz v0, :cond_66

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->R:Z

    if-eqz v0, :cond_66

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-gez v0, :cond_66

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v0

    if-eqz v0, :cond_66

    :cond_4c
    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    neg-int v1, v1

    if-ge v0, v1, :cond_5c

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    neg-int v1, v1

    invoke-interface {v0, v1}, Lcom/scwang/smartrefresh/layout/a/g;->a(I)Landroid/animation/ValueAnimator;

    goto :goto_29

    :cond_5c
    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-lez v0, :cond_29

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    invoke-interface {v0, v2}, Lcom/scwang/smartrefresh/layout/a/g;->a(I)Landroid/animation/ValueAnimator;

    goto :goto_29

    :cond_66
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->l:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v0, v1, :cond_84

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    if-le v0, v1, :cond_7a

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    invoke-interface {v0, v1}, Lcom/scwang/smartrefresh/layout/a/g;->a(I)Landroid/animation/ValueAnimator;

    goto :goto_29

    :cond_7a
    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-gez v0, :cond_29

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    invoke-interface {v0, v2}, Lcom/scwang/smartrefresh/layout/a/g;->a(I)Landroid/animation/ValueAnimator;

    goto :goto_29

    :cond_84
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->b:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v0, v1, :cond_92

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->d:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-interface {v0, v1}, Lcom/scwang/smartrefresh/layout/a/g;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/g;

    goto :goto_29

    :cond_92
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->c:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v0, v1, :cond_a0

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->e:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-interface {v0, v1}, Lcom/scwang/smartrefresh/layout/a/g;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/g;

    goto :goto_29

    :cond_a0
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->f:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v0, v1, :cond_aa

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->c()V

    goto :goto_29

    :cond_aa
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->g:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v0, v1, :cond_b5

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b()V

    goto/16 :goto_29

    :cond_b5
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->h:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v0, v1, :cond_c4

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->i:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-interface {v0, v1}, Lcom/scwang/smartrefresh/layout/a/g;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/g;

    goto/16 :goto_29

    :cond_c4
    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-eqz v0, :cond_29

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    invoke-interface {v0, v2}, Lcom/scwang/smartrefresh/layout/a/g;->a(I)Landroid/animation/ValueAnimator;

    goto/16 :goto_29
.end method

.method protected f()Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;
    .registers 3

    const/4 v1, -0x1

    new-instance v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;

    invoke-direct {v0, v1, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;-><init>(II)V

    return-object v0
.end method

.method public g()Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
    .registers 5

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iget-wide v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aB:J

    sub-long/2addr v0, v2

    const/4 v2, 0x0

    long-to-int v0, v0

    rsub-int v0, v0, 0x12c

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

    move-result v0

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b(I)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

    move-result-object v0

    return-object v0
.end method

.method protected synthetic generateDefaultLayoutParams()Landroid/view/ViewGroup$LayoutParams;
    .registers 2

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->f()Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;

    move-result-object v0

    return-object v0
.end method

.method public synthetic generateLayoutParams(Landroid/util/AttributeSet;)Landroid/view/ViewGroup$LayoutParams;
    .registers 3

    invoke-virtual {p0, p1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(Landroid/util/AttributeSet;)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;

    move-result-object v0

    return-object v0
.end method

.method protected synthetic generateLayoutParams(Landroid/view/ViewGroup$LayoutParams;)Landroid/view/ViewGroup$LayoutParams;
    .registers 3

    invoke-virtual {p0, p1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(Landroid/view/ViewGroup$LayoutParams;)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;

    move-result-object v0

    return-object v0
.end method

.method public bridge synthetic getLayout()Landroid/view/ViewGroup;
    .registers 2

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->getLayout()Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

    move-result-object v0

    return-object v0
.end method

.method public getLayout()Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
    .registers 1

    return-object p0
.end method

.method public getNestedScrollAxes()I
    .registers 2

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ah:Landroid/support/v4/view/NestedScrollingParentHelper;

    invoke-virtual {v0}, Landroid/support/v4/view/NestedScrollingParentHelper;->getNestedScrollAxes()I

    move-result v0

    return v0
.end method

.method public getRefreshFooter()Lcom/scwang/smartrefresh/layout/a/d;
    .registers 2
    .annotation build Landroid/support/annotation/Nullable;
    .end annotation

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    instance-of v0, v0, Lcom/scwang/smartrefresh/layout/a/d;

    if-eqz v0, :cond_b

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    check-cast v0, Lcom/scwang/smartrefresh/layout/a/d;

    :goto_a
    return-object v0

    :cond_b
    const/4 v0, 0x0

    goto :goto_a
.end method

.method public getRefreshHeader()Lcom/scwang/smartrefresh/layout/a/e;
    .registers 2
    .annotation build Landroid/support/annotation/Nullable;
    .end annotation

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    instance-of v0, v0, Lcom/scwang/smartrefresh/layout/a/e;

    if-eqz v0, :cond_b

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    check-cast v0, Lcom/scwang/smartrefresh/layout/a/e;

    :goto_a
    return-object v0

    :cond_b
    const/4 v0, 0x0

    goto :goto_a
.end method

.method public getState()Lcom/scwang/smartrefresh/layout/constant/RefreshState;
    .registers 2

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    return-object v0
.end method

.method public h()Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
    .registers 5

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iget-wide v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aB:J

    sub-long/2addr v0, v2

    const/4 v2, 0x0

    long-to-int v0, v0

    rsub-int v0, v0, 0x12c

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

    move-result v0

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->c(I)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

    move-result-object v0

    return-object v0
.end method

.method public i()Z
    .registers 2

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->A:Z

    if-eqz v0, :cond_a

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->L:Z

    if-nez v0, :cond_a

    const/4 v0, 0x1

    :goto_9
    return v0

    :cond_a
    const/4 v0, 0x0

    goto :goto_9
.end method

.method public isNestedScrollingEnabled()Z
    .registers 2

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ag:Landroid/support/v4/view/NestedScrollingChildHelper;

    invoke-virtual {v0}, Landroid/support/v4/view/NestedScrollingChildHelper;->isNestedScrollingEnabled()Z

    move-result v0

    return v0
.end method

.method public j()Z
    .registers 2

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->B:Z

    if-eqz v0, :cond_a

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->L:Z

    if-nez v0, :cond_a

    const/4 v0, 0x1

    :goto_9
    return v0

    :cond_a
    const/4 v0, 0x0

    goto :goto_9
.end method

.method public synthetic k()Lcom/scwang/smartrefresh/layout/a/h;
    .registers 2

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->g()Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

    move-result-object v0

    return-object v0
.end method

.method protected onAttachedToWindow()V
    .registers 11

    const/4 v9, -0x1

    const/high16 v8, 0x41a00000    # 20.0f

    const/4 v2, 0x0

    const/4 v1, 0x0

    invoke-super {p0}, Landroid/view/ViewGroup;->onAttachedToWindow()V

    invoke-virtual {p0}, Landroid/view/View;->isInEditMode()Z

    move-result v0

    if-nez v0, :cond_125

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aw:Landroid/os/Handler;

    if-nez v0, :cond_19

    new-instance v0, Landroid/os/Handler;

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

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aw:Landroid/os/Handler;

    :cond_19
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ay:Ljava/util/List;

    if-eqz v0, :cond_3e

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ay:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v3

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

    move-result v0

    if-eqz v0, :cond_37

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

    move-result-object v0

    check-cast v0, Lcom/scwang/smartrefresh/layout/g/a;

    iget-object v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aw:Landroid/os/Handler;

    iget-wide v6, v0, Lcom/scwang/smartrefresh/layout/g/a;->a:J

    invoke-virtual {v4, v0, v6, v7}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    goto :goto_23

    :cond_37
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ay:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iput-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ay:Ljava/util/List;

    :cond_3e
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    if-nez v0, :cond_4f

    sget-object v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aJ:Lcom/scwang/smartrefresh/layout/a/b;

    invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-interface {v0, v3, p0}, Lcom/scwang/smartrefresh/layout/a/b;->createRefreshHeader(Landroid/content/Context;Lcom/scwang/smartrefresh/layout/a/h;)Lcom/scwang/smartrefresh/layout/a/e;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(Lcom/scwang/smartrefresh/layout/a/e;)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

    :cond_4f
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    if-nez v0, :cond_91

    sget-object v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aI:Lcom/scwang/smartrefresh/layout/a/a;

    invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-interface {v0, v3, p0}, Lcom/scwang/smartrefresh/layout/a/a;->createRefreshFooter(Landroid/content/Context;Lcom/scwang/smartrefresh/layout/a/h;)Lcom/scwang/smartrefresh/layout/a/d;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(Lcom/scwang/smartrefresh/layout/a/d;)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

    :goto_60
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    if-nez v0, :cond_9f

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->getChildCount()I

    move-result v3

    move v0, v1

    :goto_69
    if-ge v0, v3, :cond_9f

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v4

    iget-object v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v5, :cond_7b

    iget-object v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v5}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v5

    if-eq v4, v5, :cond_8e

    :cond_7b
    iget-object v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v5, :cond_87

    iget-object v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v5}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v5

    if-eq v4, v5, :cond_8e

    :cond_87
    new-instance v5, Lcom/scwang/smartrefresh/layout/d/a;

    invoke-direct {v5, v4}, Lcom/scwang/smartrefresh/layout/d/a;-><init>(Landroid/view/View;)V

    iput-object v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

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

    goto :goto_69

    :cond_91
    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->B:Z

    if-nez v0, :cond_99

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->S:Z

    if-nez v0, :cond_9d

    :cond_99
    const/4 v0, 0x1

    :goto_9a
    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->B:Z

    goto :goto_60

    :cond_9d
    move v0, v1

    goto :goto_9a

    :cond_9f
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    if-nez v0, :cond_d6

    invoke-static {v8}, Lcom/scwang/smartrefresh/layout/g/b;->a(F)I

    move-result v0

    new-instance v3, Landroid/widget/TextView;

    invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;

    move-result-object v4

    invoke-direct {v3, v4}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    const v4, -0x9a00

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setTextColor(I)V

    const/16 v4, 0x11

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setGravity(I)V

    invoke-virtual {v3, v8}, Landroid/widget/TextView;->setTextSize(F)V

    sget v4, Lcom/scwang/smartrefresh/layout/a$a;->srl_content_empty:I

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

    invoke-super {p0, v3, v9, v9}, Landroid/view/ViewGroup;->addView(Landroid/view/View;II)V

    new-instance v4, Lcom/scwang/smartrefresh/layout/d/a;

    invoke-direct {v4, v3}, Lcom/scwang/smartrefresh/layout/d/a;-><init>(Landroid/view/View;)V

    iput-object v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    invoke-interface {v3}, Lcom/scwang/smartrefresh/layout/a/c;->a()Landroid/view/View;

    move-result-object v3

    invoke-virtual {v3, v0, v0, v0, v0}, Landroid/view/View;->setPadding(IIII)V

    :cond_d6
    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->p:I

    if-lez v0, :cond_17b

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->p:I

    invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    :goto_e0
    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->q:I

    if-lez v3, :cond_ea

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->q:I

    invoke-virtual {p0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    :cond_ea
    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    iget-object v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ac:Lcom/scwang/smartrefresh/layout/a/i;

    invoke-interface {v3, v4}, Lcom/scwang/smartrefresh/layout/a/c;->a(Lcom/scwang/smartrefresh/layout/a/i;)V

    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    iget-boolean v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->O:Z

    invoke-interface {v3, v4}, Lcom/scwang/smartrefresh/layout/a/c;->a(Z)V

    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    iget-object v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    invoke-interface {v3, v4, v0, v2}, Lcom/scwang/smartrefresh/layout/a/c;->a(Lcom/scwang/smartrefresh/layout/a/g;Landroid/view/View;Landroid/view/View;)V

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-eqz v0, :cond_113

    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->a:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    iput v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->r:I

    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->s:I

    invoke-interface {v0, v1, v2, v3}, Lcom/scwang/smartrefresh/layout/a/c;->a(III)V

    :cond_113
    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->T:Z

    if-nez v0, :cond_125

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isNestedScrollingEnabled()Z

    move-result v0

    if-nez v0, :cond_125

    new-instance v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$4;

    invoke-direct {v0, p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$4;-><init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;)V

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->post(Ljava/lang/Runnable;)Z

    :cond_125
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->z:[I

    if-eqz v0, :cond_13f

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v0, :cond_134

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->z:[I

    invoke-interface {v0, v1}, Lcom/scwang/smartrefresh/layout/a/f;->setPrimaryColors([I)V

    :cond_134
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v0, :cond_13f

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->z:[I

    invoke-interface {v0, v1}, Lcom/scwang/smartrefresh/layout/a/f;->setPrimaryColors([I)V

    :cond_13f
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    if-eqz v0, :cond_14c

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/c;->a()Landroid/view/View;

    move-result-object v0

    invoke-super {p0, v0}, Landroid/view/ViewGroup;->bringChildToFront(Landroid/view/View;)V

    :cond_14c
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v0, :cond_163

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v0

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->c:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-eq v0, v1, :cond_163

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v0

    invoke-super {p0, v0}, Landroid/view/ViewGroup;->bringChildToFront(Landroid/view/View;)V

    :cond_163
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v0, :cond_17a

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v0

    sget-object v1, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->c:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-eq v0, v1, :cond_17a

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v0

    invoke-super {p0, v0}, Landroid/view/ViewGroup;->bringChildToFront(Landroid/view/View;)V

    :cond_17a
    return-void

    :cond_17b
    move-object v0, v2

    goto/16 :goto_e0
.end method

.method protected onDetachedFromWindow()V
    .registers 5

    const/4 v3, 0x1

    const/4 v2, 0x0

    invoke-super {p0}, Landroid/view/ViewGroup;->onDetachedFromWindow()V

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    const/4 v1, 0x0

    invoke-interface {v0, v1, v3}, Lcom/scwang/smartrefresh/layout/a/g;->a(IZ)Lcom/scwang/smartrefresh/layout/a/g;

    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->a:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aw:Landroid/os/Handler;

    invoke-virtual {v0, v2}, Landroid/os/Handler;->removeCallbacksAndMessages(Ljava/lang/Object;)V

    iput-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aw:Landroid/os/Handler;

    iput-boolean v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->S:Z

    iput-boolean v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->T:Z

    iput-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aM:Ljava/lang/Runnable;

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    if-eqz v0, :cond_32

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    invoke-virtual {v0}, Landroid/animation/ValueAnimator;->removeAllListeners()V

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    invoke-virtual {v0}, Landroid/animation/ValueAnimator;->removeAllUpdateListeners()V

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    invoke-virtual {v0}, Landroid/animation/ValueAnimator;->cancel()V

    iput-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aN:Landroid/animation/ValueAnimator;

    :cond_32
    return-void
.end method

.method protected onFinishInflate()V
    .registers 12

    const/4 v10, 0x3

    const/4 v5, 0x2

    const/4 v6, -0x1

    const/4 v1, 0x1

    const/4 v2, 0x0

    invoke-super {p0}, Landroid/view/ViewGroup;->onFinishInflate()V

    invoke-super {p0}, Landroid/view/ViewGroup;->getChildCount()I

    move-result v8

    if-le v8, v10, :cond_17

    new-instance v0, Ljava/lang/RuntimeException;

    const-string/jumbo v1, "\u6700\u591a\u53ea\u652f\u63013\u4e2a\u5b50View\uff0cMost only support three sub view"

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

    throw v0

    :cond_17
    move v3, v2

    move v0, v6

    move v4, v2

    :goto_1a
    if-ge v3, v8, :cond_3d

    invoke-super {p0, v3}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v7

    invoke-static {v7}, Lcom/scwang/smartrefresh/layout/g/e;->b(Landroid/view/View;)Z

    move-result v9

    if-eqz v9, :cond_2f

    if-lt v4, v5, :cond_2a

    if-ne v3, v1, :cond_2f

    :cond_2a
    move v0, v3

    move v4, v5

    :cond_2c
    :goto_2c
    add-int/lit8 v3, v3, 0x1

    goto :goto_1a

    :cond_2f
    instance-of v7, v7, Lcom/scwang/smartrefresh/layout/a/f;

    if-nez v7, :cond_2c

    if-ge v4, v1, :cond_2c

    if-lez v3, :cond_3b

    move v0, v1

    :goto_38
    move v4, v0

    move v0, v3

    goto :goto_2c

    :cond_3b
    move v0, v2

    goto :goto_38

    :cond_3d
    if-ltz v0, :cond_a2

    new-instance v3, Lcom/scwang/smartrefresh/layout/d/a;

    invoke-super {p0, v0}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v4

    invoke-direct {v3, v4}, Lcom/scwang/smartrefresh/layout/d/a;-><init>(Landroid/view/View;)V

    iput-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    if-ne v0, v1, :cond_70

    if-ne v8, v10, :cond_a5

    move v3, v2

    :goto_4f
    move v7, v2

    :goto_50
    if-ge v7, v8, :cond_a1

    invoke-super {p0, v7}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    if-eq v7, v3, :cond_64

    if-eq v7, v5, :cond_7c

    if-ne v3, v6, :cond_7c

    iget-object v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    if-nez v4, :cond_7c

    instance-of v4, v0, Lcom/scwang/smartrefresh/layout/a/e;

    if-eqz v4, :cond_7c

    :cond_64
    instance-of v4, v0, Lcom/scwang/smartrefresh/layout/a/e;

    if-eqz v4, :cond_75

    check-cast v0, Lcom/scwang/smartrefresh/layout/a/e;

    :goto_6a
    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    :cond_6c
    :goto_6c
    add-int/lit8 v0, v7, 0x1

    move v7, v0

    goto :goto_50

    :cond_70
    if-ne v8, v5, :cond_a2

    move v5, v1

    move v3, v6

    goto :goto_4f

    :cond_75
    new-instance v4, Lcom/scwang/smartrefresh/layout/d/c;

    invoke-direct {v4, v0}, Lcom/scwang/smartrefresh/layout/d/c;-><init>(Landroid/view/View;)V

    move-object v0, v4

    goto :goto_6a

    :cond_7c
    if-eq v7, v5, :cond_84

    if-ne v5, v6, :cond_6c

    instance-of v4, v0, Lcom/scwang/smartrefresh/layout/a/d;

    if-eqz v4, :cond_6c

    :cond_84
    iget-boolean v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->B:Z

    if-nez v4, :cond_8c

    iget-boolean v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->S:Z

    if-nez v4, :cond_98

    :cond_8c
    move v4, v1

    :goto_8d
    iput-boolean v4, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->B:Z

    instance-of v4, v0, Lcom/scwang/smartrefresh/layout/a/d;

    if-eqz v4, :cond_9a

    check-cast v0, Lcom/scwang/smartrefresh/layout/a/d;

    :goto_95
    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    goto :goto_6c

    :cond_98
    move v4, v2

    goto :goto_8d

    :cond_9a
    new-instance v4, Lcom/scwang/smartrefresh/layout/d/b;

    invoke-direct {v4, v0}, Lcom/scwang/smartrefresh/layout/d/b;-><init>(Landroid/view/View;)V

    move-object v0, v4

    goto :goto_95

    :cond_a1
    return-void

    :cond_a2
    move v5, v6

    move v3, v6

    goto :goto_4f

    :cond_a5
    move v5, v6

    move v3, v2

    goto :goto_4f
.end method

.method protected onLayout(ZIIII)V
    .registers 18

    invoke-virtual {p0}, Landroid/view/View;->getPaddingLeft()I

    move-result v4

    invoke-virtual {p0}, Landroid/view/View;->getPaddingTop()I

    move-result v5

    invoke-virtual {p0}, Landroid/view/View;->getPaddingBottom()I

    const/4 v0, 0x0

    invoke-super {p0}, Landroid/view/ViewGroup;->getChildCount()I

    move-result v6

    move v3, v0

    :goto_11
    if-ge v3, v6, :cond_146

    invoke-super {p0, v3}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v7

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    if-eqz v0, :cond_71

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/c;->a()Landroid/view/View;

    move-result-object v0

    if-ne v0, v7, :cond_71

    invoke-virtual {p0}, Landroid/view/View;->isInEditMode()Z

    move-result v0

    if-eqz v0, :cond_120

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->H:Z

    if-eqz v0, :cond_120

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i()Z

    move-result v0

    if-eqz v0, :cond_120

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v0, :cond_120

    const/4 v0, 0x1

    move v1, v0

    :goto_39
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/c;->a()Landroid/view/View;

    move-result-object v8

    invoke-virtual {v8}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;

    iget v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->leftMargin:I

    add-int v9, v4, v2

    iget v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    add-int v2, v5, v0

    invoke-virtual {v8}, Landroid/view/View;->getMeasuredWidth()I

    move-result v0

    add-int v10, v9, v0

    invoke-virtual {v8}, Landroid/view/View;->getMeasuredHeight()I

    move-result v0

    add-int/2addr v0, v2

    if-eqz v1, :cond_14c

    iget-boolean v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->E:Z

    if-nez v1, :cond_68

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v1}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v1

    sget-object v11, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->c:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v1, v11, :cond_14c

    :cond_68
    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    add-int/2addr v1, v2

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    add-int/2addr v0, v2

    :goto_6e
    invoke-virtual {v8, v9, v1, v10, v0}, Landroid/view/View;->layout(IIII)V

    :cond_71
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v0, :cond_c3

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v0

    if-ne v0, v7, :cond_c3

    invoke-virtual {p0}, Landroid/view/View;->isInEditMode()Z

    move-result v0

    if-eqz v0, :cond_124

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->H:Z

    if-eqz v0, :cond_124

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i()Z

    move-result v0

    if-eqz v0, :cond_124

    const/4 v0, 0x1

    move v1, v0

    :goto_8f
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v8

    invoke-virtual {v8}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->leftMargin:I

    iget v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->am:I

    add-int/2addr v2, v0

    invoke-virtual {v8}, Landroid/view/View;->getMeasuredWidth()I

    move-result v0

    add-int v10, v9, v0

    invoke-virtual {v8}, Landroid/view/View;->getMeasuredHeight()I

    move-result v0

    add-int/2addr v0, v2

    if-nez v1, :cond_149

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v1}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v1

    sget-object v11, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->a:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v1, v11, :cond_149

    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    sub-int v1, v2, v1

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    sub-int/2addr v0, v2

    :goto_c0
    invoke-virtual {v8, v9, v1, v10, v0}, Landroid/view/View;->layout(IIII)V

    :cond_c3
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v0, :cond_11b

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v0

    if-ne v0, v7, :cond_11b

    invoke-virtual {p0}, Landroid/view/View;->isInEditMode()Z

    move-result v0

    if-eqz v0, :cond_128

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->H:Z

    if-eqz v0, :cond_128

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v0

    if-eqz v0, :cond_128

    const/4 v0, 0x1

    move v1, v0

    :goto_e1
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v7

    invoke-virtual {v7}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v2}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v8

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->leftMargin:I

    iget v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    invoke-virtual {p0}, Landroid/view/View;->getMeasuredHeight()I

    move-result v2

    add-int/2addr v0, v2

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->an:I

    sub-int v2, v0, v2

    if-nez v1, :cond_10a

    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->d:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-eq v8, v0, :cond_10a

    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->c:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v8, v0, :cond_12b

    :cond_10a
    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    sub-int v0, v2, v0

    :goto_10e
    invoke-virtual {v7}, Landroid/view/View;->getMeasuredWidth()I

    move-result v1

    add-int/2addr v1, v9

    invoke-virtual {v7}, Landroid/view/View;->getMeasuredHeight()I

    move-result v2

    add-int/2addr v2, v0

    invoke-virtual {v7, v9, v0, v1, v2}, Landroid/view/View;->layout(IIII)V

    :cond_11b
    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto/16 :goto_11

    :cond_120
    const/4 v0, 0x0

    move v1, v0

    goto/16 :goto_39

    :cond_124
    const/4 v0, 0x0

    move v1, v0

    goto/16 :goto_8f

    :cond_128
    const/4 v0, 0x0

    move v1, v0

    goto :goto_e1

    :cond_12b
    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->b:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v8, v0, :cond_147

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-gez v0, :cond_147

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v0

    if-eqz v0, :cond_144

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    neg-int v0, v0

    :goto_13c
    const/4 v1, 0x0

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

    move-result v0

    sub-int v0, v2, v0

    goto :goto_10e

    :cond_144
    const/4 v0, 0x0

    goto :goto_13c

    :cond_146
    return-void

    :cond_147
    move v0, v2

    goto :goto_10e

    :cond_149
    move v1, v2

    goto/16 :goto_c0

    :cond_14c
    move v1, v2

    goto/16 :goto_6e
.end method

.method protected onMeasure(II)V
    .registers 14

    const/4 v3, 0x0

    invoke-virtual {p0}, Landroid/view/View;->isInEditMode()Z

    move-result v0

    if-eqz v0, :cond_1db

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->H:Z

    if-eqz v0, :cond_1db

    const/4 v0, 0x1

    move v1, v0

    :goto_d
    const/4 v0, 0x0

    invoke-super {p0}, Landroid/view/ViewGroup;->getChildCount()I

    move-result v5

    move v4, v0

    :goto_13
    if-ge v4, v5, :cond_3d7

    invoke-super {p0, v4}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v6

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v0, :cond_3f0

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v0

    if-ne v0, v6, :cond_3f0

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v7

    invoke-virtual {v7}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;

    iget v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->leftMargin:I

    iget v8, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->rightMargin:I

    add-int/2addr v2, v8

    iget v8, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->width:I

    invoke-static {p1, v2, v8}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I

    move-result v8

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aj:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    sget-object v9, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->g:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    invoke-virtual {v2, v9}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->b(Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;)Z

    move-result v2

    if-eqz v2, :cond_1df

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    sub-int/2addr v2, v9

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    sub-int/2addr v2, v9

    const/4 v9, 0x0

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

    move-result v2

    const/high16 v9, 0x40000000    # 2.0f

    invoke-static {v2, v9}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v2

    invoke-virtual {v7, v8, v2}, Landroid/view/View;->measure(II)V

    :cond_5c
    :goto_5c
    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v2}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v2

    sget-object v9, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->b:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v2, v9, :cond_8a

    if-nez v1, :cond_8a

    const/4 v9, 0x0

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i()Z

    move-result v2

    if-eqz v2, :cond_2da

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

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

    move-result v2

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    sub-int/2addr v2, v9

    iget v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    sub-int v0, v2, v0

    const/4 v2, 0x0

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

    move-result v0

    const/high16 v2, 0x40000000    # 2.0f

    invoke-static {v0, v2}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v0

    invoke-virtual {v7, v8, v0}, Landroid/view/View;->measure(II)V

    :cond_8a
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aj:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->m:Z

    if-nez v0, :cond_a8

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aj:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    invoke-virtual {v0}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->b()Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    move-result-object v0

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aj:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    iget v8, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    iget v9, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ao:F

    iget v10, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    int-to-float v10, v10

    mul-float/2addr v9, v10

    float-to-int v9, v9

    invoke-interface {v0, v2, v8, v9}, Lcom/scwang/smartrefresh/layout/a/f;->onInitialized(Lcom/scwang/smartrefresh/layout/a/g;II)V

    :cond_a8
    if-eqz v1, :cond_3f0

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i()Z

    move-result v0

    if-eqz v0, :cond_3f0

    invoke-virtual {v7}, Landroid/view/View;->getMeasuredHeight()I

    move-result v0

    add-int/2addr v0, v3

    move v2, v0

    :goto_b6
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v0, :cond_151

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v0

    if-ne v0, v6, :cond_151

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/f;->getView()Landroid/view/View;

    move-result-object v7

    invoke-virtual {v7}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;

    iget v3, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->leftMargin:I

    iget v8, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->rightMargin:I

    add-int/2addr v3, v8

    iget v8, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->width:I

    invoke-static {p1, v3, v8}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I

    move-result v8

    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->al:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    sget-object v9, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->g:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    invoke-virtual {v3, v9}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->b(Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;)Z

    move-result v3

    if-eqz v3, :cond_2dd

    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    sub-int/2addr v3, v9

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    sub-int/2addr v3, v9

    const/4 v9, 0x0

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

    move-result v3

    const/high16 v9, 0x40000000    # 2.0f

    invoke-static {v3, v9}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v3

    invoke-virtual {v7, v8, v3}, Landroid/view/View;->measure(II)V

    :cond_f9
    :goto_f9
    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v3}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v3

    sget-object v9, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->b:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v3, v9, :cond_126

    if-nez v1, :cond_126

    const/4 v9, 0x0

    iget-boolean v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->B:Z

    if-eqz v3, :cond_3ce

    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    neg-int v3, v3

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

    move-result v3

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    sub-int/2addr v3, v9

    iget v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    sub-int v0, v3, v0

    const/4 v3, 0x0

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

    move-result v0

    const/high16 v3, 0x40000000    # 2.0f

    invoke-static {v0, v3}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v0

    invoke-virtual {v7, v8, v0}, Landroid/view/View;->measure(II)V

    :cond_126
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->al:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->m:Z

    if-nez v0, :cond_144

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->al:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    invoke-virtual {v0}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->b()Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    move-result-object v0

    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->al:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    iget v8, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    iget v9, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ap:F

    iget v10, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    int-to-float v10, v10

    mul-float/2addr v9, v10

    float-to-int v9, v9

    invoke-interface {v0, v3, v8, v9}, Lcom/scwang/smartrefresh/layout/a/f;->onInitialized(Lcom/scwang/smartrefresh/layout/a/g;II)V

    :cond_144
    if-eqz v1, :cond_151

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v0

    if-eqz v0, :cond_151

    invoke-virtual {v7}, Landroid/view/View;->getMeasuredHeight()I

    move-result v0

    add-int/2addr v2, v0

    :cond_151
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    if-eqz v0, :cond_1d5

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/c;->a()Landroid/view/View;

    move-result-object v0

    if-ne v0, v6, :cond_1d5

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;

    invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/c;->a()Landroid/view/View;

    move-result-object v6

    invoke-virtual {v6}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;

    invoke-virtual {p0}, Landroid/view/View;->getPaddingLeft()I

    move-result v3

    invoke-virtual {p0}, Landroid/view/View;->getPaddingRight()I

    move-result v7

    add-int/2addr v3, v7

    iget v7, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->leftMargin:I

    add-int/2addr v3, v7

    iget v7, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->rightMargin:I

    add-int/2addr v3, v7

    iget v7, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->width:I

    invoke-static {p1, v3, v7}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I

    move-result v7

    invoke-virtual {p0}, Landroid/view/View;->getPaddingTop()I

    move-result v3

    invoke-virtual {p0}, Landroid/view/View;->getPaddingBottom()I

    move-result v8

    add-int/2addr v3, v8

    iget v8, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    add-int/2addr v3, v8

    iget v8, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    add-int/2addr v8, v3

    if-eqz v1, :cond_3d1

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i()Z

    move-result v3

    if-eqz v3, :cond_3d1

    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v3, :cond_3d1

    iget-boolean v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->E:Z

    if-nez v3, :cond_1a7

    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v3}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v3

    sget-object v9, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->c:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v3, v9, :cond_3d1

    :cond_1a7
    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    :goto_1a9
    add-int/2addr v8, v3

    if-eqz v1, :cond_3d4

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v3

    if-eqz v3, :cond_3d4

    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    if-eqz v3, :cond_3d4

    iget-boolean v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->F:Z

    if-nez v3, :cond_1c4

    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v3}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v3

    sget-object v9, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->c:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v3, v9, :cond_3d4

    :cond_1c4
    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    :goto_1c6
    add-int/2addr v3, v8

    iget v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->height:I

    invoke-static {p2, v3, v0}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I

    move-result v0

    invoke-virtual {v6, v7, v0}, Landroid/view/View;->measure(II)V

    invoke-virtual {v6}, Landroid/view/View;->getMeasuredHeight()I

    move-result v0

    add-int/2addr v2, v0

    :cond_1d5
    add-int/lit8 v0, v4, 0x1

    move v4, v0

    move v3, v2

    goto/16 :goto_13

    :cond_1db
    const/4 v0, 0x0

    move v1, v0

    goto/16 :goto_d

    :cond_1df
    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v2}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v2

    sget-object v9, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->e:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v2, v9, :cond_236

    const/4 v2, 0x0

    iget-object v9, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aj:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    iget-boolean v9, v9, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->m:Z

    if-nez v9, :cond_20c

    invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result v2

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    sub-int/2addr v2, v9

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    sub-int/2addr v2, v9

    const/4 v9, 0x0

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

    move-result v2

    const/high16 v9, -0x80000000

    invoke-static {v2, v9}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v2

    invoke-super {p0, v7, v8, v2}, Landroid/view/ViewGroup;->measureChild(Landroid/view/View;II)V

    invoke-virtual {v7}, Landroid/view/View;->getMeasuredHeight()I

    move-result v2

    :cond_20c
    invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result v9

    iget v10, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    sub-int/2addr v9, v10

    iget v10, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    sub-int/2addr v9, v10

    const/4 v10, 0x0

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

    move-result v9

    const/high16 v10, 0x40000000    # 2.0f

    invoke-static {v9, v10}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v9

    invoke-virtual {v7, v8, v9}, Landroid/view/View;->measure(II)V

    if-lez v2, :cond_5c

    invoke-virtual {v7}, Landroid/view/View;->getMeasuredHeight()I

    move-result v9

    if-eq v2, v9, :cond_5c

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    add-int/2addr v2, v9

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    add-int/2addr v2, v9

    iput v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    goto/16 :goto_5c

    :cond_236
    iget v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->height:I

    if-lez v2, :cond_25f

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aj:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    sget-object v9, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->e:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    invoke-virtual {v2, v9}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->a(Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;)Z

    move-result v2

    if-eqz v2, :cond_252

    iget v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->height:I

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    add-int/2addr v2, v9

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    add-int/2addr v2, v9

    iput v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->e:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    iput-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aj:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    :cond_252
    iget v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->height:I

    const/high16 v9, 0x40000000    # 2.0f

    invoke-static {v2, v9}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v2

    invoke-virtual {v7, v8, v2}, Landroid/view/View;->measure(II)V

    goto/16 :goto_5c

    :cond_25f
    iget v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->height:I

    const/4 v9, -0x2

    if-ne v2, v9, :cond_2b8

    invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result v2

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    sub-int/2addr v2, v9

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    sub-int/2addr v2, v9

    const/4 v9, 0x0

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

    move-result v2

    const/high16 v9, -0x80000000

    invoke-static {v2, v9}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v2

    invoke-virtual {v7, v8, v2}, Landroid/view/View;->measure(II)V

    invoke-virtual {v7}, Landroid/view/View;->getMeasuredHeight()I

    move-result v2

    if-lez v2, :cond_29e

    iget-object v9, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aj:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    sget-object v10, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->c:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    invoke-virtual {v9, v10}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->a(Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;)Z

    move-result v9

    if-eqz v9, :cond_29e

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->c:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    iput-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aj:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    invoke-virtual {v7}, Landroid/view/View;->getMeasuredHeight()I

    move-result v2

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    add-int/2addr v2, v9

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    add-int/2addr v2, v9

    iput v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    goto/16 :goto_5c

    :cond_29e
    if-gtz v2, :cond_5c

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    sub-int/2addr v2, v9

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    sub-int/2addr v2, v9

    const/4 v9, 0x0

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

    move-result v2

    const/high16 v9, 0x40000000    # 2.0f

    invoke-static {v2, v9}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v2

    invoke-virtual {v7, v8, v2}, Landroid/view/View;->measure(II)V

    goto/16 :goto_5c

    :cond_2b8
    iget v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->height:I

    const/4 v9, -0x1

    if-ne v2, v9, :cond_2d5

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    sub-int/2addr v2, v9

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    sub-int/2addr v2, v9

    const/4 v9, 0x0

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

    move-result v2

    const/high16 v9, 0x40000000    # 2.0f

    invoke-static {v2, v9}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v2

    invoke-virtual {v7, v8, v2}, Landroid/view/View;->measure(II)V

    goto/16 :goto_5c

    :cond_2d5
    invoke-virtual {v7, v8, p2}, Landroid/view/View;->measure(II)V

    goto/16 :goto_5c

    :cond_2da
    const/4 v2, 0x0

    goto/16 :goto_71

    :cond_2dd
    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;

    invoke-interface {v3}, Lcom/scwang/smartrefresh/layout/a/f;->getSpinnerStyle()Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    move-result-object v3

    sget-object v9, Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;->e:Lcom/scwang/smartrefresh/layout/constant/SpinnerStyle;

    if-ne v3, v9, :cond_32a

    const/4 v3, 0x0

    iget-object v9, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->al:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    iget-boolean v9, v9, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->m:Z

    if-nez v9, :cond_305

    invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result v3

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    sub-int/2addr v3, v9

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    sub-int/2addr v3, v9

    const/high16 v9, -0x80000000

    invoke-static {v3, v9}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v3

    invoke-super {p0, v7, v8, v3}, Landroid/view/ViewGroup;->measureChild(Landroid/view/View;II)V

    invoke-virtual {v7}, Landroid/view/View;->getMeasuredHeight()I

    move-result v3

    :cond_305
    invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result v9

    iget v10, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    sub-int/2addr v9, v10

    iget v10, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    sub-int/2addr v9, v10

    const/high16 v10, 0x40000000    # 2.0f

    invoke-static {v9, v10}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v9

    invoke-virtual {v7, v8, v9}, Landroid/view/View;->measure(II)V

    if-lez v3, :cond_f9

    invoke-virtual {v7}, Landroid/view/View;->getMeasuredHeight()I

    move-result v9

    if-eq v3, v9, :cond_f9

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    add-int/2addr v3, v9

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    add-int/2addr v3, v9

    iput v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ai:I

    goto/16 :goto_f9

    :cond_32a
    iget v3, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->height:I

    if-lez v3, :cond_353

    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->al:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    sget-object v9, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->e:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    invoke-virtual {v3, v9}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->a(Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;)Z

    move-result v3

    if-eqz v3, :cond_346

    iget v3, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->height:I

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    add-int/2addr v3, v9

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    add-int/2addr v3, v9

    iput v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    sget-object v3, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->e:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    iput-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->al:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    :cond_346
    iget v3, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->height:I

    const/high16 v9, 0x40000000    # 2.0f

    invoke-static {v3, v9}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v3

    invoke-virtual {v7, v8, v3}, Landroid/view/View;->measure(II)V

    goto/16 :goto_f9

    :cond_353
    iget v3, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->height:I

    const/4 v9, -0x2

    if-ne v3, v9, :cond_3ac

    invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result v3

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    sub-int/2addr v3, v9

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    sub-int/2addr v3, v9

    const/4 v9, 0x0

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

    move-result v3

    const/high16 v9, -0x80000000

    invoke-static {v3, v9}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v3

    invoke-virtual {v7, v8, v3}, Landroid/view/View;->measure(II)V

    invoke-virtual {v7}, Landroid/view/View;->getMeasuredHeight()I

    move-result v3

    if-lez v3, :cond_392

    iget-object v9, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->al:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    sget-object v10, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->c:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    invoke-virtual {v9, v10}, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->a(Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;)Z

    move-result v9

    if-eqz v9, :cond_392

    sget-object v3, Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;->c:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    iput-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->al:Lcom/scwang/smartrefresh/layout/constant/DimensionStatus;

    invoke-virtual {v7}, Landroid/view/View;->getMeasuredHeight()I

    move-result v3

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    add-int/2addr v3, v9

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    add-int/2addr v3, v9

    iput v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    goto/16 :goto_f9

    :cond_392
    if-gtz v3, :cond_f9

    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    sub-int/2addr v3, v9

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    sub-int/2addr v3, v9

    const/4 v9, 0x0

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

    move-result v3

    const/high16 v9, 0x40000000    # 2.0f

    invoke-static {v3, v9}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v3

    invoke-virtual {v7, v8, v3}, Landroid/view/View;->measure(II)V

    goto/16 :goto_f9

    :cond_3ac
    iget v3, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->height:I

    const/4 v9, -0x1

    if-ne v3, v9, :cond_3c9

    iget v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->topMargin:I

    sub-int/2addr v3, v9

    iget v9, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$c;->bottomMargin:I

    sub-int/2addr v3, v9

    const/4 v9, 0x0

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

    move-result v3

    const/high16 v9, 0x40000000    # 2.0f

    invoke-static {v3, v9}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v3

    invoke-virtual {v7, v8, v3}, Landroid/view/View;->measure(II)V

    goto/16 :goto_f9

    :cond_3c9
    invoke-virtual {v7, v8, p2}, Landroid/view/View;->measure(II)V

    goto/16 :goto_f9

    :cond_3ce
    const/4 v3, 0x0

    goto/16 :goto_10d

    :cond_3d1
    const/4 v3, 0x0

    goto/16 :goto_1a9

    :cond_3d4
    const/4 v3, 0x0

    goto/16 :goto_1c6

    :cond_3d7
    invoke-super {p0}, Landroid/view/ViewGroup;->getSuggestedMinimumWidth()I

    move-result v0

    invoke-static {v0, p1}, Landroid/view/View;->resolveSize(II)I

    move-result v0

    invoke-static {v3, p2}, Landroid/view/View;->resolveSize(II)I

    move-result v1

    invoke-super {p0, v0, v1}, Landroid/view/ViewGroup;->setMeasuredDimension(II)V

    invoke-virtual {p0}, Landroid/view/View;->getMeasuredWidth()I

    move-result v0

    div-int/lit8 v0, v0, 0x2

    int-to-float v0, v0

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j:F

    return-void

    :cond_3f0
    move v2, v3

    goto/16 :goto_b6
.end method

.method public onNestedFling(Landroid/view/View;FFZ)Z
    .registers 6
    .param p1    # Landroid/view/View;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ag:Landroid/support/v4/view/NestedScrollingChildHelper;

    invoke-virtual {v0, p2, p3, p4}, Landroid/support/v4/view/NestedScrollingChildHelper;->dispatchNestedFling(FFZ)Z

    move-result v0

    return v0
.end method

.method public onNestedPreFling(Landroid/view/View;FF)Z
    .registers 5
    .param p1    # Landroid/view/View;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aG:Z

    if-eqz v0, :cond_9

    const/4 v0, 0x0

    cmpl-float v0, p3, v0

    if-gtz v0, :cond_1c

    :cond_9
    neg-float v0, p3

    invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(Ljava/lang/Float;)Z

    move-result v0

    if-nez v0, :cond_1c

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ag:Landroid/support/v4/view/NestedScrollingChildHelper;

    invoke-virtual {v0, p2, p3}, Landroid/support/v4/view/NestedScrollingChildHelper;->dispatchNestedPreFling(FF)Z

    move-result v0

    if-eqz v0, :cond_1e

    :cond_1c
    const/4 v0, 0x1

    :goto_1d
    return v0

    :cond_1e
    const/4 v0, 0x0

    goto :goto_1d
.end method

.method public onNestedPreScroll(Landroid/view/View;II[I)V
    .registers 9
    .param p1    # Landroid/view/View;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param
    .param p4    # [I
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    const/4 v1, 0x0

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I

    mul-int/2addr v0, p3

    if-lez v0, :cond_51

    invoke-static {p3}, Ljava/lang/Math;->abs(I)I

    move-result v0

    iget v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I

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

    move-result v2

    if-le v0, v2, :cond_42

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I

    iput v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I

    :goto_16
    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I

    int-to-float v1, v1

    invoke-virtual {p0, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b(F)V

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aA:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-boolean v1, v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->u:Z

    if-nez v1, :cond_28

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aA:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->a:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v1, v2, :cond_33

    :cond_28
    iget v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    if-lez v1, :cond_49

    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->b:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-interface {v1, v2}, Lcom/scwang/smartrefresh/layout/a/g;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/g;

    :cond_33
    :goto_33
    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ag:Landroid/support/v4/view/NestedScrollingChildHelper;

    sub-int v2, p3, v0

    const/4 v3, 0x0

    invoke-virtual {v1, p2, v2, p4, v3}, Landroid/support/v4/view/NestedScrollingChildHelper;->dispatchNestedPreScroll(II[I[I)Z

    const/4 v1, 0x1

    aget v2, p4, v1

    add-int/2addr v0, v2

    aput v0, p4, v1

    return-void

    :cond_42
    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I

    sub-int/2addr v0, p3

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I

    move v0, p3

    goto :goto_16

    :cond_49
    iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->c:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-interface {v1, v2}, Lcom/scwang/smartrefresh/layout/a/g;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/g;

    goto :goto_33

    :cond_51
    if-lez p3, :cond_64

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aG:Z

    if-eqz v0, :cond_64

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I

    sub-int/2addr v0, p3

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I

    int-to-float v0, v0

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b(F)V

    move v0, p3

    goto :goto_33

    :cond_64
    move v0, v1

    goto :goto_33
.end method

.method public onNestedScroll(Landroid/view/View;IIII)V
    .registers 12
    .param p1    # Landroid/view/View;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ag:Landroid/support/v4/view/NestedScrollingChildHelper;

    iget-object v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->af:[I

    move v1, p2

    move v2, p3

    move v3, p4

    move v4, p5

    invoke-virtual/range {v0 .. v5}, Landroid/support/v4/view/NestedScrollingChildHelper;->dispatchNestedScroll(IIII[I)Z

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->af:[I

    const/4 v1, 0x1

    aget v0, v0, v1

    add-int v1, p5, v0

    if-eqz v1, :cond_40

    iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->J:Z

    if-nez v0, :cond_28

    if-gez v1, :cond_20

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i()Z

    move-result v0

    if-nez v0, :cond_28

    :cond_20
    if-lez v1, :cond_40

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v0

    if-eqz v0, :cond_40

    :cond_28
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aA:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    sget-object v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->a:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-ne v0, v2, :cond_37

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ax:Lcom/scwang/smartrefresh/layout/a/g;

    if-lez v1, :cond_41

    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->c:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    :goto_34
    invoke-interface {v2, v0}, Lcom/scwang/smartrefresh/layout/a/g;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)Lcom/scwang/smartrefresh/layout/a/g;

    :cond_37
    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I

    sub-int/2addr v0, v1

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I

    int-to-float v0, v0

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b(F)V

    :cond_40
    return-void

    :cond_41
    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->b:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    goto :goto_34
.end method

.method public onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;I)V
    .registers 6
    .param p1    # Landroid/view/View;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Landroid/view/View;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ah:Landroid/support/v4/view/NestedScrollingParentHelper;

    invoke-virtual {v0, p1, p2, p3}, Landroid/support/v4/view/NestedScrollingParentHelper;->onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;I)V

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ag:Landroid/support/v4/view/NestedScrollingChildHelper;

    and-int/lit8 v1, p3, 0x2

    invoke-virtual {v0, v1}, Landroid/support/v4/view/NestedScrollingChildHelper;->startNestedScroll(I)Z

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I

    iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ae:Z

    return-void
.end method

.method public onStartNestedScroll(Landroid/view/View;Landroid/view/View;I)Z
    .registers 7
    .param p1    # Landroid/view/View;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Landroid/view/View;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    const/4 v0, 0x1

    const/4 v1, 0x0

    invoke-virtual {p0}, Landroid/view/View;->isEnabled()Z

    move-result v2

    if-eqz v2, :cond_26

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isNestedScrollingEnabled()Z

    move-result v2

    if-eqz v2, :cond_26

    and-int/lit8 v2, p3, 0x2

    if-eqz v2, :cond_26

    move v2, v0

    :goto_13
    if-eqz v2, :cond_28

    iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->J:Z

    if-nez v2, :cond_25

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i()Z

    move-result v2

    if-nez v2, :cond_25

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j()Z

    move-result v2

    if-eqz v2, :cond_28

    :cond_25
    :goto_25
    return v0

    :cond_26
    move v2, v1

    goto :goto_13

    :cond_28
    move v0, v1

    goto :goto_25
.end method

.method public onStopNestedScroll(Landroid/view/View;)V
    .registers 4
    .param p1    # Landroid/view/View;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ah:Landroid/support/v4/view/NestedScrollingParentHelper;

    invoke-virtual {v0, p1}, Landroid/support/v4/view/NestedScrollingParentHelper;->onStopNestedScroll(Landroid/view/View;)V

    iput-boolean v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ae:Z

    iput v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I

    invoke-virtual {p0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->e()V

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ag:Landroid/support/v4/view/NestedScrollingChildHelper;

    invoke-virtual {v0}, Landroid/support/v4/view/NestedScrollingChildHelper;->stopNestedScroll()V

    return-void
.end method

.method public post(Ljava/lang/Runnable;)Z
    .registers 6
    .param p1    # Ljava/lang/Runnable;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    const-wide/16 v2, 0x0

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aw:Landroid/os/Handler;

    if-nez v0, :cond_20

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ay:Ljava/util/List;

    if-nez v0, :cond_1d

    new-instance v0, Ljava/util/ArrayList;

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

    :goto_f
    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ay:Ljava/util/List;

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ay:Ljava/util/List;

    new-instance v1, Lcom/scwang/smartrefresh/layout/g/a;

    invoke-direct {v1, p1, v2, v3}, Lcom/scwang/smartrefresh/layout/g/a;-><init>(Ljava/lang/Runnable;J)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const/4 v0, 0x0

    :goto_1c
    return v0

    :cond_1d
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ay:Ljava/util/List;

    goto :goto_f

    :cond_20
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aw:Landroid/os/Handler;

    new-instance v1, Lcom/scwang/smartrefresh/layout/g/a;

    invoke-direct {v1, p1, v2, v3}, Lcom/scwang/smartrefresh/layout/g/a;-><init>(Ljava/lang/Runnable;J)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    move-result v0

    goto :goto_1c
.end method

.method public postDelayed(Ljava/lang/Runnable;J)Z
    .registers 8
    .param p1    # Ljava/lang/Runnable;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    const-wide/16 v2, 0x0

    cmp-long v0, p2, v2

    if-nez v0, :cond_10

    new-instance v0, Lcom/scwang/smartrefresh/layout/g/a;

    invoke-direct {v0, p1, v2, v3}, Lcom/scwang/smartrefresh/layout/g/a;-><init>(Ljava/lang/Runnable;J)V

    invoke-virtual {v0}, Lcom/scwang/smartrefresh/layout/g/a;->run()V

    const/4 v0, 0x1

    :goto_f
    return v0

    :cond_10
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aw:Landroid/os/Handler;

    if-nez v0, :cond_2e

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ay:Ljava/util/List;

    if-nez v0, :cond_2b

    new-instance v0, Ljava/util/ArrayList;

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

    :goto_1d
    iput-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ay:Ljava/util/List;

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ay:Ljava/util/List;

    new-instance v1, Lcom/scwang/smartrefresh/layout/g/a;

    invoke-direct {v1, p1, p2, p3}, Lcom/scwang/smartrefresh/layout/g/a;-><init>(Ljava/lang/Runnable;J)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const/4 v0, 0x0

    goto :goto_f

    :cond_2b
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ay:Ljava/util/List;

    goto :goto_1d

    :cond_2e
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aw:Landroid/os/Handler;

    new-instance v1, Lcom/scwang/smartrefresh/layout/g/a;

    invoke-direct {v1, p1, v2, v3}, Lcom/scwang/smartrefresh/layout/g/a;-><init>(Ljava/lang/Runnable;J)V

    invoke-virtual {v0, v1, p2, p3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    move-result v0

    goto :goto_f
.end method

.method public setNestedScrollingEnabled(Z)V
    .registers 3

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->T:Z

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ag:Landroid/support/v4/view/NestedScrollingChildHelper;

    invoke-virtual {v0, p1}, Landroid/support/v4/view/NestedScrollingChildHelper;->setNestedScrollingEnabled(Z)V

    return-void
.end method

.method protected setViceState(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
    .registers 4

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->t:Z

    if-eqz v0, :cond_13

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->az:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->r:Z

    iget-boolean v1, p1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->r:Z

    if-eq v0, v1, :cond_13

    sget-object v0, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->a:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    invoke-virtual {p0, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V

    :cond_13
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aA:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    if-eq v0, p1, :cond_19

    iput-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->aA:Lcom/scwang/smartrefresh/layout/constant/RefreshState;

    :cond_19
    return-void
.end method