Rabbit-R1/original r1/java/sources/androidx/compose/material3/SwipeToDismissDefaults.java

34 lines
2.2 KiB
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
package androidx.compose.material3;
import androidx.compose.ui.unit.Density;
import androidx.compose.ui.unit.Dp;
import kotlin.Metadata;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: SwipeToDismiss.kt */
@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0007\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R7\u0010\u0003\u001a(\u0012\u0004\u0012\u00020\u0005\u0012\u0013\u0012\u00110\u0006¢\u0006\f\b\u0007\u0012\b\b\b\u0012\u0004\b\b(\t\u0012\u0004\u0012\u00020\u00060\u0004¢\u0006\u0002\b\\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\\u0006\r"}, d2 = {"Landroidx/compose/material3/SwipeToDismissDefaults;", "", "()V", "FixedPositionalThreshold", "Lkotlin/Function2;", "Landroidx/compose/ui/unit/Density;", "", "Lkotlin/ParameterName;", "name", "totalDistance", "Lkotlin/ExtensionFunctionType;", "getFixedPositionalThreshold", "()Lkotlin/jvm/functions/Function2;", "material3_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class SwipeToDismissDefaults {
public static final int $stable = 0;
public static final SwipeToDismissDefaults INSTANCE = new SwipeToDismissDefaults();
private static final Function2<Density, Float, Float> FixedPositionalThreshold = new Function2<Density, Float, Float>() { // from class: androidx.compose.material3.SwipeToDismissDefaults$FixedPositionalThreshold$1
@Override // kotlin.jvm.functions.Function2
public /* bridge */ /* synthetic */ Float invoke(Density density, Float f) {
return invoke(density, f.floatValue());
}
public final Float invoke(Density density, float f) {
Intrinsics.checkNotNullParameter(density, "$this$null");
return Float.valueOf(density.mo335toPx0680j_4(Dp.m4883constructorimpl(56)));
}
};
public final Function2<Density, Float, Float> getFixedPositionalThreshold() {
return FixedPositionalThreshold;
}
private SwipeToDismissDefaults() {
}
}