mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
36 lines
2 KiB
Java
36 lines
2 KiB
Java
package androidx.compose.ui.util;
|
|
|
|
import io.flutter.embedding.android.KeyboardMap;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.FloatCompanionObject;
|
|
|
|
/* compiled from: InlineClassHelper.kt */
|
|
@Metadata(d1 = {"\u0000\u0018\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0010\u0007\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0006\u001a\u0019\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0003H\u0086\b\u001a\u0019\u0010\u0005\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00062\u0006\u0010\u0004\u001a\u00020\u0006H\u0086\b\u001a\u0011\u0010\u0007\u001a\u00020\u00032\u0006\u0010\b\u001a\u00020\u0001H\u0086\b\u001a\u0011\u0010\t\u001a\u00020\u00032\u0006\u0010\b\u001a\u00020\u0001H\u0086\b\u001a\u0011\u0010\n\u001a\u00020\u00062\u0006\u0010\b\u001a\u00020\u0001H\u0086\b\u001a\u0011\u0010\u000b\u001a\u00020\u00062\u0006\u0010\b\u001a\u00020\u0001H\u0086\b¨\u0006\f"}, d2 = {"packFloats", "", "val1", "", "val2", "packInts", "", "unpackFloat1", "value", "unpackFloat2", "unpackInt1", "unpackInt2", "ui-util_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public final class InlineClassHelperKt {
|
|
public static final long packInts(int i, int i2) {
|
|
return (i2 & KeyboardMap.kValueMask) | (i << 32);
|
|
}
|
|
|
|
public static final int unpackInt1(long j) {
|
|
return (int) (j >> 32);
|
|
}
|
|
|
|
public static final int unpackInt2(long j) {
|
|
return (int) (j & KeyboardMap.kValueMask);
|
|
}
|
|
|
|
public static final long packFloats(float f, float f2) {
|
|
return (Float.floatToIntBits(f2) & KeyboardMap.kValueMask) | (Float.floatToIntBits(f) << 32);
|
|
}
|
|
|
|
public static final float unpackFloat1(long j) {
|
|
FloatCompanionObject floatCompanionObject = FloatCompanionObject.INSTANCE;
|
|
return Float.intBitsToFloat((int) (j >> 32));
|
|
}
|
|
|
|
public static final float unpackFloat2(long j) {
|
|
FloatCompanionObject floatCompanionObject = FloatCompanionObject.INSTANCE;
|
|
return Float.intBitsToFloat((int) (j & KeyboardMap.kValueMask));
|
|
}
|
|
}
|