2019-07-24 11:27:29 +00:00
|
|
|
.class final Lcom/airbnb/lottie/e/j;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "FontCharacterParser.java"
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-10-10 02:17:24 +00:00
|
|
|
.field private static final lg:Lcom/airbnb/lottie/e/a/c$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
.field private static final ln:Lcom/airbnb/lottie/e/a/c$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
const/4 v0, 0x6
|
|
|
|
|
|
|
|
new-array v0, v0, [Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const-string v2, "ch"
|
|
|
|
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
const-string v3, "size"
|
|
|
|
|
|
|
|
aput-object v3, v0, v2
|
|
|
|
|
|
|
|
const/4 v3, 0x2
|
|
|
|
|
|
|
|
const-string v4, "w"
|
|
|
|
|
|
|
|
aput-object v4, v0, v3
|
|
|
|
|
|
|
|
const/4 v3, 0x3
|
|
|
|
|
|
|
|
const-string v4, "style"
|
|
|
|
|
|
|
|
aput-object v4, v0, v3
|
|
|
|
|
|
|
|
const/4 v3, 0x4
|
|
|
|
|
|
|
|
const-string v4, "fFamily"
|
|
|
|
|
|
|
|
aput-object v4, v0, v3
|
|
|
|
|
|
|
|
const/4 v3, 0x5
|
|
|
|
|
|
|
|
const-string v4, "data"
|
|
|
|
|
|
|
|
aput-object v4, v0, v3
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
sput-object v0, Lcom/airbnb/lottie/e/j;->lg:Lcom/airbnb/lottie/e/a/c$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-array v0, v2, [Ljava/lang/String;
|
|
|
|
|
|
|
|
const-string v2, "shapes"
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
sput-object v0, Lcom/airbnb/lottie/e/j;->ln:Lcom/airbnb/lottie/e/a/c$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method static j(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/d;
|
|
|
|
.locals 11
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->beginObject()V
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
move-object v9, v0
|
|
|
|
|
|
|
|
move-object v10, v9
|
|
|
|
|
|
|
|
move-wide v5, v2
|
|
|
|
|
|
|
|
move-wide v7, v5
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
sget-object v0, Lcom/airbnb/lottie/e/j;->lg:Lcom/airbnb/lottie/e/a/c$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/e/a/c;->a(Lcom/airbnb/lottie/e/a/c$a;)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_8
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
if-eq v0, v3, :cond_7
|
|
|
|
|
|
|
|
const/4 v3, 0x2
|
|
|
|
|
|
|
|
if-eq v0, v3, :cond_6
|
|
|
|
|
|
|
|
const/4 v3, 0x3
|
|
|
|
|
|
|
|
if-eq v0, v3, :cond_5
|
|
|
|
|
|
|
|
const/4 v3, 0x4
|
|
|
|
|
|
|
|
if-eq v0, v3, :cond_4
|
|
|
|
|
|
|
|
const/4 v3, 0x5
|
|
|
|
|
|
|
|
if-eq v0, v3, :cond_0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->bz()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
sget-object v0, Lcom/airbnb/lottie/e/j;->ln:Lcom/airbnb/lottie/e/a/c$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lcom/airbnb/lottie/e/a/c;->a(Lcom/airbnb/lottie/e/a/c$a;)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->bz()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
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;->beginArray()V
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :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 v0
|
|
|
|
|
|
|
|
check-cast v0, Lcom/airbnb/lottie/c/b/n;
|
|
|
|
|
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->endArray()V
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->endObject()V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->nextString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v10
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->nextString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->nextDouble()D
|
|
|
|
|
|
|
|
move-result-wide v7
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->nextDouble()D
|
|
|
|
|
|
|
|
move-result-wide v5
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->nextString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v4}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/e/a/c;->endObject()V
|
|
|
|
|
|
|
|
new-instance p0, Lcom/airbnb/lottie/c/d;
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
move-wide v3, v5
|
|
|
|
|
|
|
|
move-wide v5, v7
|
|
|
|
|
|
|
|
move-object v7, v9
|
|
|
|
|
|
|
|
move-object v8, v10
|
|
|
|
|
|
|
|
invoke-direct/range {v0 .. v8}, Lcom/airbnb/lottie/c/d;-><init>(Ljava/util/List;CDDLjava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|