mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-14 18:07:16 +01:00
33 lines
2.4 KiB
Java
33 lines
2.4 KiB
Java
package androidx.compose.foundation;
|
|
|
|
import androidx.annotation.RequiresApi;
|
|
import androidx.compose.ui.Modifier;
|
|
import androidx.compose.ui.geometry.Rect;
|
|
import androidx.compose.ui.layout.LayoutCoordinates;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.JvmName;
|
|
import kotlin.jvm.functions.Function1;
|
|
import kotlin.jvm.internal.SourceDebugExtension;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000\u0018\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a!\u0010\u0000\u001a\u00020\u00012\u0016\b\b\u0010\u0002\u001a\u0010\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u0005\u0018\u00010\u0003H\u0083\b\u001a\n\u0010\u0006\u001a\u00020\u0001*\u00020\u0001\u001a\u001e\u0010\u0006\u001a\u00020\u0001*\u00020\u00012\u0012\u0010\u0002\u001a\u000e\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u00050\u0003¨\u0006\u0007"}, d2 = {"excludeFromSystemGestureQ", "Landroidx/compose/ui/Modifier;", "exclusion", "Lkotlin/Function1;", "Landroidx/compose/ui/layout/LayoutCoordinates;", "Landroidx/compose/ui/geometry/Rect;", "systemGestureExclusion", "foundation_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
|
@JvmName(name = "SystemGestureExclusionKt")
|
|
@SourceDebugExtension({"SMAP\nSystemGestureExclusion.android.kt\nKotlin\n*S Kotlin\n*F\n+ 1 SystemGestureExclusion.android.kt\nandroidx/compose/foundation/SystemGestureExclusionKt\n*L\n1#1,111:1\n66#1:112\n66#1:113\n*S KotlinDebug\n*F\n+ 1 SystemGestureExclusion.android.kt\nandroidx/compose/foundation/SystemGestureExclusionKt\n*L\n42#1:112\n59#1:113\n*E\n"})
|
|
/* loaded from: classes.dex */
|
|
public final class SystemGestureExclusionKt {
|
|
@RequiresApi(29)
|
|
private static final Modifier excludeFromSystemGestureQ(Function1<? super LayoutCoordinates, Rect> function1) {
|
|
return new ExcludeFromSystemGestureElement(function1);
|
|
}
|
|
|
|
@NotNull
|
|
public static final Modifier systemGestureExclusion(@NotNull Modifier modifier) {
|
|
return modifier.then(new ExcludeFromSystemGestureElement(null));
|
|
}
|
|
|
|
@NotNull
|
|
public static final Modifier systemGestureExclusion(@NotNull Modifier modifier, @NotNull Function1<? super LayoutCoordinates, Rect> function1) {
|
|
return modifier.then(new ExcludeFromSystemGestureElement(function1));
|
|
}
|
|
}
|