mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 01:22:33 -06:00
43 lines
2.6 KiB
Java
43 lines
2.6 KiB
Java
|
package androidx.compose.ui.modifier;
|
||
|
|
||
|
import androidx.compose.ui.Modifier;
|
||
|
import androidx.compose.ui.platform.InspectableValueKt;
|
||
|
import androidx.compose.ui.platform.InspectorInfo;
|
||
|
import androidx.exifinterface.media.ExifInterface;
|
||
|
import kotlin.Metadata;
|
||
|
import kotlin.Unit;
|
||
|
import kotlin.jvm.functions.Function0;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
import kotlin.jvm.internal.Intrinsics;
|
||
|
|
||
|
/* compiled from: ModifierLocalProvider.kt */
|
||
|
@Metadata(d1 = {"\u0000\u0016\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u001a.\u0010\u0000\u001a\u00020\u0001\"\u0004\b\u0000\u0010\u0002*\u00020\u00012\f\u0010\u0003\u001a\b\u0012\u0004\u0012\u0002H\u00020\u00042\f\u0010\u0005\u001a\b\u0012\u0004\u0012\u0002H\u00020\u0006H\u0007¨\u0006\u0007"}, d2 = {"modifierLocalProvider", "Landroidx/compose/ui/Modifier;", ExifInterface.GPS_DIRECTION_TRUE, "key", "Landroidx/compose/ui/modifier/ProvidableModifierLocal;", "value", "Lkotlin/Function0;", "ui_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class ModifierLocalProviderKt {
|
||
|
public static final <T> Modifier modifierLocalProvider(Modifier modifier, final ProvidableModifierLocal<T> key, final Function0<? extends T> value) {
|
||
|
Intrinsics.checkNotNullParameter(modifier, "<this>");
|
||
|
Intrinsics.checkNotNullParameter(key, "key");
|
||
|
Intrinsics.checkNotNullParameter(value, "value");
|
||
|
return modifier.then(new ModifierLocalProviderKt$modifierLocalProvider$1(key, value, InspectableValueKt.isDebugInspectorInfoEnabled() ? new Function1<InspectorInfo, Unit>() { // from class: androidx.compose.ui.modifier.ModifierLocalProviderKt$modifierLocalProvider$$inlined$debugInspectorInfo$1
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
{
|
||
|
super(1);
|
||
|
}
|
||
|
|
||
|
@Override // kotlin.jvm.functions.Function1
|
||
|
public /* bridge */ /* synthetic */ Unit invoke(InspectorInfo inspectorInfo) {
|
||
|
invoke2(inspectorInfo);
|
||
|
return Unit.INSTANCE;
|
||
|
}
|
||
|
|
||
|
/* renamed from: invoke, reason: avoid collision after fix types in other method */
|
||
|
public final void invoke2(InspectorInfo inspectorInfo) {
|
||
|
Intrinsics.checkNotNullParameter(inspectorInfo, "$this$null");
|
||
|
inspectorInfo.setName("modifierLocalProvider");
|
||
|
inspectorInfo.getProperties().set("key", ProvidableModifierLocal.this);
|
||
|
inspectorInfo.getProperties().set("value", value);
|
||
|
}
|
||
|
} : InspectableValueKt.getNoInspectorInfo()));
|
||
|
}
|
||
|
}
|