mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-16 02:47:17 +01:00
187 lines
11 KiB
Java
187 lines
11 KiB
Java
package androidx.compose.ui.window;
|
|
|
|
import androidx.collection.DoubleList$$ExternalSyntheticOutline0;
|
|
import androidx.compose.runtime.Immutable;
|
|
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Immutable
|
|
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0002\b\n\n\u0002\u0018\u0002\n\u0002\b\u0012\b\u0007\u0018\u00002\u00020\u0001BA\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0005\u0012\b\b\u0002\u0010\u0006\u001a\u00020\u0005\u0012\b\b\u0002\u0010\u0007\u001a\u00020\u0005\u0012\b\b\u0002\u0010\b\u001a\u00020\u0005\u0012\b\b\u0002\u0010\t\u001a\u00020\u0005¢\u0006\u0004\b\n\u0010\u000bB1\b\u0016\u0012\b\b\u0002\u0010\f\u001a\u00020\u0005\u0012\b\b\u0002\u0010\u0006\u001a\u00020\u0005\u0012\b\b\u0002\u0010\u0007\u001a\u00020\u0005\u0012\b\b\u0002\u0010\r\u001a\u00020\u0005¢\u0006\u0004\b\n\u0010\u000eBE\b\u0016\u0012\b\b\u0002\u0010\f\u001a\u00020\u0005\u0012\b\b\u0002\u0010\u0006\u001a\u00020\u0005\u0012\b\b\u0002\u0010\u0007\u001a\u00020\u0005\u0012\b\b\u0002\u0010\u000f\u001a\u00020\u0010\u0012\b\b\u0002\u0010\b\u001a\u00020\u0005\u0012\b\b\u0002\u0010\r\u001a\u00020\u0005¢\u0006\u0004\b\n\u0010\u0011BO\b\u0016\u0012\b\b\u0002\u0010\f\u001a\u00020\u0005\u0012\b\b\u0002\u0010\u0006\u001a\u00020\u0005\u0012\b\b\u0002\u0010\u0007\u001a\u00020\u0005\u0012\b\b\u0002\u0010\u000f\u001a\u00020\u0010\u0012\b\b\u0002\u0010\b\u001a\u00020\u0005\u0012\b\b\u0002\u0010\r\u001a\u00020\u0005\u0012\b\b\u0002\u0010\t\u001a\u00020\u0005¢\u0006\u0004\b\n\u0010\u0012J\u0013\u0010\u001f\u001a\u00020\u00052\b\u0010 \u001a\u0004\u0018\u00010\u0001H\u0096\u0002J\b\u0010!\u001a\u00020\u0003H\u0016R\u0014\u0010\u0002\u001a\u00020\u0003X\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0014R\u0014\u0010\u0004\u001a\u00020\u0005X\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0016R\u0011\u0010\u0006\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0016R\u0011\u0010\u0007\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0016R\u0011\u0010\b\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0016R\u0011\u0010\t\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u001a\u0010\u0016R\u0011\u0010\f\u001a\u00020\u00058F¢\u0006\u0006\u001a\u0004\b\u001b\u0010\u0016R\u0011\u0010\u000f\u001a\u00020\u00108F¢\u0006\u0006\u001a\u0004\b\u001c\u0010\u001dR\u0011\u0010\r\u001a\u00020\u00058F¢\u0006\u0006\u001a\u0004\b\u001e\u0010\u0016¨\u0006\""}, d2 = {"Landroidx/compose/ui/window/PopupProperties;", "", "flags", "", "inheritSecurePolicy", "", "dismissOnBackPress", "dismissOnClickOutside", "excludeFromSystemGesture", "usePlatformDefaultWidth", "<init>", "(IZZZZZ)V", "focusable", "clippingEnabled", "(ZZZZ)V", "securePolicy", "Landroidx/compose/ui/window/SecureFlagPolicy;", "(ZZZLandroidx/compose/ui/window/SecureFlagPolicy;ZZ)V", "(ZZZLandroidx/compose/ui/window/SecureFlagPolicy;ZZZ)V", "getFlags$ui_release", "()I", "getInheritSecurePolicy$ui_release", "()Z", "getDismissOnBackPress", "getDismissOnClickOutside", "getExcludeFromSystemGesture", "getUsePlatformDefaultWidth", "getFocusable", "getSecurePolicy", "()Landroidx/compose/ui/window/SecureFlagPolicy;", "getClippingEnabled", "equals", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "hashCode", "ui_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
/* loaded from: classes13.dex */
|
|
public final class PopupProperties {
|
|
public static final int $stable = 0;
|
|
private final boolean dismissOnBackPress;
|
|
private final boolean dismissOnClickOutside;
|
|
private final boolean excludeFromSystemGesture;
|
|
private final int flags;
|
|
private final boolean inheritSecurePolicy;
|
|
private final boolean usePlatformDefaultWidth;
|
|
|
|
/* JADX ERROR: NullPointerException in pass: InitCodeVariables
|
|
java.lang.NullPointerException
|
|
*/
|
|
public /* synthetic */ PopupProperties(boolean r2, boolean r3, boolean r4, androidx.compose.ui.window.SecureFlagPolicy r5, boolean r6, boolean r7, int r8, kotlin.jvm.internal.DefaultConstructorMarker r9) {
|
|
/*
|
|
r1 = this;
|
|
r9 = r8 & 1
|
|
if (r9 == 0) goto L5
|
|
r2 = 0
|
|
L5:
|
|
r9 = r8 & 2
|
|
r0 = 1
|
|
if (r9 == 0) goto Lb
|
|
r3 = r0
|
|
Lb:
|
|
r9 = r8 & 4
|
|
if (r9 == 0) goto L10
|
|
r4 = r0
|
|
L10:
|
|
r9 = r8 & 8
|
|
if (r9 == 0) goto L16
|
|
androidx.compose.ui.window.SecureFlagPolicy r5 = androidx.compose.ui.window.SecureFlagPolicy.Inherit
|
|
L16:
|
|
r9 = r8 & 16
|
|
if (r9 == 0) goto L1b
|
|
r6 = r0
|
|
L1b:
|
|
r8 = r8 & 32
|
|
if (r8 == 0) goto L27
|
|
r9 = r0
|
|
r7 = r5
|
|
r8 = r6
|
|
r5 = r3
|
|
r6 = r4
|
|
r3 = r1
|
|
r4 = r2
|
|
goto L2e
|
|
L27:
|
|
r9 = r7
|
|
r8 = r6
|
|
r6 = r4
|
|
r7 = r5
|
|
r4 = r2
|
|
r5 = r3
|
|
r3 = r1
|
|
L2e:
|
|
r3.<init>(r4, r5, r6, r7, r8, r9)
|
|
return
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.ui.window.PopupProperties.<init>(boolean, boolean, boolean, androidx.compose.ui.window.SecureFlagPolicy, boolean, boolean, int, kotlin.jvm.internal.DefaultConstructorMarker):void");
|
|
}
|
|
|
|
public boolean equals(@Nullable Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof PopupProperties)) {
|
|
return false;
|
|
}
|
|
PopupProperties popupProperties = (PopupProperties) other;
|
|
return this.flags == popupProperties.flags && this.inheritSecurePolicy == popupProperties.inheritSecurePolicy && this.dismissOnBackPress == popupProperties.dismissOnBackPress && this.dismissOnClickOutside == popupProperties.dismissOnClickOutside && this.excludeFromSystemGesture == popupProperties.excludeFromSystemGesture && this.usePlatformDefaultWidth == popupProperties.usePlatformDefaultWidth;
|
|
}
|
|
|
|
public final boolean getClippingEnabled() {
|
|
return (this.flags & 512) == 0;
|
|
}
|
|
|
|
public final boolean getDismissOnBackPress() {
|
|
return this.dismissOnBackPress;
|
|
}
|
|
|
|
public final boolean getDismissOnClickOutside() {
|
|
return this.dismissOnClickOutside;
|
|
}
|
|
|
|
public final boolean getExcludeFromSystemGesture() {
|
|
return this.excludeFromSystemGesture;
|
|
}
|
|
|
|
/* renamed from: getFlags$ui_release, reason: from getter */
|
|
public final int getFlags() {
|
|
return this.flags;
|
|
}
|
|
|
|
public final boolean getFocusable() {
|
|
return (this.flags & 8) == 0;
|
|
}
|
|
|
|
/* renamed from: getInheritSecurePolicy$ui_release, reason: from getter */
|
|
public final boolean getInheritSecurePolicy() {
|
|
return this.inheritSecurePolicy;
|
|
}
|
|
|
|
@NotNull
|
|
public final SecureFlagPolicy getSecurePolicy() {
|
|
return this.inheritSecurePolicy ? SecureFlagPolicy.Inherit : (this.flags & 8192) == 0 ? SecureFlagPolicy.SecureOff : SecureFlagPolicy.SecureOn;
|
|
}
|
|
|
|
public final boolean getUsePlatformDefaultWidth() {
|
|
return this.usePlatformDefaultWidth;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return Boolean.hashCode(this.usePlatformDefaultWidth) + DoubleList$$ExternalSyntheticOutline0.m(this.excludeFromSystemGesture, DoubleList$$ExternalSyntheticOutline0.m(this.dismissOnClickOutside, DoubleList$$ExternalSyntheticOutline0.m(this.dismissOnBackPress, DoubleList$$ExternalSyntheticOutline0.m(this.inheritSecurePolicy, this.flags * 31, 31), 31), 31), 31);
|
|
}
|
|
|
|
public /* synthetic */ PopupProperties(int i, boolean z, boolean z2, boolean z3, boolean z4, boolean z5, int i2, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(i, (i2 & 2) != 0 ? true : z, (i2 & 4) != 0 ? true : z2, (i2 & 8) != 0 ? true : z3, (i2 & 16) != 0 ? true : z4, (i2 & 32) != 0 ? false : z5);
|
|
}
|
|
|
|
public /* synthetic */ PopupProperties(boolean z, boolean z2, boolean z3, boolean z4, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this((i & 1) != 0 ? false : z, (i & 2) != 0 ? true : z2, (i & 4) != 0 ? true : z3, (i & 8) != 0 ? true : z4);
|
|
}
|
|
|
|
public PopupProperties(boolean z, boolean z2, boolean z3, boolean z4) {
|
|
this(z, z2, z3, SecureFlagPolicy.Inherit, true, z4);
|
|
}
|
|
|
|
public PopupProperties(int i, boolean z, boolean z2, boolean z3, boolean z4, boolean z5) {
|
|
this.flags = i;
|
|
this.inheritSecurePolicy = z;
|
|
this.dismissOnBackPress = z2;
|
|
this.dismissOnClickOutside = z3;
|
|
this.excludeFromSystemGesture = z4;
|
|
this.usePlatformDefaultWidth = z5;
|
|
}
|
|
|
|
public PopupProperties(boolean z, boolean z2, boolean z3, @NotNull SecureFlagPolicy secureFlagPolicy, boolean z4, boolean z5) {
|
|
this(z, z2, z3, secureFlagPolicy, z4, z5, false);
|
|
}
|
|
|
|
public /* synthetic */ PopupProperties(boolean z, boolean z2, boolean z3, SecureFlagPolicy secureFlagPolicy, boolean z4, boolean z5, boolean z6, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this((i & 1) != 0 ? false : z, (i & 2) != 0 ? true : z2, (i & 4) != 0 ? true : z3, (i & 8) != 0 ? SecureFlagPolicy.Inherit : secureFlagPolicy, (i & 16) != 0 ? true : z4, (i & 32) != 0 ? true : z5, (i & 64) != 0 ? false : z6);
|
|
}
|
|
|
|
/* JADX WARN: Illegal instructions before constructor call */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public PopupProperties(boolean r1, boolean r2, boolean r3, @org.jetbrains.annotations.NotNull androidx.compose.ui.window.SecureFlagPolicy r4, boolean r5, boolean r6, boolean r7) {
|
|
/*
|
|
r0 = this;
|
|
int r1 = androidx.compose.ui.window.AndroidPopup_androidKt.access$createFlags(r1, r4, r6)
|
|
androidx.compose.ui.window.SecureFlagPolicy r6 = androidx.compose.ui.window.SecureFlagPolicy.Inherit
|
|
if (r4 != r6) goto Lf
|
|
r4 = 1
|
|
L9:
|
|
r6 = r3
|
|
r3 = r2
|
|
r2 = r4
|
|
r4 = r6
|
|
r6 = r7
|
|
goto L11
|
|
Lf:
|
|
r4 = 0
|
|
goto L9
|
|
L11:
|
|
r0.<init>(r1, r2, r3, r4, r5, r6)
|
|
return
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.ui.window.PopupProperties.<init>(boolean, boolean, boolean, androidx.compose.ui.window.SecureFlagPolicy, boolean, boolean, boolean):void");
|
|
}
|
|
}
|