mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
17 lines
1 KiB
Java
17 lines
1 KiB
Java
package androidx.compose.ui.text.font;
|
|
|
|
import androidx.compose.ui.util.MathHelpersKt;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.ranges.RangesKt;
|
|
|
|
/* compiled from: FontWeight.kt */
|
|
@Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0007\n\u0000\u001a\u001e\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00012\u0006\u0010\u0003\u001a\u00020\u00012\u0006\u0010\u0004\u001a\u00020\u0005¨\u0006\u0006"}, d2 = {"lerp", "Landroidx/compose/ui/text/font/FontWeight;", "start", "stop", "fraction", "", "ui-text_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public final class FontWeightKt {
|
|
public static final FontWeight lerp(FontWeight start, FontWeight stop, float f) {
|
|
Intrinsics.checkNotNullParameter(start, "start");
|
|
Intrinsics.checkNotNullParameter(stop, "stop");
|
|
return new FontWeight(RangesKt.coerceIn(MathHelpersKt.lerp(start.getWeight(), stop.getWeight(), f), 1, 1000));
|
|
}
|
|
}
|