Rabbit-R1/switch port/java/sources/androidx/compose/foundation/layout/WithAlignmentLineElement.java
2024-05-21 17:08:36 -04:00

60 lines
3.6 KiB
Java

package androidx.compose.foundation.layout;
import androidx.compose.foundation.layout.SiblingsAlignedNode;
import androidx.compose.ui.layout.AlignmentLine;
import androidx.compose.ui.node.ModifierNodeElement;
import androidx.compose.ui.platform.InspectorInfo;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: RowColumnImpl.kt */
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\b\u0000\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004¢\u0006\u0002\u0010\u0005J\b\u0010\b\u001a\u00020\u0002H\u0016J\u0013\u0010\t\u001a\u00020\n2\b\u0010\u000b\u001a\u0004\u0018\u00010\fH\u0096\u0002J\b\u0010\r\u001a\u00020\u000eH\u0016J\u0010\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u0002H\u0016J\f\u0010\u0012\u001a\u00020\u0010*\u00020\u0013H\u0016R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007¨\u0006\u0014"}, d2 = {"Landroidx/compose/foundation/layout/WithAlignmentLineElement;", "Landroidx/compose/ui/node/ModifierNodeElement;", "Landroidx/compose/foundation/layout/SiblingsAlignedNode$WithAlignmentLineNode;", "alignmentLine", "Landroidx/compose/ui/layout/AlignmentLine;", "(Landroidx/compose/ui/layout/AlignmentLine;)V", "getAlignmentLine", "()Landroidx/compose/ui/layout/AlignmentLine;", "create", "equals", "", "other", "", "hashCode", "", "update", "", "node", "inspectableProperties", "Landroidx/compose/ui/platform/InspectorInfo;", "foundation-layout_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class WithAlignmentLineElement extends ModifierNodeElement<SiblingsAlignedNode.WithAlignmentLineNode> {
private final AlignmentLine alignmentLine;
public final AlignmentLine getAlignmentLine() {
return this.alignmentLine;
}
public WithAlignmentLineElement(AlignmentLine alignmentLine) {
Intrinsics.checkNotNullParameter(alignmentLine, "alignmentLine");
this.alignmentLine = alignmentLine;
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // androidx.compose.ui.node.ModifierNodeElement
public SiblingsAlignedNode.WithAlignmentLineNode create() {
return new SiblingsAlignedNode.WithAlignmentLineNode(this.alignmentLine);
}
@Override // androidx.compose.ui.node.ModifierNodeElement
public void update(SiblingsAlignedNode.WithAlignmentLineNode node) {
Intrinsics.checkNotNullParameter(node, "node");
node.setAlignmentLine(this.alignmentLine);
}
@Override // androidx.compose.ui.node.ModifierNodeElement
public void inspectableProperties(InspectorInfo inspectorInfo) {
Intrinsics.checkNotNullParameter(inspectorInfo, "<this>");
inspectorInfo.setName("alignBy");
inspectorInfo.setValue(this.alignmentLine);
}
@Override // androidx.compose.ui.node.ModifierNodeElement
public int hashCode() {
return this.alignmentLine.hashCode();
}
@Override // androidx.compose.ui.node.ModifierNodeElement
public boolean equals(Object other) {
if (this == other) {
return true;
}
WithAlignmentLineElement withAlignmentLineElement = other instanceof WithAlignmentLineElement ? (WithAlignmentLineElement) other : null;
if (withAlignmentLineElement == null) {
return false;
}
return Intrinsics.areEqual(this.alignmentLine, withAlignmentLineElement.alignmentLine);
}
}