SmartRefreshLayout$b.smali
.class public Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$b;
.super Ljava/lang/Object;
.source "SmartRefreshLayout.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4
name = "b"
.end annotation
# instance fields
.field a:I
.field b:I
.field c:I
.field d:F
.field e:F
.field f:J
.field g:J
.field final synthetic h:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
# direct methods
.method constructor <init>(Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;F)V
.registers 5
.line 1
iput-object p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$b;->h:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
.line 2
iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$b;->b:I
const/16 v0, 0xa
.line 3
iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$b;->c:I
const v0, 0x3f7ae148 # 0.98f
.line 4
iput v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$b;->e:F
const-wide/16 v0, 0x0
.line 5
iput-wide v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$b;->f:J
.line 6
invoke-static {}, Landroid/view/animation/AnimationUtils;->currentAnimationTimeMillis()J
move-result-wide v0
iput-wide v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$b;->g:J
.line 7
iput p2, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$b;->d:F
.line 8
iget p1, p1, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
iput p1, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$b;->a:I
return-void
.end method
# virtual methods
.method public a()Ljava/lang/Runnable;
.registers 12
.line 1
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$b;->h:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
iget-boolean v2, v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->isFinishing:Z
const/4 v3, 0x0
if-eqz v2, :cond_a
return-object v3
.line 2
:cond_a
iget v2, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mSpinner:I
if-eqz v2, :cond_b5
iget-boolean v1, v1, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->isOpening:Z
if-nez v1, :cond_26
iget-boolean v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterNoMoreData:Z
if-eqz v1, :cond_59
iget-boolean v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableFooterFollowWhenNoMoreData:Z
if-eqz v1, :cond_59
iget-boolean v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterNoMoreDataEffective:Z
if-eqz v1, :cond_59
iget-boolean v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableLoadMore:Z
invoke-virtual {v0, v1}, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->isEnableRefreshOrLoadMore(Z)Z
move-result v0
if-eqz v0, :cond_59
:cond_26
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout$b;->h:Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;
iget-object v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mState:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
sget-object v2, Lcom/scwang/smartrefresh/layout/constant/RefreshState;->Loading:Lcom/scwang/smartrefresh/layout/constant/RefreshState;
if-eq v1, v2, :cond_42
iget-boolean v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mFooterNoMoreData:Z
if-eqz v1, :cond_4b
iget-boolean v1, v0, Lcom/scwang/smartrefresh/layout/SmartRefreshLayout;->mEnableFooterFollowWhenNoMoreData:Z
if-eqz v1, :cond_4b
iget-boolean v1, v0, Lcom/scwang/smartrefresh