Rabbit-R1/android (non root)/java/sources/androidx/compose/material3/DrawerDefaults.java
2024-05-21 17:08:36 -04:00

103 lines
7.2 KiB
Java

package androidx.compose.material3;
import androidx.compose.foundation.layout.WindowInsets;
import androidx.compose.foundation.layout.WindowInsetsKt;
import androidx.compose.foundation.layout.WindowInsetsSides;
import androidx.compose.material3.tokens.NavigationDrawerTokens;
import androidx.compose.material3.tokens.ScrimTokens;
import androidx.compose.runtime.Composer;
import androidx.compose.runtime.ComposerKt;
import androidx.compose.ui.graphics.Color;
import androidx.compose.ui.graphics.Shape;
import kotlin.Metadata;
/* compiled from: NavigationDrawer.kt */
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\n\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u001c\u0010\u0003\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\u0005\u0010\u0006R\u001c\u0010\b\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\t\u0010\u0006R\u001c\u0010\n\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\u000b\u0010\u0006R\u001c\u0010\f\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\r\u0010\u0006R\u001a\u0010\u000e\u001a\u00020\u000f8Gø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\u0006\u001a\u0004\b\u0010\u0010\u0011R\u001a\u0010\u0012\u001a\u00020\u000f8Gø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\u0006\u001a\u0004\b\u0013\u0010\u0011R\u0011\u0010\u0014\u001a\u00020\u00158G¢\u0006\u0006\u001a\u0004\b\u0016\u0010\u0017R\u0011\u0010\u0018\u001a\u00020\u00198G¢\u0006\u0006\u001a\u0004\b\u001a\u0010\u001b\u0082\u0002\u000f\n\u0002\b\u0019\n\u0005\\u001e0\u0001\n\u0002\b!¨\u0006\u001c"}, d2 = {"Landroidx/compose/material3/DrawerDefaults;", "", "()V", "DismissibleDrawerElevation", "Landroidx/compose/ui/unit/Dp;", "getDismissibleDrawerElevation-D9Ej5fM", "()F", "F", "MaximumDrawerWidth", "getMaximumDrawerWidth-D9Ej5fM", "ModalDrawerElevation", "getModalDrawerElevation-D9Ej5fM", "PermanentDrawerElevation", "getPermanentDrawerElevation-D9Ej5fM", "containerColor", "Landroidx/compose/ui/graphics/Color;", "getContainerColor", "(Landroidx/compose/runtime/Composer;I)J", "scrimColor", "getScrimColor", "shape", "Landroidx/compose/ui/graphics/Shape;", "getShape", "(Landroidx/compose/runtime/Composer;I)Landroidx/compose/ui/graphics/Shape;", "windowInsets", "Landroidx/compose/foundation/layout/WindowInsets;", "getWindowInsets", "(Landroidx/compose/runtime/Composer;I)Landroidx/compose/foundation/layout/WindowInsets;", "material3_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class DrawerDefaults {
public static final int $stable = 0;
public static final DrawerDefaults INSTANCE = new DrawerDefaults();
private static final float ModalDrawerElevation = NavigationDrawerTokens.INSTANCE.m1982getModalContainerElevationD9Ej5fM();
private static final float PermanentDrawerElevation = NavigationDrawerTokens.INSTANCE.m1983getStandardContainerElevationD9Ej5fM();
private static final float DismissibleDrawerElevation = NavigationDrawerTokens.INSTANCE.m1983getStandardContainerElevationD9Ej5fM();
private static final float MaximumDrawerWidth = NavigationDrawerTokens.INSTANCE.m1980getContainerWidthD9Ej5fM();
/* renamed from: getDismissibleDrawerElevation-D9Ej5fM, reason: not valid java name */
public final float m1191getDismissibleDrawerElevationD9Ej5fM() {
return DismissibleDrawerElevation;
}
/* renamed from: getMaximumDrawerWidth-D9Ej5fM, reason: not valid java name */
public final float m1192getMaximumDrawerWidthD9Ej5fM() {
return MaximumDrawerWidth;
}
/* renamed from: getModalDrawerElevation-D9Ej5fM, reason: not valid java name */
public final float m1193getModalDrawerElevationD9Ej5fM() {
return ModalDrawerElevation;
}
/* renamed from: getPermanentDrawerElevation-D9Ej5fM, reason: not valid java name */
public final float m1194getPermanentDrawerElevationD9Ej5fM() {
return PermanentDrawerElevation;
}
private DrawerDefaults() {
}
public final Shape getShape(Composer composer, int i) {
composer.startReplaceableGroup(928378975);
ComposerKt.sourceInformation(composer, "C608@23208L9:NavigationDrawer.kt#uh7d8r");
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventStart(928378975, i, -1, "androidx.compose.material3.DrawerDefaults.<get-shape> (NavigationDrawer.kt:608)");
}
Shape shape = ShapesKt.toShape(NavigationDrawerTokens.INSTANCE.getContainerShape(), composer, 6);
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventEnd();
}
composer.endReplaceableGroup();
return shape;
}
public final long getScrimColor(Composer composer, int i) {
composer.startReplaceableGroup(-1055074989);
ComposerKt.sourceInformation(composer, "C612@23384L9:NavigationDrawer.kt#uh7d8r");
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventStart(-1055074989, i, -1, "androidx.compose.material3.DrawerDefaults.<get-scrimColor> (NavigationDrawer.kt:612)");
}
long m2638copywmQWz5c$default = Color.m2638copywmQWz5c$default(ColorSchemeKt.toColor(ScrimTokens.INSTANCE.getContainerColor(), composer, 6), 0.32f, 0.0f, 0.0f, 0.0f, 14, null);
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventEnd();
}
composer.endReplaceableGroup();
return m2638copywmQWz5c$default;
}
public final long getContainerColor(Composer composer, int i) {
composer.startReplaceableGroup(-1797317261);
ComposerKt.sourceInformation(composer, "C615@23577L9:NavigationDrawer.kt#uh7d8r");
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventStart(-1797317261, i, -1, "androidx.compose.material3.DrawerDefaults.<get-containerColor> (NavigationDrawer.kt:615)");
}
long color = ColorSchemeKt.toColor(NavigationDrawerTokens.INSTANCE.getContainerColor(), composer, 6);
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventEnd();
}
composer.endReplaceableGroup();
return color;
}
public final WindowInsets getWindowInsets(Composer composer, int i) {
composer.startReplaceableGroup(-909973510);
ComposerKt.sourceInformation(composer, "C625@23864L29:NavigationDrawer.kt#uh7d8r");
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventStart(-909973510, i, -1, "androidx.compose.material3.DrawerDefaults.<get-windowInsets> (NavigationDrawer.kt:625)");
}
WindowInsets m563onlybOOhFvg = WindowInsetsKt.m563onlybOOhFvg(SystemBarsDefaultInsets_androidKt.getSystemBarsForVisualComponents(WindowInsets.INSTANCE, composer, 8), WindowInsetsSides.m574plusgK_yJZ4(WindowInsetsSides.INSTANCE.m589getVerticalJoeWqyM(), WindowInsetsSides.INSTANCE.m587getStartJoeWqyM()));
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventEnd();
}
composer.endReplaceableGroup();
return m563onlybOOhFvg;
}
}