603 lines
12 KiB
Smali
603 lines
12 KiB
Smali
.class public final Lcom/airbnb/lottie/c/e;
|
|
.super Ljava/lang/Object;
|
|
.source "KeyPath.java"
|
|
|
|
|
|
# instance fields
|
|
.field private final jO:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public jP:Lcom/airbnb/lottie/c/f;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>(Lcom/airbnb/lottie/c/e;)V
|
|
.locals 2
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
iget-object v1, p1, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
iput-object v0, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
iget-object p1, p1, Lcom/airbnb/lottie/c/e;->jP:Lcom/airbnb/lottie/c/f;
|
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/c/e;->jP:Lcom/airbnb/lottie/c/f;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public varargs constructor <init>([Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
invoke-static {p1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private bl()Z
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v1
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
const-string v1, "**"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lcom/airbnb/lottie/c/f;)Lcom/airbnb/lottie/c/e;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v0, Lcom/airbnb/lottie/c/e;
|
|
|
|
invoke-direct {v0, p0}, Lcom/airbnb/lottie/c/e;-><init>(Lcom/airbnb/lottie/c/e;)V
|
|
|
|
iput-object p1, v0, Lcom/airbnb/lottie/c/e;->jP:Lcom/airbnb/lottie/c/f;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final a(Ljava/lang/String;I)Z
|
|
.locals 3
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "__container"
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-lt p2, v0, :cond_1
|
|
|
|
return v2
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_3
|
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {p1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
const-string v0, "**"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_3
|
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {p1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
const-string p2, "*"
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
return v2
|
|
|
|
:cond_3
|
|
:goto_0
|
|
return v1
|
|
.end method
|
|
|
|
.method public final b(Ljava/lang/String;I)I
|
|
.locals 3
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "__container"
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
const-string v2, "**"
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
return v2
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
sub-int/2addr v0, v2
|
|
|
|
if-ne p2, v0, :cond_2
|
|
|
|
return v1
|
|
|
|
:cond_2
|
|
iget-object v0, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
add-int/2addr p2, v2
|
|
|
|
invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Ljava/lang/String;
|
|
|
|
invoke-virtual {p2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
const/4 p1, 0x2
|
|
|
|
return p1
|
|
|
|
:cond_3
|
|
return v1
|
|
.end method
|
|
|
|
.method public final c(Ljava/lang/String;I)Z
|
|
.locals 5
|
|
.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/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-lt p2, v0, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
sub-int/2addr v0, v2
|
|
|
|
if-ne p2, v0, :cond_1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
iget-object v3, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {v3, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Ljava/lang/String;
|
|
|
|
const-string v4, "**"
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_6
|
|
|
|
invoke-virtual {v3, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_3
|
|
|
|
const-string p1, "*"
|
|
|
|
invoke-virtual {v3, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
:goto_1
|
|
const/4 p1, 0x1
|
|
|
|
:goto_2
|
|
if-nez v0, :cond_4
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, -0x2
|
|
|
|
if-ne p2, v0, :cond_5
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/c/e;->bl()Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
:cond_4
|
|
if-eqz p1, :cond_5
|
|
|
|
return v2
|
|
|
|
:cond_5
|
|
return v1
|
|
|
|
:cond_6
|
|
if-nez v0, :cond_7
|
|
|
|
iget-object v3, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
add-int/lit8 v4, p2, 0x1
|
|
|
|
invoke-interface {v3, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Ljava/lang/String;
|
|
|
|
invoke-virtual {v3, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_7
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_7
|
|
const/4 v3, 0x0
|
|
|
|
:goto_3
|
|
if-eqz v3, :cond_a
|
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
move-result p1
|
|
|
|
add-int/lit8 p1, p1, -0x2
|
|
|
|
if-eq p2, p1, :cond_9
|
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
move-result p1
|
|
|
|
add-int/lit8 p1, p1, -0x3
|
|
|
|
if-ne p2, p1, :cond_8
|
|
|
|
invoke-direct {p0}, Lcom/airbnb/lottie/c/e;->bl()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_8
|
|
|
|
goto :goto_4
|
|
|
|
:cond_8
|
|
return v1
|
|
|
|
:cond_9
|
|
:goto_4
|
|
return v2
|
|
|
|
:cond_a
|
|
if-eqz v0, :cond_b
|
|
|
|
return v2
|
|
|
|
:cond_b
|
|
add-int/2addr p2, v2
|
|
|
|
iget-object v0, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
sub-int/2addr v0, v2
|
|
|
|
if-ge p2, v0, :cond_c
|
|
|
|
return v1
|
|
|
|
:cond_c
|
|
iget-object v0, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Ljava/lang/String;
|
|
|
|
invoke-virtual {p2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final d(Ljava/lang/String;I)Z
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "__container"
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
move-result p1
|
|
|
|
sub-int/2addr p1, v0
|
|
|
|
if-lt p2, p1, :cond_2
|
|
|
|
iget-object p1, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {p1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
const-string p2, "**"
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "KeyPath{keys="
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ",resolved="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/airbnb/lottie/c/e;->jP:Lcom/airbnb/lottie/c/f;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v1, 0x7d
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final w(Ljava/lang/String;)Lcom/airbnb/lottie/c/e;
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/CheckResult;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v0, Lcom/airbnb/lottie/c/e;
|
|
|
|
invoke-direct {v0, p0}, Lcom/airbnb/lottie/c/e;-><init>(Lcom/airbnb/lottie/c/e;)V
|
|
|
|
iget-object v1, v0, Lcom/airbnb/lottie/c/e;->jO:Ljava/util/List;
|
|
|
|
invoke-interface {v1, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
return-object v0
|
|
.end method
|