135 lines
2.6 KiB
Smali
135 lines
2.6 KiB
Smali
|
.class final Lcom/airbnb/lottie/e/ae;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "ShapeGroupParser.java"
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field private static mO:Lcom/airbnb/lottie/e/a/c$a;
|
||
|
|
||
|
|
||
|
# 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, "nm"
|
||
|
|
||
|
aput-object v2, v0, v1
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
const-string v2, "hd"
|
||
|
|
||
|
aput-object v2, v0, v1
|
||
|
|
||
|
const/4 v1, 0x2
|
||
|
|
||
|
const-string v2, "it"
|
||
|
|
||
|
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
|
||
|
|
||
|
sput-object v0, Lcom/airbnb/lottie/e/ae;->mO:Lcom/airbnb/lottie/e/a/c$a;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method static s(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/n;
|
||
|
.locals 5
|
||
|
.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
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_5
|
||
|
|
||
|
sget-object v3, Lcom/airbnb/lottie/e/ae;->mO:Lcom/airbnb/lottie/e/a/c$a;
|
||
|
|
||
|
invoke-virtual {p0, v3}, Lcom/airbnb/lottie/e/a/c;->a(Lcom/airbnb/lottie/e/a/c$a;)I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_4
|
||
|
|
||
|
const/4 v4, 0x1
|
||
|
|
||
|
if-eq v3, v4, :cond_3
|
||
|
|
||
|
const/4 v4, 0x2
|
||
|
|
||
|
if-eq v3, v4, :cond_0
|
||
|
|
||
|
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;->beginArray()V
|
||
|
|
||
|
:cond_1
|
||
|
:goto_1
|
||
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_2
|
||
|
|
||
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/g;->i(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/b;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
if-eqz v3, :cond_1
|
||
|
|
||
|
invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_2
|
||
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->endArray()V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_3
|
||
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->nextBoolean()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_4
|
||
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->nextString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_5
|
||
|
new-instance p0, Lcom/airbnb/lottie/c/b/n;
|
||
|
|
||
|
invoke-direct {p0, v1, v0, v2}, Lcom/airbnb/lottie/c/b/n;-><init>(Ljava/lang/String;Ljava/util/List;Z)V
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|