mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-28 01:52:26 -06:00
109 lines
5.5 KiB
Java
109 lines
5.5 KiB
Java
package androidx.compose.material3;
|
|
|
|
import androidx.compose.foundation.BackgroundKt;
|
|
import androidx.compose.foundation.layout.BoxKt;
|
|
import androidx.compose.foundation.layout.SizeKt;
|
|
import androidx.compose.runtime.Composer;
|
|
import androidx.compose.runtime.ComposerKt;
|
|
import androidx.compose.runtime.ProvidableCompositionLocal;
|
|
import androidx.compose.runtime.RecomposeScopeImplKt;
|
|
import androidx.compose.runtime.ScopeUpdateScope;
|
|
import androidx.compose.ui.Modifier;
|
|
import androidx.compose.ui.platform.CompositionLocalsKt;
|
|
import androidx.compose.ui.unit.Density;
|
|
import androidx.compose.ui.unit.Dp;
|
|
import kotlin.Metadata;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function2;
|
|
|
|
/* compiled from: Divider.kt */
|
|
@Metadata(d1 = {"\u0000\u001c\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u001a3\u0010\u0000\u001a\u00020\u00012\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u0007H\u0007ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\b\u0010\t\u0082\u0002\u000b\n\u0005\b¡\u001e0\u0001\n\u0002\b\u0019¨\u0006\n"}, d2 = {"Divider", "", "modifier", "Landroidx/compose/ui/Modifier;", "thickness", "Landroidx/compose/ui/unit/Dp;", "color", "Landroidx/compose/ui/graphics/Color;", "Divider-9IZ8Weo", "(Landroidx/compose/ui/Modifier;FJLandroidx/compose/runtime/Composer;II)V", "material3_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public final class DividerKt {
|
|
/* renamed from: Divider-9IZ8Weo, reason: not valid java name */
|
|
public static final void m1186Divider9IZ8Weo(Modifier modifier, float f, long j, Composer composer, final int i, final int i2) {
|
|
int i3;
|
|
float f2;
|
|
Composer startRestartGroup = composer.startRestartGroup(1562471785);
|
|
ComposerKt.sourceInformation(startRestartGroup, "C(Divider)P(1,2:c#ui.unit.Dp,0:c#ui.graphics.Color)46@1862L5,53@2019L131:Divider.kt#uh7d8r");
|
|
int i4 = i2 & 1;
|
|
if (i4 != 0) {
|
|
i3 = i | 6;
|
|
} else if ((i & 14) == 0) {
|
|
i3 = (startRestartGroup.changed(modifier) ? 4 : 2) | i;
|
|
} else {
|
|
i3 = i;
|
|
}
|
|
int i5 = i2 & 2;
|
|
if (i5 != 0) {
|
|
i3 |= 48;
|
|
} else if ((i & 112) == 0) {
|
|
i3 |= startRestartGroup.changed(f) ? 32 : 16;
|
|
}
|
|
if ((i & 896) == 0) {
|
|
i3 |= ((i2 & 4) == 0 && startRestartGroup.changed(j)) ? 256 : 128;
|
|
}
|
|
if ((i3 & 731) != 146 || !startRestartGroup.getSkipping()) {
|
|
startRestartGroup.startDefaults();
|
|
if ((i & 1) == 0 || startRestartGroup.getDefaultsInvalid()) {
|
|
if (i4 != 0) {
|
|
modifier = Modifier.INSTANCE;
|
|
}
|
|
if (i5 != 0) {
|
|
f = DividerDefaults.INSTANCE.m1185getThicknessD9Ej5fM();
|
|
}
|
|
if ((i2 & 4) != 0) {
|
|
j = DividerDefaults.INSTANCE.getColor(startRestartGroup, 6);
|
|
}
|
|
} else {
|
|
startRestartGroup.skipToGroupEnd();
|
|
}
|
|
startRestartGroup.endDefaults();
|
|
if (ComposerKt.isTraceInProgress()) {
|
|
ComposerKt.traceEventStart(1562471785, i, -1, "androidx.compose.material3.Divider (Divider.kt:43)");
|
|
}
|
|
startRestartGroup.startReplaceableGroup(1232935509);
|
|
ComposerKt.sourceInformation(startRestartGroup, "*49@1958L7");
|
|
if (Dp.m4888equalsimpl0(f, Dp.INSTANCE.m4901getHairlineD9Ej5fM())) {
|
|
ProvidableCompositionLocal<Density> localDensity = CompositionLocalsKt.getLocalDensity();
|
|
ComposerKt.sourceInformationMarkerStart(startRestartGroup, 2023513938, "CC:CompositionLocal.kt#9igjgp");
|
|
Object consume = startRestartGroup.consume(localDensity);
|
|
ComposerKt.sourceInformationMarkerEnd(startRestartGroup);
|
|
f2 = Dp.m4883constructorimpl(1.0f / ((Density) consume).getDensity());
|
|
} else {
|
|
f2 = f;
|
|
}
|
|
startRestartGroup.endReplaceableGroup();
|
|
BoxKt.Box(BackgroundKt.m169backgroundbw27NRU$default(SizeKt.m523height3ABfNKs(SizeKt.fillMaxWidth$default(modifier, 0.0f, 1, null), f2), j, null, 2, null), startRestartGroup, 0);
|
|
if (ComposerKt.isTraceInProgress()) {
|
|
ComposerKt.traceEventEnd();
|
|
}
|
|
} else {
|
|
startRestartGroup.skipToGroupEnd();
|
|
}
|
|
final Modifier modifier2 = modifier;
|
|
final float f3 = f;
|
|
final long j2 = j;
|
|
ScopeUpdateScope endRestartGroup = startRestartGroup.endRestartGroup();
|
|
if (endRestartGroup == null) {
|
|
return;
|
|
}
|
|
endRestartGroup.updateScope(new Function2<Composer, Integer, Unit>() { // from class: androidx.compose.material3.DividerKt$Divider$1
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
{
|
|
super(2);
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function2
|
|
public /* bridge */ /* synthetic */ Unit invoke(Composer composer2, Integer num) {
|
|
invoke(composer2, num.intValue());
|
|
return Unit.INSTANCE;
|
|
}
|
|
|
|
public final void invoke(Composer composer2, int i6) {
|
|
DividerKt.m1186Divider9IZ8Weo(Modifier.this, f3, j2, composer2, RecomposeScopeImplKt.updateChangedFlags(i | 1), i2);
|
|
}
|
|
});
|
|
}
|
|
}
|