mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-30 11:02:31 -06:00
50 lines
4.7 KiB
Java
50 lines
4.7 KiB
Java
|
package androidx.compose.foundation;
|
||
|
|
||
|
import androidx.compose.foundation.interaction.MutableInteractionSource;
|
||
|
import androidx.compose.ui.semantics.Role;
|
||
|
import kotlin.Metadata;
|
||
|
import kotlin.Unit;
|
||
|
import kotlin.jvm.functions.Function0;
|
||
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||
|
import kotlin.jvm.internal.Intrinsics;
|
||
|
|
||
|
/* compiled from: Clickable.kt */
|
||
|
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0002\u0018\u00002\u00020\u0001B:\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u0012\b\u0010\b\u001a\u0004\u0018\u00010\t\u0012\f\u0010\n\u001a\b\u0012\u0004\u0012\u00020\f0\u000bø\u0001\u0000¢\u0006\u0002\u0010\rJC\u0010\u0016\u001a\u00020\f2\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u00052\b\u0010\u0006\u001a\u0004\u0018\u00010\u00072\b\u0010\b\u001a\u0004\u0018\u00010\t2\f\u0010\n\u001a\b\u0012\u0004\u0012\u00020\f0\u000bø\u0001\u0001ø\u0001\u0000¢\u0006\u0002\b\u0017R\u0014\u0010\u000e\u001a\u00020\u000fX\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u0014\u0010\u0012\u001a\u00020\u0013X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015\u0082\u0002\u000b\n\u0002\b\u0019\n\u0005\b¡\u001e0\u0001¨\u0006\u0018"}, d2 = {"Landroidx/compose/foundation/ClickableNode;", "Landroidx/compose/foundation/AbstractClickableNode;", "interactionSource", "Landroidx/compose/foundation/interaction/MutableInteractionSource;", "enabled", "", "onClickLabel", "", "role", "Landroidx/compose/ui/semantics/Role;", "onClick", "Lkotlin/Function0;", "", "(Landroidx/compose/foundation/interaction/MutableInteractionSource;ZLjava/lang/String;Landroidx/compose/ui/semantics/Role;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/internal/DefaultConstructorMarker;)V", "clickablePointerInputNode", "Landroidx/compose/foundation/ClickablePointerInputNode;", "getClickablePointerInputNode", "()Landroidx/compose/foundation/ClickablePointerInputNode;", "clickableSemanticsNode", "Landroidx/compose/foundation/ClickableSemanticsNode;", "getClickableSemanticsNode", "()Landroidx/compose/foundation/ClickableSemanticsNode;", "update", "update-XHw0xAI", "foundation_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||
|
/* loaded from: classes.dex */
|
||
|
final class ClickableNode extends AbstractClickableNode {
|
||
|
private final ClickablePointerInputNode clickablePointerInputNode;
|
||
|
private final ClickableSemanticsNode clickableSemanticsNode;
|
||
|
|
||
|
public /* synthetic */ ClickableNode(MutableInteractionSource mutableInteractionSource, boolean z, String str, Role role, Function0 function0, DefaultConstructorMarker defaultConstructorMarker) {
|
||
|
this(mutableInteractionSource, z, str, role, function0);
|
||
|
}
|
||
|
|
||
|
@Override // androidx.compose.foundation.AbstractClickableNode
|
||
|
public ClickablePointerInputNode getClickablePointerInputNode() {
|
||
|
return this.clickablePointerInputNode;
|
||
|
}
|
||
|
|
||
|
@Override // androidx.compose.foundation.AbstractClickableNode
|
||
|
public ClickableSemanticsNode getClickableSemanticsNode() {
|
||
|
return this.clickableSemanticsNode;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
private ClickableNode(MutableInteractionSource interactionSource, boolean z, String str, Role role, Function0<Unit> onClick) {
|
||
|
super(interactionSource, z, str, role, onClick, null);
|
||
|
Intrinsics.checkNotNullParameter(interactionSource, "interactionSource");
|
||
|
Intrinsics.checkNotNullParameter(onClick, "onClick");
|
||
|
this.clickableSemanticsNode = (ClickableSemanticsNode) delegate(new ClickableSemanticsNode(z, str, role, onClick, null, null, null));
|
||
|
this.clickablePointerInputNode = (ClickablePointerInputNode) delegate(new ClickablePointerInputNode(z, interactionSource, onClick, getInteractionData()));
|
||
|
}
|
||
|
|
||
|
/* renamed from: update-XHw0xAI, reason: not valid java name */
|
||
|
public final void m211updateXHw0xAI(MutableInteractionSource interactionSource, boolean enabled, String onClickLabel, Role role, Function0<Unit> onClick) {
|
||
|
Intrinsics.checkNotNullParameter(interactionSource, "interactionSource");
|
||
|
Intrinsics.checkNotNullParameter(onClick, "onClick");
|
||
|
m154updateCommonXHw0xAI(interactionSource, enabled, onClickLabel, role, onClick);
|
||
|
getClickableSemanticsNode().m214updateUMe6uN4(enabled, onClickLabel, role, onClick, null, null);
|
||
|
getClickablePointerInputNode().update(enabled, interactionSource, onClick);
|
||
|
}
|
||
|
}
|