849 lines
14 KiB
Smali
849 lines
14 KiB
Smali
.class public Le/d/a/x/d;
|
|
.super Le/d/a/x/a;
|
|
.source "LottieValueAnimator.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/Choreographer$FrameCallback;
|
|
|
|
|
|
# instance fields
|
|
.field public f:F
|
|
|
|
.field public g:Z
|
|
|
|
.field public h:J
|
|
|
|
.field public i:F
|
|
|
|
.field public j:I
|
|
|
|
.field public k:F
|
|
|
|
.field public l:F
|
|
|
|
.field public m:Le/d/a/d;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public n:Z
|
|
.annotation build Landroidx/annotation/VisibleForTesting;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 3
|
|
|
|
invoke-direct {p0}, Le/d/a/x/a;-><init>()V
|
|
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
iput v0, p0, Le/d/a/x/d;->f:F
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Le/d/a/x/d;->g:Z
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
iput-wide v1, p0, Le/d/a/x/d;->h:J
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput v1, p0, Le/d/a/x/d;->i:F
|
|
|
|
iput v0, p0, Le/d/a/x/d;->j:I
|
|
|
|
const/high16 v1, -0x31000000
|
|
|
|
iput v1, p0, Le/d/a/x/d;->k:F
|
|
|
|
const/high16 v1, 0x4f000000
|
|
|
|
iput v1, p0, Le/d/a/x/d;->l:F
|
|
|
|
iput-boolean v0, p0, Le/d/a/x/d;->n:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(F)V
|
|
.locals 0
|
|
|
|
iput p1, p0, Le/d/a/x/d;->f:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(FF)V
|
|
.locals 3
|
|
|
|
cmpl-float v0, p1, p2
|
|
|
|
if-gtz v0, :cond_2
|
|
|
|
iget-object v0, p0, Le/d/a/x/d;->m:Le/d/a/d;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const v0, -0x800001
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget v0, v0, Le/d/a/d;->k:F
|
|
|
|
:goto_0
|
|
iget-object v1, p0, Le/d/a/x/d;->m:Le/d/a/d;
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
const v1, 0x7f7fffff # Float.MAX_VALUE
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
iget v1, v1, Le/d/a/d;->l:F
|
|
|
|
:goto_1
|
|
invoke-static {p1, v0, v1}, Le/d/a/x/f;->a(FFF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p0, Le/d/a/x/d;->k:F
|
|
|
|
invoke-static {p2, v0, v1}, Le/d/a/x/f;->a(FFF)F
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Le/d/a/x/d;->l:F
|
|
|
|
iget v0, p0, Le/d/a/x/d;->i:F
|
|
|
|
invoke-static {v0, p1, p2}, Le/d/a/x/f;->a(FFF)F
|
|
|
|
move-result p1
|
|
|
|
float-to-int p1, p1
|
|
|
|
invoke-virtual {p0, p1}, Le/d/a/x/d;->a(I)V
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const/4 v1, 0x2
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-static {p1}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object p1
|
|
|
|
aput-object p1, v1, v2
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-static {p2}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object p2
|
|
|
|
aput-object p2, v1, p1
|
|
|
|
const-string p1, "minFrame (%s) must be <= maxFrame (%s)"
|
|
|
|
invoke-static {p1, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public a(I)V
|
|
.locals 2
|
|
|
|
iget v0, p0, Le/d/a/x/d;->i:F
|
|
|
|
int-to-float p1, p1
|
|
|
|
cmpl-float v0, v0, p1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Le/d/a/x/d;->d()F
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->c()F
|
|
|
|
move-result v1
|
|
|
|
invoke-static {p1, v0, v1}, Le/d/a/x/f;->a(FFF)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Le/d/a/x/d;->i:F
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
iput-wide v0, p0, Le/d/a/x/d;->h:J
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/a;->a()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b()F
|
|
.locals 3
|
|
.annotation build Landroidx/annotation/FloatRange;
|
|
from = 0.0
|
|
to = 1.0
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Le/d/a/x/d;->m:Le/d/a/d;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
iget v1, p0, Le/d/a/x/d;->i:F
|
|
|
|
iget v2, v0, Le/d/a/d;->k:F
|
|
|
|
sub-float/2addr v1, v2
|
|
|
|
iget v0, v0, Le/d/a/d;->l:F
|
|
|
|
sub-float/2addr v0, v2
|
|
|
|
div-float/2addr v1, v0
|
|
|
|
return v1
|
|
.end method
|
|
|
|
.method public b(Z)V
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/MainThread;
|
|
.end annotation
|
|
|
|
invoke-static {}, Landroid/view/Choreographer;->getInstance()Landroid/view/Choreographer;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p0}, Landroid/view/Choreographer;->removeFrameCallback(Landroid/view/Choreographer$FrameCallback;)V
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-boolean p1, p0, Le/d/a/x/d;->n:Z
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public c()F
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Le/d/a/x/d;->m:Le/d/a/d;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
iget v1, p0, Le/d/a/x/d;->l:F
|
|
|
|
const/high16 v2, 0x4f000000
|
|
|
|
cmpl-float v2, v1, v2
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
iget v1, v0, Le/d/a/d;->l:F
|
|
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public cancel()V
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/MainThread;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Le/d/a/x/a;->e:Ljava/util/Set;
|
|
|
|
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/animation/Animator$AnimatorListener;
|
|
|
|
invoke-interface {v1, p0}, Landroid/animation/Animator$AnimatorListener;->onAnimationCancel(Landroid/animation/Animator;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
invoke-virtual {p0, v0}, Le/d/a/x/d;->b(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public d()F
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Le/d/a/x/d;->m:Le/d/a/d;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
iget v1, p0, Le/d/a/x/d;->k:F
|
|
|
|
const/high16 v2, -0x31000000
|
|
|
|
cmpl-float v2, v1, v2
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
iget v1, v0, Le/d/a/d;->k:F
|
|
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public doFrame(J)V
|
|
.locals 5
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->f()V
|
|
|
|
iget-object v0, p0, Le/d/a/x/d;->m:Le/d/a/d;
|
|
|
|
if-eqz v0, :cond_c
|
|
|
|
iget-boolean v0, p0, Le/d/a/x/d;->n:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto/16 :goto_8
|
|
|
|
:cond_0
|
|
iget-wide v0, p0, Le/d/a/x/d;->h:J
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
if-nez v4, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
sub-long v2, p1, v0
|
|
|
|
:goto_0
|
|
iget-object v0, p0, Le/d/a/x/d;->m:Le/d/a/d;
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
const v0, 0x7f7fffff # Float.MAX_VALUE
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const v1, 0x4e6e6b28 # 1.0E9f
|
|
|
|
iget v0, v0, Le/d/a/d;->m:F
|
|
|
|
div-float/2addr v1, v0
|
|
|
|
iget v0, p0, Le/d/a/x/d;->f:F
|
|
|
|
invoke-static {v0}, Ljava/lang/Math;->abs(F)F
|
|
|
|
move-result v0
|
|
|
|
div-float v0, v1, v0
|
|
|
|
:goto_1
|
|
long-to-float v1, v2
|
|
|
|
div-float/2addr v1, v0
|
|
|
|
iget v0, p0, Le/d/a/x/d;->i:F
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->e()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
neg-float v1, v1
|
|
|
|
:cond_3
|
|
add-float/2addr v0, v1
|
|
|
|
iput v0, p0, Le/d/a/x/d;->i:F
|
|
|
|
iget v0, p0, Le/d/a/x/d;->i:F
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->d()F
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->c()F
|
|
|
|
move-result v2
|
|
|
|
invoke-static {v0, v1, v2}, Le/d/a/x/f;->b(FFF)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
xor-int/2addr v0, v1
|
|
|
|
iget v2, p0, Le/d/a/x/d;->i:F
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->d()F
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->c()F
|
|
|
|
move-result v4
|
|
|
|
invoke-static {v2, v3, v4}, Le/d/a/x/f;->a(FFF)F
|
|
|
|
move-result v2
|
|
|
|
iput v2, p0, Le/d/a/x/d;->i:F
|
|
|
|
iput-wide p1, p0, Le/d/a/x/d;->h:J
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/a;->a()V
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
invoke-virtual {p0}, Landroid/animation/ValueAnimator;->getRepeatCount()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v4, -0x1
|
|
|
|
if-eq v0, v4, :cond_5
|
|
|
|
iget v0, p0, Le/d/a/x/d;->j:I
|
|
|
|
invoke-virtual {p0}, Landroid/animation/ValueAnimator;->getRepeatCount()I
|
|
|
|
move-result v4
|
|
|
|
if-lt v0, v4, :cond_5
|
|
|
|
iget p1, p0, Le/d/a/x/d;->f:F
|
|
|
|
const/4 p2, 0x0
|
|
|
|
cmpg-float p1, p1, p2
|
|
|
|
if-gez p1, :cond_4
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->d()F
|
|
|
|
move-result p1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
invoke-virtual {p0}, Le/d/a/x/d;->c()F
|
|
|
|
move-result p1
|
|
|
|
:goto_2
|
|
iput p1, p0, Le/d/a/x/d;->i:F
|
|
|
|
invoke-static {}, Landroid/view/Choreographer;->getInstance()Landroid/view/Choreographer;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, p0}, Landroid/view/Choreographer;->removeFrameCallback(Landroid/view/Choreographer$FrameCallback;)V
|
|
|
|
iput-boolean v3, p0, Le/d/a/x/d;->n:Z
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->e()Z
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, p1}, Le/d/a/x/a;->a(Z)V
|
|
|
|
goto :goto_6
|
|
|
|
:cond_5
|
|
iget-object v0, p0, Le/d/a/x/a;->e:Ljava/util/Set;
|
|
|
|
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_3
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_6
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Landroid/animation/Animator$AnimatorListener;
|
|
|
|
invoke-interface {v4, p0}, Landroid/animation/Animator$AnimatorListener;->onAnimationRepeat(Landroid/animation/Animator;)V
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
iget v0, p0, Le/d/a/x/d;->j:I
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
iput v0, p0, Le/d/a/x/d;->j:I
|
|
|
|
invoke-virtual {p0}, Landroid/animation/ValueAnimator;->getRepeatMode()I
|
|
|
|
move-result v0
|
|
|
|
if-ne v0, v2, :cond_7
|
|
|
|
iget-boolean v0, p0, Le/d/a/x/d;->g:Z
|
|
|
|
xor-int/2addr v0, v1
|
|
|
|
iput-boolean v0, p0, Le/d/a/x/d;->g:Z
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->g()V
|
|
|
|
goto :goto_5
|
|
|
|
:cond_7
|
|
invoke-virtual {p0}, Le/d/a/x/d;->e()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_8
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->c()F
|
|
|
|
move-result v0
|
|
|
|
goto :goto_4
|
|
|
|
:cond_8
|
|
invoke-virtual {p0}, Le/d/a/x/d;->d()F
|
|
|
|
move-result v0
|
|
|
|
:goto_4
|
|
iput v0, p0, Le/d/a/x/d;->i:F
|
|
|
|
:goto_5
|
|
iput-wide p1, p0, Le/d/a/x/d;->h:J
|
|
|
|
:cond_9
|
|
:goto_6
|
|
iget-object p1, p0, Le/d/a/x/d;->m:Le/d/a/d;
|
|
|
|
if-nez p1, :cond_a
|
|
|
|
goto :goto_7
|
|
|
|
:cond_a
|
|
iget p1, p0, Le/d/a/x/d;->i:F
|
|
|
|
iget p2, p0, Le/d/a/x/d;->k:F
|
|
|
|
cmpg-float p2, p1, p2
|
|
|
|
if-ltz p2, :cond_b
|
|
|
|
iget p2, p0, Le/d/a/x/d;->l:F
|
|
|
|
cmpl-float p1, p1, p2
|
|
|
|
if-gtz p1, :cond_b
|
|
|
|
:goto_7
|
|
return-void
|
|
|
|
:cond_b
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
const/4 p2, 0x3
|
|
|
|
new-array p2, p2, [Ljava/lang/Object;
|
|
|
|
iget v0, p0, Le/d/a/x/d;->k:F
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object v0
|
|
|
|
aput-object v0, p2, v3
|
|
|
|
iget v0, p0, Le/d/a/x/d;->l:F
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object v0
|
|
|
|
aput-object v0, p2, v1
|
|
|
|
iget v0, p0, Le/d/a/x/d;->i:F
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object v0
|
|
|
|
aput-object v0, p2, v2
|
|
|
|
const-string v0, "Frame must be [%f,%f]. It is %f"
|
|
|
|
invoke-static {v0, p2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_c
|
|
:goto_8
|
|
return-void
|
|
.end method
|
|
|
|
.method public final e()Z
|
|
.locals 2
|
|
|
|
iget v0, p0, Le/d/a/x/d;->f:F
|
|
|
|
const/4 v1, 0x0
|
|
|
|
cmpg-float v0, v0, v1
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public f()V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Le/d/a/x/d;->n:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-static {}, Landroid/view/Choreographer;->getInstance()Landroid/view/Choreographer;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p0}, Landroid/view/Choreographer;->removeFrameCallback(Landroid/view/Choreographer$FrameCallback;)V
|
|
|
|
invoke-static {}, Landroid/view/Choreographer;->getInstance()Landroid/view/Choreographer;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p0}, Landroid/view/Choreographer;->postFrameCallback(Landroid/view/Choreographer$FrameCallback;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public g()V
|
|
.locals 1
|
|
|
|
iget v0, p0, Le/d/a/x/d;->f:F
|
|
|
|
neg-float v0, v0
|
|
|
|
iput v0, p0, Le/d/a/x/d;->f:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getAnimatedFraction()F
|
|
.locals 3
|
|
.annotation build Landroidx/annotation/FloatRange;
|
|
from = 0.0
|
|
to = 1.0
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Le/d/a/x/d;->m:Le/d/a/d;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Le/d/a/x/d;->e()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->c()F
|
|
|
|
move-result v0
|
|
|
|
iget v1, p0, Le/d/a/x/d;->i:F
|
|
|
|
sub-float/2addr v0, v1
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->c()F
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->d()F
|
|
|
|
move-result v2
|
|
|
|
:goto_0
|
|
sub-float/2addr v1, v2
|
|
|
|
div-float/2addr v0, v1
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
iget v0, p0, Le/d/a/x/d;->i:F
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->d()F
|
|
|
|
move-result v1
|
|
|
|
sub-float/2addr v0, v1
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->c()F
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->d()F
|
|
|
|
move-result v2
|
|
|
|
goto :goto_0
|
|
.end method
|
|
|
|
.method public getAnimatedValue()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->b()F
|
|
|
|
move-result v0
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getDuration()J
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Le/d/a/x/d;->m:Le/d/a/d;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-virtual {v0}, Le/d/a/d;->a()F
|
|
|
|
move-result v0
|
|
|
|
float-to-long v0, v0
|
|
|
|
:goto_0
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public isRunning()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Le/d/a/x/d;->n:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public setRepeatMode(I)V
|
|
.locals 1
|
|
|
|
invoke-super {p0, p1}, Landroid/animation/ValueAnimator;->setRepeatMode(I)V
|
|
|
|
const/4 v0, 0x2
|
|
|
|
if-eq p1, v0, :cond_0
|
|
|
|
iget-boolean p1, p0, Le/d/a/x/d;->g:Z
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-boolean p1, p0, Le/d/a/x/d;->g:Z
|
|
|
|
invoke-virtual {p0}, Le/d/a/x/d;->g()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|