alexandroid/decompiled/jadx/sources/androidx/compose/ui/unit/IntOffset.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

189 lines
10 KiB
Java

package androidx.compose.ui.unit;
import androidx.compose.runtime.Immutable;
import androidx.compose.runtime.Stable;
import com.amazon.alexa.ra.core.ui.markdown.parser.formatter.MarkdownConstants;
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
import kotlin.Metadata;
import kotlin.jvm.JvmInline;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.SourceDebugExtension;
import org.jetbrains.annotations.NotNull;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\t\n\u0002\b\u0005\n\u0002\u0010\b\n\u0002\b\u0018\n\u0002\u0010\u0007\n\u0002\b\b\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0003\b\u0087@\u0018\u0000 12\u00020\u0001:\u00011B\u000f\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0004\b\u0004\u0010\u0005J\u0010\u0010\u0011\u001a\u00020\tH\u0087\n¢\u0006\u0004\b\u0012\u0010\rJ\u0010\u0010\u0013\u001a\u00020\tH\u0087\n¢\u0006\u0004\b\u0014\u0010\rJ!\u0010\u0015\u001a\u00020\u00002\b\b\u0002\u0010\b\u001a\u00020\t2\b\b\u0002\u0010\u000e\u001a\u00020\t¢\u0006\u0004\b\u0016\u0010\u0017J\u0018\u0010\u0018\u001a\u00020\u00002\u0006\u0010\u0019\u001a\u00020\u0000H\u0087\u0002¢\u0006\u0004\b\u001a\u0010\u001bJ\u0018\u0010\u001c\u001a\u00020\u00002\u0006\u0010\u0019\u001a\u00020\u0000H\u0087\u0002¢\u0006\u0004\b\u001d\u0010\u001bJ\u0010\u0010\u001e\u001a\u00020\u0000H\u0087\u0002¢\u0006\u0004\b\u001f\u0010\u0005J\u0018\u0010 \u001a\u00020\u00002\u0006\u0010!\u001a\u00020\"H\u0087\u0002¢\u0006\u0004\b#\u0010$J\u0018\u0010%\u001a\u00020\u00002\u0006\u0010!\u001a\u00020\"H\u0087\u0002¢\u0006\u0004\b&\u0010$J\u0018\u0010'\u001a\u00020\u00002\u0006\u0010!\u001a\u00020\tH\u0087\u0002¢\u0006\u0004\b(\u0010)J\u000f\u0010*\u001a\u00020+H\u0017¢\u0006\u0004\b,\u0010-J\u0013\u0010.\u001a\u00020/2\b\u0010\u0019\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u00100\u001a\u00020\tHÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u001a\u0010\b\u001a\u00020\t8FX\u0087\u0004¢\u0006\f\u0012\u0004\b\n\u0010\u000b\u001a\u0004\b\f\u0010\rR\u001a\u0010\u000e\u001a\u00020\t8FX\u0087\u0004¢\u0006\f\u0012\u0004\b\u000f\u0010\u000b\u001a\u0004\b\u0010\u0010\r\u0088\u0001\u0002¨\u00062"}, d2 = {"Landroidx/compose/ui/unit/IntOffset;", "", "packedValue", "", "constructor-impl", "(J)J", "getPackedValue", "()J", "x", "", "getX$annotations", "()V", "getX-impl", "(J)I", "y", "getY$annotations", "getY-impl", "component1", "component1-impl", "component2", "component2-impl", "copy", "copy-iSbpLlY", "(JII)J", "minus", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "minus-qkQi6aY", "(JJ)J", "plus", "plus-qkQi6aY", "unaryMinus", "unaryMinus-nOcc-ac", "times", "operand", "", "times-Bjo55l4", "(JF)J", "div", "div-Bjo55l4", "rem", "rem-Bjo55l4", "(JI)J", "toString", "", "toString-impl", "(J)Ljava/lang/String;", "equals", "", "hashCode", "Companion", "ui-unit"}, k = 1, mv = {2, 0, 0}, xi = 48)
@Immutable
@JvmInline
@SourceDebugExtension({"SMAP\nIntOffset.kt\nKotlin\n*S Kotlin\n*F\n+ 1 IntOffset.kt\nandroidx/compose/ui/unit/IntOffset\n+ 2 InlineClassHelper.kt\nandroidx/compose/ui/util/InlineClassHelperKt\n+ 3 InlineClassHelper.jvm.kt\nandroidx/compose/ui/util/InlineClassHelper_jvmKt\n*L\n1#1,171:1\n85#2:172\n90#2:173\n80#2:174\n85#2,6:175\n85#2:181\n90#2:182\n80#2:183\n85#2:184\n90#2:185\n80#2:186\n85#2,6:187\n80#2:193\n85#2:194\n90#2:196\n80#2:198\n85#2:199\n90#2:201\n80#2:203\n85#2,6:204\n80#2:210\n26#3:195\n26#3:197\n26#3:200\n26#3:202\n*S KotlinDebug\n*F\n+ 1 IntOffset.kt\nandroidx/compose/ui/unit/IntOffset\n*L\n54#1:172\n59#1:173\n67#1:174\n66#1:175,6\n74#1:181\n75#1:182\n73#1:183\n84#1:184\n85#1:185\n83#1:186\n92#1:187,6\n92#1:193\n105#1:194\n106#1:196\n104#1:198\n121#1:199\n122#1:201\n120#1:203\n134#1:204,6\n134#1:210\n105#1:195\n106#1:197\n121#1:200\n122#1:202\n*E\n"})
/* loaded from: classes13.dex */
public final class IntOffset {
private final long packedValue;
/* renamed from: Companion, reason: from kotlin metadata */
@NotNull
public static final Companion INSTANCE = new Companion(null);
private static final long Zero = m7490constructorimpl(0);
private static final long Max = m7490constructorimpl(9223372034707292159L);
private /* synthetic */ IntOffset(long j) {
this.packedValue = j;
}
/* renamed from: box-impl, reason: not valid java name */
public static final /* synthetic */ IntOffset m7487boximpl(long j) {
return new IntOffset(j);
}
@Stable
/* renamed from: component1-impl, reason: not valid java name */
public static final int m7488component1impl(long j) {
return m7496getXimpl(j);
}
@Stable
/* renamed from: component2-impl, reason: not valid java name */
public static final int m7489component2impl(long j) {
return m7497getYimpl(j);
}
/* renamed from: copy-iSbpLlY, reason: not valid java name */
public static final long m7491copyiSbpLlY(long j, int i, int i2) {
return m7490constructorimpl((i << 32) | (i2 & 4294967295L));
}
/* renamed from: copy-iSbpLlY$default, reason: not valid java name */
public static /* synthetic */ long m7492copyiSbpLlY$default(long j, int i, int i2, int i3, Object obj) {
if ((i3 & 1) != 0) {
i = (int) (j >> 32);
}
if ((i3 & 2) != 0) {
i2 = (int) (4294967295L & j);
}
return m7491copyiSbpLlY(j, i, i2);
}
@Stable
/* renamed from: div-Bjo55l4, reason: not valid java name */
public static final long m7493divBjo55l4(long j, float f) {
return m7490constructorimpl((Math.round(((int) (j >> 32)) / f) << 32) | (Math.round(((int) (j & 4294967295L)) / f) & 4294967295L));
}
/* renamed from: equals-impl, reason: not valid java name */
public static boolean m7494equalsimpl(long j, Object obj) {
return (obj instanceof IntOffset) && j == ((IntOffset) obj).m7505unboximpl();
}
/* renamed from: equals-impl0, reason: not valid java name */
public static final boolean m7495equalsimpl0(long j, long j2) {
return j == j2;
}
/* renamed from: getX-impl, reason: not valid java name */
public static final int m7496getXimpl(long j) {
return (int) (j >> 32);
}
/* renamed from: getY-impl, reason: not valid java name */
public static final int m7497getYimpl(long j) {
return (int) (j & 4294967295L);
}
/* renamed from: hashCode-impl, reason: not valid java name */
public static int m7498hashCodeimpl(long j) {
return Long.hashCode(j);
}
@Stable
/* renamed from: minus-qkQi6aY, reason: not valid java name */
public static final long m7499minusqkQi6aY(long j, long j2) {
return m7490constructorimpl(((((int) (j >> 32)) - ((int) (j2 >> 32))) << 32) | ((((int) (j & 4294967295L)) - ((int) (j2 & 4294967295L))) & 4294967295L));
}
@Stable
/* renamed from: plus-qkQi6aY, reason: not valid java name */
public static final long m7500plusqkQi6aY(long j, long j2) {
return m7490constructorimpl(((((int) (j >> 32)) + ((int) (j2 >> 32))) << 32) | ((((int) (j & 4294967295L)) + ((int) (j2 & 4294967295L))) & 4294967295L));
}
@Stable
/* renamed from: rem-Bjo55l4, reason: not valid java name */
public static final long m7501remBjo55l4(long j, int i) {
return m7490constructorimpl(((((int) (j >> 32)) % i) << 32) | ((((int) (j & 4294967295L)) % i) & 4294967295L));
}
@Stable
/* renamed from: times-Bjo55l4, reason: not valid java name */
public static final long m7502timesBjo55l4(long j, float f) {
return m7490constructorimpl((Math.round(((int) (j >> 32)) * f) << 32) | (Math.round(((int) (j & 4294967295L)) * f) & 4294967295L));
}
@Stable
@NotNull
/* renamed from: toString-impl, reason: not valid java name */
public static String m7503toStringimpl(long j) {
return MarkdownConstants.LEFT_PARENTHESIS + m7496getXimpl(j) + ", " + m7497getYimpl(j) + ')';
}
@Stable
/* renamed from: unaryMinus-nOcc-ac, reason: not valid java name */
public static final long m7504unaryMinusnOccac(long j) {
return m7490constructorimpl(((-((int) (j & 4294967295L))) & 4294967295L) | ((-((int) (j >> 32))) << 32));
}
public boolean equals(Object other) {
return m7494equalsimpl(this.packedValue, other);
}
public final long getPackedValue() {
return this.packedValue;
}
public int hashCode() {
return m7498hashCodeimpl(this.packedValue);
}
@Stable
@NotNull
public String toString() {
return m7503toStringimpl(this.packedValue);
}
/* renamed from: unbox-impl, reason: not valid java name */
public final /* synthetic */ long m7505unboximpl() {
return this.packedValue;
}
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003R\u0013\u0010\u0004\u001a\u00020\u0005¢\u0006\n\n\u0002\u0010\b\u001a\u0004\b\u0006\u0010\u0007R\u0013\u0010\t\u001a\u00020\u0005¢\u0006\n\n\u0002\u0010\b\u001a\u0004\b\n\u0010\u0007¨\u0006\u000b"}, d2 = {"Landroidx/compose/ui/unit/IntOffset$Companion;", "", "<init>", "()V", "Zero", "Landroidx/compose/ui/unit/IntOffset;", "getZero-nOcc-ac", "()J", "J", "Max", "getMax-nOcc-ac", "ui-unit"}, k = 1, mv = {2, 0, 0}, xi = 48)
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
/* renamed from: getMax-nOcc-ac, reason: not valid java name */
public final long m7506getMaxnOccac() {
return IntOffset.Max;
}
/* renamed from: getZero-nOcc-ac, reason: not valid java name */
public final long m7507getZeronOccac() {
return IntOffset.Zero;
}
private Companion() {
}
}
@Stable
public static /* synthetic */ void getX$annotations() {
}
@Stable
public static /* synthetic */ void getY$annotations() {
}
/* renamed from: constructor-impl, reason: not valid java name */
public static long m7490constructorimpl(long j) {
return j;
}
}