a$c.smali

.class public final Lcom/scwang/smart/refresh/layout/a$c;
.super Landroid/animation/AnimatorListenerAdapter;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/scwang/smart/refresh/layout/a;->setStateRefreshing(Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = null
.end annotation


# instance fields
.field public final synthetic a:Z

.field public final synthetic b:Lcom/scwang/smart/refresh/layout/a;


# direct methods
.method public constructor <init>(Lcom/scwang/smart/refresh/layout/a;Z)V
    .registers 3

    iput-object p1, p0, Lcom/scwang/smart/refresh/layout/a$c;->b:Lcom/scwang/smart/refresh/layout/a;

    iput-boolean p2, p0, Lcom/scwang/smart/refresh/layout/a$c;->a:Z

    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/a$c;->b:Lcom/scwang/smart/refresh/layout/a;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p1, Lcom/scwang/smart/refresh/layout/a;->J0:J

    .line 3
    iget-object p1, p0, Lcom/scwang/smart/refresh/layout/a$c;->b:Lcom/scwang/smart/refresh/layout/a;

    sget-object v0, Lcom/scwang/smart/refresh/layout/constant/b;->Refreshing:Lcom/scwang/smart/refresh/layout/constant/b;

    invoke-virtual {p1, v0}, Lcom/scwang/smart/refresh/layout/a;->p(Lcom/scwang/smart/refresh/layout/constant/b;)V

    .line 4
    iget-object p1, p0, Lcom/scwang/smart/refresh/layout/a$c;->b:Lcom/scwang/smart/refresh/layout/a;

    iget-object v0, p1, Lcom/scwang/smart/refresh/layout/a;->j0:Lcom/scwang/smart/refresh/layout/listener/f;

    if-eqz v0, :cond_2a

    .line 5
    iget-boolean v1, p0, Lcom/scwang/smart/refresh/layout/a$c;->a:Z

    if-eqz v1, :cond_32

    .line 6
    invoke-interface {v0, p1}, Lcom/scwang/smart/refresh/layout/listener/f;->a(Lcom/scwang/smart/refresh/layout/api/f;)V

    goto :goto_32

    :cond_2a
    const/16 v0, 0xbb8

    .line 7
    sget-object v1, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;

    const/4 v2, 0x1

    invoke-virtual {p1, v0, v2, v1}, Lcom/scwang/smart/refresh/layout/a;->k(IZLjava/lang/Boolean;)Lcom/scwang/smart/refresh/layout/api/f;

    .line 8
    :cond_32
    :goto_32
    iget-object p1, p0, Lcom/scwang/smart/refresh/layout/a$c;->b:Lcom/scwang/smart/refresh/layout/a;

    iget-object v0, p1, Lcom/scwang/smart/refresh/layout/a;->B0:Lcom/scwang/smart/refresh/layout/api/d;

    if-eqz v0, :cond_43

    .line 9
    iget v1, p1, Lcom/scwang/smart/refresh/layout/a;->r0:I

    iget v2, p1, Lcom/scwang/smart/refresh/layout/a;->x0:F

    int-to-float v3, v1

    mul-float v2, v2, v3

    float-to-int v2, v2

    invoke-interface {v0, p1, v1, v2}, Lcom/scwang/smart/refresh/layout/api/a;->c(Lcom/scwang/smart/refresh/layout/api/f;II)V

    .line 10
    :cond_43
    iget-object p1, p0, Lcom/scwang/smart/refresh/layout/a$c;->b:Lcom/scwang/smart/refresh/layout/a;

    invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    return-void
.end method