1244 lines
24 KiB
Smali
1244 lines
24 KiB
Smali
.class public final Lcom/airbnb/lottie/e/q;
|
|
.super Ljava/lang/Object;
|
|
.source "LayerParser.java"
|
|
|
|
|
|
# direct methods
|
|
.method public static b(Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/c/d;
|
|
.locals 25
|
|
|
|
move-object/from16 v2, p0
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
iget-object v4, v0, Lcom/airbnb/lottie/d;->ga:Landroid/graphics/Rect;
|
|
|
|
new-instance v24, Lcom/airbnb/lottie/c/c/d;
|
|
|
|
move-object/from16 v0, v24
|
|
|
|
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v3, "__container"
|
|
|
|
sget-object v6, Lcom/airbnb/lottie/c/c/d$a;->lM:Lcom/airbnb/lottie/c/c/d$a;
|
|
|
|
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
|
|
|
|
move-result-object v10
|
|
|
|
new-instance v5, Lcom/airbnb/lottie/c/a/l;
|
|
|
|
move-object v11, v5
|
|
|
|
invoke-direct {v5}, Lcom/airbnb/lottie/c/a/l;-><init>()V
|
|
|
|
invoke-virtual {v4}, Landroid/graphics/Rect;->width()I
|
|
|
|
move-result v17
|
|
|
|
invoke-virtual {v4}, 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;->lU:I
|
|
|
|
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
|
|
|
|
invoke-direct/range {v0 .. v23}, 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;)V
|
|
|
|
return-object v24
|
|
.end method
|
|
|
|
.method public static l(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/c/d;
|
|
.locals 36
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move-object/from16 v7, p1
|
|
|
|
const-string v1, "UNSET"
|
|
|
|
sget v2, Lcom/airbnb/lottie/c/c/d$b;->lU: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}, Landroid/util/JsonReader;->beginObject()V
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v11, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const-wide/16 v5, 0x0
|
|
|
|
const-wide/16 v12, -0x1
|
|
|
|
move/from16 v29, v2
|
|
|
|
move-object v14, v3
|
|
|
|
move-object/from16 v16, v14
|
|
|
|
move-object/from16 v27, v16
|
|
|
|
move-object/from16 v28, v27
|
|
|
|
move-object/from16 v30, v28
|
|
|
|
move-object/from16 v31, v30
|
|
|
|
move-wide/from16 v17, v5
|
|
|
|
move-wide/from16 v24, v12
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/high16 v15, 0x3f800000 # 1.0f
|
|
|
|
const/16 v19, 0x0
|
|
|
|
const/16 v20, 0x0
|
|
|
|
const/16 v21, 0x0
|
|
|
|
const/16 v22, 0x0
|
|
|
|
const/16 v23, 0x0
|
|
|
|
const/16 v26, 0x0
|
|
|
|
move-object v12, v1
|
|
|
|
move-object/from16 v13, v31
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_10
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextName()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v5
|
|
|
|
const/4 v6, 0x1
|
|
|
|
const/16 v32, -0x1
|
|
|
|
sparse-switch v5, :sswitch_data_0
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_0
|
|
const-string v5, "masksProperties"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/16 v3, 0xa
|
|
|
|
goto/16 :goto_2
|
|
|
|
:sswitch_1
|
|
const-string v5, "refId"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/4 v3, 0x2
|
|
|
|
goto/16 :goto_2
|
|
|
|
:sswitch_2
|
|
const-string v5, "ind"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto/16 :goto_2
|
|
|
|
:sswitch_3
|
|
const-string v5, "ty"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/4 v3, 0x3
|
|
|
|
goto/16 :goto_2
|
|
|
|
:sswitch_4
|
|
const-string v5, "tt"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/16 v3, 0x9
|
|
|
|
goto/16 :goto_2
|
|
|
|
:sswitch_5
|
|
const-string v5, "tm"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/16 v3, 0x14
|
|
|
|
goto/16 :goto_2
|
|
|
|
:sswitch_6
|
|
const-string v5, "sw"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/4 v3, 0x5
|
|
|
|
goto/16 :goto_2
|
|
|
|
:sswitch_7
|
|
const-string v5, "st"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/16 v3, 0xf
|
|
|
|
goto/16 :goto_2
|
|
|
|
:sswitch_8
|
|
const-string v5, "sr"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/16 v3, 0xe
|
|
|
|
goto/16 :goto_2
|
|
|
|
:sswitch_9
|
|
const-string v5, "sh"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/4 v3, 0x6
|
|
|
|
goto/16 :goto_2
|
|
|
|
:sswitch_a
|
|
const-string v5, "sc"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/4 v3, 0x7
|
|
|
|
goto/16 :goto_2
|
|
|
|
:sswitch_b
|
|
const-string v5, "op"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/16 v3, 0x13
|
|
|
|
goto/16 :goto_2
|
|
|
|
:sswitch_c
|
|
const-string v5, "nm"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
goto/16 :goto_2
|
|
|
|
:sswitch_d
|
|
const-string v5, "ks"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/16 v3, 0x8
|
|
|
|
goto :goto_2
|
|
|
|
:sswitch_e
|
|
const-string v5, "ip"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/16 v3, 0x12
|
|
|
|
goto :goto_2
|
|
|
|
:sswitch_f
|
|
const-string v5, "ef"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/16 v3, 0xd
|
|
|
|
goto :goto_2
|
|
|
|
:sswitch_10
|
|
const-string v5, "cl"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/16 v3, 0x15
|
|
|
|
goto :goto_2
|
|
|
|
:sswitch_11
|
|
const-string v5, "w"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/16 v3, 0x10
|
|
|
|
goto :goto_2
|
|
|
|
:sswitch_12
|
|
const-string v5, "t"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/16 v3, 0xc
|
|
|
|
goto :goto_2
|
|
|
|
:sswitch_13
|
|
const-string v5, "h"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/16 v3, 0x11
|
|
|
|
goto :goto_2
|
|
|
|
:sswitch_14
|
|
const-string v5, "shapes"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/16 v3, 0xb
|
|
|
|
goto :goto_2
|
|
|
|
:sswitch_15
|
|
const-string v5, "parent"
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/4 v3, 0x4
|
|
|
|
goto :goto_2
|
|
|
|
:cond_0
|
|
:goto_1
|
|
const/4 v3, -0x1
|
|
|
|
:goto_2
|
|
packed-switch v3, :pswitch_data_0
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->skipValue()V
|
|
|
|
goto/16 :goto_d
|
|
|
|
:pswitch_0
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v13
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_1
|
|
invoke-static {v0, v7, v4}, Lcom/airbnb/lottie/e/d;->a(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;Z)Lcom/airbnb/lottie/c/a/b;
|
|
|
|
move-result-object v31
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_2
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextDouble()D
|
|
|
|
move-result-wide v2
|
|
|
|
double-to-float v2, v2
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_3
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextDouble()D
|
|
|
|
move-result-wide v5
|
|
|
|
double-to-float v1, v5
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_4
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextInt()I
|
|
|
|
move-result v3
|
|
|
|
int-to-float v3, v3
|
|
|
|
invoke-static {}, Lcom/airbnb/lottie/f/f;->bC()F
|
|
|
|
move-result v5
|
|
|
|
mul-float v3, v3, v5
|
|
|
|
float-to-int v3, v3
|
|
|
|
move/from16 v23, v3
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_5
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextInt()I
|
|
|
|
move-result v3
|
|
|
|
int-to-float v3, v3
|
|
|
|
invoke-static {}, Lcom/airbnb/lottie/f/f;->bC()F
|
|
|
|
move-result v5
|
|
|
|
mul-float v3, v3, v5
|
|
|
|
float-to-int v3, v3
|
|
|
|
move/from16 v22, v3
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_6
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextDouble()D
|
|
|
|
move-result-wide v5
|
|
|
|
double-to-float v3, v5
|
|
|
|
move/from16 v26, v3
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_7
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextDouble()D
|
|
|
|
move-result-wide v5
|
|
|
|
double-to-float v15, v5
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_8
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->beginArray()V
|
|
|
|
new-instance v3, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
:goto_3
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_5
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->beginObject()V
|
|
|
|
:goto_4
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_4
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextName()Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-virtual {v5}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v6
|
|
|
|
const/16 v4, 0xdbf
|
|
|
|
if-eq v6, v4, :cond_1
|
|
|
|
goto :goto_5
|
|
|
|
:cond_1
|
|
const-string v4, "nm"
|
|
|
|
invoke-virtual {v5, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto :goto_6
|
|
|
|
:cond_2
|
|
:goto_5
|
|
const/4 v4, -0x1
|
|
|
|
:goto_6
|
|
if-eqz v4, :cond_3
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->skipValue()V
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto :goto_4
|
|
|
|
:cond_3
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-interface {v3, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->endObject()V
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_5
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->endArray()V
|
|
|
|
const-string v4, "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-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v4, v3}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v7, v3}, Lcom/airbnb/lottie/d;->t(Ljava/lang/String;)V
|
|
|
|
goto/16 :goto_d
|
|
|
|
:pswitch_9
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->beginObject()V
|
|
|
|
:goto_7
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_b
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextName()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v4
|
|
|
|
const/16 v5, 0x61
|
|
|
|
if-eq v4, v5, :cond_7
|
|
|
|
const/16 v5, 0x64
|
|
|
|
if-eq v4, v5, :cond_6
|
|
|
|
goto :goto_8
|
|
|
|
:cond_6
|
|
const-string v4, "d"
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_8
|
|
|
|
const/4 v3, 0x0
|
|
|
|
goto :goto_9
|
|
|
|
:cond_7
|
|
const-string v4, "a"
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_8
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_9
|
|
|
|
:cond_8
|
|
:goto_8
|
|
const/4 v3, -0x1
|
|
|
|
:goto_9
|
|
packed-switch v3, :pswitch_data_1
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->skipValue()V
|
|
|
|
goto :goto_7
|
|
|
|
:pswitch_a
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->beginArray()V
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_9
|
|
|
|
invoke-static/range {p0 .. p1}, Lcom/airbnb/lottie/e/b;->c(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/a/k;
|
|
|
|
move-result-object v3
|
|
|
|
move-object/from16 v30, v3
|
|
|
|
:cond_9
|
|
:goto_a
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_a
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->skipValue()V
|
|
|
|
goto :goto_a
|
|
|
|
:cond_a
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->endArray()V
|
|
|
|
goto :goto_7
|
|
|
|
:pswitch_b
|
|
new-instance v3, Lcom/airbnb/lottie/c/a/j;
|
|
|
|
sget-object v4, Lcom/airbnb/lottie/e/h;->mo:Lcom/airbnb/lottie/e/h;
|
|
|
|
invoke-static {v0, v7, v4}, Lcom/airbnb/lottie/e/d;->a(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;Lcom/airbnb/lottie/e/af;)Ljava/util/List;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-direct {v3, v4}, Lcom/airbnb/lottie/c/a/j;-><init>(Ljava/util/List;)V
|
|
|
|
move-object/from16 v28, v3
|
|
|
|
goto :goto_7
|
|
|
|
:cond_b
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->endObject()V
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_c
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->beginArray()V
|
|
|
|
:cond_c
|
|
:goto_b
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_d
|
|
|
|
invoke-static/range {p0 .. p1}, Lcom/airbnb/lottie/e/g;->i(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/b/b;
|
|
|
|
move-result-object v3
|
|
|
|
if-eqz v3, :cond_c
|
|
|
|
invoke-interface {v8, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_b
|
|
|
|
:cond_d
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->endArray()V
|
|
|
|
goto/16 :goto_d
|
|
|
|
:pswitch_d
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->beginArray()V
|
|
|
|
:goto_c
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_e
|
|
|
|
invoke-static/range {p0 .. p1}, Lcom/airbnb/lottie/e/s;->m(Landroid/util/JsonReader;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_c
|
|
|
|
:cond_e
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->endArray()V
|
|
|
|
goto/16 :goto_d
|
|
|
|
:pswitch_e
|
|
invoke-static {}, Lcom/airbnb/lottie/c/c/d$b;->bt()[I
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextInt()I
|
|
|
|
move-result v4
|
|
|
|
aget v29, v3, v4
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_f
|
|
invoke-static/range {p0 .. p1}, Lcom/airbnb/lottie/e/c;->d(Landroid/util/JsonReader;Lcom/airbnb/lottie/d;)Lcom/airbnb/lottie/c/a/l;
|
|
|
|
move-result-object v27
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_10
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
|
|
|
|
move-result v21
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_11
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextInt()I
|
|
|
|
move-result v3
|
|
|
|
int-to-float v3, v3
|
|
|
|
invoke-static {}, Lcom/airbnb/lottie/f/f;->bC()F
|
|
|
|
move-result v4
|
|
|
|
mul-float v3, v3, v4
|
|
|
|
float-to-int v3, v3
|
|
|
|
move/from16 v20, v3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_12
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextInt()I
|
|
|
|
move-result v3
|
|
|
|
int-to-float v3, v3
|
|
|
|
invoke-static {}, Lcom/airbnb/lottie/f/f;->bC()F
|
|
|
|
move-result v4
|
|
|
|
mul-float v3, v3, v4
|
|
|
|
float-to-int v3, v3
|
|
|
|
move/from16 v19, v3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_13
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextInt()I
|
|
|
|
move-result v3
|
|
|
|
int-to-long v3, v3
|
|
|
|
move-wide/from16 v24, v3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_14
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextInt()I
|
|
|
|
move-result v3
|
|
|
|
sget-object v4, Lcom/airbnb/lottie/c/c/d$a;->lS:Lcom/airbnb/lottie/c/c/d$a;
|
|
|
|
invoke-virtual {v4}, Lcom/airbnb/lottie/c/c/d$a;->ordinal()I
|
|
|
|
move-result v4
|
|
|
|
if-ge v3, v4, :cond_f
|
|
|
|
invoke-static {}, Lcom/airbnb/lottie/c/c/d$a;->values()[Lcom/airbnb/lottie/c/c/d$a;
|
|
|
|
move-result-object v4
|
|
|
|
aget-object v14, v4, v3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_f
|
|
sget-object v14, Lcom/airbnb/lottie/c/c/d$a;->lS:Lcom/airbnb/lottie/c/c/d$a;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_15
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v16
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_16
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextInt()I
|
|
|
|
move-result v3
|
|
|
|
int-to-long v3, v3
|
|
|
|
move-wide/from16 v17, v3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:pswitch_17
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->nextString()Ljava/lang/String;
|
|
|
|
move-result-object v12
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:goto_d
|
|
const/4 v4, 0x0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_10
|
|
invoke-virtual/range {p0 .. p0}, Landroid/util/JsonReader;->endObject()V
|
|
|
|
div-float v32, v1, v15
|
|
|
|
div-float v33, v2, v15
|
|
|
|
new-instance v6, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
cmpl-float v0, v32, v11
|
|
|
|
if-lez v0, :cond_11
|
|
|
|
new-instance v5, Lcom/airbnb/lottie/g/a;
|
|
|
|
invoke-static {v11}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v11}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object v3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/16 v34, 0x0
|
|
|
|
invoke-static/range {v32 .. v32}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object v35
|
|
|
|
move-object v0, v5
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
move-object v9, v5
|
|
|
|
move/from16 v5, v34
|
|
|
|
move-object v11, v6
|
|
|
|
move-object/from16 v6, 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 {v11, v9}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_e
|
|
|
|
:cond_11
|
|
move-object v11, v6
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_e
|
|
cmpl-float v1, v33, v0
|
|
|
|
if-lez v1, :cond_12
|
|
|
|
goto :goto_f
|
|
|
|
:cond_12
|
|
iget v0, v7, Lcom/airbnb/lottie/d;->gc:F
|
|
|
|
move/from16 v33, v0
|
|
|
|
:goto_f
|
|
new-instance v9, Lcom/airbnb/lottie/g/a;
|
|
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object v3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
invoke-static/range {v33 .. v33}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object v6
|
|
|
|
move-object v0, v9
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
move/from16 v5, v32
|
|
|
|
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 {v11, v9}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
new-instance v9, Lcom/airbnb/lottie/g/a;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
|
|
|
|
move-result-object v3
|
|
|
|
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/from16 v5, v33
|
|
|
|
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 {v11, v9}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
const-string v0, ".ai"
|
|
|
|
invoke-virtual {v12, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_13
|
|
|
|
const-string v0, "ai"
|
|
|
|
invoke-virtual {v0, v13}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_14
|
|
|
|
:cond_13
|
|
const-string v0, "Convert your Illustrator layers to shape layers."
|
|
|
|
invoke-virtual {v7, v0}, Lcom/airbnb/lottie/d;->t(Ljava/lang/String;)V
|
|
|
|
:cond_14
|
|
new-instance v32, Lcom/airbnb/lottie/c/c/d;
|
|
|
|
move-object/from16 v0, v32
|
|
|
|
move-object v1, v8
|
|
|
|
move-object/from16 v2, p1
|
|
|
|
move-object v3, v12
|
|
|
|
move-wide/from16 v4, v17
|
|
|
|
move-object v6, v14
|
|
|
|
move-wide/from16 v7, v24
|
|
|
|
move-object/from16 v9, v16
|
|
|
|
move-object/from16 v24, v11
|
|
|
|
move-object/from16 v11, v27
|
|
|
|
move/from16 v12, v19
|
|
|
|
move/from16 v13, v20
|
|
|
|
move/from16 v14, v21
|
|
|
|
move/from16 v16, v26
|
|
|
|
move/from16 v17, v22
|
|
|
|
move/from16 v18, v23
|
|
|
|
move-object/from16 v19, v28
|
|
|
|
move-object/from16 v20, v30
|
|
|
|
move-object/from16 v21, v24
|
|
|
|
move/from16 v22, v29
|
|
|
|
move-object/from16 v23, v31
|
|
|
|
invoke-direct/range {v0 .. v23}, 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;)V
|
|
|
|
return-object v32
|
|
|
|
nop
|
|
|
|
:sswitch_data_0
|
|
.sparse-switch
|
|
-0x3b54f756 -> :sswitch_15
|
|
-0x35db5b0e -> :sswitch_14
|
|
0x68 -> :sswitch_13
|
|
0x74 -> :sswitch_12
|
|
0x77 -> :sswitch_11
|
|
0xc69 -> :sswitch_10
|
|
0xca1 -> :sswitch_f
|
|
0xd27 -> :sswitch_e
|
|
0xd68 -> :sswitch_d
|
|
0xdbf -> :sswitch_c
|
|
0xde1 -> :sswitch_b
|
|
0xe50 -> :sswitch_a
|
|
0xe55 -> :sswitch_9
|
|
0xe5f -> :sswitch_8
|
|
0xe61 -> :sswitch_7
|
|
0xe64 -> :sswitch_6
|
|
0xe79 -> :sswitch_5
|
|
0xe80 -> :sswitch_4
|
|
0xe85 -> :sswitch_3
|
|
0x197df -> :sswitch_2
|
|
0x675e90e -> :sswitch_1
|
|
0x55ed639a -> :sswitch_0
|
|
.end sparse-switch
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_17
|
|
:pswitch_16
|
|
:pswitch_15
|
|
:pswitch_14
|
|
:pswitch_13
|
|
:pswitch_12
|
|
:pswitch_11
|
|
:pswitch_10
|
|
:pswitch_f
|
|
:pswitch_e
|
|
:pswitch_d
|
|
:pswitch_c
|
|
:pswitch_9
|
|
:pswitch_8
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
|
|
:pswitch_data_1
|
|
.packed-switch 0x0
|
|
:pswitch_b
|
|
:pswitch_a
|
|
.end packed-switch
|
|
.end method
|