mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
88 lines
5.3 KiB
Java
88 lines
5.3 KiB
Java
package androidx.compose.ui.text;
|
|
|
|
import androidx.compose.ui.unit.TextUnit;
|
|
import androidx.compose.ui.unit.TextUnitKt;
|
|
import io.sentry.protocol.ViewHierarchyNode;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
|
|
/* compiled from: Placeholder.kt */
|
|
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\f\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0007\u0018\u00002\u00020\u0001B \u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006ø\u0001\u0000¢\u0006\u0002\u0010\u0007J1\u0010\u000f\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u0006ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u0010\u0010\u0011J\u0013\u0010\u0012\u001a\u00020\u00132\b\u0010\u0014\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J\b\u0010\u0015\u001a\u00020\u0016H\u0016J\b\u0010\u0017\u001a\u00020\u0018H\u0016R\u001c\u0010\u0004\u001a\u00020\u0003ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\n\u001a\u0004\b\b\u0010\tR\u001c\u0010\u0005\u001a\u00020\u0006ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\r\u001a\u0004\b\u000b\u0010\fR\u001c\u0010\u0002\u001a\u00020\u0003ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\n\u001a\u0004\b\u000e\u0010\t\u0082\u0002\u000f\n\u0002\b\u0019\n\u0005\b¡\u001e0\u0001\n\u0002\b!¨\u0006\u0019"}, d2 = {"Landroidx/compose/ui/text/Placeholder;", "", ViewHierarchyNode.JsonKeys.WIDTH, "Landroidx/compose/ui/unit/TextUnit;", ViewHierarchyNode.JsonKeys.HEIGHT, "placeholderVerticalAlign", "Landroidx/compose/ui/text/PlaceholderVerticalAlign;", "(JJILkotlin/jvm/internal/DefaultConstructorMarker;)V", "getHeight-XSAIIZE", "()J", "J", "getPlaceholderVerticalAlign-J6kI3mc", "()I", "I", "getWidth-XSAIIZE", "copy", "copy-K8Q-__8", "(JJI)Landroidx/compose/ui/text/Placeholder;", "equals", "", "other", "hashCode", "", "toString", "", "ui-text_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public final class Placeholder {
|
|
public static final int $stable = 0;
|
|
private final long height;
|
|
private final int placeholderVerticalAlign;
|
|
private final long width;
|
|
|
|
public /* synthetic */ Placeholder(long j, long j2, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(j, j2, i);
|
|
}
|
|
|
|
/* renamed from: getHeight-XSAIIZE, reason: not valid java name and from getter */
|
|
public final long getHeight() {
|
|
return this.height;
|
|
}
|
|
|
|
/* renamed from: getPlaceholderVerticalAlign-J6kI3mc, reason: not valid java name and from getter */
|
|
public final int getPlaceholderVerticalAlign() {
|
|
return this.placeholderVerticalAlign;
|
|
}
|
|
|
|
/* renamed from: getWidth-XSAIIZE, reason: not valid java name and from getter */
|
|
public final long getWidth() {
|
|
return this.width;
|
|
}
|
|
|
|
private Placeholder(long j, long j2, int i) {
|
|
this.width = j;
|
|
this.height = j2;
|
|
this.placeholderVerticalAlign = i;
|
|
if (!(!TextUnitKt.m5082isUnspecifiedR2X_6o(j))) {
|
|
throw new IllegalArgumentException("width cannot be TextUnit.Unspecified".toString());
|
|
}
|
|
if (!(!TextUnitKt.m5082isUnspecifiedR2X_6o(j2))) {
|
|
throw new IllegalArgumentException("height cannot be TextUnit.Unspecified".toString());
|
|
}
|
|
}
|
|
|
|
/* renamed from: copy-K8Q-__8$default, reason: not valid java name */
|
|
public static /* synthetic */ Placeholder m4333copyK8Q__8$default(Placeholder placeholder, long j, long j2, int i, int i2, Object obj) {
|
|
if ((i2 & 1) != 0) {
|
|
j = placeholder.width;
|
|
}
|
|
long j3 = j;
|
|
if ((i2 & 2) != 0) {
|
|
j2 = placeholder.height;
|
|
}
|
|
long j4 = j2;
|
|
if ((i2 & 4) != 0) {
|
|
i = placeholder.placeholderVerticalAlign;
|
|
}
|
|
return placeholder.m4334copyK8Q__8(j3, j4, i);
|
|
}
|
|
|
|
/* renamed from: copy-K8Q-__8, reason: not valid java name */
|
|
public final Placeholder m4334copyK8Q__8(long width, long height, int placeholderVerticalAlign) {
|
|
return new Placeholder(width, height, placeholderVerticalAlign, null);
|
|
}
|
|
|
|
public boolean equals(Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof Placeholder)) {
|
|
return false;
|
|
}
|
|
Placeholder placeholder = (Placeholder) other;
|
|
return TextUnit.m5061equalsimpl0(this.width, placeholder.width) && TextUnit.m5061equalsimpl0(this.height, placeholder.height) && PlaceholderVerticalAlign.m4341equalsimpl0(this.placeholderVerticalAlign, placeholder.placeholderVerticalAlign);
|
|
}
|
|
|
|
public int hashCode() {
|
|
return (((TextUnit.m5065hashCodeimpl(this.width) * 31) + TextUnit.m5065hashCodeimpl(this.height)) * 31) + PlaceholderVerticalAlign.m4342hashCodeimpl(this.placeholderVerticalAlign);
|
|
}
|
|
|
|
public String toString() {
|
|
return "Placeholder(width=" + ((Object) TextUnit.m5071toStringimpl(this.width)) + ", height=" + ((Object) TextUnit.m5071toStringimpl(this.height)) + ", placeholderVerticalAlign=" + ((Object) PlaceholderVerticalAlign.m4343toStringimpl(this.placeholderVerticalAlign)) + ')';
|
|
}
|
|
}
|