Rabbit-R1/original r1/smali/smali_classes2/androidx/window/embedding/SplitPairRule.smali
2024-05-21 17:08:36 -04:00

463 lines
11 KiB
Smali

.class public final Landroidx/window/embedding/SplitPairRule;
.super Landroidx/window/embedding/SplitRule;
.source "SplitPairRule.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\"\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0010\u0007\n\u0002\u0008\n\n\u0002\u0010\u0000\n\u0002\u0008\u0005\u0008\u0007\u0018\u00002\u00020\u0001BY\u0012\u000c\u0010\u0002\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u0003\u0012\u0008\u0008\u0002\u0010\u0005\u001a\u00020\u0006\u0012\u0008\u0008\u0002\u0010\u0007\u001a\u00020\u0006\u0012\u0008\u0008\u0002\u0010\u0008\u001a\u00020\u0006\u0012\u0008\u0008\u0002\u0010\t\u001a\u00020\n\u0012\u0008\u0008\u0002\u0010\u000b\u001a\u00020\n\u0012\u0008\u0008\u0002\u0010\u000c\u001a\u00020\r\u0012\u0008\u0008\u0002\u0010\u000e\u001a\u00020\n\u00a2\u0006\u0002\u0010\u000fJ\u0013\u0010\u0016\u001a\u00020\u00062\u0008\u0010\u0017\u001a\u0004\u0018\u00010\u0018H\u0096\u0002J\u0008\u0010\u0019\u001a\u00020\nH\u0016J\u0016\u0010\u001a\u001a\u00020\u00002\u0006\u0010\u001b\u001a\u00020\u0004H\u0080\u0002\u00a2\u0006\u0002\u0008\u001cR\u0011\u0010\u0008\u001a\u00020\u0006\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0010\u0010\u0011R\u0017\u0010\u0002\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u0003\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0012\u0010\u0013R\u0011\u0010\u0005\u001a\u00020\u0006\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0014\u0010\u0011R\u0011\u0010\u0007\u001a\u00020\u0006\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0015\u0010\u0011\u00a8\u0006\u001d"
}
d2 = {
"Landroidx/window/embedding/SplitPairRule;",
"Landroidx/window/embedding/SplitRule;",
"filters",
"",
"Landroidx/window/embedding/SplitPairFilter;",
"finishPrimaryWithSecondary",
"",
"finishSecondaryWithPrimary",
"clearTop",
"minWidth",
"",
"minSmallestWidth",
"splitRatio",
"",
"layoutDir",
"(Ljava/util/Set;ZZZIIFI)V",
"getClearTop",
"()Z",
"getFilters",
"()Ljava/util/Set;",
"getFinishPrimaryWithSecondary",
"getFinishSecondaryWithPrimary",
"equals",
"other",
"",
"hashCode",
"plus",
"filter",
"plus$window_release",
"window_release"
}
k = 0x1
mv = {
0x1,
0x6,
0x0
}
xi = 0x30
.end annotation
# instance fields
.field private final clearTop:Z
.field private final filters:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Landroidx/window/embedding/SplitPairFilter;",
">;"
}
.end annotation
.end field
.field private final finishPrimaryWithSecondary:Z
.field private final finishSecondaryWithPrimary:Z
# direct methods
.method public constructor <init>(Ljava/util/Set;ZZZIIFI)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Set<",
"Landroidx/window/embedding/SplitPairFilter;",
">;ZZZIIFI)V"
}
.end annotation
const-string v0, "filters"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 61
invoke-direct {p0, p5, p6, p7, p8}, Landroidx/window/embedding/SplitRule;-><init>(IIFI)V
iput-boolean p2, p0, Landroidx/window/embedding/SplitPairRule;->finishPrimaryWithSecondary:Z
iput-boolean p3, p0, Landroidx/window/embedding/SplitPairRule;->finishSecondaryWithPrimary:Z
iput-boolean p4, p0, Landroidx/window/embedding/SplitPairRule;->clearTop:Z
.line 70
check-cast p1, Ljava/lang/Iterable;
invoke-static {p1}, Lkotlin/collections/CollectionsKt;->toSet(Ljava/lang/Iterable;)Ljava/util/Set;
move-result-object p1
iput-object p1, p0, Landroidx/window/embedding/SplitPairRule;->filters:Ljava/util/Set;
return-void
.end method
.method public synthetic constructor <init>(Ljava/util/Set;ZZZIIFIILkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 7
move/from16 v0, p9
and-int/lit8 v1, v0, 0x2
const/4 v2, 0x0
if-eqz v1, :cond_0
move v1, v2
goto :goto_0
:cond_0
move v1, p2
:goto_0
and-int/lit8 v3, v0, 0x4
if-eqz v3, :cond_1
const/4 v3, 0x1
goto :goto_1
:cond_1
move v3, p3
:goto_1
and-int/lit8 v4, v0, 0x8
if-eqz v4, :cond_2
move v4, v2
goto :goto_2
:cond_2
move v4, p4
:goto_2
and-int/lit8 v5, v0, 0x10
if-eqz v5, :cond_3
move v5, v2
goto :goto_3
:cond_3
move v5, p5
:goto_3
and-int/lit8 v6, v0, 0x20
if-eqz v6, :cond_4
goto :goto_4
:cond_4
move v2, p6
:goto_4
and-int/lit8 v6, v0, 0x40
if-eqz v6, :cond_5
const/high16 v6, 0x3f000000 # 0.5f
goto :goto_5
:cond_5
move v6, p7
:goto_5
and-int/lit16 v0, v0, 0x80
if-eqz v0, :cond_6
const/4 v0, 0x3
goto :goto_6
:cond_6
move v0, p8
:goto_6
move-object p2, p0
move-object p3, p1
move p4, v1
move p5, v3
move p6, v4
move p7, v5
move p8, v2
move/from16 p9, v6
move/from16 p10, v0
.line 31
invoke-direct/range {p2 .. p10}, Landroidx/window/embedding/SplitPairRule;-><init>(Ljava/util/Set;ZZZIIFI)V
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 4
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
.line 93
:cond_0
instance-of v1, p1, Landroidx/window/embedding/SplitPairRule;
const/4 v2, 0x0
if-nez v1, :cond_1
return v2
.line 95
:cond_1
invoke-super {p0, p1}, Landroidx/window/embedding/SplitRule;->equals(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_2
return v2
:cond_2
iget-object v1, p0, Landroidx/window/embedding/SplitPairRule;->filters:Ljava/util/Set;
.line 96
check-cast p1, Landroidx/window/embedding/SplitPairRule;
iget-object v3, p1, Landroidx/window/embedding/SplitPairRule;->filters:Ljava/util/Set;
invoke-static {v1, v3}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_3
return v2
:cond_3
iget-boolean v1, p0, Landroidx/window/embedding/SplitPairRule;->finishPrimaryWithSecondary:Z
.line 97
iget-boolean v3, p1, Landroidx/window/embedding/SplitPairRule;->finishPrimaryWithSecondary:Z
if-eq v1, v3, :cond_4
return v2
:cond_4
iget-boolean v1, p0, Landroidx/window/embedding/SplitPairRule;->finishSecondaryWithPrimary:Z
.line 98
iget-boolean v3, p1, Landroidx/window/embedding/SplitPairRule;->finishSecondaryWithPrimary:Z
if-eq v1, v3, :cond_5
return v2
:cond_5
iget-boolean p0, p0, Landroidx/window/embedding/SplitPairRule;->clearTop:Z
.line 99
iget-boolean p1, p1, Landroidx/window/embedding/SplitPairRule;->clearTop:Z
if-eq p0, p1, :cond_6
return v2
:cond_6
return v0
.end method
.method public final getClearTop()Z
.locals 0
iget-boolean p0, p0, Landroidx/window/embedding/SplitPairRule;->clearTop:Z
return p0
.end method
.method public final getFilters()Ljava/util/Set;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set<",
"Landroidx/window/embedding/SplitPairFilter;",
">;"
}
.end annotation
iget-object p0, p0, Landroidx/window/embedding/SplitPairRule;->filters:Ljava/util/Set;
return-object p0
.end method
.method public final getFinishPrimaryWithSecondary()Z
.locals 0
iget-boolean p0, p0, Landroidx/window/embedding/SplitPairRule;->finishPrimaryWithSecondary:Z
return p0
.end method
.method public final getFinishSecondaryWithPrimary()Z
.locals 0
iget-boolean p0, p0, Landroidx/window/embedding/SplitPairRule;->finishSecondaryWithPrimary:Z
return p0
.end method
.method public hashCode()I
.locals 2
.line 105
invoke-super {p0}, Landroidx/window/embedding/SplitRule;->hashCode()I
move-result v0
mul-int/lit8 v0, v0, 0x1f
iget-object v1, p0, Landroidx/window/embedding/SplitPairRule;->filters:Ljava/util/Set;
.line 106
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
move-result v1
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget-boolean v1, p0, Landroidx/window/embedding/SplitPairRule;->finishPrimaryWithSecondary:Z
.line 107
invoke-static {v1}, Ljava/lang/Boolean;->hashCode(Z)I
move-result v1
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget-boolean v1, p0, Landroidx/window/embedding/SplitPairRule;->finishSecondaryWithPrimary:Z
.line 108
invoke-static {v1}, Ljava/lang/Boolean;->hashCode(Z)I
move-result v1
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget-boolean p0, p0, Landroidx/window/embedding/SplitPairRule;->clearTop:Z
.line 109
invoke-static {p0}, Ljava/lang/Boolean;->hashCode(Z)I
move-result p0
add-int/2addr v0, p0
return v0
.end method
.method public final plus$window_release(Landroidx/window/embedding/SplitPairFilter;)Landroidx/window/embedding/SplitPairRule;
.locals 11
const-string v0, "filter"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 76
new-instance v0, Ljava/util/LinkedHashSet;
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
check-cast v0, Ljava/util/Set;
iget-object v1, p0, Landroidx/window/embedding/SplitPairRule;->filters:Ljava/util/Set;
.line 77
check-cast v1, Ljava/util/Collection;
invoke-interface {v0, v1}, Ljava/util/Set;->addAll(Ljava/util/Collection;)Z
.line 78
invoke-interface {v0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
.line 79
new-instance p1, Landroidx/window/embedding/SplitPairRule;
.line 80
check-cast v0, Ljava/lang/Iterable;
invoke-static {v0}, Lkotlin/collections/CollectionsKt;->toSet(Ljava/lang/Iterable;)Ljava/util/Set;
move-result-object v3
iget-boolean v4, p0, Landroidx/window/embedding/SplitPairRule;->finishPrimaryWithSecondary:Z
iget-boolean v5, p0, Landroidx/window/embedding/SplitPairRule;->finishSecondaryWithPrimary:Z
iget-boolean v6, p0, Landroidx/window/embedding/SplitPairRule;->clearTop:Z
.line 84
invoke-virtual {p0}, Landroidx/window/embedding/SplitPairRule;->getMinWidth()I
move-result v7
.line 85
invoke-virtual {p0}, Landroidx/window/embedding/SplitPairRule;->getMinSmallestWidth()I
move-result v8
.line 86
invoke-virtual {p0}, Landroidx/window/embedding/SplitPairRule;->getSplitRatio()F
move-result v9
.line 87
invoke-virtual {p0}, Landroidx/window/embedding/SplitPairRule;->getLayoutDirection()I
move-result v10
move-object v2, p1
.line 79
invoke-direct/range {v2 .. v10}, Landroidx/window/embedding/SplitPairRule;-><init>(Ljava/util/Set;ZZZIIFI)V
return-object p1
.end method