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

22 lines
1.5 KiB
Java

package androidx.compose.ui.input.pointer;
import android.view.MotionEvent;
import androidx.compose.ui.geometry.OffsetKt;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: MotionEventAdapter.android.kt */
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J(\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\bH\u0007ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\u0004\b\t\u0010\n\u0082\u0002\u000f\n\u0002\b!\n\u0005\\u001e0\u0001\n\u0002\b\u0019¨\u0006\u000b"}, d2 = {"Landroidx/compose/ui/input/pointer/MotionEventHelper;", "", "()V", "toRawOffset", "Landroidx/compose/ui/geometry/Offset;", "motionEvent", "Landroid/view/MotionEvent;", "index", "", "toRawOffset-dBAh8RU", "(Landroid/view/MotionEvent;I)J", "ui_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
final class MotionEventHelper {
public static final MotionEventHelper INSTANCE = new MotionEventHelper();
private MotionEventHelper() {
}
/* renamed from: toRawOffset-dBAh8RU, reason: not valid java name */
public final long m3690toRawOffsetdBAh8RU(MotionEvent motionEvent, int index) {
Intrinsics.checkNotNullParameter(motionEvent, "motionEvent");
return OffsetKt.Offset(motionEvent.getRawX(index), motionEvent.getRawY(index));
}
}