944 lines
18 KiB
Smali
944 lines
18 KiB
Smali
.class public final Lcom/airbnb/lottie/e/r;
|
|
.super Ljava/lang/Object;
|
|
.source "LottieCompositionParser.java"
|
|
|
|
|
|
# direct methods
|
|
.method public static a(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;Landroidx/collection/SparseArrayCompat;)V
|
|
.locals 13
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/util/JsonReader;",
|
|
"Lcom/airbnb/lottie/d;",
|
|
"Landroidx/collection/SparseArrayCompat<",
|
|
"Lcom/airbnb/lottie/c/d;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->beginArray()V
|
|
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_b
|
|
|
|
new-instance v2, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->beginObject()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const-wide/16 v3, 0x0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
move-object v8, v0
|
|
|
|
move-object v9, v8
|
|
|
|
move-wide v6, v3
|
|
|
|
move-wide v4, v6
|
|
|
|
const/4 v3, 0x0
|
|
|
|
:goto_1
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v10, -0x1
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v11
|
|
|
|
const v12, -0x6f471c96
|
|
|
|
if-eq v11, v12, :cond_5
|
|
|
|
const/16 v12, 0x77
|
|
|
|
if-eq v11, v12, :cond_4
|
|
|
|
const/16 v12, 0xc65
|
|
|
|
if-eq v11, v12, :cond_3
|
|
|
|
const v12, 0x2eefaa
|
|
|
|
if-eq v11, v12, :cond_2
|
|
|
|
const v12, 0x35e001
|
|
|
|
if-eq v11, v12, :cond_1
|
|
|
|
const v12, 0x68b1db1
|
|
|
|
if-eq v11, v12, :cond_0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_0
|
|
const-string v11, "style"
|
|
|
|
invoke-virtual {v0, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
const/4 v0, 0x3
|
|
|
|
goto :goto_3
|
|
|
|
:cond_1
|
|
const-string v11, "size"
|
|
|
|
invoke-virtual {v0, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_2
|
|
const-string v11, "data"
|
|
|
|
invoke-virtual {v0, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
const/4 v0, 0x5
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
const-string v11, "ch"
|
|
|
|
invoke-virtual {v0, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
const-string v11, "w"
|
|
|
|
invoke-virtual {v0, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
const/4 v0, 0x2
|
|
|
|
goto :goto_3
|
|
|
|
:cond_5
|
|
const-string v11, "fFamily"
|
|
|
|
invoke-virtual {v0, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
const/4 v0, 0x4
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
:goto_2
|
|
const/4 v0, -0x1
|
|
|
|
:goto_3
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->skipValue()V
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_0
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->beginObject()V
|
|
|
|
:goto_4
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
const-string v0, "shapes"
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextName()Ljava/lang/String;
|
|
|
|
move-result-object v10
|
|
|
|
invoke-virtual {v0, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_8
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->beginArray()V
|
|
|
|
:goto_5
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/g;->i(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/b;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/airbnb/lottie/c/b/n;
|
|
|
|
invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_5
|
|
|
|
:cond_7
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->endArray()V
|
|
|
|
goto :goto_4
|
|
|
|
:cond_8
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->skipValue()V
|
|
|
|
goto :goto_4
|
|
|
|
:cond_9
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->endObject()V
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_1
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v9
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_2
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v8
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_3
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextDouble()D
|
|
|
|
move-result-wide v6
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_4
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextDouble()D
|
|
|
|
move-result-wide v4
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_5
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v3
|
|
|
|
goto/16 :goto_1
|
|
|
|
:cond_a
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->endObject()V
|
|
|
|
new-instance v0, Lcom/airbnb/lottie/c/d;
|
|
|
|
move-object v1, v0
|
|
|
|
invoke-direct/range {v1 .. v9}, Lcom/airbnb/lottie/c/d;-><init>(Ljava/util/List;CDDLjava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0}, Lcom/airbnb/lottie/c/d;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p2, v1, v0}, Landroidx/collection/SparseArrayCompat;->put(ILjava/lang/Object;)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_b
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->endArray()V
|
|
|
|
return-void
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public static a(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;Ljava/util/List;Landroidx/collection/LongSparseArray;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/util/JsonReader;",
|
|
"Lcom/airbnb/lottie/d;",
|
|
"Ljava/util/List<",
|
|
"Lcom/airbnb/lottie/c/c/d;",
|
|
">;",
|
|
"Landroidx/collection/LongSparseArray<",
|
|
"Lcom/airbnb/lottie/c/c/d;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->beginArray()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:cond_0
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/q;->l(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/c/d;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v2, v1, Lcom/airbnb/lottie/c/c/d;->lA:Lcom/airbnb/lottie/c/c/d$a;
|
|
|
|
sget-object v3, Lcom/airbnb/lottie/c/c/d$a;->lP:Lcom/airbnb/lottie/c/c/d$a;
|
|
|
|
if-ne v2, v3, :cond_1
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
:cond_1
|
|
invoke-interface {p2, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
iget-wide v2, v1, Lcom/airbnb/lottie/c/c/d;->lz:J
|
|
|
|
invoke-virtual {p3, v2, v3, v1}, Landroidx/collection/LongSparseArray;->put(JLjava/lang/Object;)V
|
|
|
|
const/4 v1, 0x4
|
|
|
|
if-le v0, v1, :cond_0
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "You have "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, " images. Lottie should primarily be used with shapes. If you are using Adobe Illustrator, convert the Illustrator layers to shape layers."
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lcom/airbnb/lottie/c;->r(Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->endArray()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;Ljava/util/Map;Ljava/util/Map;)V
|
|
.locals 12
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/util/JsonReader;",
|
|
"Lcom/airbnb/lottie/d;",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/List<",
|
|
"Lcom/airbnb/lottie/c/c/d;",
|
|
">;>;",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Lcom/airbnb/lottie/g;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->beginArray()V
|
|
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
new-instance v1, Landroidx/collection/LongSparseArray;
|
|
|
|
invoke-direct {v1}, Landroidx/collection/LongSparseArray;-><init>()V
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->beginObject()V
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
move-object v7, v3
|
|
|
|
move-object v8, v7
|
|
|
|
move-object v9, v8
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
:goto_1
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_8
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextName()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const/4 v4, -0x1
|
|
|
|
invoke-virtual {v3}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v10
|
|
|
|
const v11, -0x42252abe
|
|
|
|
if-eq v10, v11, :cond_5
|
|
|
|
const/16 v11, 0x68
|
|
|
|
if-eq v10, v11, :cond_4
|
|
|
|
const/16 v11, 0x70
|
|
|
|
if-eq v10, v11, :cond_3
|
|
|
|
const/16 v11, 0x75
|
|
|
|
if-eq v10, v11, :cond_2
|
|
|
|
const/16 v11, 0x77
|
|
|
|
if-eq v10, v11, :cond_1
|
|
|
|
const/16 v11, 0xd1b
|
|
|
|
if-eq v10, v11, :cond_0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_0
|
|
const-string v10, "id"
|
|
|
|
invoke-virtual {v3, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_6
|
|
|
|
const/4 v3, 0x0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_1
|
|
const-string v10, "w"
|
|
|
|
invoke-virtual {v3, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_6
|
|
|
|
const/4 v3, 0x2
|
|
|
|
goto :goto_3
|
|
|
|
:cond_2
|
|
const-string v10, "u"
|
|
|
|
invoke-virtual {v3, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_6
|
|
|
|
const/4 v3, 0x5
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
const-string v10, "p"
|
|
|
|
invoke-virtual {v3, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_6
|
|
|
|
const/4 v3, 0x4
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
const-string v10, "h"
|
|
|
|
invoke-virtual {v3, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_6
|
|
|
|
const/4 v3, 0x3
|
|
|
|
goto :goto_3
|
|
|
|
:cond_5
|
|
const-string v10, "layers"
|
|
|
|
invoke-virtual {v3, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_6
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
:goto_2
|
|
const/4 v3, -0x1
|
|
|
|
:goto_3
|
|
packed-switch v3, :pswitch_data_0
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->skipValue()V
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_0
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v9
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_1
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v8
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_2
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextInt()I
|
|
|
|
move-result v6
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_3
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextInt()I
|
|
|
|
move-result v5
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_4
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->beginArray()V
|
|
|
|
:goto_4
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_7
|
|
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/q;->l(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/c/d;
|
|
|
|
move-result-object v3
|
|
|
|
iget-wide v10, v3, Lcom/airbnb/lottie/c/c/d;->lz:J
|
|
|
|
invoke-virtual {v1, v10, v11, v3}, Landroidx/collection/LongSparseArray;->put(JLjava/lang/Object;)V
|
|
|
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_4
|
|
|
|
:cond_7
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->endArray()V
|
|
|
|
goto/16 :goto_1
|
|
|
|
:pswitch_5
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
goto/16 :goto_1
|
|
|
|
:cond_8
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->endObject()V
|
|
|
|
if-eqz v8, :cond_9
|
|
|
|
new-instance v0, Lcom/airbnb/lottie/g;
|
|
|
|
move-object v4, v0
|
|
|
|
invoke-direct/range {v4 .. v9}, Lcom/airbnb/lottie/g;-><init>(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v1, v0, Lcom/airbnb/lottie/g;->id:Ljava/lang/String;
|
|
|
|
invoke-interface {p3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_9
|
|
invoke-interface {p2, v7, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_a
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->endArray()V
|
|
|
|
return-void
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public static a(Landroid/util/JsonReader;Ljava/util/Map;)V
|
|
.locals 9
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/util/JsonReader;",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Lcom/airbnb/lottie/c/c;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->beginObject()V
|
|
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
const v2, 0x32b09e
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, -0x1
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const-string v1, "list"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
:goto_1
|
|
const/4 v0, -0x1
|
|
|
|
:goto_2
|
|
if-eqz v0, :cond_2
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->skipValue()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->beginArray()V
|
|
|
|
:goto_3
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->beginObject()V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
move-object v0, v1
|
|
|
|
move-object v2, v0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
:goto_4
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_8
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextName()Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v6}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v7
|
|
|
|
const v8, -0x6f471c96
|
|
|
|
if-eq v7, v8, :cond_6
|
|
|
|
const v8, -0x53f6d326
|
|
|
|
if-eq v7, v8, :cond_5
|
|
|
|
const v8, -0x4d298315
|
|
|
|
if-eq v7, v8, :cond_4
|
|
|
|
const v8, 0x5c24c11
|
|
|
|
if-eq v7, v8, :cond_3
|
|
|
|
goto :goto_5
|
|
|
|
:cond_3
|
|
const-string v7, "fName"
|
|
|
|
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_7
|
|
|
|
const/4 v6, 0x1
|
|
|
|
goto :goto_6
|
|
|
|
:cond_4
|
|
const-string v7, "fStyle"
|
|
|
|
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_7
|
|
|
|
const/4 v6, 0x2
|
|
|
|
goto :goto_6
|
|
|
|
:cond_5
|
|
const-string v7, "ascent"
|
|
|
|
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_7
|
|
|
|
const/4 v6, 0x3
|
|
|
|
goto :goto_6
|
|
|
|
:cond_6
|
|
const-string v7, "fFamily"
|
|
|
|
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_7
|
|
|
|
const/4 v6, 0x0
|
|
|
|
goto :goto_6
|
|
|
|
:cond_7
|
|
:goto_5
|
|
const/4 v6, -0x1
|
|
|
|
:goto_6
|
|
packed-switch v6, :pswitch_data_0
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->skipValue()V
|
|
|
|
goto :goto_4
|
|
|
|
:pswitch_0
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextDouble()D
|
|
|
|
move-result-wide v5
|
|
|
|
double-to-float v5, v5
|
|
|
|
goto :goto_4
|
|
|
|
:pswitch_1
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
goto :goto_4
|
|
|
|
:pswitch_2
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_4
|
|
|
|
:pswitch_3
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_8
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->endObject()V
|
|
|
|
new-instance v6, Lcom/airbnb/lottie/c/c;
|
|
|
|
invoke-direct {v6, v1, v0, v2, v5}, Lcom/airbnb/lottie/c/c;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;F)V
|
|
|
|
iget-object v0, v6, Lcom/airbnb/lottie/c/c;->name:Ljava/lang/String;
|
|
|
|
invoke-interface {p1, v0, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
goto/16 :goto_3
|
|
|
|
:cond_9
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->endArray()V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_a
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->endObject()V
|
|
|
|
return-void
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|