mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-17 11:27:17 +01:00
192 lines
11 KiB
Java
192 lines
11 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 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\t\n\u0002\b\u0003\n\u0002\u0010\u0007\n\u0002\b\u001f\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087@\u0018\u0000 .2\u00020\u0001:\u0001.B\u0011\b\u0000\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0004\b\u0004\u0010\u0005J\u0010\u0010\u000f\u001a\u00020\u0007H\u0087\n¢\u0006\u0004\b\u0010\u0010\u000bJ\u0010\u0010\u0011\u001a\u00020\u0007H\u0087\n¢\u0006\u0004\b\u0012\u0010\u000bJ!\u0010\u0013\u001a\u00020\u00002\b\b\u0002\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\f\u001a\u00020\u0007¢\u0006\u0004\b\u0014\u0010\u0015J\u0010\u0010\u0016\u001a\u00020\u0000H\u0087\u0002¢\u0006\u0004\b\u0017\u0010\u0005J\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\u0018\u0010\u001e\u001a\u00020\u00002\u0006\u0010\u001f\u001a\u00020\u0007H\u0087\u0002¢\u0006\u0004\b \u0010!J\u0018\u0010\"\u001a\u00020\u00002\u0006\u0010\u001f\u001a\u00020\u0007H\u0087\u0002¢\u0006\u0004\b#\u0010!J\u0018\u0010$\u001a\u00020\u00002\u0006\u0010\u001f\u001a\u00020\u0007H\u0087\u0002¢\u0006\u0004\b%\u0010!J\u000f\u0010&\u001a\u00020'H\u0016¢\u0006\u0004\b(\u0010)J\u0013\u0010*\u001a\u00020+2\b\u0010\u0019\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010,\u001a\u00020-HÖ\u0001R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u001a\u0010\u0006\u001a\u00020\u00078FX\u0087\u0004¢\u0006\f\u0012\u0004\b\b\u0010\t\u001a\u0004\b\n\u0010\u000bR\u001a\u0010\f\u001a\u00020\u00078FX\u0087\u0004¢\u0006\f\u0012\u0004\b\r\u0010\t\u001a\u0004\b\u000e\u0010\u000b\u0088\u0001\u0002\u0092\u0001\u00020\u0003¨\u0006/"}, d2 = {"Landroidx/compose/ui/unit/Velocity;", "", "packedValue", "", "constructor-impl", "(J)J", "x", "", "getX$annotations", "()V", "getX-impl", "(J)F", "y", "getY$annotations", "getY-impl", "component1", "component1-impl", "component2", "component2-impl", "copy", "copy-OhffZ5M", "(JFF)J", "unaryMinus", "unaryMinus-9UxMQ8M", "minus", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "minus-AH228Gc", "(JJ)J", "plus", "plus-AH228Gc", "times", "operand", "times-adjELrA", "(JF)J", "div", "div-adjELrA", "rem", "rem-adjELrA", "toString", "", "toString-impl", "(J)Ljava/lang/String;", "equals", "", "hashCode", "", "Companion", "ui-unit"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
@Immutable
|
|
@JvmInline
|
|
@SourceDebugExtension({"SMAP\nVelocity.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Velocity.kt\nandroidx/compose/ui/unit/Velocity\n+ 2 InlineClassHelper.kt\nandroidx/compose/ui/util/InlineClassHelperKt\n+ 3 InlineClassHelper.jvm.kt\nandroidx/compose/ui/util/InlineClassHelper_jvmKt\n*L\n1#1,147:1\n60#2:148\n70#2:150\n53#2,3:152\n60#2:155\n70#2:157\n60#2:158\n70#2:160\n53#2,3:162\n60#2:165\n70#2:167\n53#2,3:169\n60#2:172\n70#2:174\n53#2,3:175\n60#2:178\n70#2:180\n53#2,3:181\n60#2:184\n70#2:186\n53#2,3:187\n22#3:149\n22#3:151\n22#3:156\n22#3:159\n22#3:161\n22#3:166\n22#3:168\n22#3:173\n22#3:179\n22#3:185\n*S KotlinDebug\n*F\n+ 1 Velocity.kt\nandroidx/compose/ui/unit/Velocity\n*L\n42#1:148\n47#1:150\n57#1:152,3\n56#1:155\n56#1:157\n89#1:158\n90#1:160\n88#1:162,3\n104#1:165\n105#1:167\n103#1:169,3\n118#1:172\n118#1:174\n118#1:175,3\n130#1:178\n130#1:180\n130#1:181,3\n142#1:184\n142#1:186\n142#1:187,3\n42#1:149\n47#1:151\n56#1:156\n89#1:159\n90#1:161\n104#1:166\n105#1:168\n118#1:173\n130#1:179\n142#1:185\n*E\n"})
|
|
/* loaded from: classes13.dex */
|
|
public final class Velocity {
|
|
|
|
/* renamed from: Companion, reason: from kotlin metadata */
|
|
@NotNull
|
|
public static final Companion INSTANCE = new Companion(null);
|
|
private static final long Zero = m7600constructorimpl(0);
|
|
private final long packedValue;
|
|
|
|
private /* synthetic */ Velocity(long j) {
|
|
this.packedValue = j;
|
|
}
|
|
|
|
/* renamed from: box-impl, reason: not valid java name */
|
|
public static final /* synthetic */ Velocity m7597boximpl(long j) {
|
|
return new Velocity(j);
|
|
}
|
|
|
|
@Stable
|
|
/* renamed from: component1-impl, reason: not valid java name */
|
|
public static final float m7598component1impl(long j) {
|
|
return m7606getXimpl(j);
|
|
}
|
|
|
|
@Stable
|
|
/* renamed from: component2-impl, reason: not valid java name */
|
|
public static final float m7599component2impl(long j) {
|
|
return m7607getYimpl(j);
|
|
}
|
|
|
|
/* renamed from: copy-OhffZ5M, reason: not valid java name */
|
|
public static final long m7601copyOhffZ5M(long j, float f, float f2) {
|
|
return m7600constructorimpl((Float.floatToRawIntBits(f) << 32) | (Float.floatToRawIntBits(f2) & 4294967295L));
|
|
}
|
|
|
|
/* renamed from: copy-OhffZ5M$default, reason: not valid java name */
|
|
public static /* synthetic */ long m7602copyOhffZ5M$default(long j, float f, float f2, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
f = Float.intBitsToFloat((int) (j >> 32));
|
|
}
|
|
if ((i & 2) != 0) {
|
|
f2 = Float.intBitsToFloat((int) (4294967295L & j));
|
|
}
|
|
return m7601copyOhffZ5M(j, f, f2);
|
|
}
|
|
|
|
@Stable
|
|
/* renamed from: div-adjELrA, reason: not valid java name */
|
|
public static final long m7603divadjELrA(long j, float f) {
|
|
float intBitsToFloat = Float.intBitsToFloat((int) (j >> 32)) / f;
|
|
float intBitsToFloat2 = Float.intBitsToFloat((int) (j & 4294967295L)) / f;
|
|
return m7600constructorimpl((Float.floatToRawIntBits(intBitsToFloat) << 32) | (Float.floatToRawIntBits(intBitsToFloat2) & 4294967295L));
|
|
}
|
|
|
|
/* renamed from: equals-impl, reason: not valid java name */
|
|
public static boolean m7604equalsimpl(long j, Object obj) {
|
|
return (obj instanceof Velocity) && j == ((Velocity) obj).getPackedValue();
|
|
}
|
|
|
|
/* renamed from: equals-impl0, reason: not valid java name */
|
|
public static final boolean m7605equalsimpl0(long j, long j2) {
|
|
return j == j2;
|
|
}
|
|
|
|
/* renamed from: getX-impl, reason: not valid java name */
|
|
public static final float m7606getXimpl(long j) {
|
|
return Float.intBitsToFloat((int) (j >> 32));
|
|
}
|
|
|
|
/* renamed from: getY-impl, reason: not valid java name */
|
|
public static final float m7607getYimpl(long j) {
|
|
return Float.intBitsToFloat((int) (j & 4294967295L));
|
|
}
|
|
|
|
/* renamed from: hashCode-impl, reason: not valid java name */
|
|
public static int m7608hashCodeimpl(long j) {
|
|
return Long.hashCode(j);
|
|
}
|
|
|
|
@Stable
|
|
/* renamed from: minus-AH228Gc, reason: not valid java name */
|
|
public static final long m7609minusAH228Gc(long j, long j2) {
|
|
float intBitsToFloat = Float.intBitsToFloat((int) (j >> 32)) - Float.intBitsToFloat((int) (j2 >> 32));
|
|
float intBitsToFloat2 = Float.intBitsToFloat((int) (j & 4294967295L)) - Float.intBitsToFloat((int) (j2 & 4294967295L));
|
|
return m7600constructorimpl((Float.floatToRawIntBits(intBitsToFloat) << 32) | (Float.floatToRawIntBits(intBitsToFloat2) & 4294967295L));
|
|
}
|
|
|
|
@Stable
|
|
/* renamed from: plus-AH228Gc, reason: not valid java name */
|
|
public static final long m7610plusAH228Gc(long j, long j2) {
|
|
float intBitsToFloat = Float.intBitsToFloat((int) (j2 >> 32)) + Float.intBitsToFloat((int) (j >> 32));
|
|
float intBitsToFloat2 = Float.intBitsToFloat((int) (j2 & 4294967295L)) + Float.intBitsToFloat((int) (j & 4294967295L));
|
|
return m7600constructorimpl((Float.floatToRawIntBits(intBitsToFloat2) & 4294967295L) | (Float.floatToRawIntBits(intBitsToFloat) << 32));
|
|
}
|
|
|
|
@Stable
|
|
/* renamed from: rem-adjELrA, reason: not valid java name */
|
|
public static final long m7611remadjELrA(long j, float f) {
|
|
float intBitsToFloat = Float.intBitsToFloat((int) (j >> 32)) % f;
|
|
float intBitsToFloat2 = Float.intBitsToFloat((int) (j & 4294967295L)) % f;
|
|
return m7600constructorimpl((Float.floatToRawIntBits(intBitsToFloat) << 32) | (Float.floatToRawIntBits(intBitsToFloat2) & 4294967295L));
|
|
}
|
|
|
|
@Stable
|
|
/* renamed from: times-adjELrA, reason: not valid java name */
|
|
public static final long m7612timesadjELrA(long j, float f) {
|
|
float intBitsToFloat = Float.intBitsToFloat((int) (j >> 32)) * f;
|
|
float intBitsToFloat2 = Float.intBitsToFloat((int) (j & 4294967295L)) * f;
|
|
return m7600constructorimpl((Float.floatToRawIntBits(intBitsToFloat) << 32) | (Float.floatToRawIntBits(intBitsToFloat2) & 4294967295L));
|
|
}
|
|
|
|
@NotNull
|
|
/* renamed from: toString-impl, reason: not valid java name */
|
|
public static String m7613toStringimpl(long j) {
|
|
return MarkdownConstants.LEFT_PARENTHESIS + m7606getXimpl(j) + ", " + m7607getYimpl(j) + ") px/sec";
|
|
}
|
|
|
|
@Stable
|
|
/* renamed from: unaryMinus-9UxMQ8M, reason: not valid java name */
|
|
public static final long m7614unaryMinus9UxMQ8M(long j) {
|
|
return m7600constructorimpl(j ^ (-9223372034707292160L));
|
|
}
|
|
|
|
public boolean equals(Object other) {
|
|
return m7604equalsimpl(this.packedValue, other);
|
|
}
|
|
|
|
public int hashCode() {
|
|
return m7608hashCodeimpl(this.packedValue);
|
|
}
|
|
|
|
@NotNull
|
|
public String toString() {
|
|
return m7613toStringimpl(this.packedValue);
|
|
}
|
|
|
|
/* renamed from: unbox-impl, reason: not valid java name and from getter */
|
|
public final /* synthetic */ long getPackedValue() {
|
|
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\u0005\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003R\u001e\u0010\u0004\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u0010\n\u0002\u0010\t\u0012\u0004\b\u0006\u0010\u0003\u001a\u0004\b\u0007\u0010\b¨\u0006\n"}, d2 = {"Landroidx/compose/ui/unit/Velocity$Companion;", "", "<init>", "()V", "Zero", "Landroidx/compose/ui/unit/Velocity;", "getZero-9UxMQ8M$annotations", "getZero-9UxMQ8M", "()J", "J", "ui-unit"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
public static final class Companion {
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
/* renamed from: getZero-9UxMQ8M, reason: not valid java name */
|
|
public final long m7617getZero9UxMQ8M() {
|
|
return Velocity.Zero;
|
|
}
|
|
|
|
private Companion() {
|
|
}
|
|
|
|
@Stable
|
|
/* renamed from: getZero-9UxMQ8M$annotations, reason: not valid java name */
|
|
public static /* synthetic */ void m7616getZero9UxMQ8M$annotations() {
|
|
}
|
|
}
|
|
|
|
@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 m7600constructorimpl(long j) {
|
|
return j;
|
|
}
|
|
}
|