240 lines
5.5 KiB
Smali
240 lines
5.5 KiB
Smali
.class public final Lcom/airbnb/lottie/d;
|
|
.super Ljava/lang/Object;
|
|
|
|
|
|
# instance fields
|
|
.field public final fX:Lcom/airbnb/lottie/l;
|
|
|
|
.field private final fY:Ljava/util/HashSet;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/HashSet<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public fZ:Ljava/util/Map;
|
|
.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
|
|
|
|
.field ga:Ljava/util/Map;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Lcom/airbnb/lottie/g;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public gb:Ljava/util/Map;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Lcom/airbnb/lottie/c/c;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public gc:Landroidx/collection/SparseArrayCompat;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroidx/collection/SparseArrayCompat<",
|
|
"Lcom/airbnb/lottie/c/d;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field gd:Landroidx/collection/LongSparseArray;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroidx/collection/LongSparseArray<",
|
|
"Lcom/airbnb/lottie/c/c/d;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public ge:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Lcom/airbnb/lottie/c/c/d;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public gf:Landroid/graphics/Rect;
|
|
|
|
.field public gg:F
|
|
|
|
.field public gh:F
|
|
|
|
.field public gi:F
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Lcom/airbnb/lottie/l;
|
|
|
|
invoke-direct {v0}, Lcom/airbnb/lottie/l;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/d;->fX:Lcom/airbnb/lottie/l;
|
|
|
|
new-instance v0, Ljava/util/HashSet;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/d;->fY:Ljava/util/HashSet;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final aO()F
|
|
.locals 2
|
|
|
|
invoke-virtual {p0}, Lcom/airbnb/lottie/d;->aP()F
|
|
|
|
move-result v0
|
|
|
|
iget v1, p0, Lcom/airbnb/lottie/d;->gi:F
|
|
|
|
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
|
|
|
|
.method public final aP()F
|
|
.locals 2
|
|
|
|
iget v0, p0, Lcom/airbnb/lottie/d;->gh:F
|
|
|
|
iget v1, p0, Lcom/airbnb/lottie/d;->gg:F
|
|
|
|
sub-float/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final h(J)Lcom/airbnb/lottie/c/c/d;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/d;->gd:Landroidx/collection/LongSparseArray;
|
|
|
|
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
|
|
|
|
.method public final setPerformanceTrackingEnabled(Z)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/d;->fX:Lcom/airbnb/lottie/l;
|
|
|
|
iput-boolean p1, v0, Lcom/airbnb/lottie/l;->enabled:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final t(Ljava/lang/String;)V
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "LOTTIE"
|
|
|
|
invoke-static {v0, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/d;->fY:Ljava/util/HashSet;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
.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
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/d;->ge:Ljava/util/List;
|
|
|
|
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
|