b$a.smali
.class public final Lcom/scwang/smart/refresh/layout/b$a;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/scwang/smart/refresh/layout/b;->run()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:I
.field public final synthetic b:Lcom/scwang/smart/refresh/layout/b;
# direct methods
.method public constructor <init>(Lcom/scwang/smart/refresh/layout/b;I)V
.registers 3
iput-object p1, p0, Lcom/scwang/smart/refresh/layout/b$a;->b:Lcom/scwang/smart/refresh/layout/b;
iput p2, p0, Lcom/scwang/smart/refresh/layout/b$a;->a:I
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.registers 12
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v0
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
move-result-object v1
const/4 v2, 0x0
if-ne v0, v1, :cond_d
const/4 v0, 0x1
goto :goto_e
:cond_d
const/4 v0, 0x0
:goto_e
const-string v1, "runnable"
const-string v3, "com/scwang/smart/refresh/layout/SmartRefreshLayout$7$1"
const-string v4, "run"
if-eqz v0, :cond_19
invoke-static {v4, v3, v1}, Lcom/shopee/monitor/trace/c;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.line 1
:cond_19
iget-object v5, p0, Lcom/scwang/smart/refresh/layout/b$a;->b:Lcom/scwang/smart/refresh/layout/b;
iget-object v5, v5, Lcom/scwang/smart/refresh/layout/b;->e:Lcom/scwang/smart/refresh/layout/a;
iget-boolean v6, v5, Lcom/scwang/smart/refresh/layout/a;->V:Z
const/4 v7, 0x0
if-eqz v6, :cond_3e
iget v6, p0, Lcom/scwang/smart/refresh/layout/b$a;->a:I
if-gez v6, :cond_3e
.line 2
iget-object v6, v5, Lcom/scwang/smart/refresh/layout/a;->D0:Lcom/scwang/smart/refresh/layout/wrapper/a;
iget v5, v5, Lcom/scwang/smart/refresh/layout/a;->b:I
invoke-interface {v6, v5}, Lcom/scwang/smart/refresh/layout/api/b;->a(I)Landroid/animation/ValueAnimator$AnimatorUpdateListener;
move-result-object v5
if-eqz v5, :cond_3f
const/4 v6, 0x2
new-array v6, v6, [I
.line 3
fill-array-data v6, :array_b6
invoke-static {v6}, Landroid/animation/ValueAnimator;->ofInt([I)Landroid/animation/ValueAnimator;
move-result-object v6
invoke-interface {v5, v6}, Landroid/animation/ValueAnimator$AnimatorUpdateListener;->onAnimationUpdate(Landroid/animation/ValueAnimator;)V
goto :goto_3f
:cond_3e
move-object v5, v7
.line 4
:cond_3f
:goto_3f
new-instance v6, Lcom/scwang/smart/refresh/layout/b$a$a;
invoke-direct {v6, p0}, Lcom/scwang/smart/refresh/layout/b$a$a;-><init>(Lcom/scwang/smart/refresh/layout/b$a;)V
.line 5
iget-object v8, p0, Lcom/scwang/smart/refresh/layout/b$a;->b:Lcom/scwang/smart/refresh/layout/b;
iget-object v9, v8, Lcom/scwang/smart/refresh/layout/b;->e:Lcom/scwang/smart/refresh/layout/a;
iget v10, v9, Lcom/scwang/smart/refresh/layout/a;->b:I
if-lez v10, :cond_53
.line 6
iget-object v5, v9, Lcom/scwang/smart/refresh/layout/a;->G0:Lcom/scwang/smart/refresh/layout/a$k;
invoke-virtual {v5, v2}, Lcom/scwang/smart/refresh/layout/a$k;->a(I)Landroid/animation/ValueAnimator;
move-result-object v2
goto :goto_a6
:cond_53
if-nez v5, :cond_79
if-nez v10, :cond_58
goto :goto_79
.line 7
:cond_58
iget-boolean v5, v8, Lcom/scwang/smart/refresh/layout/b;->c:Z
if-eqz v5, :cond_72
iget-boolean v5, v9, Lcom/scwang/smart/refresh/layout/a;->P:Z
if-eqz v5, :cond_72
.line 8
iget v2, v9, Lcom/scwang/smart/refresh/layout/a;->t0:I
neg-int v2, v2
if-lt v10, v2, :cond_6b
.line 9
sget-object v2, Lcom/scwang/smart/refresh/layout/constant/b;->None:Lcom/scwang/smart/refresh/layout/constant/b;
invoke-virtual {v9, v2}, Lcom/scwang/smart/refresh/layout/a;->p(Lcom/scwang/smart/refresh/layout/constant/b;)V
goto :goto_a5
.line 10
:cond_6b
iget-object v5, v9, Lcom/scwang/smart/refresh/layout/a;->G0:Lcom/scwang/smart/refresh/layout/a$k;
invoke-virtual {v5, v2}, Lcom/scwang/smart/refresh/layout/a$k;->a(I)Landroid/animation/ValueAnimator;
move-result-object v2
goto :goto_a6
.line 11
:cond_72
iget-object v5, v9, Lcom/scwang/smart/refresh/layout/a;->G0:Lcom/scwang/smart/refresh/layout/a$k;
invoke-virtual {v5, v2}, Lcom/scwang/smart/refresh/layout/a$k;->a(I)Landroid/animation/ValueAnimator;
move-result-object v2
goto :goto_a6
.line 12
:cond_79
:goto_79
iget-object v5, v9, Lcom/scwang/smart/refresh/layout/a;->R0:Landroid/animation/ValueAnimator;
if-eqz v5, :cond_91
const-wide/16 v8, 0x0
.line 13
invoke-virtual {v5, v8, v9}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;
.line 14
iget-object v5, p0, Lcom/scwang/smart/refresh/layout/b$a;->b:Lcom/scwang/smart/refresh/layout/b;
iget-object v5, v5, Lcom/scwang/smart/refresh/layout/b;->e:Lcom/scwang/smart/refresh/layout/a;
iget-object v5, v5, Lcom/scwang/smart/refresh/layout/a;->R0:Landroid/animation/ValueAnimator;
invoke-virtual {v5}, Landroid/animation/ValueAnimator;->cancel()V
.line 15
iget-object v5, p0, Lcom/scwang/smart/refresh/layout/b$a;->b:Lcom/scwang/smart/refresh/layout/b;
iget-object v5, v5, Lcom/scwang/smart/refresh/layout/b;->e:Lcom/scwang/smart/refresh/layout/a;
iput-object v7, v5, Lcom/scwang/smart/refresh/layout/a;->R0:Landroid/animation/ValueAnimator;
.line 16
:cond_91
iget-object v5, p0, Lcom/scwang/smart/refresh/layout/b$a;->b:Lcom/scwang/smart/refresh/layout/b;
iget-object v5, v5, Lcom/scwang/smart/refresh/layout/b;->e:Lcom/scwang/smart/refresh/layout/a;
iget-object v5, v5, Lcom/scwang/smart/refresh/layout/a;->G0:Lcom/scwang/smart/refresh/layout/a$k;
invoke-virtual {v5, v2, v2}, Lcom/scwang/smart/refresh/layout/a$k;->b(IZ)Lcom/scwang/smart/refresh/layout/api/e;
.line 17
iget-object v2, p0, Lcom/scwang/smart/refresh/layout/b$a;->b:Lcom/scwang/smart/refresh/layout/b;
iget-object v2, v2, Lcom/scwang/smart/refresh/layout/b;->e:Lcom/scwang/smart/refresh/layout/a;
iget-object v2, v2, Lcom/scwang/smart/refresh/layout/a;->G0:Lcom/scwang/smart/refresh/layout/a$k;
sget-object v5, Lcom/scwang/smart/refresh/layout/constant/b;->None:Lcom/scwang/smart/refresh/layout/constant/b;
invoke-virtual {v2, v5}, Lcom/scwang/smart/refresh/layout/a$k;->c(Lcom/scwang/smart/refresh/layout/constant/b;)V
:goto_a5
move-object v2, v7
:goto_a6
if-eqz v2, :cond_ac
.line 18
invoke-virtual {v2, v6}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
goto :goto_af
.line 19
:cond_ac
invoke-virtual {v6, v7}, Lcom/scwang/smart/refresh/layout/b$a$a;->onAnimationEnd(Landroid/animation/Animator;)V
:goto_af
if-eqz v0, :cond_b4
.line 20
invoke-static {v4, v3, v1}, Lcom/shopee/monitor/trace/c;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
:cond_b4
return-void
nop
:array_b6
.array-data 4
0x0
0x0
.end array-data
.end method