Rabbit-R1/original r1/java/sources/androidx/compose/foundation/layout/VerticalAlignNode.java
2024-05-21 17:08:36 -04:00

40 lines
2.6 KiB
Java

package androidx.compose.foundation.layout;
import androidx.compose.ui.Alignment;
import androidx.compose.ui.Modifier;
import androidx.compose.ui.node.ParentDataModifierNode;
import androidx.compose.ui.unit.Density;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: RowColumnImpl.kt */
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0000\b\u0000\u0018\u00002\u00020\u00012\u00020\u0002B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004¢\u0006\u0002\u0010\u0005J\u0016\u0010\t\u001a\u00020\n*\u00020\u000b2\b\u0010\f\u001a\u0004\u0018\u00010\rH\u0016R\u001a\u0010\u0003\u001a\u00020\u0004X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0006\u0010\u0007\"\u0004\b\b\u0010\u0005¨\u0006\u000e"}, d2 = {"Landroidx/compose/foundation/layout/VerticalAlignNode;", "Landroidx/compose/ui/node/ParentDataModifierNode;", "Landroidx/compose/ui/Modifier$Node;", "vertical", "Landroidx/compose/ui/Alignment$Vertical;", "(Landroidx/compose/ui/Alignment$Vertical;)V", "getVertical", "()Landroidx/compose/ui/Alignment$Vertical;", "setVertical", "modifyParentData", "Landroidx/compose/foundation/layout/RowColumnParentData;", "Landroidx/compose/ui/unit/Density;", "parentData", "", "foundation-layout_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class VerticalAlignNode extends Modifier.Node implements ParentDataModifierNode {
private Alignment.Vertical vertical;
public final Alignment.Vertical getVertical() {
return this.vertical;
}
public final void setVertical(Alignment.Vertical vertical) {
Intrinsics.checkNotNullParameter(vertical, "<set-?>");
this.vertical = vertical;
}
public VerticalAlignNode(Alignment.Vertical vertical) {
Intrinsics.checkNotNullParameter(vertical, "vertical");
this.vertical = vertical;
}
@Override // androidx.compose.ui.node.ParentDataModifierNode
public RowColumnParentData modifyParentData(Density density, Object obj) {
Intrinsics.checkNotNullParameter(density, "<this>");
RowColumnParentData rowColumnParentData = obj instanceof RowColumnParentData ? (RowColumnParentData) obj : null;
if (rowColumnParentData == null) {
rowColumnParentData = new RowColumnParentData(0.0f, false, null, 7, null);
}
rowColumnParentData.setCrossAxisAlignment(CrossAxisAlignment.INSTANCE.vertical$foundation_layout_release(this.vertical));
return rowColumnParentData;
}
}