191 lines
3.5 KiB
Smali
191 lines
3.5 KiB
Smali
.class final Lcom/airbnb/lottie/e/ad;
|
|
.super Ljava/lang/Object;
|
|
.source "ShapeFillParser.java"
|
|
|
|
|
|
# static fields
|
|
.field private static final lh:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
const/4 v0, 0x6
|
|
|
|
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, "c"
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/4 v1, 0x2
|
|
|
|
const-string v2, "o"
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/4 v1, 0x3
|
|
|
|
const-string v2, "fillEnabled"
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/4 v1, 0x4
|
|
|
|
const-string v2, "r"
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/4 v1, 0x5
|
|
|
|
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/ad;->lh:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static r(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/m;
|
|
.locals 9
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
move-object v3, v2
|
|
|
|
move-object v6, v3
|
|
|
|
move-object v7, v6
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v8, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_6
|
|
|
|
sget-object v2, Lcom/airbnb/lottie/e/ad;->lh:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
invoke-virtual {p0, v2}, Lcom/airbnb/lottie/e/a/c;->a(Lcom/airbnb/lottie/e/a/c$a;)I
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
if-eq v2, v1, :cond_4
|
|
|
|
const/4 v5, 0x2
|
|
|
|
if-eq v2, v5, :cond_3
|
|
|
|
const/4 v5, 0x3
|
|
|
|
if-eq v2, v5, :cond_2
|
|
|
|
const/4 v5, 0x4
|
|
|
|
if-eq v2, v5, :cond_1
|
|
|
|
const/4 v5, 0x5
|
|
|
|
if-eq v2, v5, :cond_0
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->bz()V
|
|
|
|
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 v8
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->nextInt()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->nextBoolean()Z
|
|
|
|
move-result v4
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/d;->e(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/a/d;
|
|
|
|
move-result-object v7
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
invoke-static {p0, p1}, Lcom/airbnb/lottie/e/d;->h(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/a/a;
|
|
|
|
move-result-object v6
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_6
|
|
if-ne v0, v1, :cond_7
|
|
|
|
sget-object p0, Landroid/graphics/Path$FillType;->WINDING:Landroid/graphics/Path$FillType;
|
|
|
|
goto :goto_1
|
|
|
|
:cond_7
|
|
sget-object p0, Landroid/graphics/Path$FillType;->EVEN_ODD:Landroid/graphics/Path$FillType;
|
|
|
|
:goto_1
|
|
move-object v5, p0
|
|
|
|
new-instance p0, Lcom/airbnb/lottie/c/b/m;
|
|
|
|
move-object v2, p0
|
|
|
|
invoke-direct/range {v2 .. v8}, Lcom/airbnb/lottie/c/b/m;-><init>(Ljava/lang/String;ZLandroid/graphics/Path$FillType;Lcom/airbnb/lottie/c/a/a;Lcom/airbnb/lottie/c/a/d;Z)V
|
|
|
|
return-object p0
|
|
.end method
|