mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
91 lines
5.8 KiB
Java
91 lines
5.8 KiB
Java
package androidx.compose.foundation.lazy.layout;
|
|
|
|
import androidx.compose.foundation.gestures.ScrollScope;
|
|
import kotlin.Metadata;
|
|
import kotlin.Unit;
|
|
import kotlin.coroutines.Continuation;
|
|
import kotlin.coroutines.jvm.internal.DebugMetadata;
|
|
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
|
import kotlin.jvm.functions.Function2;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* compiled from: LazyAnimateScroll.kt */
|
|
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\u008a@"}, d2 = {"<anonymous>", "", "Landroidx/compose/foundation/gestures/ScrollScope;"}, k = 3, mv = {1, 8, 0}, xi = 48)
|
|
@DebugMetadata(c = "androidx.compose.foundation.lazy.layout.LazyAnimateScrollKt$animateScrollToItem$2", f = "LazyAnimateScroll.kt", i = {0, 0, 0, 0, 0, 0, 0, 0, 1}, l = {137, 237}, m = "invokeSuspend", n = {"$this$scroll", "loop", "anim", "loops", "targetDistancePx", "boundDistancePx", "minDistancePx", "forward", "$this$scroll"}, s = {"L$0", "L$1", "L$2", "L$3", "F$0", "F$1", "F$2", "I$0", "L$0"})
|
|
/* loaded from: classes.dex */
|
|
public final class LazyAnimateScrollKt$animateScrollToItem$2 extends SuspendLambda implements Function2<ScrollScope, Continuation<? super Unit>, Object> {
|
|
final /* synthetic */ int $index;
|
|
final /* synthetic */ int $scrollOffset;
|
|
final /* synthetic */ LazyAnimateScrollScope $this_animateScrollToItem;
|
|
float F$0;
|
|
float F$1;
|
|
float F$2;
|
|
int I$0;
|
|
private /* synthetic */ Object L$0;
|
|
Object L$1;
|
|
Object L$2;
|
|
Object L$3;
|
|
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 LazyAnimateScrollKt$animateScrollToItem$2(int i, LazyAnimateScrollScope lazyAnimateScrollScope, int i2, Continuation<? super LazyAnimateScrollKt$animateScrollToItem$2> continuation) {
|
|
super(2, continuation);
|
|
this.$index = i;
|
|
this.$this_animateScrollToItem = lazyAnimateScrollScope;
|
|
this.$scrollOffset = i2;
|
|
}
|
|
|
|
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
|
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
|
LazyAnimateScrollKt$animateScrollToItem$2 lazyAnimateScrollKt$animateScrollToItem$2 = new LazyAnimateScrollKt$animateScrollToItem$2(this.$index, this.$this_animateScrollToItem, this.$scrollOffset, continuation);
|
|
lazyAnimateScrollKt$animateScrollToItem$2.L$0 = obj;
|
|
return lazyAnimateScrollKt$animateScrollToItem$2;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function2
|
|
public final Object invoke(ScrollScope scrollScope, Continuation<? super Unit> continuation) {
|
|
return ((LazyAnimateScrollKt$animateScrollToItem$2) create(scrollScope, continuation)).invokeSuspend(Unit.INSTANCE);
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* JADX WARN: Removed duplicated region for block: B:22:0x00d5 A[Catch: ItemFoundInScroll -> 0x01bf, TryCatch #5 {ItemFoundInScroll -> 0x01bf, blocks: (B:20:0x00d1, B:22:0x00d5, B:24:0x00dd, B:30:0x0101, B:33:0x0149, B:36:0x0156), top: B:19:0x00d1 }] */
|
|
/* JADX WARN: Removed duplicated region for block: B:27:0x00ef A[Catch: ItemFoundInScroll -> 0x01b5, TRY_ENTER, TRY_LEAVE, TryCatch #1 {ItemFoundInScroll -> 0x01b5, blocks: (B:17:0x01ac, B:27:0x00ef), top: B:16:0x01ac }] */
|
|
/* JADX WARN: Removed duplicated region for block: B:32:0x0144 */
|
|
/* JADX WARN: Removed duplicated region for block: B:35:0x0151 */
|
|
/* JADX WARN: Removed duplicated region for block: B:44:0x01a6 A[RETURN] */
|
|
/* JADX WARN: Removed duplicated region for block: B:45:0x01a7 */
|
|
/* JADX WARN: Removed duplicated region for block: B:51:0x020d */
|
|
/* JADX WARN: Removed duplicated region for block: B:54:0x0235 A[RETURN] */
|
|
/* JADX WARN: Removed duplicated region for block: B:55:0x020f */
|
|
/* JADX WARN: Removed duplicated region for block: B:59:0x0154 */
|
|
/* JADX WARN: Removed duplicated region for block: B:60:0x0147 */
|
|
/* JADX WARN: Removed duplicated region for block: B:61:0x00fc */
|
|
/* JADX WARN: Type inference failed for: r12v1, types: [androidx.compose.animation.core.AnimationState, T] */
|
|
/* JADX WARN: Type inference failed for: r8v20, types: [androidx.compose.animation.core.AnimationState, T] */
|
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:45:0x01a7 -> B:16:0x01ac). Please report as a decompilation issue!!! */
|
|
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final java.lang.Object invokeSuspend(java.lang.Object r35) {
|
|
/*
|
|
Method dump skipped, instructions count: 609
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.foundation.lazy.layout.LazyAnimateScrollKt$animateScrollToItem$2.invokeSuspend(java.lang.Object):java.lang.Object");
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static final boolean invokeSuspend$isOvershot(boolean z, LazyAnimateScrollScope lazyAnimateScrollScope, int i, int i2) {
|
|
if (z) {
|
|
if (lazyAnimateScrollScope.getFirstVisibleItemIndex() <= i && (lazyAnimateScrollScope.getFirstVisibleItemIndex() != i || lazyAnimateScrollScope.getFirstVisibleItemScrollOffset() <= i2)) {
|
|
return false;
|
|
}
|
|
} else if (lazyAnimateScrollScope.getFirstVisibleItemIndex() >= i && (lazyAnimateScrollScope.getFirstVisibleItemIndex() != i || lazyAnimateScrollScope.getFirstVisibleItemScrollOffset() >= i2)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
}
|