SmartRefreshLayout$10.smali
.class Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;
.super Ljava/lang/Object;
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->a(IZZ)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:Z
.field final synthetic c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
# direct methods
.method constructor <init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;ZZ)V
.registers 4
iput-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iput-boolean p2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->a:Z
iput-boolean p3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->b:Z
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.registers 12
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c: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;->m:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
if-ne v0, v1, :cond_101
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;
if-eqz v0, :cond_101
iget-object v0, p0, 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;
if-eqz v0, :cond_101
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
sget-object v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->p: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$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;
iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->a:Z
invoke-interface {v0, v1, v2}, Lcom/scwang/smartrefresh/layout/a/f;->onFinish(Lcom/scwang/smartrefresh/layout/a/h;Z)I
move-result v8
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c: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_44
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, v0, 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_44
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c: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$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->at:Lcom/scwang/smartrefresh/layout/a/f;
check-cast v0, Lcom/scwang/smartrefresh/layout/a/d;
iget-boolean v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->a:Z
invoke-interface {v1, v0, v2}, Lcom/scwang/smartrefresh/layout/f/c;->a(Lcom/scwang/smartrefresh/layout/a/d;Z)V
:cond_44
const v0, 0x7fffffff
if-ge v8, v0, :cond_f7
iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->b:Z
if-eqz v0, :cond_f8
iget-object v0, p0, 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_f8
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I
if-gez v0, :cond_f8
iget-object v0, p0, 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;
invoke-interface {v0}, Lcom/scwang/smartrefresh/layout/a/c;->d()Z
move-result v0
if-eqz v0, :cond_f8
const/4 v0, 0x1
:goto_64
iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v1, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I
if-eqz v0, :cond_fb
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I
iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ak:I
neg-int v2, v2
invoke-static {v0, v2}, Ljava/lang/Math;->max(II)I
move-result v0
:goto_77
sub-int v9, v1, v0
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->n:Z
if-nez v0, :cond_85
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ae:Z
if-eqz v0, :cond_e6
:cond_85
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->n:Z
if-eqz v0, :cond_a1
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c: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$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
const/4 v1, 0x0
iput-boolean v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->n:Z
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v1, v1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I
sub-int/2addr v1, v9
iput v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->d:I
:cond_a1
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
iget-object v10, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
const/4 v4, 0x0
iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v5, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j:F
iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->k:F
int-to-float v3, v9
add-float/2addr v2, v3
iget-object v3, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c: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
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 v2
invoke-static {v10, v2}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->c(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;Landroid/view/MotionEvent;)Z
iget-object v10, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
const/4 v4, 0x2
iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v5, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->j:F
iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v2, v2, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->k: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 v0
invoke-static {v10, v0}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->d(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;Landroid/view/MotionEvent;)Z
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ae:Z
if-eqz v0, :cond_e6
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
const/4 v1, 0x0
iput v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->ad:I
:cond_e6
iget-object v2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
new-instance v3, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;
invoke-direct {v3, p0, v9}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10$1;-><init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;I)V
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget v0, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->b:I
if-gez v0, :cond_fe
int-to-long v0, v8
:goto_f4
invoke-virtual {v2, v3, v0, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->postDelayed(Ljava/lang/Runnable;J)Z
:cond_f7
:goto_f7
return-void
:cond_f8
const/4 v0, 0x0
goto/16 :goto_64
:cond_fb
const/4 v0, 0x0
goto/16 :goto_77
:cond_fe
const-wide/16 v0, 0x0
goto :goto_f4
:cond_101
iget-boolean v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->b:Z
if-eqz v0, :cond_f7
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$10;->c:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
const/4 v1, 0x1
invoke-virtual {v0, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->d(Z)Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
goto :goto_f7
.end method