586 lines
11 KiB
Smali
586 lines
11 KiB
Smali
.class public Lx3/a;
|
|
.super Ljava/lang/Object;
|
|
.source "Keyframe.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final o:F = -3987645.8f
|
|
|
|
.field public static final p:I = 0x2ec8fb09
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lcom/airbnb/lottie/f;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final b:Ljava/lang/Object;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"TT;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public c:Ljava/lang/Object;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"TT;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final d:Landroid/view/animation/Interpolator;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final e:F
|
|
|
|
.field public f:Ljava/lang/Float;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public g:F
|
|
|
|
.field public h:F
|
|
|
|
.field public i:I
|
|
|
|
.field public j:I
|
|
|
|
.field public k:F
|
|
|
|
.field public l:F
|
|
|
|
.field public m:Landroid/graphics/PointF;
|
|
|
|
.field public n:Landroid/graphics/PointF;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/airbnb/lottie/f;Ljava/lang/Object;Ljava/lang/Object;Landroid/view/animation/Interpolator;FLjava/lang/Float;)V
|
|
.locals 1
|
|
.param p2 # Ljava/lang/Object;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Ljava/lang/Object;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p4 # Landroid/view/animation/Interpolator;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p6 # Ljava/lang/Float;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/airbnb/lottie/f;",
|
|
"TT;TT;",
|
|
"Landroid/view/animation/Interpolator;",
|
|
"F",
|
|
"Ljava/lang/Float;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const v0, -0x358c9d09
|
|
|
|
.line 2
|
|
iput v0, p0, Lx3/a;->g:F
|
|
|
|
.line 3
|
|
iput v0, p0, Lx3/a;->h:F
|
|
|
|
const v0, 0x2ec8fb09
|
|
|
|
.line 4
|
|
iput v0, p0, Lx3/a;->i:I
|
|
|
|
.line 5
|
|
iput v0, p0, Lx3/a;->j:I
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 6
|
|
iput v0, p0, Lx3/a;->k:F
|
|
|
|
.line 7
|
|
iput v0, p0, Lx3/a;->l:F
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 8
|
|
iput-object v0, p0, Lx3/a;->m:Landroid/graphics/PointF;
|
|
|
|
.line 9
|
|
iput-object v0, p0, Lx3/a;->n:Landroid/graphics/PointF;
|
|
|
|
.line 10
|
|
iput-object p1, p0, Lx3/a;->a:Lcom/airbnb/lottie/f;
|
|
|
|
.line 11
|
|
iput-object p2, p0, Lx3/a;->b:Ljava/lang/Object;
|
|
|
|
.line 12
|
|
iput-object p3, p0, Lx3/a;->c:Ljava/lang/Object;
|
|
|
|
.line 13
|
|
iput-object p4, p0, Lx3/a;->d:Landroid/view/animation/Interpolator;
|
|
|
|
.line 14
|
|
iput p5, p0, Lx3/a;->e:F
|
|
|
|
.line 15
|
|
iput-object p6, p0, Lx3/a;->f:Ljava/lang/Float;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/Object;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 16
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const v0, -0x358c9d09
|
|
|
|
.line 17
|
|
iput v0, p0, Lx3/a;->g:F
|
|
|
|
.line 18
|
|
iput v0, p0, Lx3/a;->h:F
|
|
|
|
const v0, 0x2ec8fb09
|
|
|
|
.line 19
|
|
iput v0, p0, Lx3/a;->i:I
|
|
|
|
.line 20
|
|
iput v0, p0, Lx3/a;->j:I
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 21
|
|
iput v0, p0, Lx3/a;->k:F
|
|
|
|
.line 22
|
|
iput v0, p0, Lx3/a;->l:F
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 23
|
|
iput-object v1, p0, Lx3/a;->m:Landroid/graphics/PointF;
|
|
|
|
.line 24
|
|
iput-object v1, p0, Lx3/a;->n:Landroid/graphics/PointF;
|
|
|
|
.line 25
|
|
iput-object v1, p0, Lx3/a;->a:Lcom/airbnb/lottie/f;
|
|
|
|
.line 26
|
|
iput-object p1, p0, Lx3/a;->b:Ljava/lang/Object;
|
|
|
|
.line 27
|
|
iput-object p1, p0, Lx3/a;->c:Ljava/lang/Object;
|
|
|
|
.line 28
|
|
iput-object v1, p0, Lx3/a;->d:Landroid/view/animation/Interpolator;
|
|
|
|
.line 29
|
|
iput v0, p0, Lx3/a;->e:F
|
|
|
|
const p1, 0x7f7fffff # Float.MAX_VALUE
|
|
|
|
.line 30
|
|
invoke-static {p1}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lx3/a;->f:Ljava/lang/Float;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(F)Z
|
|
.locals 1
|
|
.param p1 # F
|
|
.annotation build Landroidx/annotation/FloatRange;
|
|
from = 0.0
|
|
to = 1.0
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lx3/a;->e()F
|
|
|
|
move-result v0
|
|
|
|
cmpl-float v0, p1, v0
|
|
|
|
if-ltz v0, :cond_0
|
|
|
|
invoke-virtual {p0}, Lx3/a;->b()F
|
|
|
|
move-result v0
|
|
|
|
cmpg-float p1, p1, v0
|
|
|
|
if-gez p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
return p1
|
|
.end method
|
|
|
|
.method public b()F
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lx3/a;->a:Lcom/airbnb/lottie/f;
|
|
|
|
const/high16 v1, 0x3f800000 # 1.0f
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
.line 2
|
|
:cond_0
|
|
iget v0, p0, Lx3/a;->l:F
|
|
|
|
const/4 v2, 0x1
|
|
|
|
cmpl-float v0, v0, v2
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
.line 3
|
|
iget-object v0, p0, Lx3/a;->f:Ljava/lang/Float;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 4
|
|
iput v1, p0, Lx3/a;->l:F
|
|
|
|
goto :goto_0
|
|
|
|
.line 5
|
|
:cond_1
|
|
invoke-virtual {p0}, Lx3/a;->e()F
|
|
|
|
move-result v0
|
|
|
|
.line 6
|
|
iget-object v1, p0, Lx3/a;->f:Ljava/lang/Float;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Float;->floatValue()F
|
|
|
|
move-result v1
|
|
|
|
iget v2, p0, Lx3/a;->e:F
|
|
|
|
sub-float/2addr v1, v2
|
|
|
|
.line 7
|
|
iget-object v2, p0, Lx3/a;->a:Lcom/airbnb/lottie/f;
|
|
|
|
invoke-virtual {v2}, Lcom/airbnb/lottie/f;->e()F
|
|
|
|
move-result v2
|
|
|
|
div-float/2addr v1, v2
|
|
|
|
add-float/2addr v1, v0
|
|
|
|
.line 8
|
|
iput v1, p0, Lx3/a;->l:F
|
|
|
|
.line 9
|
|
:cond_2
|
|
:goto_0
|
|
iget v0, p0, Lx3/a;->l:F
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public c()F
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget v0, p0, Lx3/a;->h:F
|
|
|
|
const v1, -0x358c9d09
|
|
|
|
cmpl-float v0, v0, v1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lx3/a;->c:Ljava/lang/Object;
|
|
|
|
check-cast v0, Ljava/lang/Float;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Float;->floatValue()F
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lx3/a;->h:F
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget v0, p0, Lx3/a;->h:F
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public d()I
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget v0, p0, Lx3/a;->j:I
|
|
|
|
const v1, 0x2ec8fb09
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lx3/a;->c:Ljava/lang/Object;
|
|
|
|
check-cast v0, Ljava/lang/Integer;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lx3/a;->j:I
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget v0, p0, Lx3/a;->j:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public e()F
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lx3/a;->a:Lcom/airbnb/lottie/f;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
|
|
.line 2
|
|
:cond_0
|
|
iget v1, p0, Lx3/a;->k:F
|
|
|
|
const/4 v2, 0x1
|
|
|
|
cmpl-float v1, v1, v2
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
.line 3
|
|
iget v1, p0, Lx3/a;->e:F
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/f;->p()F
|
|
|
|
move-result v0
|
|
|
|
sub-float/2addr v1, v0
|
|
|
|
iget-object v0, p0, Lx3/a;->a:Lcom/airbnb/lottie/f;
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/f;->e()F
|
|
|
|
move-result v0
|
|
|
|
div-float/2addr v1, v0
|
|
|
|
iput v1, p0, Lx3/a;->k:F
|
|
|
|
.line 4
|
|
:cond_1
|
|
iget v0, p0, Lx3/a;->k:F
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public f()F
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget v0, p0, Lx3/a;->g:F
|
|
|
|
const v1, -0x358c9d09
|
|
|
|
cmpl-float v0, v0, v1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lx3/a;->b:Ljava/lang/Object;
|
|
|
|
check-cast v0, Ljava/lang/Float;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Float;->floatValue()F
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lx3/a;->g:F
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget v0, p0, Lx3/a;->g:F
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public g()I
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget v0, p0, Lx3/a;->i:I
|
|
|
|
const v1, 0x2ec8fb09
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lx3/a;->b:Ljava/lang/Object;
|
|
|
|
check-cast v0, Ljava/lang/Integer;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lx3/a;->i:I
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget v0, p0, Lx3/a;->i:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public h()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lx3/a;->d:Landroid/view/animation/Interpolator;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
const-string v0, "Keyframe{startValue="
|
|
|
|
.line 1
|
|
invoke-static {v0}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lx3/a;->b:Ljava/lang/Object;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", endValue="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lx3/a;->c:Ljava/lang/Object;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", startFrame="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Lx3/a;->e:F
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", endFrame="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lx3/a;->f:Ljava/lang/Float;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", interpolator="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lx3/a;->d:Landroid/view/animation/Interpolator;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v1, 0x7d
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|