Rabbit-R1/switch port/java/sources/androidx/compose/ui/layout/OnGloballyPositionedModifier.java

50 lines
2.8 KiB
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
package androidx.compose.ui.layout;
import androidx.compose.ui.Modifier;
import kotlin.Metadata;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: OnGloballyPositionedModifier.kt */
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\bf\u0018\u00002\u00020\u0001J\u0010\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H&ø\u0001\u0000\u0082\u0002\u0006\n\u0004\b!0\u0001¨\u0006\u0006À\u0006\u0003"}, d2 = {"Landroidx/compose/ui/layout/OnGloballyPositionedModifier;", "Landroidx/compose/ui/Modifier$Element;", "onGloballyPositioned", "", "coordinates", "Landroidx/compose/ui/layout/LayoutCoordinates;", "ui_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public interface OnGloballyPositionedModifier extends Modifier.Element {
void onGloballyPositioned(LayoutCoordinates coordinates);
/* compiled from: OnGloballyPositionedModifier.kt */
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class DefaultImpls {
@Deprecated
public static boolean all(OnGloballyPositionedModifier onGloballyPositionedModifier, Function1<? super Modifier.Element, Boolean> predicate) {
Intrinsics.checkNotNullParameter(predicate, "predicate");
return OnGloballyPositionedModifier.super.all(predicate);
}
@Deprecated
public static boolean any(OnGloballyPositionedModifier onGloballyPositionedModifier, Function1<? super Modifier.Element, Boolean> predicate) {
Intrinsics.checkNotNullParameter(predicate, "predicate");
return OnGloballyPositionedModifier.super.any(predicate);
}
@Deprecated
public static <R> R foldIn(OnGloballyPositionedModifier onGloballyPositionedModifier, R r, Function2<? super R, ? super Modifier.Element, ? extends R> operation) {
Intrinsics.checkNotNullParameter(operation, "operation");
return (R) OnGloballyPositionedModifier.super.foldIn(r, operation);
}
@Deprecated
public static <R> R foldOut(OnGloballyPositionedModifier onGloballyPositionedModifier, R r, Function2<? super Modifier.Element, ? super R, ? extends R> operation) {
Intrinsics.checkNotNullParameter(operation, "operation");
return (R) OnGloballyPositionedModifier.super.foldOut(r, operation);
}
@Deprecated
public static Modifier then(OnGloballyPositionedModifier onGloballyPositionedModifier, Modifier other) {
Intrinsics.checkNotNullParameter(other, "other");
return OnGloballyPositionedModifier.super.then(other);
}
}
}