mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-30 11:02:31 -06:00
19 lines
1.4 KiB
Java
19 lines
1.4 KiB
Java
package androidx.compose.foundation.pager;
|
|
|
|
import androidx.compose.foundation.gestures.Orientation;
|
|
import androidx.compose.ui.unit.IntSize;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* compiled from: PagerLayoutInfo.kt */
|
|
@Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\b\n\u0002\u0018\u0002\n\u0002\b\u0005\"\u001e\u0010\u0000\u001a\u00020\u0001*\u00020\u00028@X\u0081\u0004¢\u0006\f\u0012\u0004\b\u0003\u0010\u0004\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"mainAxisViewportSize", "", "Landroidx/compose/foundation/pager/PagerLayoutInfo;", "getMainAxisViewportSize$annotations", "(Landroidx/compose/foundation/pager/PagerLayoutInfo;)V", "getMainAxisViewportSize", "(Landroidx/compose/foundation/pager/PagerLayoutInfo;)I", "foundation_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public final class PagerLayoutInfoKt {
|
|
public static /* synthetic */ void getMainAxisViewportSize$annotations(PagerLayoutInfo pagerLayoutInfo) {
|
|
}
|
|
|
|
public static final int getMainAxisViewportSize(PagerLayoutInfo pagerLayoutInfo) {
|
|
Intrinsics.checkNotNullParameter(pagerLayoutInfo, "<this>");
|
|
return pagerLayoutInfo.getOrientation() == Orientation.Vertical ? IntSize.m5042getHeightimpl(pagerLayoutInfo.mo704getViewportSizeYbymL2g()) : IntSize.m5043getWidthimpl(pagerLayoutInfo.mo704getViewportSizeYbymL2g());
|
|
}
|
|
}
|