2019-07-24 11:27:29 +00:00
|
|
|
.class final Lcom/airbnb/lottie/e/r;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "KeyframesParser.java"
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-10-23 04:50:18 +00:00
|
|
|
.field static lh:Lcom/airbnb/lottie/e/a/c$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
2019-11-20 22:09:14 +00:00
|
|
|
.locals 1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
const-string v0, "k"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
filled-new-array {v0}, [Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
move-result-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/airbnb/lottie/e/a/c$a;->a([Ljava/lang/String;)Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
sput-object v0, Lcom/airbnb/lottie/e/r;->lh:Lcom/airbnb/lottie/e/a/c$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method static a(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;FLcom/airbnb/lottie/e/ai;)Ljava/util/List;
|
|
|
|
.locals 4
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Lcom/airbnb/lottie/e/a/c;",
|
|
|
|
"Lcom/airbnb/lottie/d;",
|
|
|
|
"F",
|
|
|
|
"Lcom/airbnb/lottie/e/ai<",
|
|
|
|
"TT;>;)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Lcom/airbnb/lottie/g/a<",
|
|
|
|
"TT;>;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->by()Lcom/airbnb/lottie/e/a/c$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
sget-object v2, Lcom/airbnb/lottie/e/a/c$b;->lO:Lcom/airbnb/lottie/e/a/c$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-ne v1, v2, :cond_0
|
|
|
|
|
|
|
|
const-string p0, "Lottie doesn\'t support expressions."
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p1, p0}, Lcom/airbnb/lottie/d;->s(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->beginObject()V
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
sget-object v1, Lcom/airbnb/lottie/e/r;->lh:Lcom/airbnb/lottie/e/a/c$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v1}, Lcom/airbnb/lottie/e/a/c;->a(Lcom/airbnb/lottie/e/a/c$a;)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->skipValue()V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->by()Lcom/airbnb/lottie/e/a/c$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
sget-object v2, Lcom/airbnb/lottie/e/a/c$b;->lJ:Lcom/airbnb/lottie/e/a/c$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
if-ne v1, v2, :cond_4
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->beginArray()V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->by()Lcom/airbnb/lottie/e/a/c$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
sget-object v2, Lcom/airbnb/lottie/e/a/c$b;->lP:Lcom/airbnb/lottie/e/a/c$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-ne v1, v2, :cond_2
|
|
|
|
|
|
|
|
invoke-static {p0, p1, p2, p3, v3}, Lcom/airbnb/lottie/e/q;->a(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;FLcom/airbnb/lottie/e/ai;Z)Lcom/airbnb/lottie/g/a;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:goto_1
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
invoke-static {p0, p1, p2, p3, v1}, Lcom/airbnb/lottie/e/q;->a(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;FLcom/airbnb/lottie/e/ai;Z)Lcom/airbnb/lottie/g/a;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_2
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->endArray()V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
invoke-static {p0, p1, p2, p3, v3}, Lcom/airbnb/lottie/e/q;->a(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;FLcom/airbnb/lottie/e/ai;Z)Lcom/airbnb/lottie/g/a;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->endObject()V
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
invoke-static {v0}, Lcom/airbnb/lottie/e/r;->c(Ljava/util/List;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
.method public static c(Ljava/util/List;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 5
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"+",
|
|
|
|
"Lcom/airbnb/lottie/g/a<",
|
|
|
|
"TT;>;>;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:goto_0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
add-int/lit8 v3, v0, -0x1
|
|
|
|
|
|
|
|
if-ge v1, v3, :cond_1
|
|
|
|
|
|
|
|
invoke-interface {p0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
check-cast v2, Lcom/airbnb/lottie/g/a;
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
invoke-interface {p0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
check-cast v3, Lcom/airbnb/lottie/g/a;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget v4, v3, Lcom/airbnb/lottie/g/a;->ei:F
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v4}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iput-object v4, v2, Lcom/airbnb/lottie/g/a;->mv:Ljava/lang/Float;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v4, v2, Lcom/airbnb/lottie/g/a;->mt:Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v4, v3, Lcom/airbnb/lottie/g/a;->ms:Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v3, v3, Lcom/airbnb/lottie/g/a;->ms:Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iput-object v3, v2, Lcom/airbnb/lottie/g/a;->mt:Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
instance-of v3, v2, Lcom/airbnb/lottie/a/b/h;
|
|
|
|
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
|
|
|
|
check-cast v2, Lcom/airbnb/lottie/a/b/h;
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v2}, Lcom/airbnb/lottie/a/b/h;->bd()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-interface {p0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lcom/airbnb/lottie/g/a;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v1, v0, Lcom/airbnb/lottie/g/a;->ms:Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v1, v0, Lcom/airbnb/lottie/g/a;->mt:Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_3
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-le v1, v2, :cond_3
|
|
|
|
|
|
|
|
invoke-interface {p0, v0}, Ljava/util/List;->remove(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
return-void
|
|
|
|
.end method
|