apkfuckery/com.discord/smali/com/airbnb/lottie/f/e.smali

1047 lines
20 KiB
Smali

.class public final Lcom/airbnb/lottie/f/e;
.super Lcom/airbnb/lottie/f/a;
.source "LottieValueAnimator.java"
# interfaces
.implements Landroid/view/Choreographer$FrameCallback;
# instance fields
.field public fz:Lcom/airbnb/lottie/d;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
.field public nO:F
.field private nP:Z
.field private nQ:J
.field public nR:F
.field public nS:F
.field public nT:F
.field private repeatCount:I
.field protected running:Z
.annotation build Landroidx/annotation/VisibleForTesting;
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 3
invoke-direct {p0}, Lcom/airbnb/lottie/f/a;-><init>()V
const/high16 v0, 0x3f800000 # 1.0f
iput v0, p0, Lcom/airbnb/lottie/f/e;->nO:F
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/airbnb/lottie/f/e;->nP:Z
const-wide/16 v1, 0x0
iput-wide v1, p0, Lcom/airbnb/lottie/f/e;->nQ:J
const/4 v1, 0x0
iput v1, p0, Lcom/airbnb/lottie/f/e;->nR:F
iput v0, p0, Lcom/airbnb/lottie/f/e;->repeatCount:I
const/high16 v1, -0x31000000
iput v1, p0, Lcom/airbnb/lottie/f/e;->nS:F
const/high16 v1, 0x4f000000
iput v1, p0, Lcom/airbnb/lottie/f/e;->nT:F
iput-boolean v0, p0, Lcom/airbnb/lottie/f/e;->running:Z
return-void
.end method
.method private bH()V
.locals 1
iget v0, p0, Lcom/airbnb/lottie/f/e;->nO:F
neg-float v0, v0
iput v0, p0, Lcom/airbnb/lottie/f/e;->nO:F
return-void
.end method
.method private bJ()V
.locals 1
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->isRunning()Z
move-result v0
if-eqz v0, :cond_0
const/4 v0, 0x0
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/f/e;->l(Z)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
# virtual methods
.method public final a(FF)V
.locals 3
cmpl-float v0, p1, p2
if-gtz v0, :cond_2
iget-object v0, p0, Lcom/airbnb/lottie/f/e;->fz:Lcom/airbnb/lottie/d;
if-nez v0, :cond_0
const v0, -0x800001
goto :goto_0
:cond_0
iget v0, v0, Lcom/airbnb/lottie/d;->fO:F
:goto_0
iget-object v1, p0, Lcom/airbnb/lottie/f/e;->fz:Lcom/airbnb/lottie/d;
if-nez v1, :cond_1
const v1, 0x7f7fffff # Float.MAX_VALUE
goto :goto_1
:cond_1
iget v1, v1, Lcom/airbnb/lottie/d;->fP:F
:goto_1
invoke-static {p1, v0, v1}, Lcom/airbnb/lottie/f/g;->clamp(FFF)F
move-result v2
iput v2, p0, Lcom/airbnb/lottie/f/e;->nS:F
invoke-static {p2, v0, v1}, Lcom/airbnb/lottie/f/g;->clamp(FFF)F
move-result v0
iput v0, p0, Lcom/airbnb/lottie/f/e;->nT:F
iget v0, p0, Lcom/airbnb/lottie/f/e;->nR:F
invoke-static {v0, p1, p2}, Lcom/airbnb/lottie/f/g;->clamp(FFF)F
move-result p1
float-to-int p1, p1
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/f/e;->setFrame(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 final aL()V
.locals 5
.annotation build Landroidx/annotation/MainThread;
.end annotation
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/airbnb/lottie/f/e;->running:Z
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->bI()Z
move-result v0
iget-object v1, p0, Lcom/airbnb/lottie/f/a;->nL:Ljava/util/Set;
invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v1
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/animation/Animator$AnimatorListener;
sget v3, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v4, 0x1a
if-lt v3, v4, :cond_0
invoke-interface {v2, p0, v0}, Landroid/animation/Animator$AnimatorListener;->onAnimationStart(Landroid/animation/Animator;Z)V
goto :goto_0
:cond_0
invoke-interface {v2, p0}, Landroid/animation/Animator$AnimatorListener;->onAnimationStart(Landroid/animation/Animator;)V
goto :goto_0
:cond_1
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->bI()Z
move-result v0
if-eqz v0, :cond_2
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMaxFrame()F
move-result v0
goto :goto_1
:cond_2
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMinFrame()F
move-result v0
:goto_1
float-to-int v0, v0
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/f/e;->setFrame(I)V
const-wide/16 v0, 0x0
iput-wide v0, p0, Lcom/airbnb/lottie/f/e;->nQ:J
const/4 v0, 0x0
iput v0, p0, Lcom/airbnb/lottie/f/e;->repeatCount:I
invoke-direct {p0}, Lcom/airbnb/lottie/f/e;->bJ()V
return-void
.end method
.method public final aM()V
.locals 1
.annotation build Landroidx/annotation/MainThread;
.end annotation
const/4 v0, 0x1
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/f/e;->l(Z)V
return-void
.end method
.method public final aS()V
.locals 1
const/4 v0, 0x0
iput-object v0, p0, Lcom/airbnb/lottie/f/e;->fz:Lcom/airbnb/lottie/d;
const/high16 v0, -0x31000000
iput v0, p0, Lcom/airbnb/lottie/f/e;->nS:F
const/high16 v0, 0x4f000000
iput v0, p0, Lcom/airbnb/lottie/f/e;->nT:F
return-void
.end method
.method public final aT()V
.locals 2
.annotation build Landroidx/annotation/MainThread;
.end annotation
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/airbnb/lottie/f/e;->running:Z
invoke-direct {p0}, Lcom/airbnb/lottie/f/e;->bJ()V
const-wide/16 v0, 0x0
iput-wide v0, p0, Lcom/airbnb/lottie/f/e;->nQ:J
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->bI()Z
move-result v0
if-eqz v0, :cond_0
iget v0, p0, Lcom/airbnb/lottie/f/e;->nR:F
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMinFrame()F
move-result v1
cmpl-float v0, v0, v1
if-nez v0, :cond_0
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMaxFrame()F
move-result v0
iput v0, p0, Lcom/airbnb/lottie/f/e;->nR:F
return-void
:cond_0
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->bI()Z
move-result v0
if-nez v0, :cond_1
iget v0, p0, Lcom/airbnb/lottie/f/e;->nR:F
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMaxFrame()F
move-result v1
cmpl-float v0, v0, v1
if-nez v0, :cond_1
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMinFrame()F
move-result v0
iput v0, p0, Lcom/airbnb/lottie/f/e;->nR:F
:cond_1
return-void
.end method
.method public final bG()F
.locals 3
.annotation build Landroidx/annotation/FloatRange;
from = 0.0
to = 1.0
.end annotation
iget-object v0, p0, Lcom/airbnb/lottie/f/e;->fz:Lcom/airbnb/lottie/d;
if-nez v0, :cond_0
const/4 v0, 0x0
return v0
:cond_0
iget v1, p0, Lcom/airbnb/lottie/f/e;->nR:F
iget v0, v0, Lcom/airbnb/lottie/d;->fO:F
sub-float/2addr v1, v0
iget-object v0, p0, Lcom/airbnb/lottie/f/e;->fz:Lcom/airbnb/lottie/d;
iget v0, v0, Lcom/airbnb/lottie/d;->fP:F
iget-object v2, p0, Lcom/airbnb/lottie/f/e;->fz:Lcom/airbnb/lottie/d;
iget v2, v2, Lcom/airbnb/lottie/d;->fO:F
sub-float/2addr v0, v2
div-float/2addr v1, v0
return v1
.end method
.method public bI()Z
.locals 2
iget v0, p0, Lcom/airbnb/lottie/f/e;->nO:F
const/4 v1, 0x0
cmpg-float v0, v0, v1
if-gez v0, :cond_0
const/4 v0, 0x1
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public final cancel()V
.locals 2
.annotation build Landroidx/annotation/MainThread;
.end annotation
iget-object v0, p0, Lcom/airbnb/lottie/f/a;->nL: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}, Lcom/airbnb/lottie/f/e;->l(Z)V
return-void
.end method
.method public final doFrame(J)V
.locals 5
invoke-direct {p0}, Lcom/airbnb/lottie/f/e;->bJ()V
iget-object v0, p0, Lcom/airbnb/lottie/f/e;->fz:Lcom/airbnb/lottie/d;
if-eqz v0, :cond_b
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->isRunning()Z
move-result v0
if-nez v0, :cond_0
goto/16 :goto_7
:cond_0
iget-wide v0, p0, Lcom/airbnb/lottie/f/e;->nQ: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, Lcom/airbnb/lottie/f/e;->fz:Lcom/airbnb/lottie/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, Lcom/airbnb/lottie/d;->fQ:F
div-float/2addr v1, v0
iget v0, p0, Lcom/airbnb/lottie/f/e;->nO: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, Lcom/airbnb/lottie/f/e;->nR:F
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->bI()Z
move-result v2
if-eqz v2, :cond_3
neg-float v1, v1
:cond_3
add-float/2addr v0, v1
iput v0, p0, Lcom/airbnb/lottie/f/e;->nR:F
iget v0, p0, Lcom/airbnb/lottie/f/e;->nR:F
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMinFrame()F
move-result v1
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMaxFrame()F
move-result v2
invoke-static {v0, v1, v2}, Lcom/airbnb/lottie/f/g;->a(FFF)Z
move-result v0
const/4 v1, 0x1
xor-int/2addr v0, v1
iget v2, p0, Lcom/airbnb/lottie/f/e;->nR:F
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMinFrame()F
move-result v3
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMaxFrame()F
move-result v4
invoke-static {v2, v3, v4}, Lcom/airbnb/lottie/f/g;->clamp(FFF)F
move-result v2
iput v2, p0, Lcom/airbnb/lottie/f/e;->nR:F
iput-wide p1, p0, Lcom/airbnb/lottie/f/e;->nQ:J
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->bF()V
const/4 v2, 0x2
if-eqz v0, :cond_9
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getRepeatCount()I
move-result v0
const/4 v3, -0x1
if-eq v0, v3, :cond_5
iget v0, p0, Lcom/airbnb/lottie/f/e;->repeatCount:I
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getRepeatCount()I
move-result v3
if-lt v0, v3, :cond_5
iget p1, p0, Lcom/airbnb/lottie/f/e;->nO:F
const/4 p2, 0x0
cmpg-float p1, p1, p2
if-gez p1, :cond_4
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMinFrame()F
move-result p1
goto :goto_2
:cond_4
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMaxFrame()F
move-result p1
:goto_2
iput p1, p0, Lcom/airbnb/lottie/f/e;->nR:F
invoke-virtual {p0, v1}, Lcom/airbnb/lottie/f/e;->l(Z)V
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->bI()Z
move-result p1
invoke-virtual {p0, p1}, Lcom/airbnb/lottie/f/e;->k(Z)V
goto :goto_6
:cond_5
iget-object v0, p0, Lcom/airbnb/lottie/f/a;->nL: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, Lcom/airbnb/lottie/f/e;->repeatCount:I
add-int/2addr v0, v1
iput v0, p0, Lcom/airbnb/lottie/f/e;->repeatCount:I
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getRepeatMode()I
move-result v0
if-ne v0, v2, :cond_7
iget-boolean v0, p0, Lcom/airbnb/lottie/f/e;->nP:Z
xor-int/2addr v0, v1
iput-boolean v0, p0, Lcom/airbnb/lottie/f/e;->nP:Z
invoke-direct {p0}, Lcom/airbnb/lottie/f/e;->bH()V
goto :goto_5
:cond_7
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->bI()Z
move-result v0
if-eqz v0, :cond_8
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMaxFrame()F
move-result v0
goto :goto_4
:cond_8
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMinFrame()F
move-result v0
:goto_4
iput v0, p0, Lcom/airbnb/lottie/f/e;->nR:F
:goto_5
iput-wide p1, p0, Lcom/airbnb/lottie/f/e;->nQ:J
:cond_9
:goto_6
iget-object p1, p0, Lcom/airbnb/lottie/f/e;->fz:Lcom/airbnb/lottie/d;
if-eqz p1, :cond_b
iget p1, p0, Lcom/airbnb/lottie/f/e;->nR:F
iget p2, p0, Lcom/airbnb/lottie/f/e;->nS:F
cmpg-float p2, p1, p2
if-ltz p2, :cond_a
iget p2, p0, Lcom/airbnb/lottie/f/e;->nT:F
cmpl-float p1, p1, p2
if-gtz p1, :cond_a
goto :goto_7
:cond_a
new-instance p1, Ljava/lang/IllegalStateException;
const/4 p2, 0x3
new-array p2, p2, [Ljava/lang/Object;
const/4 v0, 0x0
iget v3, p0, Lcom/airbnb/lottie/f/e;->nS:F
invoke-static {v3}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
move-result-object v3
aput-object v3, p2, v0
iget v0, p0, Lcom/airbnb/lottie/f/e;->nT:F
invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
move-result-object v0
aput-object v0, p2, v1
iget v0, p0, Lcom/airbnb/lottie/f/e;->nR: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_b
:goto_7
return-void
.end method
.method public final e(F)V
.locals 1
iget v0, p0, Lcom/airbnb/lottie/f/e;->nS:F
invoke-virtual {p0, v0, p1}, Lcom/airbnb/lottie/f/e;->a(FF)V
return-void
.end method
.method public final getAnimatedFraction()F
.locals 3
.annotation build Landroidx/annotation/FloatRange;
from = 0.0
to = 1.0
.end annotation
iget-object v0, p0, Lcom/airbnb/lottie/f/e;->fz:Lcom/airbnb/lottie/d;
if-nez v0, :cond_0
const/4 v0, 0x0
return v0
:cond_0
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->bI()Z
move-result v0
if-eqz v0, :cond_1
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMaxFrame()F
move-result v0
iget v1, p0, Lcom/airbnb/lottie/f/e;->nR:F
sub-float/2addr v0, v1
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMaxFrame()F
move-result v1
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMinFrame()F
move-result v2
:goto_0
sub-float/2addr v1, v2
div-float/2addr v0, v1
return v0
:cond_1
iget v0, p0, Lcom/airbnb/lottie/f/e;->nR:F
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMinFrame()F
move-result v1
sub-float/2addr v0, v1
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMaxFrame()F
move-result v1
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMinFrame()F
move-result v2
goto :goto_0
.end method
.method public final getAnimatedValue()Ljava/lang/Object;
.locals 1
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->bG()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 final getDuration()J
.locals 2
iget-object v0, p0, Lcom/airbnb/lottie/f/e;->fz:Lcom/airbnb/lottie/d;
if-nez v0, :cond_0
const-wide/16 v0, 0x0
return-wide v0
:cond_0
invoke-virtual {v0}, Lcom/airbnb/lottie/d;->aO()F
move-result v0
float-to-long v0, v0
return-wide v0
.end method
.method public final getMaxFrame()F
.locals 3
iget-object v0, p0, Lcom/airbnb/lottie/f/e;->fz:Lcom/airbnb/lottie/d;
if-nez v0, :cond_0
const/4 v0, 0x0
return v0
:cond_0
iget v1, p0, Lcom/airbnb/lottie/f/e;->nT:F
const/high16 v2, 0x4f000000
cmpl-float v2, v1, v2
if-nez v2, :cond_1
iget v0, v0, Lcom/airbnb/lottie/d;->fP:F
return v0
:cond_1
return v1
.end method
.method public final getMinFrame()F
.locals 3
iget-object v0, p0, Lcom/airbnb/lottie/f/e;->fz:Lcom/airbnb/lottie/d;
if-nez v0, :cond_0
const/4 v0, 0x0
return v0
:cond_0
iget v1, p0, Lcom/airbnb/lottie/f/e;->nS:F
const/high16 v2, -0x31000000
cmpl-float v2, v1, v2
if-nez v2, :cond_1
iget v0, v0, Lcom/airbnb/lottie/d;->fO:F
return v0
:cond_1
return v1
.end method
.method public final isRunning()Z
.locals 1
iget-boolean v0, p0, Lcom/airbnb/lottie/f/e;->running:Z
return v0
.end method
.method public l(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, Lcom/airbnb/lottie/f/e;->running:Z
:cond_0
return-void
.end method
.method public final setFrame(I)V
.locals 2
iget v0, p0, Lcom/airbnb/lottie/f/e;->nR:F
int-to-float p1, p1
cmpl-float v0, v0, p1
if-nez v0, :cond_0
return-void
:cond_0
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMinFrame()F
move-result v0
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->getMaxFrame()F
move-result v1
invoke-static {p1, v0, v1}, Lcom/airbnb/lottie/f/g;->clamp(FFF)F
move-result p1
iput p1, p0, Lcom/airbnb/lottie/f/e;->nR:F
const-wide/16 v0, 0x0
iput-wide v0, p0, Lcom/airbnb/lottie/f/e;->nQ:J
invoke-virtual {p0}, Lcom/airbnb/lottie/f/e;->bF()V
return-void
.end method
.method public final setMinFrame(I)V
.locals 1
int-to-float p1, p1
iget v0, p0, Lcom/airbnb/lottie/f/e;->nT:F
float-to-int v0, v0
int-to-float v0, v0
invoke-virtual {p0, p1, v0}, Lcom/airbnb/lottie/f/e;->a(FF)V
return-void
.end method
.method public final setRepeatMode(I)V
.locals 1
invoke-super {p0, p1}, Lcom/airbnb/lottie/f/a;->setRepeatMode(I)V
const/4 v0, 0x2
if-eq p1, v0, :cond_0
iget-boolean p1, p0, Lcom/airbnb/lottie/f/e;->nP:Z
if-eqz p1, :cond_0
const/4 p1, 0x0
iput-boolean p1, p0, Lcom/airbnb/lottie/f/e;->nP:Z
invoke-direct {p0}, Lcom/airbnb/lottie/f/e;->bH()V
:cond_0
return-void
.end method