c$b.smali
.class public final Lcom/scwang/smart/refresh/layout/c$b;
.super Landroid/animation/AnimatorListenerAdapter;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/scwang/smart/refresh/layout/c;->run()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:Lcom/scwang/smart/refresh/layout/c;
# direct methods
.method public constructor <init>(Lcom/scwang/smart/refresh/layout/c;)V
.registers 2
iput-object p1, p0, Lcom/scwang/smart/refresh/layout/c$b;->a:Lcom/scwang/smart/refresh/layout/c;
invoke-direct {p0}, Landroid/animation/AnimatorListenerAdapter;-><init>()V
return-void
.end method
# virtual methods
.method public final onAnimationEnd(Landroid/animation/Animator;)V
.registers 6
if-eqz p1, :cond_d
.line 1
invoke-virtual {p1}, Landroid/animation/Animator;->getDuration()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long p1, v0, v2
if-nez p1, :cond_d
return-void
.line 2
:cond_d
iget-object p1, p0, Lcom/scwang/smart/refresh/layout/c$b;->a:Lcom/scwang/smart/refresh/layout/c;
iget-object p1, p1, Lcom/scwang/smart/refresh/layout/c;->d:Lcom/scwang/smart/refresh/layout/a;
const/4 v0, 0x0
iput-object v0, p1, Lcom/scwang/smart/refresh/layout/a;->R0:Landroid/animation/ValueAnimator;
.line 3
iget-object v0, p1, Lcom/scwang/smart/refresh/layout/a;->B0:Lcom/scwang/smart/refresh/layout/api/d;
if-eqz v0, :cond_2f
.line 4
iget-object v0, p1, Lcom/scwang/smart/refresh/layout/a;->H0:Lcom/scwang/smart/refresh/layout/constant/b;
sget-object v1, Lcom/scwang/smart/refresh/layout/constant/b;->ReleaseToRefresh:Lcom/scwang/smart/refresh/layout/constant/b;
if-eq v0, v1, :cond_23
.line 5
iget-object p1, p1, Lcom/scwang/smart/refresh/layout/a;->G0:Lcom/scwang/smart/refresh/layout/a$k;
invoke-virtual {p1, v1}, Lcom/scwang/smart/refresh/layout/a$k;->c(Lcom/scwang/smart/refresh/layout/constant/b;)V
.line 6
:cond_23
iget-object p1, p0, Lcom/scwang/smart/refresh/layout/c$b;->a:Lcom/scwang/smart/refresh/layout/c;
iget-object v0, p1, Lcom/scwang/smart/refresh/layout/c;->d:Lcom/scwang/smart/refresh/layout/a;
iget-boolean p1, p1, Lcom/scwang/smart/refresh/layout/c;->c:Z
xor-int/lit8 p1, p1, 0x1
invoke-virtual {v0, p1}, Lcom/scwang/smart/refresh/layout/a;->setStateRefreshing(Z)V
goto :goto_36
.line 7
:cond_2f
iget-object p1, p1, Lcom/scwang/smart/refresh/layout/a;->G0:Lcom/scwang/smart/refresh/layout/a$k;
sget-object v0, Lcom/scwang/smart/refresh/layout/constant/b;->None:Lcom/scwang/smart/refresh/layout/constant/b;
invoke-virtual {p1, v0}, Lcom/scwang/smart/refresh/layout/a$k;->c(Lcom/scwang/smart/refresh/layout/constant/b;)V
:goto_36
return-void
.end method