mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 09:02:34 -06:00
41 lines
3.6 KiB
Java
41 lines
3.6 KiB
Java
package androidx.compose.ui.layout;
|
|
|
|
import androidx.compose.ui.Modifier;
|
|
import androidx.compose.ui.node.LayoutModifierNode;
|
|
import androidx.compose.ui.unit.Constraints;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.functions.Function3;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* compiled from: LayoutModifier.kt */
|
|
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000e\n\u0002\b\u0006\b\u0000\u0018\u00002\u00020\u00012\u00020\u0002B-\u0012#\u0010\u0003\u001a\u001f\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u00020\u0006\u0012\u0004\u0012\u00020\u0007\u0012\u0004\u0012\u00020\b0\u0004¢\u0006\u0002\b\tø\u0001\u0000¢\u0006\u0002\u0010\nJ\b\u0010\u000e\u001a\u00020\u000fH\u0016J)\u0010\u0010\u001a\u00020\b*\u00020\u00052\u0006\u0010\u0011\u001a\u00020\u00062\u0006\u0010\u0012\u001a\u00020\u0007H\u0016ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u0013\u0010\u0014R:\u0010\u0003\u001a\u001f\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u00020\u0006\u0012\u0004\u0012\u00020\u0007\u0012\u0004\u0012\u00020\b0\u0004¢\u0006\u0002\b\tX\u0086\u000eø\u0001\u0000¢\u0006\u000e\n\u0000\u001a\u0004\b\u000b\u0010\f\"\u0004\b\r\u0010\n\u0082\u0002\u000b\n\u0002\b\u0019\n\u0005\b¡\u001e0\u0001¨\u0006\u0015"}, d2 = {"Landroidx/compose/ui/layout/LayoutModifierImpl;", "Landroidx/compose/ui/node/LayoutModifierNode;", "Landroidx/compose/ui/Modifier$Node;", "measureBlock", "Lkotlin/Function3;", "Landroidx/compose/ui/layout/MeasureScope;", "Landroidx/compose/ui/layout/Measurable;", "Landroidx/compose/ui/unit/Constraints;", "Landroidx/compose/ui/layout/MeasureResult;", "Lkotlin/ExtensionFunctionType;", "(Lkotlin/jvm/functions/Function3;)V", "getMeasureBlock", "()Lkotlin/jvm/functions/Function3;", "setMeasureBlock", "toString", "", "measure", "measurable", "constraints", "measure-3p2s80s", "(Landroidx/compose/ui/layout/MeasureScope;Landroidx/compose/ui/layout/Measurable;J)Landroidx/compose/ui/layout/MeasureResult;", "ui_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public final class LayoutModifierImpl extends Modifier.Node implements LayoutModifierNode {
|
|
private Function3<? super MeasureScope, ? super Measurable, ? super Constraints, ? extends MeasureResult> measureBlock;
|
|
|
|
public final Function3<MeasureScope, Measurable, Constraints, MeasureResult> getMeasureBlock() {
|
|
return this.measureBlock;
|
|
}
|
|
|
|
public final void setMeasureBlock(Function3<? super MeasureScope, ? super Measurable, ? super Constraints, ? extends MeasureResult> function3) {
|
|
Intrinsics.checkNotNullParameter(function3, "<set-?>");
|
|
this.measureBlock = function3;
|
|
}
|
|
|
|
public LayoutModifierImpl(Function3<? super MeasureScope, ? super Measurable, ? super Constraints, ? extends MeasureResult> measureBlock) {
|
|
Intrinsics.checkNotNullParameter(measureBlock, "measureBlock");
|
|
this.measureBlock = measureBlock;
|
|
}
|
|
|
|
@Override // androidx.compose.ui.node.LayoutModifierNode
|
|
/* renamed from: measure-3p2s80s */
|
|
public MeasureResult mo247measure3p2s80s(MeasureScope measure, Measurable measurable, long j) {
|
|
Intrinsics.checkNotNullParameter(measure, "$this$measure");
|
|
Intrinsics.checkNotNullParameter(measurable, "measurable");
|
|
return this.measureBlock.invoke(measure, measurable, Constraints.m4827boximpl(j));
|
|
}
|
|
|
|
public String toString() {
|
|
return "LayoutModifierImpl(measureBlock=" + this.measureBlock + ')';
|
|
}
|
|
}
|