mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-17 11:27:17 +01:00
152 lines
8.4 KiB
Java
152 lines
8.4 KiB
Java
package androidx.compose.ui.unit;
|
|
|
|
import androidx.compose.animation.core.ArcMode$$ExternalSyntheticOutline0;
|
|
import androidx.compose.runtime.Immutable;
|
|
import androidx.compose.runtime.Stable;
|
|
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.SourceDebugExtension;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Immutable
|
|
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0018\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\b\u0087\b\u0018\u0000 +2\u00020\u0001:\u0001+B'\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003¢\u0006\u0004\b\u0007\u0010\bB\u0019\b\u0016\u0012\u0006\u0010\t\u001a\u00020\n\u0012\u0006\u0010\u000b\u001a\u00020\f¢\u0006\u0004\b\u0007\u0010\rJ\u0010\u0010\u0019\u001a\u00020\u0003HÆ\u0003¢\u0006\u0004\b\u001a\u0010\u0011J\u0010\u0010\u001b\u001a\u00020\u0003HÆ\u0003¢\u0006\u0004\b\u001c\u0010\u0011J\u0010\u0010\u001d\u001a\u00020\u0003HÆ\u0003¢\u0006\u0004\b\u001e\u0010\u0011J\u0010\u0010\u001f\u001a\u00020\u0003HÆ\u0003¢\u0006\u0004\b \u0010\u0011J8\u0010!\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00032\b\b\u0002\u0010\u0006\u001a\u00020\u0003HÆ\u0001¢\u0006\u0004\b\"\u0010#J\u0013\u0010$\u001a\u00020%2\b\u0010&\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010'\u001a\u00020(HÖ\u0001J\t\u0010)\u001a\u00020*HÖ\u0001R\u001e\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\u0010\n\u0002\u0010\u0012\u0012\u0004\b\u000e\u0010\u000f\u001a\u0004\b\u0010\u0010\u0011R\u001e\u0010\u0004\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\u0010\n\u0002\u0010\u0012\u0012\u0004\b\u0013\u0010\u000f\u001a\u0004\b\u0014\u0010\u0011R\u001e\u0010\u0005\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\u0010\n\u0002\u0010\u0012\u0012\u0004\b\u0015\u0010\u000f\u001a\u0004\b\u0016\u0010\u0011R\u001e\u0010\u0006\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\u0010\n\u0002\u0010\u0012\u0012\u0004\b\u0017\u0010\u000f\u001a\u0004\b\u0018\u0010\u0011¨\u0006,"}, d2 = {"Landroidx/compose/ui/unit/DpRect;", "", "left", "Landroidx/compose/ui/unit/Dp;", "top", "right", "bottom", "<init>", "(FFFFLkotlin/jvm/internal/DefaultConstructorMarker;)V", "origin", "Landroidx/compose/ui/unit/DpOffset;", "size", "Landroidx/compose/ui/unit/DpSize;", "(JJLkotlin/jvm/internal/DefaultConstructorMarker;)V", "getLeft-D9Ej5fM$annotations", "()V", "getLeft-D9Ej5fM", "()F", "F", "getTop-D9Ej5fM$annotations", "getTop-D9Ej5fM", "getRight-D9Ej5fM$annotations", "getRight-D9Ej5fM", "getBottom-D9Ej5fM$annotations", "getBottom-D9Ej5fM", "component1", "component1-D9Ej5fM", "component2", "component2-D9Ej5fM", "component3", "component3-D9Ej5fM", "component4", "component4-D9Ej5fM", "copy", "copy-a9UjIt4", "(FFFF)Landroidx/compose/ui/unit/DpRect;", "equals", "", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "hashCode", "", "toString", "", "Companion", "ui-unit"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
@SourceDebugExtension({"SMAP\nDp.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Dp.kt\nandroidx/compose/ui/unit/DpRect\n+ 2 Dp.kt\nandroidx/compose/ui/unit/Dp\n*L\n1#1,435:1\n49#2:436\n*S KotlinDebug\n*F\n+ 1 Dp.kt\nandroidx/compose/ui/unit/DpRect\n*L\n416#1:436\n*E\n"})
|
|
/* loaded from: classes13.dex */
|
|
public final /* data */ class DpRect {
|
|
public static final int $stable = 0;
|
|
private final float bottom;
|
|
private final float left;
|
|
private final float right;
|
|
private final float top;
|
|
|
|
private DpRect(long j, long j2) {
|
|
this(DpOffset.m7429getXD9Ej5fM(j), DpOffset.m7431getYD9Ej5fM(j), Dp.m7368constructorimpl(DpSize.m7466getWidthD9Ej5fM(j2) + DpOffset.m7429getXD9Ej5fM(j)), Dp.m7368constructorimpl(DpSize.m7464getHeightD9Ej5fM(j2) + DpOffset.m7431getYD9Ej5fM(j)), null);
|
|
}
|
|
|
|
/* renamed from: copy-a9UjIt4$default, reason: not valid java name */
|
|
public static /* synthetic */ DpRect m7440copya9UjIt4$default(DpRect dpRect, float f, float f2, float f3, float f4, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
f = dpRect.left;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
f2 = dpRect.top;
|
|
}
|
|
if ((i & 4) != 0) {
|
|
f3 = dpRect.right;
|
|
}
|
|
if ((i & 8) != 0) {
|
|
f4 = dpRect.bottom;
|
|
}
|
|
return dpRect.m7449copya9UjIt4(f, f2, f3, f4);
|
|
}
|
|
|
|
/* renamed from: component1-D9Ej5fM, reason: not valid java name and from getter */
|
|
public final float getLeft() {
|
|
return this.left;
|
|
}
|
|
|
|
/* renamed from: component2-D9Ej5fM, reason: not valid java name and from getter */
|
|
public final float getTop() {
|
|
return this.top;
|
|
}
|
|
|
|
/* renamed from: component3-D9Ej5fM, reason: not valid java name and from getter */
|
|
public final float getRight() {
|
|
return this.right;
|
|
}
|
|
|
|
/* renamed from: component4-D9Ej5fM, reason: not valid java name and from getter */
|
|
public final float getBottom() {
|
|
return this.bottom;
|
|
}
|
|
|
|
@NotNull
|
|
/* renamed from: copy-a9UjIt4, reason: not valid java name */
|
|
public final DpRect m7449copya9UjIt4(float left, float top, float right, float bottom) {
|
|
return new DpRect(left, top, right, bottom, null);
|
|
}
|
|
|
|
public boolean equals(@Nullable Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof DpRect)) {
|
|
return false;
|
|
}
|
|
DpRect dpRect = (DpRect) other;
|
|
return Dp.m7373equalsimpl0(this.left, dpRect.left) && Dp.m7373equalsimpl0(this.top, dpRect.top) && Dp.m7373equalsimpl0(this.right, dpRect.right) && Dp.m7373equalsimpl0(this.bottom, dpRect.bottom);
|
|
}
|
|
|
|
/* renamed from: getBottom-D9Ej5fM, reason: not valid java name */
|
|
public final float m7450getBottomD9Ej5fM() {
|
|
return this.bottom;
|
|
}
|
|
|
|
/* renamed from: getLeft-D9Ej5fM, reason: not valid java name */
|
|
public final float m7451getLeftD9Ej5fM() {
|
|
return this.left;
|
|
}
|
|
|
|
/* renamed from: getRight-D9Ej5fM, reason: not valid java name */
|
|
public final float m7452getRightD9Ej5fM() {
|
|
return this.right;
|
|
}
|
|
|
|
/* renamed from: getTop-D9Ej5fM, reason: not valid java name */
|
|
public final float m7453getTopD9Ej5fM() {
|
|
return this.top;
|
|
}
|
|
|
|
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("DpRect(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 */
|
|
public static /* synthetic */ void m7441getBottomD9Ej5fM$annotations() {
|
|
}
|
|
|
|
@Stable
|
|
/* renamed from: getLeft-D9Ej5fM$annotations, reason: not valid java name */
|
|
public static /* synthetic */ void m7442getLeftD9Ej5fM$annotations() {
|
|
}
|
|
|
|
@Stable
|
|
/* renamed from: getRight-D9Ej5fM$annotations, reason: not valid java name */
|
|
public static /* synthetic */ void m7443getRightD9Ej5fM$annotations() {
|
|
}
|
|
|
|
@Stable
|
|
/* renamed from: getTop-D9Ej5fM$annotations, reason: not valid java name */
|
|
public static /* synthetic */ void m7444getTopD9Ej5fM$annotations() {
|
|
}
|
|
|
|
public /* synthetic */ DpRect(long j, long j2, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(j, j2);
|
|
}
|
|
|
|
private DpRect(float f, float f2, float f3, float f4) {
|
|
this.left = f;
|
|
this.top = f2;
|
|
this.right = f3;
|
|
this.bottom = f4;
|
|
}
|
|
|
|
public /* synthetic */ DpRect(float f, float f2, float f3, float f4, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(f, f2, f3, f4);
|
|
}
|
|
}
|