mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-18 20:07:19 +01:00
96 lines
5.8 KiB
Java
96 lines
5.8 KiB
Java
package androidx.compose.ui.text;
|
|
|
|
import androidx.compose.runtime.Immutable;
|
|
import androidx.compose.ui.text.internal.InlineClassHelperKt;
|
|
import androidx.compose.ui.unit.TextUnit;
|
|
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.SourceDebugExtension;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Immutable
|
|
@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\r\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\u001f\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0004\b\u0007\u0010\bJ+\u0010\u0010\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¢\u0006\u0004\b\u0011\u0010\u0012J\u0013\u0010\u0013\u001a\u00020\u00142\b\u0010\u0015\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J\b\u0010\u0016\u001a\u00020\u0017H\u0016J\b\u0010\u0018\u001a\u00020\u0019H\u0016R\u0013\u0010\u0002\u001a\u00020\u0003¢\u0006\n\n\u0002\u0010\u000b\u001a\u0004\b\t\u0010\nR\u0013\u0010\u0004\u001a\u00020\u0003¢\u0006\n\n\u0002\u0010\u000b\u001a\u0004\b\f\u0010\nR\u0013\u0010\u0005\u001a\u00020\u0006¢\u0006\n\n\u0002\u0010\u000f\u001a\u0004\b\r\u0010\u000e¨\u0006\u001a"}, d2 = {"Landroidx/compose/ui/text/Placeholder;", "", "width", "Landroidx/compose/ui/unit/TextUnit;", "height", "placeholderVerticalAlign", "Landroidx/compose/ui/text/PlaceholderVerticalAlign;", "<init>", "(JJILkotlin/jvm/internal/DefaultConstructorMarker;)V", "getWidth-XSAIIZE", "()J", "J", "getHeight-XSAIIZE", "getPlaceholderVerticalAlign-J6kI3mc", "()I", "I", "copy", "copy-K8Q-__8", "(JJI)Landroidx/compose/ui/text/Placeholder;", "equals", "", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "hashCode", "", "toString", "", "ui-text"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
@SourceDebugExtension({"SMAP\nPlaceholder.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Placeholder.kt\nandroidx/compose/ui/text/Placeholder\n+ 2 TextUnit.kt\nandroidx/compose/ui/unit/TextUnitKt\n+ 3 InlineClassHelper.kt\nandroidx/compose/ui/text/internal/InlineClassHelperKt\n*L\n1#1,139:1\n252#2:140\n252#2:145\n118#3,4:141\n118#3,4:146\n*S KotlinDebug\n*F\n+ 1 Placeholder.kt\nandroidx/compose/ui/text/Placeholder\n*L\n44#1:140\n45#1:145\n44#1:141,4\n45#1:146,4\n*E\n"})
|
|
/* loaded from: classes13.dex */
|
|
public final class Placeholder {
|
|
public static final int $stable = 0;
|
|
private final long height;
|
|
private final int placeholderVerticalAlign;
|
|
private final long width;
|
|
|
|
private Placeholder(long j, long j2, int i) {
|
|
this.width = j;
|
|
this.height = j2;
|
|
this.placeholderVerticalAlign = i;
|
|
if (TextUnit.m7560getRawTypeimpl(j) == 0) {
|
|
InlineClassHelperKt.throwIllegalArgumentException("width cannot be TextUnit.Unspecified");
|
|
}
|
|
if (TextUnit.m7560getRawTypeimpl(j2) == 0) {
|
|
InlineClassHelperKt.throwIllegalArgumentException("height cannot be TextUnit.Unspecified");
|
|
}
|
|
}
|
|
|
|
/* renamed from: copy-K8Q-__8$default, reason: not valid java name */
|
|
public static /* synthetic */ Placeholder m6720copyK8Q__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.m6721copyK8Q__8(j3, j4, i);
|
|
}
|
|
|
|
@NotNull
|
|
/* renamed from: copy-K8Q-__8, reason: not valid java name */
|
|
public final Placeholder m6721copyK8Q__8(long width, long height, int placeholderVerticalAlign) {
|
|
return new Placeholder(width, height, placeholderVerticalAlign, null);
|
|
}
|
|
|
|
public boolean equals(@Nullable Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof Placeholder)) {
|
|
return false;
|
|
}
|
|
Placeholder placeholder = (Placeholder) other;
|
|
return TextUnit.m7559equalsimpl0(this.width, placeholder.width) && TextUnit.m7559equalsimpl0(this.height, placeholder.height) && PlaceholderVerticalAlign.m6728equalsimpl0(this.placeholderVerticalAlign, placeholder.placeholderVerticalAlign);
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return PlaceholderVerticalAlign.m6729hashCodeimpl(this.placeholderVerticalAlign) + ((TextUnit.m7563hashCodeimpl(this.height) + (TextUnit.m7563hashCodeimpl(this.width) * 31)) * 31);
|
|
}
|
|
|
|
@NotNull
|
|
public String toString() {
|
|
return "Placeholder(width=" + ((Object) TextUnit.m7569toStringimpl(this.width)) + ", height=" + ((Object) TextUnit.m7569toStringimpl(this.height)) + ", placeholderVerticalAlign=" + ((Object) PlaceholderVerticalAlign.m6730toStringimpl(this.placeholderVerticalAlign)) + ')';
|
|
}
|
|
|
|
public /* synthetic */ Placeholder(long j, long j2, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(j, j2, i);
|
|
}
|
|
}
|