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

121 lines
7.5 KiB
Java
Raw Permalink Normal View History

2024-05-21 16:08:36 -05:00
package androidx.compose.ui.layout;
import androidx.compose.ui.geometry.Rect;
import androidx.compose.ui.unit.DpRect;
import androidx.compose.ui.unit.LayoutDirection;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: Layout.kt */
@Metadata(d1 = {"\u0000T\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0007\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0010\b\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\b\b\u0000\u0018\u00002\u00020\u00012\u00020\u0002B\u0015\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\u001a\u0010\u0012\u001a\u00020\u0013*\u00020\u0014H\u0097\u0001ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\u0015\u0010\u0016J\u001a\u0010\u0012\u001a\u00020\u0013*\u00020\u0017H\u0097\u0001ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\u0018\u0010\u0019J\u001a\u0010\u001a\u001a\u00020\u0014*\u00020\u0017H\u0097\u0001ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\u001b\u0010\u001cJ\u001d\u0010\u001a\u001a\u00020\u0014*\u00020\bH\u0097\u0001ø\u0001\u0002ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\u001d\u0010\u001eJ\u001d\u0010\u001a\u001a\u00020\u0014*\u00020\u0013H\u0097\u0001ø\u0001\u0002ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\u001d\u0010\u001fJ\u001a\u0010 \u001a\u00020!*\u00020\"H\u0097\u0001ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b#\u0010$J\u001a\u0010%\u001a\u00020\b*\u00020\u0014H\u0097\u0001ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b&\u0010\u001eJ\u001a\u0010%\u001a\u00020\b*\u00020\u0017H\u0097\u0001ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b'\u0010\u001cJ\r\u0010(\u001a\u00020)*\u00020*H\u0097\u0001J\u001a\u0010+\u001a\u00020\"*\u00020!H\u0097\u0001ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b,\u0010$J\u001a\u0010-\u001a\u00020\u0017*\u00020\u0014H\u0097\u0001ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b.\u0010/J\u001d\u0010-\u001a\u00020\u0017*\u00020\bH\u0097\u0001ø\u0001\u0002ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b0\u0010/J\u001d\u0010-\u001a\u00020\u0017*\u00020\u0013H\u0097\u0001ø\u0001\u0002ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b0\u00101R\u0014\u0010\u0007\u001a\u00020\b8\u0016X\u0097\u0005¢\u0006\u0006\u001a\u0004\b\t\u0010\nR\u0014\u0010\u000b\u001a\u00020\b8\u0016X\u0097\u0005¢\u0006\u0006\u001a\u0004\b\f\u0010\nR\u0014\u0010\r\u001a\u00020\u000e8WX\u0097\u0005¢\u0006\u0006\u001a\u0004\b\r\u0010\u000fR\u0014\u0010\u0004\u001a\u00020\u0005X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011\u0082\u0002\u000f\n\u0005\\u001e0\u0001\n\u0002\b\u0019\n\u0002\b!¨\u00062"}, d2 = {"Landroidx/compose/ui/layout/IntrinsicsMeasureScope;", "Landroidx/compose/ui/layout/MeasureScope;", "Landroidx/compose/ui/layout/IntrinsicMeasureScope;", "intrinsicMeasureScope", "layoutDirection", "Landroidx/compose/ui/unit/LayoutDirection;", "(Landroidx/compose/ui/layout/IntrinsicMeasureScope;Landroidx/compose/ui/unit/LayoutDirection;)V", "density", "", "getDensity", "()F", "fontScale", "getFontScale", "isLookingAhead", "", "()Z", "getLayoutDirection", "()Landroidx/compose/ui/unit/LayoutDirection;", "roundToPx", "", "Landroidx/compose/ui/unit/Dp;", "roundToPx-0680j_4", "(F)I", "Landroidx/compose/ui/unit/TextUnit;", "roundToPx--R2X_6o", "(J)I", "toDp", "toDp-GaN1DYA", "(J)F", "toDp-u2uoSUM", "(F)F", "(I)F", "toDpSize", "Landroidx/compose/ui/unit/DpSize;", "Landroidx/compose/ui/geometry/Size;", "toDpSize-k-rfVVM", "(J)J", "toPx", "toPx-0680j_4", "toPx--R2X_6o", "toRect", "Landroidx/compose/ui/geometry/Rect;", "Landroidx/compose/ui/unit/DpRect;", "toSize", "toSize-XkaWNTQ", "toSp", "toSp-0xMU5do", "(F)J", "toSp-kPz2Gy4", "(I)J", "ui_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class IntrinsicsMeasureScope implements MeasureScope, IntrinsicMeasureScope {
private final /* synthetic */ IntrinsicMeasureScope $$delegate_0;
private final LayoutDirection layoutDirection;
@Override // androidx.compose.ui.unit.Density
public float getDensity() {
return this.$$delegate_0.getDensity();
}
@Override // androidx.compose.ui.unit.Density
public float getFontScale() {
return this.$$delegate_0.getFontScale();
}
@Override // androidx.compose.ui.layout.IntrinsicMeasureScope
public LayoutDirection getLayoutDirection() {
return this.layoutDirection;
}
@Override // androidx.compose.ui.layout.IntrinsicMeasureScope
public boolean isLookingAhead() {
return this.$$delegate_0.isLookingAhead();
}
@Override // androidx.compose.ui.unit.Density
/* renamed from: roundToPx--R2X_6o */
public int mo328roundToPxR2X_6o(long j) {
return this.$$delegate_0.mo328roundToPxR2X_6o(j);
}
@Override // androidx.compose.ui.unit.Density
/* renamed from: roundToPx-0680j_4 */
public int mo329roundToPx0680j_4(float f) {
return this.$$delegate_0.mo329roundToPx0680j_4(f);
}
@Override // androidx.compose.ui.unit.Density
/* renamed from: toDp-GaN1DYA */
public float mo330toDpGaN1DYA(long j) {
return this.$$delegate_0.mo330toDpGaN1DYA(j);
}
@Override // androidx.compose.ui.unit.Density
/* renamed from: toDp-u2uoSUM */
public float mo331toDpu2uoSUM(float f) {
return this.$$delegate_0.mo331toDpu2uoSUM(f);
}
@Override // androidx.compose.ui.unit.Density
/* renamed from: toDp-u2uoSUM */
public float mo332toDpu2uoSUM(int i) {
return this.$$delegate_0.mo332toDpu2uoSUM(i);
}
@Override // androidx.compose.ui.unit.Density
/* renamed from: toDpSize-k-rfVVM */
public long mo333toDpSizekrfVVM(long j) {
return this.$$delegate_0.mo333toDpSizekrfVVM(j);
}
@Override // androidx.compose.ui.unit.Density
/* renamed from: toPx--R2X_6o */
public float mo334toPxR2X_6o(long j) {
return this.$$delegate_0.mo334toPxR2X_6o(j);
}
@Override // androidx.compose.ui.unit.Density
/* renamed from: toPx-0680j_4 */
public float mo335toPx0680j_4(float f) {
return this.$$delegate_0.mo335toPx0680j_4(f);
}
@Override // androidx.compose.ui.unit.Density
public Rect toRect(DpRect dpRect) {
Intrinsics.checkNotNullParameter(dpRect, "<this>");
return this.$$delegate_0.toRect(dpRect);
}
@Override // androidx.compose.ui.unit.Density
/* renamed from: toSize-XkaWNTQ */
public long mo336toSizeXkaWNTQ(long j) {
return this.$$delegate_0.mo336toSizeXkaWNTQ(j);
}
@Override // androidx.compose.ui.unit.Density
/* renamed from: toSp-0xMU5do */
public long mo337toSp0xMU5do(float f) {
return this.$$delegate_0.mo337toSp0xMU5do(f);
}
@Override // androidx.compose.ui.unit.Density
/* renamed from: toSp-kPz2Gy4 */
public long mo338toSpkPz2Gy4(float f) {
return this.$$delegate_0.mo338toSpkPz2Gy4(f);
}
@Override // androidx.compose.ui.unit.Density
/* renamed from: toSp-kPz2Gy4 */
public long mo339toSpkPz2Gy4(int i) {
return this.$$delegate_0.mo339toSpkPz2Gy4(i);
}
public IntrinsicsMeasureScope(IntrinsicMeasureScope intrinsicMeasureScope, LayoutDirection layoutDirection) {
Intrinsics.checkNotNullParameter(intrinsicMeasureScope, "intrinsicMeasureScope");
Intrinsics.checkNotNullParameter(layoutDirection, "layoutDirection");
this.layoutDirection = layoutDirection;
this.$$delegate_0 = intrinsicMeasureScope;
}
}