mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-18 11:57:18 +01:00
78 lines
4.5 KiB
Java
78 lines
4.5 KiB
Java
package androidx.compose.ui.text;
|
|
|
|
import androidx.compose.runtime.internal.StabilityInferred;
|
|
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
|
|
import com.facebook.react.uimanager.ViewProps;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@StabilityInferred(parameters = 1)
|
|
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0000\b\u0007\u0018\u00002\u00020\u0001B\u001d\b\u0016\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\u0004\b\u0006\u0010\u0007B\u0013\b\u0016\u0012\b\b\u0002\u0010\b\u001a\u00020\t¢\u0006\u0004\b\u0006\u0010\nB\u0011\b\u0016\u0012\u0006\u0010\u000b\u001a\u00020\f¢\u0006\u0004\b\u0006\u0010\rJ\b\u0010\u0012\u001a\u00020\u0013H\u0016J\u0013\u0010\u0014\u001a\u00020\t2\b\u0010\u0015\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J\b\u0010\u0016\u001a\u00020\u0017H\u0016R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011¨\u0006\u0018"}, d2 = {"Landroidx/compose/ui/text/PlatformTextStyle;", "", "spanStyle", "Landroidx/compose/ui/text/PlatformSpanStyle;", "paragraphStyle", "Landroidx/compose/ui/text/PlatformParagraphStyle;", "<init>", "(Landroidx/compose/ui/text/PlatformSpanStyle;Landroidx/compose/ui/text/PlatformParagraphStyle;)V", ViewProps.INCLUDE_FONT_PADDING, "", "(Z)V", "emojiSupportMatch", "Landroidx/compose/ui/text/EmojiSupportMatch;", "(ILkotlin/jvm/internal/DefaultConstructorMarker;)V", "getSpanStyle", "()Landroidx/compose/ui/text/PlatformSpanStyle;", "getParagraphStyle", "()Landroidx/compose/ui/text/PlatformParagraphStyle;", "hashCode", "", "equals", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "toString", "", "ui-text"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
/* loaded from: classes13.dex */
|
|
public final class PlatformTextStyle {
|
|
public static final int $stable = 0;
|
|
|
|
@Nullable
|
|
private final PlatformParagraphStyle paragraphStyle;
|
|
|
|
@Nullable
|
|
private final PlatformSpanStyle spanStyle;
|
|
|
|
public PlatformTextStyle(boolean z) {
|
|
this((PlatformSpanStyle) null, new PlatformParagraphStyle(z));
|
|
}
|
|
|
|
public boolean equals(@Nullable Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof PlatformTextStyle)) {
|
|
return false;
|
|
}
|
|
PlatformTextStyle platformTextStyle = (PlatformTextStyle) other;
|
|
return Intrinsics.areEqual(this.paragraphStyle, platformTextStyle.paragraphStyle) && Intrinsics.areEqual(this.spanStyle, platformTextStyle.spanStyle);
|
|
}
|
|
|
|
@Nullable
|
|
public final PlatformParagraphStyle getParagraphStyle() {
|
|
return this.paragraphStyle;
|
|
}
|
|
|
|
@Nullable
|
|
public final PlatformSpanStyle getSpanStyle() {
|
|
return this.spanStyle;
|
|
}
|
|
|
|
public int hashCode() {
|
|
PlatformSpanStyle platformSpanStyle = this.spanStyle;
|
|
int hashCode = (platformSpanStyle != null ? platformSpanStyle.hashCode() : 0) * 31;
|
|
PlatformParagraphStyle platformParagraphStyle = this.paragraphStyle;
|
|
return hashCode + (platformParagraphStyle != null ? platformParagraphStyle.hashCode() : 0);
|
|
}
|
|
|
|
@NotNull
|
|
public String toString() {
|
|
return "PlatformTextStyle(spanStyle=" + this.spanStyle + ", paragraphSyle=" + this.paragraphStyle + ')';
|
|
}
|
|
|
|
public PlatformTextStyle(@Nullable PlatformSpanStyle platformSpanStyle, @Nullable PlatformParagraphStyle platformParagraphStyle) {
|
|
this.spanStyle = platformSpanStyle;
|
|
this.paragraphStyle = platformParagraphStyle;
|
|
}
|
|
|
|
public /* synthetic */ PlatformTextStyle(boolean z, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this((i & 1) != 0 ? false : z);
|
|
}
|
|
|
|
public /* synthetic */ PlatformTextStyle(int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(i);
|
|
}
|
|
|
|
private PlatformTextStyle(int i) {
|
|
this((PlatformSpanStyle) null, new PlatformParagraphStyle(i, (DefaultConstructorMarker) null));
|
|
}
|
|
}
|