2020-07-08 16:44:49 +00:00
|
|
|
.class public Lf/d/a/z/d;
|
2020-09-09 19:21:20 +00:00
|
|
|
.super Lf/d/a/z/a;
|
|
|
|
.source "LottieValueAnimator.java"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Landroid/view/Choreographer$FrameCallback;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-09-09 19:21:20 +00:00
|
|
|
.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
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
.field public m:Lf/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
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
2020-09-09 19:21:20 +00:00
|
|
|
.locals 3
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-direct {p0}, Lf/d/a/z/a;-><init>()V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iput v0, p0, Lf/d/a/z/d;->f:F
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const/4 v0, 0x0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iput-boolean v0, p0, Lf/d/a/z/d;->g:Z
|
|
|
|
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
|
|
|
|
iput-wide v1, p0, Lf/d/a/z/d;->h:J
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const/4 v1, 0x0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iput v1, p0, Lf/d/a/z/d;->i:F
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iput v0, p0, Lf/d/a/z/d;->j:I
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const/high16 v1, -0x31000000
|
|
|
|
|
|
|
|
iput v1, p0, Lf/d/a/z/d;->k:F
|
|
|
|
|
|
|
|
const/high16 v1, 0x4f000000
|
|
|
|
|
|
|
|
iput v1, p0, Lf/d/a/z/d;->l:F
|
|
|
|
|
|
|
|
iput-boolean v0, p0, Lf/d/a/z/d;->n:Z
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-09-09 19:21:20 +00:00
|
|
|
.method public cancel()V
|
2020-07-08 16:44:49 +00:00
|
|
|
.locals 2
|
2020-09-09 19:21:20 +00:00
|
|
|
.annotation build Landroidx/annotation/MainThread;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iget-object v0, p0, Lf/d/a/z/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
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->k()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public d()V
|
|
|
|
.locals 1
|
|
|
|
.annotation build Landroidx/annotation/MainThread;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->k()V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->i()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lf/d/a/z/a;->b(Z)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public doFrame(J)V
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->j()V
|
|
|
|
|
|
|
|
iget-object v0, p0, Lf/d/a/z/d;->m:Lf/d/a/d;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_c
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lf/d/a/z/d;->n:Z
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
goto/16 :goto_8
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-wide v0, p0, Lf/d/a/z/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, Lf/d/a/z/d;->m:Lf/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, Lf/d/a/d;->m:F
|
|
|
|
|
|
|
|
div-float/2addr v1, v0
|
|
|
|
|
|
|
|
iget v0, p0, Lf/d/a/z/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, Lf/d/a/z/d;->i:F
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->i()Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
|
|
|
|
neg-float v1, v1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
add-float/2addr v0, v1
|
|
|
|
|
|
|
|
iput v0, p0, Lf/d/a/z/d;->i:F
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->h()F
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->f()F
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
invoke-static {v0, v1, v2}, Lf/d/a/z/f;->d(FFF)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
xor-int/2addr v0, v1
|
|
|
|
|
|
|
|
iget v2, p0, Lf/d/a/z/d;->i:F
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->h()F
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->f()F
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
invoke-static {v2, v3, v4}, Lf/d/a/z/f;->b(FFF)F
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
iput v2, p0, Lf/d/a/z/d;->i:F
|
|
|
|
|
|
|
|
iput-wide p1, p0, Lf/d/a/z/d;->h:J
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/a;->c()V
|
|
|
|
|
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/animation/ValueAnimator;->getRepeatCount()I
|
|
|
|
|
|
|
|
move-result v0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const/4 v3, -0x1
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
if-eq v0, v3, :cond_5
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget v0, p0, Lf/d/a/z/d;->j:I
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
invoke-virtual {p0}, Landroid/animation/ValueAnimator;->getRepeatCount()I
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
move-result v3
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
if-lt v0, v3, :cond_5
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
iget p1, p0, Lf/d/a/z/d;->f:F
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
const/4 p2, 0x0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-09 19:21:20 +00:00
|
|
|
cmpg-float p1, p1, p2
|
|
|
|
|
|
|
|
if-gez p1, :cond_4
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->h()F
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->f()F
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
iput p1, p0, Lf/d/a/z/d;->i:F
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->k()V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->i()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lf/d/a/z/a;->b(Z)V
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
iget-object v0, p0, Lf/d/a/z/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 v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_6
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
check-cast v3, Landroid/animation/Animator$AnimatorListener;
|
|
|
|
|
|
|
|
invoke-interface {v3, p0}, Landroid/animation/Animator$AnimatorListener;->onAnimationRepeat(Landroid/animation/Animator;)V
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
iget v0, p0, Lf/d/a/z/d;->j:I
|
|
|
|
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
|
|
|
|
iput v0, p0, Lf/d/a/z/d;->j:I
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/animation/ValueAnimator;->getRepeatMode()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-ne v0, v2, :cond_7
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lf/d/a/z/d;->g:Z
|
|
|
|
|
|
|
|
xor-int/2addr v0, v1
|
|
|
|
|
|
|
|
iput-boolean v0, p0, Lf/d/a/z/d;->g:Z
|
|
|
|
|
|
|
|
iget v0, p0, Lf/d/a/z/d;->f:F
|
|
|
|
|
|
|
|
neg-float v0, v0
|
|
|
|
|
|
|
|
iput v0, p0, Lf/d/a/z/d;->f:F
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->i()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_8
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->f()F
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->h()F
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
:goto_4
|
|
|
|
iput v0, p0, Lf/d/a/z/d;->i:F
|
|
|
|
|
|
|
|
:goto_5
|
|
|
|
iput-wide p1, p0, Lf/d/a/z/d;->h:J
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
:goto_6
|
|
|
|
iget-object p1, p0, Lf/d/a/z/d;->m:Lf/d/a/d;
|
|
|
|
|
|
|
|
if-nez p1, :cond_a
|
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
iget p1, p0, Lf/d/a/z/d;->i:F
|
|
|
|
|
|
|
|
iget p2, p0, Lf/d/a/z/d;->k:F
|
|
|
|
|
|
|
|
cmpg-float p2, p1, p2
|
|
|
|
|
|
|
|
if-ltz p2, :cond_b
|
|
|
|
|
|
|
|
iget p2, p0, Lf/d/a/z/d;->l:F
|
|
|
|
|
|
|
|
cmpl-float p1, p1, p2
|
|
|
|
|
|
|
|
if-gtz p1, :cond_b
|
|
|
|
|
|
|
|
:goto_7
|
|
|
|
const-string p1, "LottieValueAnimator#doFrame"
|
|
|
|
|
|
|
|
invoke-static {p1}, Lf/d/a/c;->a(Ljava/lang/String;)F
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const/4 p2, 0x3
|
|
|
|
|
|
|
|
new-array p2, p2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
iget v3, p0, Lf/d/a/z/d;->k:F
|
|
|
|
|
|
|
|
invoke-static {v3}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
aput-object v3, p2, v0
|
|
|
|
|
|
|
|
iget v0, p0, Lf/d/a/z/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, Lf/d/a/z/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 e()F
|
|
|
|
.locals 3
|
|
|
|
.annotation build Landroidx/annotation/FloatRange;
|
|
|
|
from = 0.0
|
|
|
|
to = 1.0
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iget-object v0, p0, Lf/d/a/z/d;->m:Lf/d/a/d;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget v1, p0, Lf/d/a/z/d;->i:F
|
|
|
|
|
|
|
|
iget v2, v0, Lf/d/a/d;->k:F
|
|
|
|
|
|
|
|
sub-float/2addr v1, v2
|
|
|
|
|
|
|
|
iget v0, v0, Lf/d/a/d;->l:F
|
|
|
|
|
|
|
|
sub-float/2addr v0, v2
|
|
|
|
|
|
|
|
div-float/2addr v1, v0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public f()F
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lf/d/a/z/d;->m:Lf/d/a/d;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget v1, p0, Lf/d/a/z/d;->l:F
|
|
|
|
|
|
|
|
const/high16 v2, 0x4f000000
|
|
|
|
|
|
|
|
cmpl-float v2, v1, v2
|
|
|
|
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
|
|
|
|
iget v1, v0, Lf/d/a/d;->l:F
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return v1
|
|
|
|
.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, Lf/d/a/z/d;->m:Lf/d/a/d;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->i()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->f()F
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
iget v1, p0, Lf/d/a/z/d;->i:F
|
|
|
|
|
|
|
|
sub-float/2addr v0, v1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->f()F
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->h()F
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
sub-float/2addr v1, v2
|
|
|
|
|
|
|
|
div-float/2addr v0, v1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
iget v0, p0, Lf/d/a/z/d;->i:F
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->h()F
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
sub-float/2addr v0, v1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->f()F
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->h()F
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getAnimatedValue()Ljava/lang/Object;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->e()F
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
2020-09-09 19:21:20 +00:00
|
|
|
|
|
|
|
.method public getDuration()J
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-object v0, p0, Lf/d/a/z/d;->m:Lf/d/a/d;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {v0}, Lf/d/a/d;->b()F
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
float-to-long v0, v0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public h()F
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lf/d/a/z/d;->m:Lf/d/a/d;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget v1, p0, Lf/d/a/z/d;->k:F
|
|
|
|
|
|
|
|
const/high16 v2, -0x31000000
|
|
|
|
|
|
|
|
cmpl-float v2, v1, v2
|
|
|
|
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
|
|
|
|
iget v1, v0, Lf/d/a/d;->k:F
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final i()Z
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget v0, p0, Lf/d/a/z/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 isRunning()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lf/d/a/z/d;->n:Z
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public j()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lf/d/a/z/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 k()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
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
iput-boolean v0, p0, Lf/d/a/z/d;->n:Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public m(F)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget v0, p0, Lf/d/a/z/d;->i:F
|
|
|
|
|
|
|
|
cmpl-float v0, v0, p1
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->h()F
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/d;->f()F
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-static {p1, v0, v1}, Lf/d/a/z/f;->b(FFF)F
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
iput p1, p0, Lf/d/a/z/d;->i:F
|
|
|
|
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
|
|
|
|
iput-wide v0, p0, Lf/d/a/z/d;->h:J
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lf/d/a/z/a;->c()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public n(FF)V
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
cmpl-float v0, p1, p2
|
|
|
|
|
|
|
|
if-gtz v0, :cond_2
|
|
|
|
|
|
|
|
iget-object v0, p0, Lf/d/a/z/d;->m:Lf/d/a/d;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const v0, -0x800001
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget v0, v0, Lf/d/a/d;->k:F
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
iget-object v1, p0, Lf/d/a/z/d;->m:Lf/d/a/d;
|
|
|
|
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
|
|
|
|
const v1, 0x7f7fffff # Float.MAX_VALUE
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
iget v1, v1, Lf/d/a/d;->l:F
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-static {p1, v0, v1}, Lf/d/a/z/f;->b(FFF)F
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
iput v2, p0, Lf/d/a/z/d;->k:F
|
|
|
|
|
|
|
|
invoke-static {p2, v0, v1}, Lf/d/a/z/f;->b(FFF)F
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
iput v0, p0, Lf/d/a/z/d;->l:F
|
|
|
|
|
|
|
|
iget v0, p0, Lf/d/a/z/d;->i:F
|
|
|
|
|
|
|
|
invoke-static {v0, p1, p2}, Lf/d/a/z/f;->b(FFF)F
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
float-to-int p1, p1
|
|
|
|
|
|
|
|
int-to-float p1, p1
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lf/d/a/z/d;->m(F)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 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, Lf/d/a/z/d;->g:Z
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
iput-boolean p1, p0, Lf/d/a/z/d;->g:Z
|
|
|
|
|
|
|
|
iget p1, p0, Lf/d/a/z/d;->f:F
|
|
|
|
|
|
|
|
neg-float p1, p1
|
|
|
|
|
|
|
|
iput p1, p0, Lf/d/a/z/d;->f:F
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|