a$a.smali
.class public Lcom/scwang/smartrefresh/layout/c/a$a;
.super Ljava/lang/Object;
# interfaces
.implements Landroid/animation/ValueAnimator$AnimatorUpdateListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/scwang/smartrefresh/layout/c/a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4
name = "a"
.end annotation
# instance fields
.field a:B
.field final synthetic b:Lcom/scwang/smartrefresh/layout/c/a;
# direct methods
.method constructor <init>(Lcom/scwang/smartrefresh/layout/c/a;B)V
.registers 3
iput-object p1, p0, Lcom/scwang/smartrefresh/layout/c/a$a;->b:Lcom/scwang/smartrefresh/layout/c/a;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-byte p2, p0, Lcom/scwang/smartrefresh/layout/c/a$a;->a:B
return-void
.end method
# virtual methods
.method public onAnimationUpdate(Landroid/animation/ValueAnimator;)V
.registers 4
iget-byte v0, p0, Lcom/scwang/smartrefresh/layout/c/a$a;->a:B
if-nez v0, :cond_18
iget-object v1, p0, Lcom/scwang/smartrefresh/layout/c/a$a;->b:Lcom/scwang/smartrefresh/layout/c/a;
invoke-virtual {p1}, Landroid/animation/ValueAnimator;->getAnimatedValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Float;
invoke-virtual {v0}, Ljava/lang/Float;->floatValue()F
move-result v0
iput v0, v1, Lcom/scwang/smartrefresh/layout/c/a;->s:F
:cond_12
:goto_12
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/c/a$a;->b:Lcom/scwang/smartrefresh/layout/c/a;
invoke-virtual {v0}, Landroid/view/View;->invalidate()V
:goto_17
return-void
:cond_18
const/4 v0, 0x1
iget-byte v1, p0, Lcom/scwang/smartrefresh/layout/c/a$a;->a:B
if-ne v0, v1, :cond_38
iget-object v0, p0, Lcom/scwang/smartrefresh/layout/c/a$a;->b:Lcom/scwang/smartrefresh/layout/c/a;
iget-boolean v0, v0, Lcom/scwang/smartrefresh/layout/c/a;->e:Z
if-eqz v0, :cond_27
invoke-virtual {p1}, Landroid/animation/ValueAnimator;->cancel()V
goto :goto_17
:cond_27
iget-object v1, p0, Lcom/scwang/smartrefresh/layout/c/a$a;->b:Lcom/scwang/smartrefresh/layout/c/a;
invoke-virtual {p1}, Landroid/animation/ValueAnimator;->getAnimatedValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
div-int/lit8 v0, v0, 0x2
iput v0, v1, Lcom/scwang/smartrefresh/layout/c/a;->j:I
goto :goto_12
:cond_38
const/4 v0, 0x2
iget-byte v1, p0, Lcom/scwang/smartrefresh/layout/c/a$a;->a:B
if-ne v0, v1, :cond_4c
iget-object v1, p0, Lcom/scwang/smartrefresh/layout/c/a$a;->b:Lcom/scwang/smartrefresh/layout/c/a;
invoke-virtual {p1}, Landroid/animation/ValueAnimator;->getAnimatedValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Float;
invoke-virtual {v0}, Ljava/lang/Float;->floatValue()F
move-result v0
iput v0, v1, Lcom/scwang/smartrefresh/layout/c/a;->l:F
goto :goto_12
:cond_4c
const/4 v0, 0x3
iget-byte v1, p0, Lcom/scwang/smartrefresh/layout/c/a$a;->a:B
if-ne v0, v1, :cond_60
iget-object v1, p0, Lcom/scwang/smartrefresh/layout/c/a$a;->b:Lcom/scwang/smartrefresh/layout/c/a;
invoke-virtual {p1}, Landroid/animation/ValueAnimator;->getAnimatedValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Float;
invoke-virtual {v0}, Ljava/lang/Float;->floatValue()F
move-result v0
iput v0, v1, Lcom/scwang/smartrefresh/layout/c/a;->o:F
goto :goto_12
:cond_60
const/4 v0, 0x4
iget-byte v1, p0, Lcom/scwang/smartrefresh/layout/c/a$a;->a:B
if-ne v0, v1, :cond_12
iget-object v1, p0, Lcom/scwang/smartrefresh/layout/c/a$a;->b:Lcom/scwang/smartrefresh/layout/c/a;
invoke-virtual {p1}, Landroid/animation/ValueAnimator;->getAnimatedValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
iput v0, v1, Lcom/scwang/smartrefresh/layout/c/a;->p:I
goto :goto_12
.end method