179 lines
3.1 KiB
Smali
179 lines
3.1 KiB
Smali
.class final Lcom/airbnb/lottie/e/e;
|
|
.super Ljava/lang/Object;
|
|
.source "CircleShapeParser.java"
|
|
|
|
|
|
# static fields
|
|
.field private static mP:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
const/4 v0, 0x5
|
|
|
|
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, "p"
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/4 v1, 0x2
|
|
|
|
const-string v2, "s"
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/4 v1, 0x3
|
|
|
|
const-string v2, "hd"
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/4 v1, 0x4
|
|
|
|
const-string v2, "d"
|
|
|
|
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/e;->mP:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static b(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;I)Lcom/airbnb/lottie/c/b/a;
|
|
.locals 10
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x3
|
|
|
|
if-ne p2, v2, :cond_0
|
|
|
|
const/4 p2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p2, 0x0
|
|
|
|
:goto_0
|
|
const/4 v3, 0x0
|
|
|
|
move v8, p2
|
|
|
|
move-object v5, v3
|
|
|
|
move-object v6, v5
|
|
|
|
move-object v7, v6
|
|
|
|
const/4 v9, 0x0
|
|
|
|
:goto_1
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_7
|
|
|
|
sget-object p2, Lcom/airbnb/lottie/e/e;->mP:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
invoke-virtual {p0, p2}, Lcom/airbnb/lottie/e/a/c;->a(Lcom/airbnb/lottie/e/a/c$a;)I
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_6
|
|
|
|
if-eq p2, v0, :cond_5
|
|
|
|
const/4 v3, 0x2
|
|
|
|
if-eq p2, v3, :cond_4
|
|
|
|
if-eq p2, v2, :cond_3
|
|
|
|
const/4 v3, 0x4
|
|
|
|
if-eq p2, v3, :cond_1
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->bD()V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->skipValue()V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->nextInt()I
|
|
|
|
move-result p2
|
|
|
|
if-ne p2, v2, :cond_2
|
|
|
|
const/4 v8, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const/4 v8, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->nextBoolean()Z
|
|
|
|
move-result v9
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/d;->f(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/a/f;
|
|
|
|
move-result-object v7
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/a;->b(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/a/m;
|
|
|
|
move-result-object v6
|
|
|
|
goto :goto_1
|
|
|
|
:cond_6
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
goto :goto_1
|
|
|
|
:cond_7
|
|
new-instance p0, Lcom/airbnb/lottie/c/b/a;
|
|
|
|
move-object v4, p0
|
|
|
|
invoke-direct/range {v4 .. v9}, Lcom/airbnb/lottie/c/b/a;-><init>(Ljava/lang/String;Lcom/airbnb/lottie/c/a/m;Lcom/airbnb/lottie/c/a/f;ZZ)V
|
|
|
|
return-object p0
|
|
.end method
|