936 lines
20 KiB
Smali
936 lines
20 KiB
Smali
.class public final Lcom/airbnb/lottie/e/s;
|
|
.super Ljava/lang/Object;
|
|
.source "LayerParser.java"
|
|
|
|
|
|
# static fields
|
|
.field private static final lh:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
.field private static final lw:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
.field private static final lx:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 23
|
|
|
|
const-string v0, "nm"
|
|
|
|
const-string v1, "ind"
|
|
|
|
const-string v2, "refId"
|
|
|
|
const-string v3, "ty"
|
|
|
|
const-string v4, "parent"
|
|
|
|
const-string v5, "sw"
|
|
|
|
const-string v6, "sh"
|
|
|
|
const-string v7, "sc"
|
|
|
|
const-string v8, "ks"
|
|
|
|
const-string v9, "tt"
|
|
|
|
const-string v10, "masksProperties"
|
|
|
|
const-string v11, "shapes"
|
|
|
|
const-string v12, "t"
|
|
|
|
const-string v13, "ef"
|
|
|
|
const-string v14, "sr"
|
|
|
|
const-string v15, "st"
|
|
|
|
const-string v16, "w"
|
|
|
|
const-string v17, "h"
|
|
|
|
const-string v18, "ip"
|
|
|
|
const-string v19, "op"
|
|
|
|
const-string v20, "tm"
|
|
|
|
const-string v21, "cl"
|
|
|
|
const-string v22, "hd"
|
|
|
|
filled-new-array/range {v0 .. v22}, [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/s;->lh:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
const-string v0, "d"
|
|
|
|
const-string v1, "a"
|
|
|
|
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/s;->lw:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
const-string v0, "nm"
|
|
|
|
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/s;->lx:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static b(Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/c/d;
|
|
.locals 26
|
|
|
|
move-object/from16 v2, p0
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
iget-object v3, v0, Lcom/airbnb/lottie/d;->eh:Landroid/graphics/Rect;
|
|
|
|
new-instance v25, Lcom/airbnb/lottie/c/c/d;
|
|
|
|
move-object/from16 v0, v25
|
|
|
|
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
|
|
|
|
move-result-object v1
|
|
|
|
sget-object v6, Lcom/airbnb/lottie/c/c/d$a;->kF:Lcom/airbnb/lottie/c/c/d$a;
|
|
|
|
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
|
|
|
|
move-result-object v10
|
|
|
|
new-instance v4, Lcom/airbnb/lottie/c/a/l;
|
|
|
|
move-object v11, v4
|
|
|
|
invoke-direct {v4}, Lcom/airbnb/lottie/c/a/l;-><init>()V
|
|
|
|
invoke-virtual {v3}, Landroid/graphics/Rect;->width()I
|
|
|
|
move-result v17
|
|
|
|
invoke-virtual {v3}, Landroid/graphics/Rect;->height()I
|
|
|
|
move-result v18
|
|
|
|
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
|
|
|
|
move-result-object v21
|
|
|
|
sget v22, Lcom/airbnb/lottie/c/c/d$b;->kN:I
|
|
|
|
const-string v3, "__container"
|
|
|
|
const-wide/16 v4, -0x1
|
|
|
|
const-wide/16 v7, -0x1
|
|
|
|
const/4 v9, 0x0
|
|
|
|
const/4 v12, 0x0
|
|
|
|
const/4 v13, 0x0
|
|
|
|
const/4 v14, 0x0
|
|
|
|
const/4 v15, 0x0
|
|
|
|
const/16 v16, 0x0
|
|
|
|
const/16 v19, 0x0
|
|
|
|
const/16 v20, 0x0
|
|
|
|
const/16 v23, 0x0
|
|
|
|
const/16 v24, 0x0
|
|
|
|
invoke-direct/range {v0 .. v24}, Lcom/airbnb/lottie/c/c/d;-><init>(Ljava/util/List;Lcom/airbnb/lottie/d;Ljava/lang/String;JLcom/airbnb/lottie/c/c/d$a;JLjava/lang/String;Ljava/util/List;Lcom/airbnb/lottie/c/a/l;IIIFFIILcom/airbnb/lottie/c/a/j;Lcom/airbnb/lottie/c/a/k;Ljava/util/List;ILcom/airbnb/lottie/c/a/b;Z)V
|
|
|
|
return-object v25
|
|
.end method
|
|
|
|
.method public static m(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/c/d;
|
|
.locals 38
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move-object/from16 v7, p1
|
|
|
|
sget v1, Lcom/airbnb/lottie/c/c/d$b;->kN:I
|
|
|
|
new-instance v10, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v10}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
new-instance v8, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v8}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->beginObject()V
|
|
|
|
const/high16 v2, 0x3f800000 # 1.0f
|
|
|
|
invoke-static {v2}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object v9
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v11, 0x0
|
|
|
|
invoke-static {v11}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object v12
|
|
|
|
const-string v5, "UNSET"
|
|
|
|
const-wide/16 v13, 0x0
|
|
|
|
const-wide/16 v15, -0x1
|
|
|
|
move/from16 v31, v1
|
|
|
|
move-object/from16 v17, v4
|
|
|
|
move-object/from16 v28, v17
|
|
|
|
move-object/from16 v30, v28
|
|
|
|
move-object/from16 v32, v30
|
|
|
|
move-object/from16 v33, v32
|
|
|
|
move-wide/from16 v18, v13
|
|
|
|
move-wide/from16 v25, v15
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/high16 v15, 0x3f800000 # 1.0f
|
|
|
|
const/16 v20, 0x0
|
|
|
|
const/16 v21, 0x0
|
|
|
|
const/16 v22, 0x0
|
|
|
|
const/16 v23, 0x0
|
|
|
|
const/16 v24, 0x0
|
|
|
|
const/16 v27, 0x0
|
|
|
|
const/16 v29, 0x0
|
|
|
|
move-object/from16 v14, v33
|
|
|
|
move-object/from16 v16, v14
|
|
|
|
move-object v13, v5
|
|
|
|
const/4 v4, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_c
|
|
|
|
sget-object v5, Lcom/airbnb/lottie/e/s;->lh:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
invoke-virtual {v0, v5}, Lcom/airbnb/lottie/e/a/c;->a(Lcom/airbnb/lottie/e/a/c$a;)I
|
|
|
|
move-result v5
|
|
|
|
const/4 v6, 0x1
|
|
|
|
packed-switch v5, :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/16 :goto_7
|
|
|
|
:pswitch_0
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextBoolean()Z
|
|
|
|
move-result v29
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_1
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v14
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_2
|
|
invoke-static {v0, v7, v3}, 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 v33
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_3
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextDouble()D
|
|
|
|
move-result-wide v4
|
|
|
|
double-to-float v4, v4
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_4
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextDouble()D
|
|
|
|
move-result-wide v5
|
|
|
|
double-to-float v1, v5
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_5
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextInt()I
|
|
|
|
move-result v5
|
|
|
|
int-to-float v5, v5
|
|
|
|
invoke-static {}, Lcom/airbnb/lottie/f/h;->bH()F
|
|
|
|
move-result v6
|
|
|
|
mul-float v5, v5, v6
|
|
|
|
float-to-int v5, v5
|
|
|
|
move/from16 v24, v5
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_6
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextInt()I
|
|
|
|
move-result v5
|
|
|
|
int-to-float v5, v5
|
|
|
|
invoke-static {}, Lcom/airbnb/lottie/f/h;->bH()F
|
|
|
|
move-result v6
|
|
|
|
mul-float v5, v5, v6
|
|
|
|
float-to-int v5, v5
|
|
|
|
move/from16 v23, v5
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_7
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextDouble()D
|
|
|
|
move-result-wide v5
|
|
|
|
double-to-float v5, v5
|
|
|
|
move/from16 v27, v5
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_8
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextDouble()D
|
|
|
|
move-result-wide v5
|
|
|
|
double-to-float v15, v5
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_9
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->beginArray()V
|
|
|
|
new-instance v5, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v5}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
:goto_1
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_2
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->beginObject()V
|
|
|
|
:goto_2
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_1
|
|
|
|
sget-object v6, Lcom/airbnb/lottie/e/s;->lx:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
invoke-virtual {v0, v6}, Lcom/airbnb/lottie/e/a/c;->a(Lcom/airbnb/lottie/e/a/c$a;)I
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :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 :goto_2
|
|
|
|
:cond_0
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-interface {v5, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->endObject()V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->endArray()V
|
|
|
|
invoke-static {v5}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
const-string v6, "Lottie doesn\'t support layer effects. If you are using them for fills, strokes, trim paths etc. then try adding them directly as contents in your shape. Found: "
|
|
|
|
invoke-virtual {v6, v5}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-virtual {v7, v5}, Lcom/airbnb/lottie/d;->s(Ljava/lang/String;)V
|
|
|
|
goto/16 :goto_7
|
|
|
|
:pswitch_a
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->beginObject()V
|
|
|
|
:goto_3
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_7
|
|
|
|
sget-object v5, Lcom/airbnb/lottie/e/s;->lw:Lcom/airbnb/lottie/e/a/c$a;
|
|
|
|
invoke-virtual {v0, v5}, Lcom/airbnb/lottie/e/a/c;->a(Lcom/airbnb/lottie/e/a/c$a;)I
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_6
|
|
|
|
if-eq v5, v6, :cond_3
|
|
|
|
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_3
|
|
|
|
:cond_3
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->beginArray()V
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_4
|
|
|
|
invoke-static/range {p0 .. p1}, Lcom/airbnb/lottie/e/b;->c(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/a/k;
|
|
|
|
move-result-object v5
|
|
|
|
move-object/from16 v32, v5
|
|
|
|
:cond_4
|
|
:goto_4
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_5
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->skipValue()V
|
|
|
|
goto :goto_4
|
|
|
|
:cond_5
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->endArray()V
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
new-instance v5, Lcom/airbnb/lottie/c/a/j;
|
|
|
|
sget-object v3, Lcom/airbnb/lottie/e/h;->lm:Lcom/airbnb/lottie/e/h;
|
|
|
|
invoke-static {v0, v7, v2, v3}, Lcom/airbnb/lottie/e/r;->a(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;FLcom/airbnb/lottie/e/ai;)Ljava/util/List;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-direct {v5, v3}, Lcom/airbnb/lottie/c/a/j;-><init>(Ljava/util/List;)V
|
|
|
|
move-object/from16 v30, v5
|
|
|
|
const/4 v3, 0x0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_7
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->endObject()V
|
|
|
|
goto/16 :goto_7
|
|
|
|
:pswitch_b
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->beginArray()V
|
|
|
|
:cond_8
|
|
:goto_5
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_9
|
|
|
|
invoke-static/range {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 v3
|
|
|
|
if-eqz v3, :cond_8
|
|
|
|
invoke-interface {v8, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_5
|
|
|
|
:cond_9
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->endArray()V
|
|
|
|
goto/16 :goto_7
|
|
|
|
:pswitch_c
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->beginArray()V
|
|
|
|
:goto_6
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_a
|
|
|
|
invoke-static/range {p0 .. p1}, Lcom/airbnb/lottie/e/u;->n(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/g;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {v10, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_6
|
|
|
|
:cond_a
|
|
invoke-interface {v10}, Ljava/util/List;->size()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {v7, v3}, Lcom/airbnb/lottie/d;->b(I)V
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->endArray()V
|
|
|
|
goto/16 :goto_7
|
|
|
|
:pswitch_d
|
|
invoke-static {}, Lcom/airbnb/lottie/c/c/d$b;->bt()[I
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextInt()I
|
|
|
|
move-result v5
|
|
|
|
aget v31, v3, v5
|
|
|
|
invoke-virtual {v7, v6}, Lcom/airbnb/lottie/d;->b(I)V
|
|
|
|
goto :goto_7
|
|
|
|
:pswitch_e
|
|
invoke-static/range {p0 .. p1}, Lcom/airbnb/lottie/e/c;->d(Lcom/airbnb/lottie/e/a/c;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/a/l;
|
|
|
|
move-result-object v28
|
|
|
|
goto :goto_7
|
|
|
|
:pswitch_f
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
|
|
|
|
move-result v22
|
|
|
|
goto :goto_7
|
|
|
|
:pswitch_10
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextInt()I
|
|
|
|
move-result v3
|
|
|
|
int-to-float v3, v3
|
|
|
|
invoke-static {}, Lcom/airbnb/lottie/f/h;->bH()F
|
|
|
|
move-result v5
|
|
|
|
mul-float v3, v3, v5
|
|
|
|
float-to-int v3, v3
|
|
|
|
move/from16 v21, v3
|
|
|
|
goto :goto_7
|
|
|
|
:pswitch_11
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextInt()I
|
|
|
|
move-result v3
|
|
|
|
int-to-float v3, v3
|
|
|
|
invoke-static {}, Lcom/airbnb/lottie/f/h;->bH()F
|
|
|
|
move-result v5
|
|
|
|
mul-float v3, v3, v5
|
|
|
|
float-to-int v3, v3
|
|
|
|
move/from16 v20, v3
|
|
|
|
goto :goto_7
|
|
|
|
:pswitch_12
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextInt()I
|
|
|
|
move-result v3
|
|
|
|
int-to-long v5, v3
|
|
|
|
move-wide/from16 v25, v5
|
|
|
|
goto :goto_7
|
|
|
|
:pswitch_13
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextInt()I
|
|
|
|
move-result v3
|
|
|
|
sget-object v5, Lcom/airbnb/lottie/c/c/d$a;->kL:Lcom/airbnb/lottie/c/c/d$a;
|
|
|
|
invoke-virtual {v5}, Lcom/airbnb/lottie/c/c/d$a;->ordinal()I
|
|
|
|
move-result v5
|
|
|
|
if-ge v3, v5, :cond_b
|
|
|
|
invoke-static {}, Lcom/airbnb/lottie/c/c/d$a;->values()[Lcom/airbnb/lottie/c/c/d$a;
|
|
|
|
move-result-object v5
|
|
|
|
aget-object v16, v5, v3
|
|
|
|
goto :goto_7
|
|
|
|
:cond_b
|
|
sget-object v16, Lcom/airbnb/lottie/c/c/d$a;->kL:Lcom/airbnb/lottie/c/c/d$a;
|
|
|
|
goto :goto_7
|
|
|
|
:pswitch_14
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v17
|
|
|
|
goto :goto_7
|
|
|
|
:pswitch_15
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextInt()I
|
|
|
|
move-result v3
|
|
|
|
int-to-long v5, v3
|
|
|
|
move-wide/from16 v18, v5
|
|
|
|
goto :goto_7
|
|
|
|
:pswitch_16
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v13
|
|
|
|
:goto_7
|
|
const/4 v3, 0x0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_c
|
|
invoke-virtual/range {p0 .. p0}, Lcom/airbnb/lottie/e/a/c;->endObject()V
|
|
|
|
div-float v34, v1, v15
|
|
|
|
div-float v35, v4, v15
|
|
|
|
new-instance v6, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
cmpl-float v0, v34, v11
|
|
|
|
if-lez v0, :cond_d
|
|
|
|
new-instance v5, Lcom/airbnb/lottie/g/a;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/16 v36, 0x0
|
|
|
|
invoke-static/range {v34 .. v34}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object v37
|
|
|
|
move-object v0, v5
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
move-object v2, v12
|
|
|
|
move-object v3, v12
|
|
|
|
move-object v11, v5
|
|
|
|
move/from16 v5, v36
|
|
|
|
move/from16 v36, v15
|
|
|
|
move-object v15, v6
|
|
|
|
move-object/from16 v6, v37
|
|
|
|
invoke-direct/range {v0 .. v6}, Lcom/airbnb/lottie/g/a;-><init>(Lcom/airbnb/lottie/d;Ljava/lang/Object;Ljava/lang/Object;Landroid/view/animation/Interpolator;FLjava/lang/Float;)V
|
|
|
|
invoke-interface {v15, v11}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_8
|
|
|
|
:cond_d
|
|
move/from16 v36, v15
|
|
|
|
move-object v15, v6
|
|
|
|
:goto_8
|
|
const/4 v0, 0x0
|
|
|
|
cmpl-float v0, v35, v0
|
|
|
|
if-lez v0, :cond_e
|
|
|
|
goto :goto_9
|
|
|
|
:cond_e
|
|
iget v0, v7, Lcom/airbnb/lottie/d;->ej:F
|
|
|
|
move/from16 v35, v0
|
|
|
|
:goto_9
|
|
new-instance v11, Lcom/airbnb/lottie/g/a;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
invoke-static/range {v35 .. v35}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object v6
|
|
|
|
move-object v0, v11
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
move-object v2, v9
|
|
|
|
move-object v3, v9
|
|
|
|
move/from16 v5, v34
|
|
|
|
invoke-direct/range {v0 .. v6}, Lcom/airbnb/lottie/g/a;-><init>(Lcom/airbnb/lottie/d;Ljava/lang/Object;Ljava/lang/Object;Landroid/view/animation/Interpolator;FLjava/lang/Float;)V
|
|
|
|
invoke-interface {v15, v11}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
new-instance v9, Lcom/airbnb/lottie/g/a;
|
|
|
|
const v0, 0x7f7fffff # Float.MAX_VALUE
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object v6
|
|
|
|
move-object v0, v9
|
|
|
|
move-object v2, v12
|
|
|
|
move-object v3, v12
|
|
|
|
move/from16 v5, v35
|
|
|
|
invoke-direct/range {v0 .. v6}, Lcom/airbnb/lottie/g/a;-><init>(Lcom/airbnb/lottie/d;Ljava/lang/Object;Ljava/lang/Object;Landroid/view/animation/Interpolator;FLjava/lang/Float;)V
|
|
|
|
invoke-interface {v15, v9}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
const-string v0, ".ai"
|
|
|
|
invoke-virtual {v13, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_f
|
|
|
|
const-string v0, "ai"
|
|
|
|
invoke-virtual {v0, v14}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_10
|
|
|
|
:cond_f
|
|
const-string v0, "Convert your Illustrator layers to shape layers."
|
|
|
|
invoke-virtual {v7, v0}, Lcom/airbnb/lottie/d;->s(Ljava/lang/String;)V
|
|
|
|
:cond_10
|
|
new-instance v34, Lcom/airbnb/lottie/c/c/d;
|
|
|
|
move-object/from16 v0, v34
|
|
|
|
move-object v1, v8
|
|
|
|
move-object/from16 v2, p1
|
|
|
|
move-object v3, v13
|
|
|
|
move-wide/from16 v4, v18
|
|
|
|
move-object/from16 v6, v16
|
|
|
|
move-wide/from16 v7, v25
|
|
|
|
move-object/from16 v9, v17
|
|
|
|
move-object/from16 v11, v28
|
|
|
|
move/from16 v12, v20
|
|
|
|
move/from16 v13, v21
|
|
|
|
move/from16 v14, v22
|
|
|
|
move-object/from16 v21, v15
|
|
|
|
move/from16 v15, v36
|
|
|
|
move/from16 v16, v27
|
|
|
|
move/from16 v17, v23
|
|
|
|
move/from16 v18, v24
|
|
|
|
move-object/from16 v19, v30
|
|
|
|
move-object/from16 v20, v32
|
|
|
|
move/from16 v22, v31
|
|
|
|
move-object/from16 v23, v33
|
|
|
|
move/from16 v24, v29
|
|
|
|
invoke-direct/range {v0 .. v24}, Lcom/airbnb/lottie/c/c/d;-><init>(Ljava/util/List;Lcom/airbnb/lottie/d;Ljava/lang/String;JLcom/airbnb/lottie/c/c/d$a;JLjava/lang/String;Ljava/util/List;Lcom/airbnb/lottie/c/a/l;IIIFFIILcom/airbnb/lottie/c/a/j;Lcom/airbnb/lottie/c/a/k;Ljava/util/List;ILcom/airbnb/lottie/c/a/b;Z)V
|
|
|
|
return-object v34
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_16
|
|
:pswitch_15
|
|
:pswitch_14
|
|
:pswitch_13
|
|
:pswitch_12
|
|
:pswitch_11
|
|
:pswitch_10
|
|
:pswitch_f
|
|
:pswitch_e
|
|
:pswitch_d
|
|
:pswitch_c
|
|
: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
|