mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-30 11:02:31 -06:00
48 lines
2.6 KiB
Java
48 lines
2.6 KiB
Java
package androidx.compose.foundation.layout;
|
|
|
|
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\u0010\u0007\n\u0000\n\u0002\u0010\u000b\n\u0002\b\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0000\b\u0000\u0018\u00002\u00020\u00012\u00020\u0002B\u0015\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0002\u0010\u0007J\u0016\u0010\u0010\u001a\u00020\u0011*\u00020\u00122\b\u0010\u0013\u001a\u0004\u0018\u00010\u0014H\u0016R\u001a\u0010\u0005\u001a\u00020\u0006X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\b\u0010\t\"\u0004\b\n\u0010\u000bR\u001a\u0010\u0003\u001a\u00020\u0004X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\f\u0010\r\"\u0004\b\u000e\u0010\u000f¨\u0006\u0015"}, d2 = {"Landroidx/compose/foundation/layout/LayoutWeightNode;", "Landroidx/compose/ui/node/ParentDataModifierNode;", "Landroidx/compose/ui/Modifier$Node;", "weight", "", "fill", "", "(FZ)V", "getFill", "()Z", "setFill", "(Z)V", "getWeight", "()F", "setWeight", "(F)V", "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 LayoutWeightNode extends Modifier.Node implements ParentDataModifierNode {
|
|
private boolean fill;
|
|
private float weight;
|
|
|
|
public final boolean getFill() {
|
|
return this.fill;
|
|
}
|
|
|
|
public final float getWeight() {
|
|
return this.weight;
|
|
}
|
|
|
|
public final void setFill(boolean z) {
|
|
this.fill = z;
|
|
}
|
|
|
|
public final void setWeight(float f) {
|
|
this.weight = f;
|
|
}
|
|
|
|
public LayoutWeightNode(float f, boolean z) {
|
|
this.weight = f;
|
|
this.fill = z;
|
|
}
|
|
|
|
@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.setWeight(this.weight);
|
|
rowColumnParentData.setFill(this.fill);
|
|
return rowColumnParentData;
|
|
}
|
|
}
|