133 lines
2.4 KiB
Smali
133 lines
2.4 KiB
Smali
.class final Lcom/airbnb/lottie/e/af;
|
|
.super Ljava/lang/Object;
|
|
.source "ShapePathParser.java"
|
|
|
|
|
|
# static fields
|
|
.field static lg:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
const/4 v0, 0x4
|
|
|
|
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, "ind"
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/4 v1, 0x2
|
|
|
|
const-string v2, "ks"
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/4 v1, 0x3
|
|
|
|
const-string v2, "hd"
|
|
|
|
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/af;->lg:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static t(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/o;
|
|
.locals 6
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
move-object v2, v1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_4
|
|
|
|
sget-object v4, Lcom/airbnb/lottie/e/af;->lg:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
invoke-virtual {p0, v4}, Lcom/airbnb/lottie/e/a/c;->a(Lcom/airbnb/lottie/e/a/c$a;)I
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
const/4 v5, 0x1
|
|
|
|
if-eq v4, v5, :cond_2
|
|
|
|
const/4 v5, 0x2
|
|
|
|
if-eq v4, v5, :cond_1
|
|
|
|
const/4 v5, 0x3
|
|
|
|
if-eq v4, v5, :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;->nextBoolean()Z
|
|
|
|
move-result v3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/d;->g(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/a/h;
|
|
|
|
move-result-object v2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->nextInt()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->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, v0, v2, v3}, Lcom/airbnb/lottie/c/b/o;-><init>(Ljava/lang/String;ILcom/airbnb/lottie/c/a/h;Z)V
|
|
|
|
return-object p0
|
|
.end method
|