alexandroid/decompiled/jadx/sources/androidx/compose/foundation/layout/PaddingValues.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

144 lines
10 KiB
Java

package androidx.compose.foundation.layout;
import androidx.compose.animation.core.ArcMode$$ExternalSyntheticOutline0;
import androidx.compose.runtime.Immutable;
import androidx.compose.runtime.Stable;
import androidx.compose.ui.unit.Dp;
import androidx.compose.ui.unit.LayoutDirection;
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
import com.facebook.react.uimanager.ViewProps;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.SourceDebugExtension;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import rx.Single$$ExternalSyntheticBUOutline0;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@Stable
@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\u0015\u0010\u0002\u001a\u00020\u0003H&ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\u0004\u0010\u0005J\u001d\u0010\u0006\u001a\u00020\u00032\u0006\u0010\u0007\u001a\u00020\bH&ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\t\u0010\nJ\u001d\u0010\u000b\u001a\u00020\u00032\u0006\u0010\u0007\u001a\u00020\bH&ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\f\u0010\nJ\u0015\u0010\r\u001a\u00020\u0003H&ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\u000e\u0010\u0005ø\u0001\u0002\u0082\u0002\u0011\n\u0002\b!\n\u0005\b¡\u001e0\u0001\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", ViewProps.LAYOUT_DIRECTION, "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 mo816calculateLeftPaddingu2uoSUM(@NotNull LayoutDirection layoutDirection);
/* renamed from: calculateRightPadding-u2uoSUM */
float mo817calculateRightPaddingu2uoSUM(@NotNull LayoutDirection layoutDirection);
/* renamed from: calculateTopPadding-D9Ej5fM */
float getTop();
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@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\u0001B-\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¢\u0006\u0002\u0010\u0007J\u0015\u0010\u000e\u001a\u00020\u0003H\u0016ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u000f\u0010\u0010J\u001d\u0010\u0011\u001a\u00020\u00032\u0006\u0010\u0012\u001a\u00020\u0013H\u0016ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u0014\u0010\u0015J\u001d\u0010\u0016\u001a\u00020\u00032\u0006\u0010\u0012\u001a\u00020\u0013H\u0016ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u0017\u0010\u0015J\u0015\u0010\u0018\u001a\u00020\u0003H\u0016ø\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\u001e\u0010\u0006\u001a\u00020\u00038\u0002X\u0083\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\n\n\u0002\u0010\n\u0012\u0004\b\b\u0010\tR\u001e\u0010\u0002\u001a\u00020\u00038\u0002X\u0083\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\n\n\u0002\u0010\n\u0012\u0004\b\u000b\u0010\tR\u001e\u0010\u0005\u001a\u00020\u00038\u0002X\u0083\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\n\n\u0002\u0010\n\u0012\u0004\b\f\u0010\tR\u001e\u0010\u0004\u001a\u00020\u00038\u0002X\u0083\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\n\n\u0002\u0010\n\u0012\u0004\b\r\u0010\t\u0082\u0002\u000b\n\u0005\b¡\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", ViewProps.LAYOUT_DIRECTION, "Landroidx/compose/ui/unit/LayoutDirection;", "calculateLeftPadding-u2uoSUM", "(Landroidx/compose/ui/unit/LayoutDirection;)F", "calculateRightPadding", "calculateRightPadding-u2uoSUM", "calculateTopPadding", "calculateTopPadding-D9Ej5fM", "equals", "", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "", "hashCode", "", "toString", "", "foundation-layout_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
@Immutable
@SourceDebugExtension({"SMAP\nPadding.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Padding.kt\nandroidx/compose/foundation/layout/PaddingValues$Absolute\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 3 Dp.kt\nandroidx/compose/ui/unit/DpKt\n*L\n1#1,484:1\n1#2:485\n149#3:486\n149#3:487\n149#3:488\n149#3:489\n*S KotlinDebug\n*F\n+ 1 Padding.kt\nandroidx/compose/foundation/layout/PaddingValues$Absolute\n*L\n208#1:486\n210#1:487\n212#1:488\n214#1:489\n*E\n"})
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;
private Absolute(float f, float f2, float f3, float f4) {
this.left = f;
this.top = f2;
this.right = f3;
this.bottom = f4;
if (f < 0.0f) {
Single$$ExternalSyntheticBUOutline0.m$3("Left padding must be non-negative");
throw null;
}
if (f2 < 0.0f) {
Single$$ExternalSyntheticBUOutline0.m$3("Top padding must be non-negative");
throw null;
}
if (f3 < 0.0f) {
Single$$ExternalSyntheticBUOutline0.m$3("Right padding must be non-negative");
throw null;
}
if (f4 >= 0.0f) {
return;
}
Single$$ExternalSyntheticBUOutline0.m$3("Bottom padding must be non-negative");
throw null;
}
@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 mo816calculateLeftPaddingu2uoSUM(@NotNull LayoutDirection layoutDirection) {
return this.left;
}
@Override // androidx.compose.foundation.layout.PaddingValues
/* renamed from: calculateRightPadding-u2uoSUM */
public float mo817calculateRightPaddingu2uoSUM(@NotNull LayoutDirection layoutDirection) {
return this.right;
}
@Override // androidx.compose.foundation.layout.PaddingValues
/* renamed from: calculateTopPadding-D9Ej5fM, reason: from getter */
public float getTop() {
return this.top;
}
public boolean equals(@Nullable Object other) {
if (!(other instanceof Absolute)) {
return false;
}
Absolute absolute = (Absolute) other;
return Dp.m7373equalsimpl0(this.left, absolute.left) && Dp.m7373equalsimpl0(this.top, absolute.top) && Dp.m7373equalsimpl0(this.right, absolute.right) && Dp.m7373equalsimpl0(this.bottom, absolute.bottom);
}
public int hashCode() {
return Dp.m7374hashCodeimpl(this.bottom) + ArcMode$$ExternalSyntheticOutline0.m(this.right, ArcMode$$ExternalSyntheticOutline0.m(this.top, Dp.m7374hashCodeimpl(this.left) * 31, 31), 31);
}
@NotNull
public String toString() {
StringBuilder sb = new StringBuilder("PaddingValues.Absolute(left=");
ArcMode$$ExternalSyntheticOutline0.m(sb, ", top=", this.left);
ArcMode$$ExternalSyntheticOutline0.m(sb, ", right=", this.top);
ArcMode$$ExternalSyntheticOutline0.m(sb, ", bottom=", this.right);
sb.append((Object) Dp.m7379toStringimpl(this.bottom));
sb.append(')');
return sb.toString();
}
@Stable
/* renamed from: getBottom-D9Ej5fM$annotations, reason: not valid java name */
private static /* synthetic */ void m878getBottomD9Ej5fM$annotations() {
}
@Stable
/* renamed from: getLeft-D9Ej5fM$annotations, reason: not valid java name */
private static /* synthetic */ void m879getLeftD9Ej5fM$annotations() {
}
@Stable
/* renamed from: getRight-D9Ej5fM$annotations, reason: not valid java name */
private static /* synthetic */ void m880getRightD9Ej5fM$annotations() {
}
@Stable
/* renamed from: getTop-D9Ej5fM$annotations, reason: not valid java name */
private static /* synthetic */ void m881getTopD9Ej5fM$annotations() {
}
public /* synthetic */ Absolute(float f, float f2, float f3, float f4, DefaultConstructorMarker defaultConstructorMarker) {
this(f, f2, f3, f4);
}
public /* synthetic */ Absolute(float f, float f2, float f3, float f4, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? Dp.m7368constructorimpl(0) : f, (i & 2) != 0 ? Dp.m7368constructorimpl(0) : f2, (i & 4) != 0 ? Dp.m7368constructorimpl(0) : f3, (i & 8) != 0 ? Dp.m7368constructorimpl(0) : f4, null);
}
}
}