516 lines
10 KiB
Smali
516 lines
10 KiB
Smali
.class final Lcom/airbnb/lottie/e/n;
|
|
.super Ljava/lang/Object;
|
|
.source "GradientStrokeParser.java"
|
|
|
|
|
|
# static fields
|
|
.field private static lh:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
.field private static final lq:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
.field private static final lr:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 12
|
|
|
|
const-string v0, "nm"
|
|
|
|
const-string v1, "g"
|
|
|
|
const-string v2, "o"
|
|
|
|
const-string v3, "t"
|
|
|
|
const-string v4, "s"
|
|
|
|
const-string v5, "e"
|
|
|
|
const-string v6, "w"
|
|
|
|
const-string v7, "lc"
|
|
|
|
const-string v8, "lj"
|
|
|
|
const-string v9, "ml"
|
|
|
|
const-string v10, "hd"
|
|
|
|
const-string v11, "d"
|
|
|
|
filled-new-array/range {v0 .. v11}, [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/n;->lh:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
const-string v0, "p"
|
|
|
|
const-string v1, "k"
|
|
|
|
filled-new-array {v0, v1}, [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/n;->lq:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
const-string v0, "n"
|
|
|
|
const-string v1, "v"
|
|
|
|
filled-new-array {v0, v1}, [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/n;->lr:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static l(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/e;
|
|
.locals 21
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
new-instance v11, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v11}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/4 v8, 0x0
|
|
|
|
const/4 v9, 0x0
|
|
|
|
const/4 v10, 0x0
|
|
|
|
const/4 v12, 0x0
|
|
|
|
const/4 v13, 0x0
|
|
|
|
const/4 v14, 0x0
|
|
|
|
const/4 v15, 0x0
|
|
|
|
const/16 v16, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result v17
|
|
|
|
if-eqz v17, :cond_c
|
|
|
|
sget-object v3, Lcom/airbnb/lottie/e/n;->lh:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
invoke-virtual {v0, v3}, Lcom/airbnb/lottie/e/a/c;->a(Lcom/airbnb/lottie/e/a/c$a;)I
|
|
|
|
move-result v3
|
|
|
|
packed-switch v3, :pswitch_data_0
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->bz()V
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->skipValue()V
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_0
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->beginArray()V
|
|
|
|
:goto_1
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_6
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->beginObject()V
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/16 v18, 0x0
|
|
|
|
:goto_2
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result v19
|
|
|
|
if-eqz v19, :cond_2
|
|
|
|
sget-object v2, Lcom/airbnb/lottie/e/n;->lr:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
invoke-virtual {v0, v2}, Lcom/airbnb/lottie/e/a/c;->a(Lcom/airbnb/lottie/e/a/c$a;)I
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
move-object/from16 v20, v15
|
|
|
|
const/4 v15, 0x1
|
|
|
|
if-eq v2, v15, :cond_0
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->bz()V
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->skipValue()V
|
|
|
|
:goto_3
|
|
move-object/from16 v15, v20
|
|
|
|
goto :goto_2
|
|
|
|
:cond_0
|
|
invoke-static {v0, v1, v15}, 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 v18
|
|
|
|
goto :goto_3
|
|
|
|
:cond_1
|
|
move-object/from16 v20, v15
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move-object/from16 v20, v15
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->endObject()V
|
|
|
|
const-string v2, "o"
|
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
move-object/from16 v15, v18
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
const-string v2, "d"
|
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_5
|
|
|
|
const-string v2, "g"
|
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
const/4 v2, 0x1
|
|
|
|
goto :goto_5
|
|
|
|
:cond_5
|
|
:goto_4
|
|
const/4 v2, 0x1
|
|
|
|
iput-boolean v2, v1, Lcom/airbnb/lottie/d;->el:Z
|
|
|
|
move-object/from16 v3, v18
|
|
|
|
invoke-interface {v11, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
:goto_5
|
|
move-object/from16 v15, v20
|
|
|
|
goto :goto_1
|
|
|
|
:cond_6
|
|
move-object/from16 v20, v15
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->endArray()V
|
|
|
|
invoke-interface {v11}, Ljava/util/List;->size()I
|
|
|
|
move-result v3
|
|
|
|
if-ne v3, v2, :cond_7
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-interface {v11, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {v11, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_6
|
|
|
|
:cond_7
|
|
const/4 v2, 0x0
|
|
|
|
:goto_6
|
|
move-object/from16 v15, v20
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_1
|
|
const/4 v2, 0x0
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextBoolean()Z
|
|
|
|
move-result v16
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_2
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextDouble()D
|
|
|
|
move-result-wide v2
|
|
|
|
double-to-float v14, v2
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_3
|
|
invoke-static {}, Lcom/airbnb/lottie/c/b/p$b;->values()[Lcom/airbnb/lottie/c/b/p$b;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextInt()I
|
|
|
|
move-result v3
|
|
|
|
const/4 v13, 0x1
|
|
|
|
sub-int/2addr v3, v13
|
|
|
|
aget-object v13, v2, v3
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_4
|
|
const/4 v2, 0x1
|
|
|
|
invoke-static {}, Lcom/airbnb/lottie/c/b/p$a;->values()[Lcom/airbnb/lottie/c/b/p$a;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextInt()I
|
|
|
|
move-result v12
|
|
|
|
sub-int/2addr v12, v2
|
|
|
|
aget-object v12, v3, v12
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_5
|
|
const/4 v2, 0x1
|
|
|
|
invoke-static {v0, v1, v2}, 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 v10
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_6
|
|
invoke-static/range {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 v9
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_7
|
|
invoke-static/range {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 v8
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_8
|
|
const/4 v2, 0x1
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextInt()I
|
|
|
|
move-result v3
|
|
|
|
if-ne v3, v2, :cond_8
|
|
|
|
sget v2, Lcom/airbnb/lottie/c/b/f;->iU:I
|
|
|
|
goto :goto_7
|
|
|
|
:cond_8
|
|
sget v2, Lcom/airbnb/lottie/c/b/f;->iV:I
|
|
|
|
:goto_7
|
|
move v5, v2
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_9
|
|
invoke-static/range {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/16 :goto_0
|
|
|
|
:pswitch_a
|
|
const/4 v2, -0x1
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->beginObject()V
|
|
|
|
:goto_8
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_b
|
|
|
|
sget-object v3, Lcom/airbnb/lottie/e/n;->lq:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
invoke-virtual {v0, v3}, Lcom/airbnb/lottie/e/a/c;->a(Lcom/airbnb/lottie/e/a/c$a;)I
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_a
|
|
|
|
move-object/from16 v18, v6
|
|
|
|
const/4 v6, 0x1
|
|
|
|
if-eq v3, v6, :cond_9
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->bz()V
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->skipValue()V
|
|
|
|
:goto_9
|
|
move-object/from16 v6, v18
|
|
|
|
goto :goto_8
|
|
|
|
:cond_9
|
|
invoke-static {v0, v1, v2}, Lcom/airbnb/lottie/e/d;->a(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;I)Lcom/airbnb/lottie/c/a/c;
|
|
|
|
move-result-object v3
|
|
|
|
move-object v6, v3
|
|
|
|
goto :goto_8
|
|
|
|
:cond_a
|
|
move-object/from16 v18, v6
|
|
|
|
const/4 v6, 0x1
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextInt()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_9
|
|
|
|
:cond_b
|
|
move-object/from16 v18, v6
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->endObject()V
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_b
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_c
|
|
new-instance v17, Lcom/airbnb/lottie/c/b/e;
|
|
|
|
move-object/from16 v0, v17
|
|
|
|
move-object v1, v4
|
|
|
|
move v2, v5
|
|
|
|
move-object v3, v6
|
|
|
|
move-object v4, v7
|
|
|
|
move-object v5, v8
|
|
|
|
move-object v6, v9
|
|
|
|
move-object v7, v10
|
|
|
|
move-object v8, v12
|
|
|
|
move-object v9, v13
|
|
|
|
move v10, v14
|
|
|
|
move-object v12, v15
|
|
|
|
move/from16 v13, v16
|
|
|
|
invoke-direct/range {v0 .. v13}, Lcom/airbnb/lottie/c/b/e;-><init>(Ljava/lang/String;ILcom/airbnb/lottie/c/a/c;Lcom/airbnb/lottie/c/a/d;Lcom/airbnb/lottie/c/a/f;Lcom/airbnb/lottie/c/a/f;Lcom/airbnb/lottie/c/a/b;Lcom/airbnb/lottie/c/b/p$a;Lcom/airbnb/lottie/c/b/p$b;FLjava/util/List;Lcom/airbnb/lottie/c/a/b;Z)V
|
|
|
|
return-object v17
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_b
|
|
:pswitch_a
|
|
:pswitch_9
|
|
:pswitch_8
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|