Rabbit-R1/android (non root)/java/sources/androidx/compose/ui/graphics/TransformOrigin.java
2024-05-21 17:08:36 -04:00

128 lines
6.8 KiB
Java

package androidx.compose.ui.graphics;
import io.flutter.embedding.android.KeyboardMap;
import kotlin.Metadata;
import kotlin.jvm.JvmInline;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.FloatCompanionObject;
/* compiled from: TransformOrigin.kt */
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\t\n\u0002\b\u0005\n\u0002\u0010\u0007\n\u0002\b\f\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0004\b\u0087@\u0018\u0000 \"2\u00020\u0001:\u0001\"B\u0014\b\u0000\u0012\u0006\u0010\u0002\u001a\u00020\u0003ø\u0001\u0000¢\u0006\u0004\b\u0004\u0010\u0005J\u0010\u0010\u000e\u001a\u00020\tH\u0087\\u0006\u0004\b\u000f\u0010\u000bJ\u0010\u0010\u0010\u001a\u00020\tH\u0087\\u0006\u0004\b\u0011\u0010\u000bJ*\u0010\u0012\u001a\u00020\u00002\b\b\u0002\u0010\b\u001a\u00020\t2\b\b\u0002\u0010\f\u001a\u00020\\u0001\u0001ø\u0001\u0002ø\u0001\u0000¢\u0006\u0004\b\u0013\u0010\u0014J\u001a\u0010\u0015\u001a\u00020\u00162\b\u0010\u0017\u001a\u0004\u0018\u00010\u0001HÖ\u0003¢\u0006\u0004\b\u0018\u0010\u0019J\u0010\u0010\u001a\u001a\u00020\u001bHÖ\u0001¢\u0006\u0004\b\u001c\u0010\u001dJ\u0010\u0010\u001e\u001a\u00020\u001fHÖ\u0001¢\u0006\u0004\b \u0010!R\u0016\u0010\u0002\u001a\u00020\u00038\u0000X\u0081\u0004¢\u0006\b\n\u0000\u0012\u0004\b\u0006\u0010\u0007R\u0011\u0010\b\u001a\u00020\t8F¢\u0006\u0006\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\f\u001a\u00020\t8F¢\u0006\u0006\u001a\u0004\b\r\u0010\u000b\u0088\u0001\u0002\u0092\u0001\u00020\u0003ø\u0001\u0000\u0082\u0002\u000f\n\u0002\b\u0019\n\u0002\b!\n\u0005\\u001e0\u0001¨\u0006#"}, d2 = {"Landroidx/compose/ui/graphics/TransformOrigin;", "", "packedValue", "", "constructor-impl", "(J)J", "getPackedValue$annotations", "()V", "pivotFractionX", "", "getPivotFractionX-impl", "(J)F", "pivotFractionY", "getPivotFractionY-impl", "component1", "component1-impl", "component2", "component2-impl", "copy", "copy-zey9I6w", "(JFF)J", "equals", "", "other", "equals-impl", "(JLjava/lang/Object;)Z", "hashCode", "", "hashCode-impl", "(J)I", "toString", "", "toString-impl", "(J)Ljava/lang/String;", "Companion", "ui_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
@JvmInline
/* loaded from: classes.dex */
public final class TransformOrigin {
private final long packedValue;
/* renamed from: Companion, reason: from kotlin metadata */
public static final Companion INSTANCE = new Companion(null);
private static final long Center = TransformOriginKt.TransformOrigin(0.5f, 0.5f);
/* renamed from: box-impl, reason: not valid java name */
public static final /* synthetic */ TransformOrigin m3010boximpl(long j) {
return new TransformOrigin(j);
}
/* renamed from: constructor-impl, reason: not valid java name */
public static long m3013constructorimpl(long j) {
return j;
}
/* renamed from: equals-impl, reason: not valid java name */
public static boolean m3016equalsimpl(long j, Object obj) {
return (obj instanceof TransformOrigin) && j == ((TransformOrigin) obj).getPackedValue();
}
/* renamed from: equals-impl0, reason: not valid java name */
public static final boolean m3017equalsimpl0(long j, long j2) {
return j == j2;
}
public static /* synthetic */ void getPackedValue$annotations() {
}
/* renamed from: hashCode-impl, reason: not valid java name */
public static int m3020hashCodeimpl(long j) {
return Long.hashCode(j);
}
/* renamed from: toString-impl, reason: not valid java name */
public static String m3021toStringimpl(long j) {
return "TransformOrigin(packedValue=" + j + ')';
}
public boolean equals(Object obj) {
return m3016equalsimpl(this.packedValue, obj);
}
public int hashCode() {
return m3020hashCodeimpl(this.packedValue);
}
public String toString() {
return m3021toStringimpl(this.packedValue);
}
/* renamed from: unbox-impl, reason: not valid java name and from getter */
public final /* synthetic */ long getPackedValue() {
return this.packedValue;
}
private /* synthetic */ TransformOrigin(long j) {
this.packedValue = j;
}
/* renamed from: component1-impl, reason: not valid java name */
public static final float m3011component1impl(long j) {
return m3018getPivotFractionXimpl(j);
}
/* renamed from: component2-impl, reason: not valid java name */
public static final float m3012component2impl(long j) {
return m3019getPivotFractionYimpl(j);
}
/* renamed from: copy-zey9I6w$default, reason: not valid java name */
public static /* synthetic */ long m3015copyzey9I6w$default(long j, float f, float f2, int i, Object obj) {
if ((i & 1) != 0) {
f = m3018getPivotFractionXimpl(j);
}
if ((i & 2) != 0) {
f2 = m3019getPivotFractionYimpl(j);
}
return m3014copyzey9I6w(j, f, f2);
}
/* renamed from: copy-zey9I6w, reason: not valid java name */
public static final long m3014copyzey9I6w(long j, float f, float f2) {
return TransformOriginKt.TransformOrigin(f, f2);
}
/* compiled from: TransformOrigin.kt */
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u001c\u0010\u0003\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\u0005\u0010\u0006\u0082\u0002\u000f\n\u0002\b\u0019\n\u0005\\u001e0\u0001\n\u0002\b!¨\u0006\b"}, d2 = {"Landroidx/compose/ui/graphics/TransformOrigin$Companion;", "", "()V", "Center", "Landroidx/compose/ui/graphics/TransformOrigin;", "getCenter-SzJe1aQ", "()J", "J", "ui_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
/* renamed from: getCenter-SzJe1aQ, reason: not valid java name */
public final long m3023getCenterSzJe1aQ() {
return TransformOrigin.Center;
}
}
/* renamed from: getPivotFractionX-impl, reason: not valid java name */
public static final float m3018getPivotFractionXimpl(long j) {
FloatCompanionObject floatCompanionObject = FloatCompanionObject.INSTANCE;
return Float.intBitsToFloat((int) (j >> 32));
}
/* renamed from: getPivotFractionY-impl, reason: not valid java name */
public static final float m3019getPivotFractionYimpl(long j) {
FloatCompanionObject floatCompanionObject = FloatCompanionObject.INSTANCE;
return Float.intBitsToFloat((int) (j & KeyboardMap.kValueMask));
}
}