2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lcom/airbnb/lottie/d;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "LottieComposition.java"
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-10-23 04:50:18 +00:00
|
|
|
.field public final dY:Lcom/airbnb/lottie/m;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
.field private final dZ:Ljava/util/HashSet;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/HashSet<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
.field public ea:Ljava/util/Map;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Lcom/airbnb/lottie/c/c/d;",
|
|
|
|
">;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
.field public eb:Ljava/util/Map;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"Lcom/airbnb/lottie/g;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
.field public ec:Ljava/util/Map;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"Lcom/airbnb/lottie/c/c;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
.field public ed:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Lcom/airbnb/lottie/c/h;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
.field public ee:Landroidx/collection/SparseArrayCompat;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Landroidx/collection/SparseArrayCompat<",
|
|
|
|
"Lcom/airbnb/lottie/c/d;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
.field public ef:Landroidx/collection/LongSparseArray;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Landroidx/collection/LongSparseArray<",
|
|
|
|
"Lcom/airbnb/lottie/c/c/d;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
.field public eg:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Lcom/airbnb/lottie/c/c/d;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
.field public eh:Landroid/graphics/Rect;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
.field public ei:F
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
.field public ej:F
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
.field public ek:F
|
|
|
|
|
|
|
|
.field public el:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
.field em:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
new-instance v0, Lcom/airbnb/lottie/m;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lcom/airbnb/lottie/m;-><init>()V
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/d;->dY:Lcom/airbnb/lottie/m;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v0, Ljava/util/HashSet;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/d;->dZ:Ljava/util/HashSet;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iput v0, p0, Lcom/airbnb/lottie/d;->em:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public final aH()F
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/d;->aI()F
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget v1, p0, Lcom/airbnb/lottie/d;->ek:F
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
div-float/2addr v0, v1
|
|
|
|
|
|
|
|
const/high16 v1, 0x447a0000 # 1000.0f
|
|
|
|
|
|
|
|
mul-float v0, v0, v1
|
|
|
|
|
|
|
|
float-to-long v0, v0
|
|
|
|
|
|
|
|
long-to-float v0, v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public final aI()F
|
|
|
|
.locals 2
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget v0, p0, Lcom/airbnb/lottie/d;->ej:F
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget v1, p0, Lcom/airbnb/lottie/d;->ei:F
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
sub-float/2addr v0, v1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
.method public final b(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget v0, p0, Lcom/airbnb/lottie/d;->em:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
add-int/2addr v0, p1
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iput v0, p0, Lcom/airbnb/lottie/d;->em:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
.method public final g(J)Lcom/airbnb/lottie/c/c/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/d;->ef:Landroidx/collection/LongSparseArray;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroidx/collection/LongSparseArray;->get(J)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
check-cast p1, Lcom/airbnb/lottie/c/c/d;
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public final s(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p1}, Lcom/airbnb/lottie/f/d;->w(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/d;->dZ:Ljava/util/HashSet;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public final setPerformanceTrackingEnabled(Z)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/d;->dY:Lcom/airbnb/lottie/m;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
iput-boolean p1, v0, Lcom/airbnb/lottie/m;->enabled:Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final t(Ljava/lang/String;)Lcom/airbnb/lottie/c/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 6
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/d;->ed:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/d;->ed:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v2}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-ge v1, v2, :cond_3
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v2, p0, Lcom/airbnb/lottie/d;->ed:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
check-cast v2, Lcom/airbnb/lottie/c/h;
|
|
|
|
|
|
|
|
iget-object v3, v2, Lcom/airbnb/lottie/c/h;->name:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v3, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-object v3, v2, Lcom/airbnb/lottie/c/h;->name:Ljava/lang/String;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
sget-object v5, Lcom/airbnb/lottie/c/h;->ij:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
|
|
|
|
iget-object v3, v2, Lcom/airbnb/lottie/c/h;->name:Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-object v5, v2, Lcom/airbnb/lottie/c/h;->name:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v5}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
sub-int/2addr v5, v4
|
|
|
|
|
|
|
|
invoke-virtual {v3, v0, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v3, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
|
|
|
|
return-object v2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, "LottieComposition:\n"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/d;->eg:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
check-cast v2, Lcom/airbnb/lottie/c/c/d;
|
|
|
|
|
|
|
|
const-string v3, "\t"
|
|
|
|
|
|
|
|
invoke-virtual {v2, v3}, Lcom/airbnb/lottie/c/c/d;->toString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|