mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-30 11:02:31 -06:00
67 lines
3.5 KiB
Java
67 lines
3.5 KiB
Java
|
package androidx.compose.foundation;
|
||
|
|
||
|
import androidx.compose.foundation.gestures.PressGestureScope;
|
||
|
import androidx.compose.ui.geometry.Offset;
|
||
|
import kotlin.Metadata;
|
||
|
import kotlin.ResultKt;
|
||
|
import kotlin.Unit;
|
||
|
import kotlin.coroutines.Continuation;
|
||
|
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||
|
import kotlin.coroutines.jvm.internal.DebugMetadata;
|
||
|
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||
|
import kotlin.jvm.functions.Function3;
|
||
|
|
||
|
/* compiled from: Clickable.kt */
|
||
|
@Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u00022\u0006\u0010\u0003\u001a\u00020\u0004H\u008a@"}, d2 = {"<anonymous>", "", "Landroidx/compose/foundation/gestures/PressGestureScope;", "offset", "Landroidx/compose/ui/geometry/Offset;"}, k = 3, mv = {1, 8, 0}, xi = 48)
|
||
|
@DebugMetadata(c = "androidx.compose.foundation.ClickablePointerInputNode$pointerInput$2", f = "Clickable.kt", i = {}, l = {892}, m = "invokeSuspend", n = {}, s = {})
|
||
|
/* loaded from: classes.dex */
|
||
|
final class ClickablePointerInputNode$pointerInput$2 extends SuspendLambda implements Function3<PressGestureScope, Offset, Continuation<? super Unit>, Object> {
|
||
|
/* synthetic */ long J$0;
|
||
|
private /* synthetic */ Object L$0;
|
||
|
int label;
|
||
|
final /* synthetic */ ClickablePointerInputNode this$0;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public ClickablePointerInputNode$pointerInput$2(ClickablePointerInputNode clickablePointerInputNode, Continuation<? super ClickablePointerInputNode$pointerInput$2> continuation) {
|
||
|
super(3, continuation);
|
||
|
this.this$0 = clickablePointerInputNode;
|
||
|
}
|
||
|
|
||
|
@Override // kotlin.jvm.functions.Function3
|
||
|
public /* bridge */ /* synthetic */ Object invoke(PressGestureScope pressGestureScope, Offset offset, Continuation<? super Unit> continuation) {
|
||
|
return m212invoked4ec7I(pressGestureScope, offset.getPackedValue(), continuation);
|
||
|
}
|
||
|
|
||
|
/* renamed from: invoke-d-4ec7I, reason: not valid java name */
|
||
|
public final Object m212invoked4ec7I(PressGestureScope pressGestureScope, long j, Continuation<? super Unit> continuation) {
|
||
|
ClickablePointerInputNode$pointerInput$2 clickablePointerInputNode$pointerInput$2 = new ClickablePointerInputNode$pointerInput$2(this.this$0, continuation);
|
||
|
clickablePointerInputNode$pointerInput$2.L$0 = pressGestureScope;
|
||
|
clickablePointerInputNode$pointerInput$2.J$0 = j;
|
||
|
return clickablePointerInputNode$pointerInput$2.invokeSuspend(Unit.INSTANCE);
|
||
|
}
|
||
|
|
||
|
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||
|
public final Object invokeSuspend(Object obj) {
|
||
|
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||
|
int i = this.label;
|
||
|
if (i == 0) {
|
||
|
ResultKt.throwOnFailure(obj);
|
||
|
PressGestureScope pressGestureScope = (PressGestureScope) this.L$0;
|
||
|
long j = this.J$0;
|
||
|
if (this.this$0.getEnabled()) {
|
||
|
this.label = 1;
|
||
|
if (this.this$0.m157handlePressInteractiond4ec7I(pressGestureScope, j, this) == coroutine_suspended) {
|
||
|
return coroutine_suspended;
|
||
|
}
|
||
|
}
|
||
|
} else {
|
||
|
if (i != 1) {
|
||
|
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||
|
}
|
||
|
ResultKt.throwOnFailure(obj);
|
||
|
}
|
||
|
return Unit.INSTANCE;
|
||
|
}
|
||
|
}
|