436 lines
8.6 KiB
Smali
436 lines
8.6 KiB
Smali
.class final Lcom/airbnb/lottie/e/g;
|
|
.super Ljava/lang/Object;
|
|
.source "ContentModelParser.java"
|
|
|
|
|
|
# static fields
|
|
.field private static lh:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
const-string v0, "ty"
|
|
|
|
const-string v1, "d"
|
|
|
|
filled-new-array {v0, v1}, [Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
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
|
|
|
|
sput-object v0, Lcom/airbnb/lottie/e/g;->lh:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static i(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/b;
|
|
.locals 7
|
|
.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, 0x2
|
|
|
|
const/4 v1, 0x2
|
|
|
|
:goto_0
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
const/4 v4, 0x0
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
sget-object v2, Lcom/airbnb/lottie/e/g;->lh:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
invoke-virtual {p0, v2}, Lcom/airbnb/lottie/e/a/c;->a(Lcom/airbnb/lottie/e/a/c$a;)I
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
if-eq v2, v3, :cond_0
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->bz()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;->nextInt()I
|
|
|
|
move-result v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
move-object v2, v4
|
|
|
|
:goto_1
|
|
if-nez v2, :cond_3
|
|
|
|
return-object v4
|
|
|
|
:cond_3
|
|
const/4 v5, -0x1
|
|
|
|
invoke-virtual {v2}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v6
|
|
|
|
sparse-switch v6, :sswitch_data_0
|
|
|
|
goto/16 :goto_2
|
|
|
|
:sswitch_0
|
|
const-string v0, "tr"
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
const/4 v0, 0x5
|
|
|
|
goto/16 :goto_3
|
|
|
|
:sswitch_1
|
|
const-string v0, "tm"
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
const/16 v0, 0x9
|
|
|
|
goto/16 :goto_3
|
|
|
|
:sswitch_2
|
|
const-string v0, "st"
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto/16 :goto_3
|
|
|
|
:sswitch_3
|
|
const-string v0, "sr"
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
const/16 v0, 0xa
|
|
|
|
goto :goto_3
|
|
|
|
:sswitch_4
|
|
const-string v0, "sh"
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
const/4 v0, 0x6
|
|
|
|
goto :goto_3
|
|
|
|
:sswitch_5
|
|
const-string v0, "rp"
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
const/16 v0, 0xc
|
|
|
|
goto :goto_3
|
|
|
|
:sswitch_6
|
|
const-string v0, "rc"
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
const/16 v0, 0x8
|
|
|
|
goto :goto_3
|
|
|
|
:sswitch_7
|
|
const-string v0, "mm"
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
const/16 v0, 0xb
|
|
|
|
goto :goto_3
|
|
|
|
:sswitch_8
|
|
const-string v3, "gs"
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_4
|
|
|
|
goto :goto_3
|
|
|
|
:sswitch_9
|
|
const-string v0, "gr"
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_3
|
|
|
|
:sswitch_a
|
|
const-string v0, "gf"
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
const/4 v0, 0x4
|
|
|
|
goto :goto_3
|
|
|
|
:sswitch_b
|
|
const-string v0, "fl"
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
const/4 v0, 0x3
|
|
|
|
goto :goto_3
|
|
|
|
:sswitch_c
|
|
const-string v0, "el"
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
const/4 v0, 0x7
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
:goto_2
|
|
const/4 v0, -0x1
|
|
|
|
:goto_3
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "Unknown shape type "
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lcom/airbnb/lottie/f/d;->w(Ljava/lang/String;)V
|
|
|
|
goto :goto_4
|
|
|
|
:pswitch_0
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/aa;->q(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/k;
|
|
|
|
move-result-object v4
|
|
|
|
goto :goto_4
|
|
|
|
:pswitch_1
|
|
invoke-static {p0}, Lcom/airbnb/lottie/e/v;->e(Lcom/airbnb/lottie/e/a/c;)Lcom/airbnb/lottie/c/b/h;
|
|
|
|
move-result-object v4
|
|
|
|
const-string v0, "Animation contains merge paths. Merge paths are only supported on KitKat+ and must be manually enabled by calling enableMergePathsForKitKatAndAbove()."
|
|
|
|
invoke-virtual {p1, v0}, Lcom/airbnb/lottie/d;->s(Ljava/lang/String;)V
|
|
|
|
goto :goto_4
|
|
|
|
:pswitch_2
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/y;->o(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/i;
|
|
|
|
move-result-object v4
|
|
|
|
goto :goto_4
|
|
|
|
:pswitch_3
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/ah;->v(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/q;
|
|
|
|
move-result-object v4
|
|
|
|
goto :goto_4
|
|
|
|
:pswitch_4
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/z;->p(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/j;
|
|
|
|
move-result-object v4
|
|
|
|
goto :goto_4
|
|
|
|
:pswitch_5
|
|
invoke-static {p0, p1, v1}, Lcom/airbnb/lottie/e/e;->b(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;I)Lcom/airbnb/lottie/c/b/a;
|
|
|
|
move-result-object v4
|
|
|
|
goto :goto_4
|
|
|
|
:pswitch_6
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/af;->t(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/o;
|
|
|
|
move-result-object v4
|
|
|
|
goto :goto_4
|
|
|
|
:pswitch_7
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/c;->d(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/a/l;
|
|
|
|
move-result-object v4
|
|
|
|
goto :goto_4
|
|
|
|
:pswitch_8
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/m;->k(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/d;
|
|
|
|
move-result-object v4
|
|
|
|
goto :goto_4
|
|
|
|
:pswitch_9
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/ad;->r(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/m;
|
|
|
|
move-result-object v4
|
|
|
|
goto :goto_4
|
|
|
|
:pswitch_a
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/n;->l(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/e;
|
|
|
|
move-result-object v4
|
|
|
|
goto :goto_4
|
|
|
|
:pswitch_b
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/ag;->u(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/p;
|
|
|
|
move-result-object v4
|
|
|
|
goto :goto_4
|
|
|
|
:pswitch_c
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/ae;->s(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/n;
|
|
|
|
move-result-object v4
|
|
|
|
:goto_4
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->skipValue()V
|
|
|
|
goto :goto_4
|
|
|
|
:cond_5
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->endObject()V
|
|
|
|
return-object v4
|
|
|
|
:sswitch_data_0
|
|
.sparse-switch
|
|
0xca7 -> :sswitch_c
|
|
0xcc6 -> :sswitch_b
|
|
0xcdf -> :sswitch_a
|
|
0xceb -> :sswitch_9
|
|
0xcec -> :sswitch_8
|
|
0xda0 -> :sswitch_7
|
|
0xe31 -> :sswitch_6
|
|
0xe3e -> :sswitch_5
|
|
0xe55 -> :sswitch_4
|
|
0xe5f -> :sswitch_3
|
|
0xe61 -> :sswitch_2
|
|
0xe79 -> :sswitch_1
|
|
0xe7e -> :sswitch_0
|
|
.end sparse-switch
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_c
|
|
:pswitch_b
|
|
:pswitch_a
|
|
:pswitch_9
|
|
:pswitch_8
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|