SmartRefreshLayout$9.smali
.class Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;
.super Ljava/lang/Object;
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(IZ)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Z
.field final synthetic b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
# direct methods
.method constructor <init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;Z)V
.registers 3
iput-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iput-boolean p2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->a:Z
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.registers 16
const/4 v4, 0x0
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, v0, 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_e6
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;
if-eqz v0, :cond_e6
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->au:Lcom/scwang/smartrefresh/layout/a/c;
if-eqz v0, :cond_e6
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->o:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
invoke-virtual {v0, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(Lcom/scwang/smartrefresh/layout/constant/RefreshState;)V
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;
iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->a:Z
invoke-interface {v0, v1, v2}, Lcom/scwang/smartrefresh/layout/a/f;->onFinish(Lcom/scwang/smartrefresh/layout/a/h;Z)I
move-result v14
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, v0, 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$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, v0, 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 v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ab:Lcom/scwang/smartrefresh/layout/f/c;
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->as:Lcom/scwang/smartrefresh/layout/a/f;
check-cast v0, Lcom/scwang/smartrefresh/layout/a/e;
iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->a:Z
invoke-interface {v1, v0, v2}, Lcom/scwang/smartrefresh/layout/f/c;->a(Lcom/scwang/smartrefresh/layout/a/e;Z)V
:cond_45
const v0, 0x7fffffff
if-ge v14, v0, :cond_e6
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->n:Z
if-nez v0, :cond_56
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ae:Z
if-eqz v0, :cond_b8
:cond_56
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->n:Z
if-eqz v0, :cond_6c
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v1, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->k:F
iput v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->i:F
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iput v4, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->d:I
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iput-boolean v4, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->n:Z
:cond_6c
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
iget-object v8, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v5, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j:F
iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->k:F
iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v3, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I
int-to-float v3, v3
add-float/2addr v2, v3
iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v3, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a:I
mul-int/lit8 v3, v3, 0x2
int-to-float v3, v3
sub-float v6, v2, v3
move-wide v2, v0
move v7, v4
invoke-static/range {v0 .. v7}, Landroid/view/MotionEvent;->obtain(JJIFFI)Landroid/view/MotionEvent;
move-result-object v2
invoke-static {v8, v2}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;Landroid/view/MotionEvent;)Z
iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
const/4 v10, 0x2
iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v11, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j:F
iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v3, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->k:F
iget-object v5, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v5, v5, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I
int-to-float v5, v5
add-float v12, v3, v5
move-wide v6, v0
move-wide v8, v0
move v13, v4
invoke-static/range {v6 .. v13}, Landroid/view/MotionEvent;->obtain(JJIFFI)Landroid/view/MotionEvent;
move-result-object v0
invoke-static {v2, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;Landroid/view/MotionEvent;)Z
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ae:Z
if-eqz v0, :cond_b8
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iput v4, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I
:cond_b8
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I
if-lez v0, :cond_e7
const/4 v0, 0x0
iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->y:Landroid/view/animation/Interpolator;
iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v3, v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->f:I
invoke-virtual {v1, v4, v14, v2, v3}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(IILandroid/view/animation/Interpolator;I)Landroid/animation/ValueAnimator;
move-result-object v1
iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->N:Z
if-eqz v2, :cond_df
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b: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$9;->b: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
:cond_df
if-eqz v1, :cond_e6
if-eqz v0, :cond_e6
invoke-virtual {v1, v0}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V
:cond_e6
:goto_e6
return-void
:cond_e7
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I
if-gez v0, :cond_fb
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v1, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->y:Landroid/view/animation/Interpolator;
iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->f:I
invoke-virtual {v0, v4, v14, v1, v2}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(IILandroid/view/animation/Interpolator;I)Landroid/animation/ValueAnimator;
goto :goto_e6
:cond_fb
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$9;->b: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$9;->b:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
invoke-virtual {v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->d()V
goto :goto_e6
.end method