Rabbit-R1/original r1/java/sources/androidx/compose/foundation/layout/WindowInsetsSides.java
2024-05-21 17:08:36 -04:00

224 lines
12 KiB
Java

package androidx.compose.foundation.layout;
import kotlin.Metadata;
import kotlin.jvm.JvmInline;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: WindowInsets.kt */
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\r\n\u0002\u0010\u000e\n\u0002\b\u0006\b\u0087@\u0018\u0000 \u001a2\u00020\u0001:\u0001\u001aB\u0014\b\u0002\u0012\u0006\u0010\u0002\u001a\u00020\u0003ø\u0001\u0000¢\u0006\u0004\b\u0004\u0010\u0005J\u001a\u0010\u0006\u001a\u00020\u00072\b\u0010\b\u001a\u0004\u0018\u00010\u0001HÖ\u0003¢\u0006\u0004\b\t\u0010\nJ\u001d\u0010\u000b\u001a\u00020\u00072\u0006\u0010\f\u001a\u00020\u0000H\u0000ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\r\u0010\u000eJ\u0010\u0010\u000f\u001a\u00020\u0003HÖ\u0001¢\u0006\u0004\b\u0010\u0010\u0005J\u001e\u0010\u0011\u001a\u00020\u00002\u0006\u0010\f\u001a\u00020\u0000H\u0086\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u0012\u0010\u0013J\u000f\u0010\u0014\u001a\u00020\u0015H\u0016¢\u0006\u0004\b\u0016\u0010\u0017J\u000f\u0010\u0018\u001a\u00020\u0015H\u0002¢\u0006\u0004\b\u0019\u0010\u0017R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000\u0088\u0001\u0002\u0092\u0001\u00020\u0003ø\u0001\u0000\u0082\u0002\u000b\n\u0002\b\u0019\n\u0005\\u001e0\u0001¨\u0006\u001b"}, d2 = {"Landroidx/compose/foundation/layout/WindowInsetsSides;", "", "value", "", "constructor-impl", "(I)I", "equals", "", "other", "equals-impl", "(ILjava/lang/Object;)Z", "hasAny", "sides", "hasAny-bkgdKaI$foundation_layout_release", "(II)Z", "hashCode", "hashCode-impl", "plus", "plus-gK_yJZ4", "(II)I", "toString", "", "toString-impl", "(I)Ljava/lang/String;", "valueToString", "valueToString-impl", "Companion", "foundation-layout_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
@JvmInline
/* loaded from: classes.dex */
public final class WindowInsetsSides {
private static final int AllowLeftInLtr;
private static final int AllowLeftInRtl;
private static final int AllowRightInLtr;
private static final int AllowRightInRtl;
private static final int Bottom;
/* renamed from: Companion, reason: from kotlin metadata */
public static final Companion INSTANCE = new Companion(null);
private static final int End;
private static final int Horizontal;
private static final int Left;
private static final int Right;
private static final int Start;
private static final int Top;
private static final int Vertical;
private final int value;
/* renamed from: box-impl, reason: not valid java name */
public static final /* synthetic */ WindowInsetsSides m568boximpl(int i) {
return new WindowInsetsSides(i);
}
/* renamed from: constructor-impl, reason: not valid java name */
private static int m569constructorimpl(int i) {
return i;
}
/* renamed from: equals-impl, reason: not valid java name */
public static boolean m570equalsimpl(int i, Object obj) {
return (obj instanceof WindowInsetsSides) && i == ((WindowInsetsSides) obj).getValue();
}
/* renamed from: equals-impl0, reason: not valid java name */
public static final boolean m571equalsimpl0(int i, int i2) {
return i == i2;
}
/* renamed from: hasAny-bkgdKaI$foundation_layout_release, reason: not valid java name */
public static final boolean m572hasAnybkgdKaI$foundation_layout_release(int i, int i2) {
return (i & i2) != 0;
}
/* renamed from: hashCode-impl, reason: not valid java name */
public static int m573hashCodeimpl(int i) {
return Integer.hashCode(i);
}
public boolean equals(Object obj) {
return m570equalsimpl(this.value, obj);
}
public int hashCode() {
return m573hashCodeimpl(this.value);
}
/* renamed from: unbox-impl, reason: not valid java name and from getter */
public final /* synthetic */ int getValue() {
return this.value;
}
private /* synthetic */ WindowInsetsSides(int i) {
this.value = i;
}
/* renamed from: plus-gK_yJZ4, reason: not valid java name */
public static final int m574plusgK_yJZ4(int i, int i2) {
return m569constructorimpl(i | i2);
}
/* renamed from: toString-impl, reason: not valid java name */
public static String m575toStringimpl(int i) {
return "WindowInsetsSides(" + m576valueToStringimpl(i) + ')';
}
public String toString() {
return m575toStringimpl(this.value);
}
/* renamed from: valueToString-impl, reason: not valid java name */
private static final String m576valueToStringimpl(int i) {
StringBuilder sb = new StringBuilder();
int i2 = Start;
if ((i & i2) == i2) {
valueToString_impl$lambda$0$appendPlus(sb, "Start");
}
int i3 = Left;
if ((i & i3) == i3) {
valueToString_impl$lambda$0$appendPlus(sb, "Left");
}
int i4 = Top;
if ((i & i4) == i4) {
valueToString_impl$lambda$0$appendPlus(sb, "Top");
}
int i5 = End;
if ((i & i5) == i5) {
valueToString_impl$lambda$0$appendPlus(sb, "End");
}
int i6 = Right;
if ((i & i6) == i6) {
valueToString_impl$lambda$0$appendPlus(sb, "Right");
}
int i7 = Bottom;
if ((i & i7) == i7) {
valueToString_impl$lambda$0$appendPlus(sb, "Bottom");
}
String sb2 = sb.toString();
Intrinsics.checkNotNullExpressionValue(sb2, "StringBuilder().apply(builderAction).toString()");
return sb2;
}
private static final void valueToString_impl$lambda$0$appendPlus(StringBuilder sb, String str) {
if (sb.length() > 0) {
sb.append('+');
}
sb.append(str);
}
/* compiled from: WindowInsets.kt */
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u001a\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u001f\u0010\u0003\u001a\u00020\u0004X\u0080\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\u0005\u0010\u0006R\u001f\u0010\b\u001a\u00020\u0004X\u0080\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\t\u0010\u0006R\u001f\u0010\n\u001a\u00020\u0004X\u0080\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\u000b\u0010\u0006R\u001f\u0010\f\u001a\u00020\u0004X\u0080\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\r\u0010\u0006R\u001c\u0010\u000e\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\u000f\u0010\u0006R\u001c\u0010\u0010\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\u0011\u0010\u0006R\u001c\u0010\u0012\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\u0013\u0010\u0006R\u001c\u0010\u0014\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\u0015\u0010\u0006R\u001c\u0010\u0016\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\u0017\u0010\u0006R\u001c\u0010\u0018\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\u0019\u0010\u0006R\u001c\u0010\u001a\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\u001b\u0010\u0006R\u001c\u0010\u001c\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\u001d\u0010\u0006\u0082\u0002\u000f\n\u0002\b\u0019\n\u0005\\u001e0\u0001\n\u0002\b!¨\u0006\u001e"}, d2 = {"Landroidx/compose/foundation/layout/WindowInsetsSides$Companion;", "", "()V", "AllowLeftInLtr", "Landroidx/compose/foundation/layout/WindowInsetsSides;", "getAllowLeftInLtr-JoeWqyM$foundation_layout_release", "()I", "I", "AllowLeftInRtl", "getAllowLeftInRtl-JoeWqyM$foundation_layout_release", "AllowRightInLtr", "getAllowRightInLtr-JoeWqyM$foundation_layout_release", "AllowRightInRtl", "getAllowRightInRtl-JoeWqyM$foundation_layout_release", "Bottom", "getBottom-JoeWqyM", "End", "getEnd-JoeWqyM", "Horizontal", "getHorizontal-JoeWqyM", "Left", "getLeft-JoeWqyM", "Right", "getRight-JoeWqyM", "Start", "getStart-JoeWqyM", "Top", "getTop-JoeWqyM", "Vertical", "getVertical-JoeWqyM", "foundation-layout_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
/* renamed from: getAllowLeftInLtr-JoeWqyM$foundation_layout_release, reason: not valid java name */
public final int m578getAllowLeftInLtrJoeWqyM$foundation_layout_release() {
return WindowInsetsSides.AllowLeftInLtr;
}
/* renamed from: getAllowRightInLtr-JoeWqyM$foundation_layout_release, reason: not valid java name */
public final int m580getAllowRightInLtrJoeWqyM$foundation_layout_release() {
return WindowInsetsSides.AllowRightInLtr;
}
/* renamed from: getAllowLeftInRtl-JoeWqyM$foundation_layout_release, reason: not valid java name */
public final int m579getAllowLeftInRtlJoeWqyM$foundation_layout_release() {
return WindowInsetsSides.AllowLeftInRtl;
}
/* renamed from: getAllowRightInRtl-JoeWqyM$foundation_layout_release, reason: not valid java name */
public final int m581getAllowRightInRtlJoeWqyM$foundation_layout_release() {
return WindowInsetsSides.AllowRightInRtl;
}
/* renamed from: getStart-JoeWqyM, reason: not valid java name */
public final int m587getStartJoeWqyM() {
return WindowInsetsSides.Start;
}
/* renamed from: getEnd-JoeWqyM, reason: not valid java name */
public final int m583getEndJoeWqyM() {
return WindowInsetsSides.End;
}
/* renamed from: getTop-JoeWqyM, reason: not valid java name */
public final int m588getTopJoeWqyM() {
return WindowInsetsSides.Top;
}
/* renamed from: getBottom-JoeWqyM, reason: not valid java name */
public final int m582getBottomJoeWqyM() {
return WindowInsetsSides.Bottom;
}
/* renamed from: getLeft-JoeWqyM, reason: not valid java name */
public final int m585getLeftJoeWqyM() {
return WindowInsetsSides.Left;
}
/* renamed from: getRight-JoeWqyM, reason: not valid java name */
public final int m586getRightJoeWqyM() {
return WindowInsetsSides.Right;
}
/* renamed from: getHorizontal-JoeWqyM, reason: not valid java name */
public final int m584getHorizontalJoeWqyM() {
return WindowInsetsSides.Horizontal;
}
/* renamed from: getVertical-JoeWqyM, reason: not valid java name */
public final int m589getVerticalJoeWqyM() {
return WindowInsetsSides.Vertical;
}
}
static {
int m569constructorimpl = m569constructorimpl(8);
AllowLeftInLtr = m569constructorimpl;
int m569constructorimpl2 = m569constructorimpl(4);
AllowRightInLtr = m569constructorimpl2;
int m569constructorimpl3 = m569constructorimpl(2);
AllowLeftInRtl = m569constructorimpl3;
int m569constructorimpl4 = m569constructorimpl(1);
AllowRightInRtl = m569constructorimpl4;
Start = m574plusgK_yJZ4(m569constructorimpl, m569constructorimpl4);
End = m574plusgK_yJZ4(m569constructorimpl2, m569constructorimpl3);
int m569constructorimpl5 = m569constructorimpl(16);
Top = m569constructorimpl5;
int m569constructorimpl6 = m569constructorimpl(32);
Bottom = m569constructorimpl6;
int m574plusgK_yJZ4 = m574plusgK_yJZ4(m569constructorimpl, m569constructorimpl3);
Left = m574plusgK_yJZ4;
int m574plusgK_yJZ42 = m574plusgK_yJZ4(m569constructorimpl2, m569constructorimpl4);
Right = m574plusgK_yJZ42;
Horizontal = m574plusgK_yJZ4(m574plusgK_yJZ4, m574plusgK_yJZ42);
Vertical = m574plusgK_yJZ4(m569constructorimpl5, m569constructorimpl6);
}
}