mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-30 11:02:31 -06:00
57 lines
2.7 KiB
Java
57 lines
2.7 KiB
Java
|
package androidx.compose.material3;
|
||
|
|
||
|
import androidx.compose.ui.focus.FocusRequester;
|
||
|
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.Function2;
|
||
|
import kotlinx.coroutines.CoroutineScope;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* compiled from: TimePicker.kt */
|
||
|
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
|
||
|
@DebugMetadata(c = "androidx.compose.material3.TimePickerKt$TimePickerTextField$2$1", f = "TimePicker.kt", i = {}, l = {}, m = "invokeSuspend", n = {}, s = {})
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class TimePickerKt$TimePickerTextField$2$1 extends SuspendLambda implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
|
||
|
final /* synthetic */ FocusRequester $focusRequester;
|
||
|
final /* synthetic */ int $selection;
|
||
|
final /* synthetic */ TimePickerState $state;
|
||
|
int label;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public TimePickerKt$TimePickerTextField$2$1(TimePickerState timePickerState, int i, FocusRequester focusRequester, Continuation<? super TimePickerKt$TimePickerTextField$2$1> continuation) {
|
||
|
super(2, continuation);
|
||
|
this.$state = timePickerState;
|
||
|
this.$selection = i;
|
||
|
this.$focusRequester = focusRequester;
|
||
|
}
|
||
|
|
||
|
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||
|
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
||
|
return new TimePickerKt$TimePickerTextField$2$1(this.$state, this.$selection, this.$focusRequester, continuation);
|
||
|
}
|
||
|
|
||
|
@Override // kotlin.jvm.functions.Function2
|
||
|
public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
|
||
|
return ((TimePickerKt$TimePickerTextField$2$1) create(coroutineScope, continuation)).invokeSuspend(Unit.INSTANCE);
|
||
|
}
|
||
|
|
||
|
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||
|
public final Object invokeSuspend(Object obj) {
|
||
|
IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||
|
if (this.label == 0) {
|
||
|
ResultKt.throwOnFailure(obj);
|
||
|
if (Selection.m1385equalsimpl0(this.$state.m1602getSelectionJiIwxys$material3_release(), this.$selection)) {
|
||
|
this.$focusRequester.requestFocus();
|
||
|
}
|
||
|
return Unit.INSTANCE;
|
||
|
}
|
||
|
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||
|
}
|
||
|
}
|