163 lines
3 KiB
Smali
163 lines
3 KiB
Smali
.class final Lcom/airbnb/lottie/e/x;
|
|
.super Ljava/lang/Object;
|
|
.source "RectangleShapeParser.java"
|
|
|
|
|
|
# direct methods
|
|
.method static o(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/j;
|
|
.locals 11
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
move-object v1, v0
|
|
|
|
move-object v2, v1
|
|
|
|
move-object v3, v2
|
|
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_9
|
|
|
|
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, 0x70
|
|
|
|
const/4 v8, 0x3
|
|
|
|
const/4 v9, 0x2
|
|
|
|
const/4 v10, 0x1
|
|
|
|
if-eq v6, v7, :cond_3
|
|
|
|
const/16 v7, 0xdbf
|
|
|
|
if-eq v6, v7, :cond_2
|
|
|
|
const/16 v7, 0x72
|
|
|
|
if-eq v6, v7, :cond_1
|
|
|
|
const/16 v7, 0x73
|
|
|
|
if-eq v6, v7, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const-string v6, "s"
|
|
|
|
invoke-virtual {v4, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_4
|
|
|
|
const/4 v5, 0x2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const-string v6, "r"
|
|
|
|
invoke-virtual {v4, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_4
|
|
|
|
const/4 v5, 0x3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const-string v6, "nm"
|
|
|
|
invoke-virtual {v4, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_4
|
|
|
|
const/4 v5, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
const-string v6, "p"
|
|
|
|
invoke-virtual {v4, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_4
|
|
|
|
const/4 v5, 0x1
|
|
|
|
:cond_4
|
|
:goto_1
|
|
if-eqz v5, :cond_8
|
|
|
|
if-eq v5, v10, :cond_7
|
|
|
|
if-eq v5, v9, :cond_6
|
|
|
|
if-eq v5, v8, :cond_5
|
|
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->skipValue()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
invoke-static {p0, p1, v10}, Lcom/airbnb/lottie/e/d;->a(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;Z)Lcom/airbnb/lottie/c/a/b;
|
|
|
|
move-result-object v3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_6
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/d;->f(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/a/f;
|
|
|
|
move-result-object v2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_7
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/a;->b(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/a/m;
|
|
|
|
move-result-object v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_8
|
|
invoke-virtual {p0}, Landroid/util/JsonReader;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_9
|
|
new-instance p0, Lcom/airbnb/lottie/c/b/j;
|
|
|
|
invoke-direct {p0, v0, v1, v2, v3}, Lcom/airbnb/lottie/c/b/j;-><init>(Ljava/lang/String;Lcom/airbnb/lottie/c/a/m;Lcom/airbnb/lottie/c/a/f;Lcom/airbnb/lottie/c/a/b;)V
|
|
|
|
return-object p0
|
|
.end method
|