170 lines
3.8 KiB
Smali
170 lines
3.8 KiB
Smali
.class public final Lcom/airbnb/lottie/a/b/b;
|
|
.super Lcom/airbnb/lottie/a/b/f;
|
|
.source "ColorKeyframeAnimation.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/airbnb/lottie/a/b/f<",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/util/List;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"Lcom/airbnb/lottie/g/a<",
|
|
"Ljava/lang/Integer;",
|
|
">;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0, p1}, Lcom/airbnb/lottie/a/b/f;-><init>(Ljava/util/List;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private b(Lcom/airbnb/lottie/g/a;F)I
|
|
.locals 11
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/airbnb/lottie/g/a<",
|
|
"Ljava/lang/Integer;",
|
|
">;F)I"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p1, Lcom/airbnb/lottie/g/a;->ms:Ljava/lang/Object;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p1, Lcom/airbnb/lottie/g/a;->mt:Ljava/lang/Object;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p1, Lcom/airbnb/lottie/g/a;->ms:Ljava/lang/Object;
|
|
|
|
check-cast v0, Ljava/lang/Integer;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v0
|
|
|
|
iget-object v1, p1, Lcom/airbnb/lottie/g/a;->mt:Ljava/lang/Object;
|
|
|
|
check-cast v1, Ljava/lang/Integer;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v1
|
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/a/b/b;->gP:Lcom/airbnb/lottie/g/c;
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
iget-object v3, p0, Lcom/airbnb/lottie/a/b/b;->gP:Lcom/airbnb/lottie/g/c;
|
|
|
|
iget v4, p1, Lcom/airbnb/lottie/g/a;->ei:F
|
|
|
|
iget-object p1, p1, Lcom/airbnb/lottie/g/a;->mv:Ljava/lang/Float;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Float;->floatValue()F
|
|
|
|
move-result v5
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/a/b/b;->aX()F
|
|
|
|
move-result v9
|
|
|
|
iget v10, p0, Lcom/airbnb/lottie/a/b/a;->dW:F
|
|
|
|
move v8, p2
|
|
|
|
invoke-virtual/range {v3 .. v10}, Lcom/airbnb/lottie/g/c;->a(FFLjava/lang/Object;Ljava/lang/Object;FFF)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/Integer;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
const/high16 v2, 0x3f800000 # 1.0f
|
|
|
|
invoke-static {p2, p1, v2}, Lcom/airbnb/lottie/f/g;->clamp(FFF)F
|
|
|
|
move-result p1
|
|
|
|
invoke-static {p1, v0, v1}, Lcom/airbnb/lottie/f/b;->a(FII)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p2, "Missing values for keyframe."
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method final synthetic a(Lcom/airbnb/lottie/g/a;F)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1, p2}, Lcom/airbnb/lottie/a/b/b;->b(Lcom/airbnb/lottie/g/a;F)I
|
|
|
|
move-result p1
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final bb()I
|
|
.locals 2
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/a/b/b;->aW()Lcom/airbnb/lottie/g/a;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/a/b/b;->aY()F
|
|
|
|
move-result v1
|
|
|
|
invoke-direct {p0, v0, v1}, Lcom/airbnb/lottie/a/b/b;->b(Lcom/airbnb/lottie/g/a;F)I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|