2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lcom/airbnb/lottie/e/a;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "AnimatablePathValueParser.java"
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-10-01 14:15:45 +00:00
|
|
|
.field private static mO:Lcom/airbnb/lottie/e/a/c$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
const/4 v0, 0x3
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const-string v2, "k"
|
|
|
|
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
const-string v2, "x"
|
|
|
|
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
|
|
|
|
const/4 v1, 0x2
|
|
|
|
|
|
|
|
const-string v2, "y"
|
|
|
|
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
|
|
|
|
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-01 14:15:45 +00:00
|
|
|
sput-object v0, Lcom/airbnb/lottie/e/a;->mO:Lcom/airbnb/lottie/e/a/c$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static a(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/a/e;
|
|
|
|
.locals 4
|
|
|
|
.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
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->bC()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v2, Lcom/airbnb/lottie/e/a/c$b;->nr:Lcom/airbnb/lottie/e/a/c$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-ne v1, v2, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->beginArray()V
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->bC()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v2, Lcom/airbnb/lottie/e/a/c$b;->nu:Lcom/airbnb/lottie/e/a/c$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-ne v1, v2, :cond_0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
2019-07-31 00:08:31 +00:00
|
|
|
invoke-static {}, Lcom/airbnb/lottie/f/h;->bJ()F
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v3, Lcom/airbnb/lottie/e/w;->nk:Lcom/airbnb/lottie/e/w;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, p1, v2, v3, 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
|
|
|
|
|
|
|
|
new-instance v2, Lcom/airbnb/lottie/a/b/h;
|
|
|
|
|
|
|
|
invoke-direct {v2, p1, v1}, Lcom/airbnb/lottie/a/b/h;-><init>(Lcom/airbnb/lottie/d;Lcom/airbnb/lottie/g/a;)V
|
|
|
|
|
|
|
|
invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->endArray()V
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/airbnb/lottie/e/r;->g(Ljava/util/List;)V
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance p1, Lcom/airbnb/lottie/g/a;
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
invoke-static {}, Lcom/airbnb/lottie/f/h;->bJ()F
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-static {p0, v1}, Lcom/airbnb/lottie/e/p;->c(Lcom/airbnb/lottie/e/a/c;F)Landroid/graphics/PointF;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Lcom/airbnb/lottie/g/a;-><init>(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
new-instance p0, Lcom/airbnb/lottie/c/a/e;
|
|
|
|
|
|
|
|
invoke-direct {p0, v0}, Lcom/airbnb/lottie/c/a/e;-><init>(Ljava/util/List;)V
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method static b(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/a/m;
|
|
|
|
.locals 7
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lcom/airbnb/lottie/e/a/c;",
|
|
|
|
"Lcom/airbnb/lottie/d;",
|
|
|
|
")",
|
|
|
|
"Lcom/airbnb/lottie/c/a/m<",
|
|
|
|
"Landroid/graphics/PointF;",
|
|
|
|
"Landroid/graphics/PointF;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->beginObject()V
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
move-object v3, v0
|
|
|
|
|
|
|
|
move-object v4, v3
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->bC()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v6, Lcom/airbnb/lottie/e/a/c$b;->nv:Lcom/airbnb/lottie/e/a/c$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eq v5, v6, :cond_5
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v5, Lcom/airbnb/lottie/e/a;->mO:Lcom/airbnb/lottie/e/a/c$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v5}, Lcom/airbnb/lottie/e/a/c;->a(Lcom/airbnb/lottie/e/a/c$a;)I
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_4
|
|
|
|
|
|
|
|
if-eq v5, v1, :cond_2
|
|
|
|
|
|
|
|
const/4 v6, 0x2
|
|
|
|
|
|
|
|
if-eq v5, v6, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->bD()V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->skipValue()V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->bC()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v6, Lcom/airbnb/lottie/e/a/c$b;->nx:Lcom/airbnb/lottie/e/a/c$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-ne v5, v6, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->skipValue()V
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-static {p0, p1, v1}, Lcom/airbnb/lottie/e/d;->a(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;Z)Lcom/airbnb/lottie/c/a/b;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->bC()Lcom/airbnb/lottie/e/a/c$b;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v6, Lcom/airbnb/lottie/e/a/c$b;->nx:Lcom/airbnb/lottie/e/a/c$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-ne v5, v6, :cond_3
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->skipValue()V
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
invoke-static {p0, p1, v1}, Lcom/airbnb/lottie/e/d;->a(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;Z)Lcom/airbnb/lottie/c/a/b;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/a;->a(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/a/e;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->endObject()V
|
|
|
|
|
|
|
|
if-eqz v2, :cond_6
|
|
|
|
|
|
|
|
const-string p0, "Lottie doesn\'t support expressions."
|
|
|
|
|
|
|
|
invoke-virtual {p1, p0}, Lcom/airbnb/lottie/d;->r(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
new-instance p0, Lcom/airbnb/lottie/c/a/i;
|
|
|
|
|
|
|
|
invoke-direct {p0, v3, v4}, Lcom/airbnb/lottie/c/a/i;-><init>(Lcom/airbnb/lottie/c/a/b;Lcom/airbnb/lottie/c/a/b;)V
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|