mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-30 11:02:31 -06:00
94 lines
6.5 KiB
Java
94 lines
6.5 KiB
Java
package androidx.compose.foundation.layout;
|
|
|
|
import androidx.compose.ui.layout.AlignmentLine;
|
|
import androidx.compose.ui.node.ModifierNodeElement;
|
|
import androidx.compose.ui.platform.InspectorInfo;
|
|
import androidx.compose.ui.unit.Dp;
|
|
import kotlin.Metadata;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* compiled from: AlignmentLine.kt */
|
|
@Metadata(d1 = {"\u0000D\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0004\b\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B9\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\u0006\u0010\u0007\u001a\u00020\u0006\u0012\u0017\u0010\b\u001a\u0013\u0012\u0004\u0012\u00020\n\u0012\u0004\u0012\u00020\u000b0\t¢\u0006\u0002\b\fø\u0001\u0000¢\u0006\u0002\u0010\rJ\b\u0010\u0016\u001a\u00020\u0002H\u0016J\u0013\u0010\u0017\u001a\u00020\u00182\b\u0010\u0019\u001a\u0004\u0018\u00010\u001aH\u0096\u0002J\b\u0010\u001b\u001a\u00020\u001cH\u0016J\u0010\u0010\u001d\u001a\u00020\u000b2\u0006\u0010\u001e\u001a\u00020\u0002H\u0016J\f\u0010\u001f\u001a\u00020\u000b*\u00020\nH\u0016R\u001c\u0010\u0007\u001a\u00020\u0006ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0010\u001a\u0004\b\u000e\u0010\u000fR\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u001c\u0010\u0005\u001a\u00020\u0006ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0010\u001a\u0004\b\u0013\u0010\u000fR\"\u0010\b\u001a\u0013\u0012\u0004\u0012\u00020\n\u0012\u0004\u0012\u00020\u000b0\t¢\u0006\u0002\b\f¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015\u0082\u0002\u000f\n\u0002\b\u0019\n\u0005\b¡\u001e0\u0001\n\u0002\b!¨\u0006 "}, d2 = {"Landroidx/compose/foundation/layout/AlignmentLineOffsetDpElement;", "Landroidx/compose/ui/node/ModifierNodeElement;", "Landroidx/compose/foundation/layout/AlignmentLineOffsetDpNode;", "alignmentLine", "Landroidx/compose/ui/layout/AlignmentLine;", "before", "Landroidx/compose/ui/unit/Dp;", "after", "inspectorInfo", "Lkotlin/Function1;", "Landroidx/compose/ui/platform/InspectorInfo;", "", "Lkotlin/ExtensionFunctionType;", "(Landroidx/compose/ui/layout/AlignmentLine;FFLkotlin/jvm/functions/Function1;Lkotlin/jvm/internal/DefaultConstructorMarker;)V", "getAfter-D9Ej5fM", "()F", "F", "getAlignmentLine", "()Landroidx/compose/ui/layout/AlignmentLine;", "getBefore-D9Ej5fM", "getInspectorInfo", "()Lkotlin/jvm/functions/Function1;", "create", "equals", "", "other", "", "hashCode", "", "update", "node", "inspectableProperties", "foundation-layout_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public final class AlignmentLineOffsetDpElement extends ModifierNodeElement<AlignmentLineOffsetDpNode> {
|
|
private final float after;
|
|
private final AlignmentLine alignmentLine;
|
|
private final float before;
|
|
private final Function1<InspectorInfo, Unit> inspectorInfo;
|
|
|
|
public /* synthetic */ AlignmentLineOffsetDpElement(AlignmentLine alignmentLine, float f, float f2, Function1 function1, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(alignmentLine, f, f2, function1);
|
|
}
|
|
|
|
/* renamed from: getAfter-D9Ej5fM, reason: not valid java name and from getter */
|
|
public final float getAfter() {
|
|
return this.after;
|
|
}
|
|
|
|
public final AlignmentLine getAlignmentLine() {
|
|
return this.alignmentLine;
|
|
}
|
|
|
|
/* renamed from: getBefore-D9Ej5fM, reason: not valid java name and from getter */
|
|
public final float getBefore() {
|
|
return this.before;
|
|
}
|
|
|
|
public final Function1<InspectorInfo, Unit> getInspectorInfo() {
|
|
return this.inspectorInfo;
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
private AlignmentLineOffsetDpElement(AlignmentLine alignmentLine, float f, float f2, Function1<? super InspectorInfo, Unit> inspectorInfo) {
|
|
Intrinsics.checkNotNullParameter(alignmentLine, "alignmentLine");
|
|
Intrinsics.checkNotNullParameter(inspectorInfo, "inspectorInfo");
|
|
this.alignmentLine = alignmentLine;
|
|
this.before = f;
|
|
this.after = f2;
|
|
this.inspectorInfo = inspectorInfo;
|
|
if ((f < 0.0f && !Dp.m4888equalsimpl0(f, Dp.INSTANCE.m4903getUnspecifiedD9Ej5fM())) || (f2 < 0.0f && !Dp.m4888equalsimpl0(f2, Dp.INSTANCE.m4903getUnspecifiedD9Ej5fM()))) {
|
|
throw new IllegalArgumentException("Padding from alignment line must be a non-negative number".toString());
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // androidx.compose.ui.node.ModifierNodeElement
|
|
public AlignmentLineOffsetDpNode create() {
|
|
return new AlignmentLineOffsetDpNode(this.alignmentLine, this.before, this.after, null);
|
|
}
|
|
|
|
@Override // androidx.compose.ui.node.ModifierNodeElement
|
|
public void update(AlignmentLineOffsetDpNode node) {
|
|
Intrinsics.checkNotNullParameter(node, "node");
|
|
node.setAlignmentLine(this.alignmentLine);
|
|
node.m384setBefore0680j_4(this.before);
|
|
node.m383setAfter0680j_4(this.after);
|
|
}
|
|
|
|
@Override // androidx.compose.ui.node.ModifierNodeElement
|
|
public void inspectableProperties(InspectorInfo inspectorInfo) {
|
|
Intrinsics.checkNotNullParameter(inspectorInfo, "<this>");
|
|
this.inspectorInfo.invoke(inspectorInfo);
|
|
}
|
|
|
|
@Override // androidx.compose.ui.node.ModifierNodeElement
|
|
public boolean equals(Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
AlignmentLineOffsetDpElement alignmentLineOffsetDpElement = other instanceof AlignmentLineOffsetDpElement ? (AlignmentLineOffsetDpElement) other : null;
|
|
if (alignmentLineOffsetDpElement == null) {
|
|
return false;
|
|
}
|
|
return Intrinsics.areEqual(this.alignmentLine, alignmentLineOffsetDpElement.alignmentLine) && Dp.m4888equalsimpl0(this.before, alignmentLineOffsetDpElement.before) && Dp.m4888equalsimpl0(this.after, alignmentLineOffsetDpElement.after);
|
|
}
|
|
|
|
@Override // androidx.compose.ui.node.ModifierNodeElement
|
|
public int hashCode() {
|
|
return (((this.alignmentLine.hashCode() * 31) + Dp.m4889hashCodeimpl(this.before)) * 31) + Dp.m4889hashCodeimpl(this.after);
|
|
}
|
|
}
|