SmartRefreshLayout$10$1.smali

.class Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->run()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:I

.field final synthetic b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;


# direct methods
.method constructor <init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;I)V
    .registers 3

    iput-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iput p2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->a:I

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

    return-void
.end method


# virtual methods
.method public run()V
    .registers 6

    const/4 v1, 0x0

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

    if-eqz v0, :cond_c6

    iget v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->a:I

    if-gez v0, :cond_c6

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

    iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

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

    move-result-object v0

    :goto_1e
    if-eqz v0, :cond_2d

    const/4 v2, 0x2

    new-array v2, v2, [I

    fill-array-data v2, :array_ca

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

    move-result-object v2

    invoke-interface {v0, v2}, Landroid/animation/ValueAnimator$AnimatorUpdateListener;->onAnimationUpdate(Landroid/animation/ValueAnimator;)V

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

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

    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v3, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

    if-lez v3, :cond_4a

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

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

    move-result-object v0

    :goto_44
    if-eqz v0, :cond_c2

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

    :goto_49
    return-void

    :cond_4a
    if-nez v0, :cond_54

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

    if-nez v0, :cond_7d

    :cond_54
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

    if-eqz v0, :cond_6b

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

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

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

    :cond_6b
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

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

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

    move-object v0, v1

    goto :goto_44

    :cond_7d
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->b:Z

    if-eqz v0, :cond_b7

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

    if-eqz v0, :cond_b7

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v3, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

    neg-int v3, v3

    if-lt v0, v3, :cond_a5

    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

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

    move-object v0, v1

    goto :goto_44

    :cond_a5
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

    iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v3, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

    neg-int v3, v3

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

    move-result-object v0

    goto :goto_44

    :cond_b7
    iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;

    iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;

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

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

    move-result-object v0

    goto :goto_44

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

    goto :goto_49

    :cond_c6
    move-object v0, v1

    goto/16 :goto_1e

    nop

    :array_ca
    .array-data 4
        0x0
        0x0
    .end array-data
.end method