Rabbit-R1/switch port/java/sources/androidx/compose/ui/layout/ContentScaleKt.java
2024-05-21 17:08:36 -04:00

53 lines
3.6 KiB
Java

package androidx.compose.ui.layout;
import androidx.compose.ui.geometry.Size;
import kotlin.Metadata;
/* compiled from: ContentScale.kt */
@Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0010\u0007\n\u0000\n\u0002\u0018\u0002\n\u0002\b\n\u001a%\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0003H\u0002ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\u0005\u0010\u0006\u001a%\u0010\u0007\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0003H\u0002ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\b\u0010\u0006\u001a%\u0010\t\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0003H\u0002ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\n\u0010\u0006\u001a%\u0010\u000b\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0003H\u0002ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\f\u0010\u0006\u0082\u0002\u000b\n\u0005\\u001e0\u0001\n\u0002\b\u0019¨\u0006\r"}, d2 = {"computeFillHeight", "", "srcSize", "Landroidx/compose/ui/geometry/Size;", "dstSize", "computeFillHeight-iLBOSCw", "(JJ)F", "computeFillMaxDimension", "computeFillMaxDimension-iLBOSCw", "computeFillMinDimension", "computeFillMinDimension-iLBOSCw", "computeFillWidth", "computeFillWidth-iLBOSCw", "ui_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class ContentScaleKt {
/* renamed from: access$computeFillHeight-iLBOSCw, reason: not valid java name */
public static final /* synthetic */ float m3868access$computeFillHeightiLBOSCw(long j, long j2) {
return m3872computeFillHeightiLBOSCw(j, j2);
}
/* renamed from: access$computeFillMaxDimension-iLBOSCw, reason: not valid java name */
public static final /* synthetic */ float m3869access$computeFillMaxDimensioniLBOSCw(long j, long j2) {
return m3873computeFillMaxDimensioniLBOSCw(j, j2);
}
/* renamed from: access$computeFillMinDimension-iLBOSCw, reason: not valid java name */
public static final /* synthetic */ float m3870access$computeFillMinDimensioniLBOSCw(long j, long j2) {
return m3874computeFillMinDimensioniLBOSCw(j, j2);
}
/* renamed from: access$computeFillWidth-iLBOSCw, reason: not valid java name */
public static final /* synthetic */ float m3871access$computeFillWidthiLBOSCw(long j, long j2) {
return m3875computeFillWidthiLBOSCw(j, j2);
}
/* JADX INFO: Access modifiers changed from: private */
/* renamed from: computeFillMaxDimension-iLBOSCw, reason: not valid java name */
public static final float m3873computeFillMaxDimensioniLBOSCw(long j, long j2) {
return Math.max(m3875computeFillWidthiLBOSCw(j, j2), m3872computeFillHeightiLBOSCw(j, j2));
}
/* JADX INFO: Access modifiers changed from: private */
/* renamed from: computeFillMinDimension-iLBOSCw, reason: not valid java name */
public static final float m3874computeFillMinDimensioniLBOSCw(long j, long j2) {
return Math.min(m3875computeFillWidthiLBOSCw(j, j2), m3872computeFillHeightiLBOSCw(j, j2));
}
/* JADX INFO: Access modifiers changed from: private */
/* renamed from: computeFillWidth-iLBOSCw, reason: not valid java name */
public static final float m3875computeFillWidthiLBOSCw(long j, long j2) {
return Size.m2469getWidthimpl(j2) / Size.m2469getWidthimpl(j);
}
/* JADX INFO: Access modifiers changed from: private */
/* renamed from: computeFillHeight-iLBOSCw, reason: not valid java name */
public static final float m3872computeFillHeightiLBOSCw(long j, long j2) {
return Size.m2466getHeightimpl(j2) / Size.m2466getHeightimpl(j);
}
}