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

56 lines
3.4 KiB
Java

package androidx.compose.material3;
import androidx.compose.material.ripple.RippleAlpha;
import androidx.compose.material.ripple.RippleTheme;
import androidx.compose.runtime.Composer;
import androidx.compose.runtime.ComposerKt;
import androidx.compose.runtime.ProvidableCompositionLocal;
import androidx.compose.ui.graphics.Color;
import kotlin.Metadata;
/* JADX INFO: Access modifiers changed from: package-private */
/* compiled from: MaterialTheme.kt */
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0018\u0010\u0003\u001a\u00020\u0004H\u0017ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\u0004\b\u0005\u0010\u0006J\r\u0010\u0007\u001a\u00020\bH\u0017¢\u0006\u0002\u0010\t\u0082\u0002\u000f\n\u0002\b!\n\u0005\\u001e0\u0001\n\u0002\b\u0019¨\u0006\n"}, d2 = {"Landroidx/compose/material3/MaterialRippleTheme;", "Landroidx/compose/material/ripple/RippleTheme;", "()V", "defaultColor", "Landroidx/compose/ui/graphics/Color;", "defaultColor-WaAFU9c", "(Landroidx/compose/runtime/Composer;I)J", "rippleAlpha", "Landroidx/compose/material/ripple/RippleAlpha;", "(Landroidx/compose/runtime/Composer;I)Landroidx/compose/material/ripple/RippleAlpha;", "material3_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class MaterialRippleTheme implements RippleTheme {
public static final MaterialRippleTheme INSTANCE = new MaterialRippleTheme();
private MaterialRippleTheme() {
}
@Override // androidx.compose.material.ripple.RippleTheme
/* renamed from: defaultColor-WaAFU9c */
public long mo968defaultColorWaAFU9c(Composer composer, int i) {
composer.startReplaceableGroup(-2059468846);
ComposerKt.sourceInformation(composer, "C(defaultColor)117@4743L7:MaterialTheme.kt#uh7d8r");
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventStart(-2059468846, i, -1, "androidx.compose.material3.MaterialRippleTheme.defaultColor (MaterialTheme.kt:117)");
}
ProvidableCompositionLocal<Color> localContentColor = ContentColorKt.getLocalContentColor();
ComposerKt.sourceInformationMarkerStart(composer, 2023513938, "CC:CompositionLocal.kt#9igjgp");
Object consume = composer.consume(localContentColor);
ComposerKt.sourceInformationMarkerEnd(composer);
long m2649unboximpl = ((Color) consume).m2649unboximpl();
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventEnd();
}
composer.endReplaceableGroup();
return m2649unboximpl;
}
@Override // androidx.compose.material.ripple.RippleTheme
public RippleAlpha rippleAlpha(Composer composer, int i) {
RippleAlpha rippleAlpha;
composer.startReplaceableGroup(1285764247);
ComposerKt.sourceInformation(composer, "C(rippleAlpha):MaterialTheme.kt#uh7d8r");
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventStart(1285764247, i, -1, "androidx.compose.material3.MaterialRippleTheme.rippleAlpha (MaterialTheme.kt:120)");
}
rippleAlpha = MaterialThemeKt.DefaultRippleAlpha;
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventEnd();
}
composer.endReplaceableGroup();
return rippleAlpha;
}
}