Rabbit-R1/switch port/java/sources/androidx/compose/ui/node/FocusOrderModifierToProperties.java

38 lines
2.1 KiB
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
package androidx.compose.ui.node;
import androidx.compose.ui.focus.FocusOrder;
import androidx.compose.ui.focus.FocusOrderModifier;
import androidx.compose.ui.focus.FocusProperties;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: BackwardsCompatNode.kt */
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0002\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001B\r\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\u0011\u0010\t\u001a\u00020\u00032\u0006\u0010\n\u001a\u00020\u0002H\u0096\u0002R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\\u0006\u000b"}, d2 = {"Landroidx/compose/ui/node/FocusOrderModifierToProperties;", "Lkotlin/Function1;", "Landroidx/compose/ui/focus/FocusProperties;", "", "modifier", "Landroidx/compose/ui/focus/FocusOrderModifier;", "(Landroidx/compose/ui/focus/FocusOrderModifier;)V", "getModifier", "()Landroidx/compose/ui/focus/FocusOrderModifier;", "invoke", "focusProperties", "ui_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
final class FocusOrderModifierToProperties implements Function1<FocusProperties, Unit> {
private final FocusOrderModifier modifier;
public final FocusOrderModifier getModifier() {
return this.modifier;
}
public FocusOrderModifierToProperties(FocusOrderModifier modifier) {
Intrinsics.checkNotNullParameter(modifier, "modifier");
this.modifier = modifier;
}
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Unit invoke(FocusProperties focusProperties) {
invoke2(focusProperties);
return Unit.INSTANCE;
}
/* renamed from: invoke, reason: avoid collision after fix types in other method */
public void invoke2(FocusProperties focusProperties) {
Intrinsics.checkNotNullParameter(focusProperties, "focusProperties");
this.modifier.populateFocusOrder(new FocusOrder(focusProperties));
}
}