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

108 lines
8.5 KiB
Java

package androidx.compose.foundation.layout;
import androidx.compose.ui.unit.Dp;
import androidx.compose.ui.unit.LayoutDirection;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: Padding.kt */
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\b\bg\u0018\u00002\u00020\u0001:\u0001\u000fJ\u0018\u0010\u0002\u001a\u00020\u0003H&ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\u0004\b\u0004\u0010\u0005J \u0010\u0006\u001a\u00020\u00032\u0006\u0010\u0007\u001a\u00020\bH&ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\u0004\b\t\u0010\nJ \u0010\u000b\u001a\u00020\u00032\u0006\u0010\u0007\u001a\u00020\bH&ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\u0004\b\f\u0010\nJ\u0018\u0010\r\u001a\u00020\u0003H&ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\u0004\b\u000e\u0010\u0005ø\u0001\u0003\u0082\u0002\u0015\n\u0002\b!\n\u0005\\u001e0\u0001\n\u0002\b\u0019\n\u0004\b!0\u0001¨\u0006\u0010À\u0006\u0001"}, d2 = {"Landroidx/compose/foundation/layout/PaddingValues;", "", "calculateBottomPadding", "Landroidx/compose/ui/unit/Dp;", "calculateBottomPadding-D9Ej5fM", "()F", "calculateLeftPadding", "layoutDirection", "Landroidx/compose/ui/unit/LayoutDirection;", "calculateLeftPadding-u2uoSUM", "(Landroidx/compose/ui/unit/LayoutDirection;)F", "calculateRightPadding", "calculateRightPadding-u2uoSUM", "calculateTopPadding", "calculateTopPadding-D9Ej5fM", "Absolute", "foundation-layout_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public interface PaddingValues {
/* renamed from: calculateBottomPadding-D9Ej5fM */
float getBottom();
/* renamed from: calculateLeftPadding-u2uoSUM */
float mo441calculateLeftPaddingu2uoSUM(LayoutDirection layoutDirection);
/* renamed from: calculateRightPadding-u2uoSUM */
float mo442calculateRightPaddingu2uoSUM(LayoutDirection layoutDirection);
/* renamed from: calculateTopPadding-D9Ej5fM */
float getTop();
/* compiled from: Padding.kt */
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u000f\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0007\u0018\u00002\u00020\u0001B0\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0005\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0006\u001a\u00020\u0003ø\u0001\u0000¢\u0006\u0002\u0010\u0007J\u0018\u0010\u000e\u001a\u00020\u0003H\u0016ø\u0001\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u000f\u0010\u0010J \u0010\u0011\u001a\u00020\u00032\u0006\u0010\u0012\u001a\u00020\u0013H\u0016ø\u0001\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u0014\u0010\u0015J \u0010\u0016\u001a\u00020\u00032\u0006\u0010\u0012\u001a\u00020\u0013H\u0016ø\u0001\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u0017\u0010\u0015J\u0018\u0010\u0018\u001a\u00020\u0003H\u0016ø\u0001\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u0019\u0010\u0010J\u0013\u0010\u001a\u001a\u00020\u001b2\b\u0010\u001c\u001a\u0004\u0018\u00010\u001dH\u0096\u0002J\b\u0010\u001e\u001a\u00020\u001fH\u0016J\b\u0010 \u001a\u00020!H\u0016R!\u0010\u0006\u001a\u00020\u00038\u0002X\u0083\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\n\u0012\u0004\b\b\u0010\tR!\u0010\u0002\u001a\u00020\u00038\u0002X\u0083\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\n\u0012\u0004\b\u000b\u0010\tR!\u0010\u0005\u001a\u00020\u00038\u0002X\u0083\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\n\u0012\u0004\b\f\u0010\tR!\u0010\u0004\u001a\u00020\u00038\u0002X\u0083\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\n\u0012\u0004\b\r\u0010\t\u0082\u0002\u000f\n\u0002\b\u0019\n\u0005\\u001e0\u0001\n\u0002\b!¨\u0006\""}, d2 = {"Landroidx/compose/foundation/layout/PaddingValues$Absolute;", "Landroidx/compose/foundation/layout/PaddingValues;", "left", "Landroidx/compose/ui/unit/Dp;", "top", "right", "bottom", "(FFFFLkotlin/jvm/internal/DefaultConstructorMarker;)V", "getBottom-D9Ej5fM$annotations", "()V", "F", "getLeft-D9Ej5fM$annotations", "getRight-D9Ej5fM$annotations", "getTop-D9Ej5fM$annotations", "calculateBottomPadding", "calculateBottomPadding-D9Ej5fM", "()F", "calculateLeftPadding", "layoutDirection", "Landroidx/compose/ui/unit/LayoutDirection;", "calculateLeftPadding-u2uoSUM", "(Landroidx/compose/ui/unit/LayoutDirection;)F", "calculateRightPadding", "calculateRightPadding-u2uoSUM", "calculateTopPadding", "calculateTopPadding-D9Ej5fM", "equals", "", "other", "", "hashCode", "", "toString", "", "foundation-layout_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class Absolute implements PaddingValues {
public static final int $stable = 0;
private final float bottom;
private final float left;
private final float right;
private final float top;
public /* synthetic */ Absolute(float f, float f2, float f3, float f4, DefaultConstructorMarker defaultConstructorMarker) {
this(f, f2, f3, f4);
}
/* renamed from: getBottom-D9Ej5fM$annotations, reason: not valid java name */
private static /* synthetic */ void m503getBottomD9Ej5fM$annotations() {
}
/* renamed from: getLeft-D9Ej5fM$annotations, reason: not valid java name */
private static /* synthetic */ void m504getLeftD9Ej5fM$annotations() {
}
/* renamed from: getRight-D9Ej5fM$annotations, reason: not valid java name */
private static /* synthetic */ void m505getRightD9Ej5fM$annotations() {
}
/* renamed from: getTop-D9Ej5fM$annotations, reason: not valid java name */
private static /* synthetic */ void m506getTopD9Ej5fM$annotations() {
}
@Override // androidx.compose.foundation.layout.PaddingValues
/* renamed from: calculateBottomPadding-D9Ej5fM, reason: from getter */
public float getBottom() {
return this.bottom;
}
@Override // androidx.compose.foundation.layout.PaddingValues
/* renamed from: calculateLeftPadding-u2uoSUM */
public float mo441calculateLeftPaddingu2uoSUM(LayoutDirection layoutDirection) {
Intrinsics.checkNotNullParameter(layoutDirection, "layoutDirection");
return this.left;
}
@Override // androidx.compose.foundation.layout.PaddingValues
/* renamed from: calculateRightPadding-u2uoSUM */
public float mo442calculateRightPaddingu2uoSUM(LayoutDirection layoutDirection) {
Intrinsics.checkNotNullParameter(layoutDirection, "layoutDirection");
return this.right;
}
@Override // androidx.compose.foundation.layout.PaddingValues
/* renamed from: calculateTopPadding-D9Ej5fM, reason: from getter */
public float getTop() {
return this.top;
}
private Absolute(float f, float f2, float f3, float f4) {
this.left = f;
this.top = f2;
this.right = f3;
this.bottom = f4;
}
public boolean equals(Object other) {
if (!(other instanceof Absolute)) {
return false;
}
Absolute absolute = (Absolute) other;
return Dp.m4888equalsimpl0(this.left, absolute.left) && Dp.m4888equalsimpl0(this.top, absolute.top) && Dp.m4888equalsimpl0(this.right, absolute.right) && Dp.m4888equalsimpl0(this.bottom, absolute.bottom);
}
public int hashCode() {
return (((((Dp.m4889hashCodeimpl(this.left) * 31) + Dp.m4889hashCodeimpl(this.top)) * 31) + Dp.m4889hashCodeimpl(this.right)) * 31) + Dp.m4889hashCodeimpl(this.bottom);
}
public String toString() {
return "PaddingValues.Absolute(left=" + ((Object) Dp.m4894toStringimpl(this.left)) + ", top=" + ((Object) Dp.m4894toStringimpl(this.top)) + ", right=" + ((Object) Dp.m4894toStringimpl(this.right)) + ", bottom=" + ((Object) Dp.m4894toStringimpl(this.bottom)) + ')';
}
public /* synthetic */ Absolute(float f, float f2, float f3, float f4, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? Dp.m4883constructorimpl(0) : f, (i & 2) != 0 ? Dp.m4883constructorimpl(0) : f2, (i & 4) != 0 ? Dp.m4883constructorimpl(0) : f3, (i & 8) != 0 ? Dp.m4883constructorimpl(0) : f4, null);
}
}
}