181 lines
4.1 KiB
Smali
181 lines
4.1 KiB
Smali
.class public final Lcom/airbnb/lottie/e/b;
|
|
.super Ljava/lang/Object;
|
|
.source "AnimatableTextPropertiesParser.java"
|
|
|
|
|
|
# static fields
|
|
.field private static li:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
.field private static lj:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 4
|
|
|
|
const-string v0, "a"
|
|
|
|
filled-new-array {v0}, [Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
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/b;->li:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
const-string v0, "fc"
|
|
|
|
const-string v1, "sc"
|
|
|
|
const-string v2, "sw"
|
|
|
|
const-string v3, "t"
|
|
|
|
filled-new-array {v0, v1, v2, v3}, [Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
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/b;->lj:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static c(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/a/k;
|
|
.locals 8
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->beginObject()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
move-object v1, v0
|
|
|
|
: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/b;->li: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_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;->beginObject()V
|
|
|
|
move-object v1, v0
|
|
|
|
move-object v2, v1
|
|
|
|
move-object v3, v2
|
|
|
|
move-object v4, v3
|
|
|
|
:goto_1
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_5
|
|
|
|
sget-object v5, Lcom/airbnb/lottie/e/b;->lj:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
invoke-virtual {p0, v5}, Lcom/airbnb/lottie/e/a/c;->a(Lcom/airbnb/lottie/e/a/c$a;)I
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_4
|
|
|
|
const/4 v6, 0x1
|
|
|
|
if-eq v5, v6, :cond_3
|
|
|
|
const/4 v7, 0x2
|
|
|
|
if-eq v5, v7, :cond_2
|
|
|
|
const/4 v7, 0x3
|
|
|
|
if-eq v5, v7, :cond_1
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->bz()V
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->skipValue()V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
invoke-static {p0, p1, v6}, Lcom/airbnb/lottie/e/d;->a(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;Z)Lcom/airbnb/lottie/c/a/b;
|
|
|
|
move-result-object v4
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
invoke-static {p0, p1, v6}, Lcom/airbnb/lottie/e/d;->a(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;Z)Lcom/airbnb/lottie/c/a/b;
|
|
|
|
move-result-object v3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
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 v2
|
|
|
|
goto :goto_1
|
|
|
|
: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 v1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->endObject()V
|
|
|
|
new-instance v5, Lcom/airbnb/lottie/c/a/k;
|
|
|
|
invoke-direct {v5, v1, v2, v3, v4}, Lcom/airbnb/lottie/c/a/k;-><init>(Lcom/airbnb/lottie/c/a/a;Lcom/airbnb/lottie/c/a/a;Lcom/airbnb/lottie/c/a/b;Lcom/airbnb/lottie/c/a/b;)V
|
|
|
|
move-object v1, v5
|
|
|
|
goto :goto_0
|
|
|
|
:cond_6
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->endObject()V
|
|
|
|
if-nez v1, :cond_7
|
|
|
|
new-instance p0, Lcom/airbnb/lottie/c/a/k;
|
|
|
|
invoke-direct {p0, v0, v0, v0, v0}, Lcom/airbnb/lottie/c/a/k;-><init>(Lcom/airbnb/lottie/c/a/a;Lcom/airbnb/lottie/c/a/a;Lcom/airbnb/lottie/c/a/b;Lcom/airbnb/lottie/c/a/b;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_7
|
|
return-object v1
|
|
.end method
|