mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-15 10:27:17 +01:00
70 lines
4.1 KiB
Java
70 lines
4.1 KiB
Java
package androidx.compose.ui.node;
|
|
|
|
import androidx.compose.runtime.internal.StabilityInferred;
|
|
import kotlin.Metadata;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@StabilityInferred(parameters = 0)
|
|
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u0003\b\u0001\u0018\u0000 \u000b2\u00020\u0001:\u0001\u000bB\u000f\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0004\b\u0004\u0010\u0005R\u0014\u0010\u0002\u001a\u00020\u0003X\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0014\u0010\b\u001a\u00020\t8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\b\u0010\n¨\u0006\f"}, d2 = {"Landroidx/compose/ui/node/ObserverNodeOwnerScope;", "Landroidx/compose/ui/node/OwnerScope;", "observerNode", "Landroidx/compose/ui/node/ObserverModifierNode;", "<init>", "(Landroidx/compose/ui/node/ObserverModifierNode;)V", "getObserverNode$ui_release", "()Landroidx/compose/ui/node/ObserverModifierNode;", "isValidOwnerScope", "", "()Z", "Companion", "ui_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
/* loaded from: classes13.dex */
|
|
public final class ObserverNodeOwnerScope implements OwnerScope {
|
|
|
|
@NotNull
|
|
private final ObserverModifierNode observerNode;
|
|
|
|
/* renamed from: Companion, reason: from kotlin metadata */
|
|
@NotNull
|
|
public static final Companion INSTANCE = new Companion(null);
|
|
public static final int $stable = 8;
|
|
|
|
@NotNull
|
|
private static final Function1<ObserverNodeOwnerScope, Unit> OnObserveReadsChanged = new Function1<ObserverNodeOwnerScope, Unit>() { // from class: androidx.compose.ui.node.ObserverNodeOwnerScope$Companion$OnObserveReadsChanged$1
|
|
/* renamed from: invoke, reason: avoid collision after fix types in other method */
|
|
public final void invoke2(ObserverNodeOwnerScope observerNodeOwnerScope) {
|
|
if (observerNodeOwnerScope.isValidOwnerScope()) {
|
|
observerNodeOwnerScope.getObserverNode().onObservedReadsChanged();
|
|
}
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Unit invoke(ObserverNodeOwnerScope observerNodeOwnerScope) {
|
|
invoke2(observerNodeOwnerScope);
|
|
return Unit.INSTANCE;
|
|
}
|
|
};
|
|
|
|
public ObserverNodeOwnerScope(@NotNull ObserverModifierNode observerModifierNode) {
|
|
this.observerNode = observerModifierNode;
|
|
}
|
|
|
|
@NotNull
|
|
/* renamed from: getObserverNode$ui_release, reason: from getter */
|
|
public final ObserverModifierNode getObserverNode() {
|
|
return this.observerNode;
|
|
}
|
|
|
|
@Override // androidx.compose.ui.node.OwnerScope
|
|
public boolean isValidOwnerScope() {
|
|
return this.observerNode.getNode().getIsAttached();
|
|
}
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003R \u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00020\u0006\u0012\u0004\u0012\u00020\u00070\u0005X\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\t¨\u0006\n"}, d2 = {"Landroidx/compose/ui/node/ObserverNodeOwnerScope$Companion;", "", "<init>", "()V", "OnObserveReadsChanged", "Lkotlin/Function1;", "Landroidx/compose/ui/node/ObserverNodeOwnerScope;", "", "getOnObserveReadsChanged$ui_release", "()Lkotlin/jvm/functions/Function1;", "ui_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
public static final class Companion {
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
@NotNull
|
|
public final Function1<ObserverNodeOwnerScope, Unit> getOnObserveReadsChanged$ui_release() {
|
|
return ObserverNodeOwnerScope.OnObserveReadsChanged;
|
|
}
|
|
|
|
private Companion() {
|
|
}
|
|
}
|
|
}
|