mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-19 04:13:18 +01:00
75 lines
4.6 KiB
Java
75 lines
4.6 KiB
Java
package androidx.compose.foundation.gestures;
|
|
|
|
import androidx.compose.foundation.MutatePriority;
|
|
import com.facebook.react.uimanager.ViewProps;
|
|
import kotlin.Metadata;
|
|
import kotlin.Unit;
|
|
import kotlin.coroutines.Continuation;
|
|
import kotlin.jvm.functions.Function2;
|
|
import okio.Buffer$$ExternalSyntheticBUOutline0;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\n\n\u0002\u0010\u0007\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\bf\u0018\u00002\u00020\u0001J\u0010\u0010\r\u001a\u00020\u000e2\u0006\u0010\u000f\u001a\u00020\u000eH&JA\u0010\u0010\u001a\u00020\u00112\b\b\u0002\u0010\u0012\u001a\u00020\u00132'\u0010\u0014\u001a#\b\u0001\u0012\u0004\u0012\u00020\u0016\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00110\u0017\u0012\u0006\u0012\u0004\u0018\u00010\u00010\u0015¢\u0006\u0002\b\u0018H¦@¢\u0006\u0002\u0010\u0019R\u0014\u0010\u0002\u001a\u00020\u00038VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u0004\u0010\u0005R\u0014\u0010\u0006\u001a\u00020\u00038VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u0007\u0010\u0005R\u0012\u0010\b\u001a\u00020\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\b\u0010\u0005R\u0014\u0010\t\u001a\u00020\u00038VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\n\u0010\u0005R\u0014\u0010\u000b\u001a\u00020\u00038VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\f\u0010\u0005ø\u0001\u0000\u0082\u0002\u0006\n\u0004\b!0\u0001¨\u0006\u001aÀ\u0006\u0003"}, d2 = {"Landroidx/compose/foundation/gestures/ScrollableState;", "", "canScrollBackward", "", "getCanScrollBackward", "()Z", "canScrollForward", "getCanScrollForward", "isScrollInProgress", "lastScrolledBackward", "getLastScrolledBackward", "lastScrolledForward", "getLastScrolledForward", "dispatchRawDelta", "", "delta", ViewProps.SCROLL, "", "scrollPriority", "Landroidx/compose/foundation/MutatePriority;", "block", "Lkotlin/Function2;", "Landroidx/compose/foundation/gestures/ScrollScope;", "Lkotlin/coroutines/Continuation;", "Lkotlin/ExtensionFunctionType;", "(Landroidx/compose/foundation/MutatePriority;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "foundation_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public interface ScrollableState {
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
|
|
public static final class DefaultImpls {
|
|
@Deprecated
|
|
public static boolean getCanScrollBackward(@NotNull ScrollableState scrollableState) {
|
|
return ScrollableState.super.getCanScrollBackward();
|
|
}
|
|
|
|
@Deprecated
|
|
public static boolean getCanScrollForward(@NotNull ScrollableState scrollableState) {
|
|
return ScrollableState.super.getCanScrollForward();
|
|
}
|
|
|
|
@Deprecated
|
|
public static boolean getLastScrolledBackward(@NotNull ScrollableState scrollableState) {
|
|
return ScrollableState.super.getLastScrolledBackward();
|
|
}
|
|
|
|
@Deprecated
|
|
public static boolean getLastScrolledForward(@NotNull ScrollableState scrollableState) {
|
|
return ScrollableState.super.getLastScrolledForward();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ Object scroll$default(ScrollableState scrollableState, MutatePriority mutatePriority, Function2 function2, Continuation continuation, int i, Object obj) {
|
|
if (obj != null) {
|
|
Buffer$$ExternalSyntheticBUOutline0.m$1("Super calls with default arguments not supported in this target, function: scroll");
|
|
return null;
|
|
}
|
|
if ((i & 1) != 0) {
|
|
mutatePriority = MutatePriority.Default;
|
|
}
|
|
return scrollableState.scroll(mutatePriority, function2, continuation);
|
|
}
|
|
|
|
float dispatchRawDelta(float delta);
|
|
|
|
default boolean getCanScrollBackward() {
|
|
return true;
|
|
}
|
|
|
|
default boolean getCanScrollForward() {
|
|
return true;
|
|
}
|
|
|
|
default boolean getLastScrolledBackward() {
|
|
return false;
|
|
}
|
|
|
|
default boolean getLastScrolledForward() {
|
|
return false;
|
|
}
|
|
|
|
boolean isScrollInProgress();
|
|
|
|
@Nullable
|
|
Object scroll(@NotNull MutatePriority mutatePriority, @NotNull Function2<? super ScrollScope, ? super Continuation<? super Unit>, ? extends Object> function2, @NotNull Continuation<? super Unit> continuation);
|
|
}
|