mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-30 11:02:31 -06:00
93 lines
5.7 KiB
Java
93 lines
5.7 KiB
Java
package androidx.compose.foundation.layout;
|
|
|
|
import androidx.compose.ui.node.ModifierNodeElement;
|
|
import androidx.compose.ui.platform.InspectorInfo;
|
|
import androidx.compose.ui.unit.Dp;
|
|
import io.sentry.protocol.ViewHierarchyNode;
|
|
import kotlin.Metadata;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* compiled from: Offset.kt */
|
|
@Metadata(d1 = {"\u0000D\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\b\f\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\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\u0004\u0012\u0006\u0010\u0006\u001a\u00020\u0007\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\u00072\b\u0010\u0018\u001a\u0004\u0018\u00010\u0019H\u0096\u0002J\b\u0010\u001a\u001a\u00020\u001bH\u0016J\b\u0010\u001c\u001a\u00020\u001dH\u0016J\u0010\u0010\u001e\u001a\u00020\u000b2\u0006\u0010\u001f\u001a\u00020\u0002H\u0016J\f\u0010 \u001a\u00020\u000b*\u00020\nH\u0016R\"\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\u000e\u0010\u000fR\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u001c\u0010\u0003\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0014\u001a\u0004\b\u0012\u0010\u0013R\u001c\u0010\u0005\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0014\u001a\u0004\b\u0015\u0010\u0013\u0082\u0002\u000f\n\u0002\b\u0019\n\u0005\b¡\u001e0\u0001\n\u0002\b!¨\u0006!"}, d2 = {"Landroidx/compose/foundation/layout/OffsetElement;", "Landroidx/compose/ui/node/ModifierNodeElement;", "Landroidx/compose/foundation/layout/OffsetNode;", ViewHierarchyNode.JsonKeys.X, "Landroidx/compose/ui/unit/Dp;", ViewHierarchyNode.JsonKeys.Y, "rtlAware", "", "inspectorInfo", "Lkotlin/Function1;", "Landroidx/compose/ui/platform/InspectorInfo;", "", "Lkotlin/ExtensionFunctionType;", "(FFZLkotlin/jvm/functions/Function1;Lkotlin/jvm/internal/DefaultConstructorMarker;)V", "getInspectorInfo", "()Lkotlin/jvm/functions/Function1;", "getRtlAware", "()Z", "getX-D9Ej5fM", "()F", "F", "getY-D9Ej5fM", "create", "equals", "other", "", "hashCode", "", "toString", "", "update", "node", "inspectableProperties", "foundation-layout_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
final class OffsetElement extends ModifierNodeElement<OffsetNode> {
|
|
private final Function1<InspectorInfo, Unit> inspectorInfo;
|
|
private final boolean rtlAware;
|
|
private final float x;
|
|
private final float y;
|
|
|
|
public /* synthetic */ OffsetElement(float f, float f2, boolean z, Function1 function1, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(f, f2, z, function1);
|
|
}
|
|
|
|
public final Function1<InspectorInfo, Unit> getInspectorInfo() {
|
|
return this.inspectorInfo;
|
|
}
|
|
|
|
public final boolean getRtlAware() {
|
|
return this.rtlAware;
|
|
}
|
|
|
|
/* renamed from: getX-D9Ej5fM, reason: not valid java name and from getter */
|
|
public final float getX() {
|
|
return this.x;
|
|
}
|
|
|
|
/* renamed from: getY-D9Ej5fM, reason: not valid java name and from getter */
|
|
public final float getY() {
|
|
return this.y;
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
private OffsetElement(float f, float f2, boolean z, Function1<? super InspectorInfo, Unit> inspectorInfo) {
|
|
Intrinsics.checkNotNullParameter(inspectorInfo, "inspectorInfo");
|
|
this.x = f;
|
|
this.y = f2;
|
|
this.rtlAware = z;
|
|
this.inspectorInfo = inspectorInfo;
|
|
}
|
|
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // androidx.compose.ui.node.ModifierNodeElement
|
|
public OffsetNode create() {
|
|
return new OffsetNode(this.x, this.y, this.rtlAware, null);
|
|
}
|
|
|
|
@Override // androidx.compose.ui.node.ModifierNodeElement
|
|
public void update(OffsetNode node) {
|
|
Intrinsics.checkNotNullParameter(node, "node");
|
|
node.m454setX0680j_4(this.x);
|
|
node.m455setY0680j_4(this.y);
|
|
node.setRtlAware(this.rtlAware);
|
|
}
|
|
|
|
@Override // androidx.compose.ui.node.ModifierNodeElement
|
|
public boolean equals(Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
OffsetElement offsetElement = other instanceof OffsetElement ? (OffsetElement) other : null;
|
|
if (offsetElement == null) {
|
|
return false;
|
|
}
|
|
return Dp.m4888equalsimpl0(this.x, offsetElement.x) && Dp.m4888equalsimpl0(this.y, offsetElement.y) && this.rtlAware == offsetElement.rtlAware;
|
|
}
|
|
|
|
@Override // androidx.compose.ui.node.ModifierNodeElement
|
|
public int hashCode() {
|
|
return (((Dp.m4889hashCodeimpl(this.x) * 31) + Dp.m4889hashCodeimpl(this.y)) * 31) + Boolean.hashCode(this.rtlAware);
|
|
}
|
|
|
|
public String toString() {
|
|
return "OffsetModifierElement(x=" + ((Object) Dp.m4894toStringimpl(this.x)) + ", y=" + ((Object) Dp.m4894toStringimpl(this.y)) + ", rtlAware=" + this.rtlAware + ')';
|
|
}
|
|
|
|
@Override // androidx.compose.ui.node.ModifierNodeElement
|
|
public void inspectableProperties(InspectorInfo inspectorInfo) {
|
|
Intrinsics.checkNotNullParameter(inspectorInfo, "<this>");
|
|
this.inspectorInfo.invoke(inspectorInfo);
|
|
}
|
|
}
|