139 lines
2.4 KiB
Smali
139 lines
2.4 KiB
Smali
.class final Lcom/airbnb/lottie/e/ac;
|
|
.super Ljava/lang/Object;
|
|
.source "ShapePathParser.java"
|
|
|
|
|
|
# direct methods
|
|
.method static r(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/o;
|
|
.locals 8
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
move-object v3, v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_4
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextName()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
const/4 v5, -0x1
|
|
|
|
invoke-virtual {v4}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v6
|
|
|
|
const/16 v7, 0xd68
|
|
|
|
if-eq v6, v7, :cond_2
|
|
|
|
const/16 v7, 0xdbf
|
|
|
|
if-eq v6, v7, :cond_1
|
|
|
|
const v7, 0x197df
|
|
|
|
if-eq v6, v7, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const-string v6, "ind"
|
|
|
|
invoke-virtual {v4, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
const/4 v4, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
const-string v6, "nm"
|
|
|
|
invoke-virtual {v4, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const-string v6, "ks"
|
|
|
|
invoke-virtual {v4, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
const/4 v4, 0x2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
:goto_1
|
|
const/4 v4, -0x1
|
|
|
|
:goto_2
|
|
packed-switch v4, :pswitch_data_0
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->skipValue()V
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_0
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/d;->g(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/a/h;
|
|
|
|
move-result-object v3
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_1
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextInt()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_2
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
new-instance p0, Lcom/airbnb/lottie/c/b/o;
|
|
|
|
invoke-direct {p0, v1, v2, v3}, Lcom/airbnb/lottie/c/b/o;-><init>(Ljava/lang/String;ILcom/airbnb/lottie/c/a/h;)V
|
|
|
|
return-object p0
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|