mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-18 11:57:18 +01:00
85 lines
4.5 KiB
Java
85 lines
4.5 KiB
Java
package androidx.compose.ui.text;
|
|
|
|
import androidx.compose.runtime.Immutable;
|
|
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
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\u000b\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\b\u0007\u0018\u00002\u00020\u0001B7\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0003\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0003¢\u0006\u0004\b\u0007\u0010\bJ\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J\b\u0010\u0011\u001a\u00020\u0012H\u0016R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\nR\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\nR\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\n¨\u0006\u0013"}, d2 = {"Landroidx/compose/ui/text/TextLinkStyles;", "", "style", "Landroidx/compose/ui/text/SpanStyle;", "focusedStyle", "hoveredStyle", "pressedStyle", "<init>", "(Landroidx/compose/ui/text/SpanStyle;Landroidx/compose/ui/text/SpanStyle;Landroidx/compose/ui/text/SpanStyle;Landroidx/compose/ui/text/SpanStyle;)V", "getStyle", "()Landroidx/compose/ui/text/SpanStyle;", "getFocusedStyle", "getHoveredStyle", "getPressedStyle", "equals", "", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "hashCode", "", "ui-text"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
/* loaded from: classes13.dex */
|
|
public final class TextLinkStyles {
|
|
public static final int $stable = 0;
|
|
|
|
@Nullable
|
|
private final SpanStyle focusedStyle;
|
|
|
|
@Nullable
|
|
private final SpanStyle hoveredStyle;
|
|
|
|
@Nullable
|
|
private final SpanStyle pressedStyle;
|
|
|
|
@Nullable
|
|
private final SpanStyle style;
|
|
|
|
public /* synthetic */ TextLinkStyles(SpanStyle spanStyle, SpanStyle spanStyle2, SpanStyle spanStyle3, SpanStyle spanStyle4, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this((i & 1) != 0 ? null : spanStyle, (i & 2) != 0 ? null : spanStyle2, (i & 4) != 0 ? null : spanStyle3, (i & 8) != 0 ? null : spanStyle4);
|
|
}
|
|
|
|
public boolean equals(@Nullable Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (other == null || !(other instanceof TextLinkStyles)) {
|
|
return false;
|
|
}
|
|
TextLinkStyles textLinkStyles = (TextLinkStyles) other;
|
|
return Intrinsics.areEqual(this.style, textLinkStyles.style) && Intrinsics.areEqual(this.focusedStyle, textLinkStyles.focusedStyle) && Intrinsics.areEqual(this.hoveredStyle, textLinkStyles.hoveredStyle) && Intrinsics.areEqual(this.pressedStyle, textLinkStyles.pressedStyle);
|
|
}
|
|
|
|
@Nullable
|
|
public final SpanStyle getFocusedStyle() {
|
|
return this.focusedStyle;
|
|
}
|
|
|
|
@Nullable
|
|
public final SpanStyle getHoveredStyle() {
|
|
return this.hoveredStyle;
|
|
}
|
|
|
|
@Nullable
|
|
public final SpanStyle getPressedStyle() {
|
|
return this.pressedStyle;
|
|
}
|
|
|
|
@Nullable
|
|
public final SpanStyle getStyle() {
|
|
return this.style;
|
|
}
|
|
|
|
public int hashCode() {
|
|
SpanStyle spanStyle = this.style;
|
|
int hashCode = (spanStyle != null ? spanStyle.hashCode() : 0) * 31;
|
|
SpanStyle spanStyle2 = this.focusedStyle;
|
|
int hashCode2 = (hashCode + (spanStyle2 != null ? spanStyle2.hashCode() : 0)) * 31;
|
|
SpanStyle spanStyle3 = this.hoveredStyle;
|
|
int hashCode3 = (hashCode2 + (spanStyle3 != null ? spanStyle3.hashCode() : 0)) * 31;
|
|
SpanStyle spanStyle4 = this.pressedStyle;
|
|
return hashCode3 + (spanStyle4 != null ? spanStyle4.hashCode() : 0);
|
|
}
|
|
|
|
public TextLinkStyles(@Nullable SpanStyle spanStyle, @Nullable SpanStyle spanStyle2, @Nullable SpanStyle spanStyle3, @Nullable SpanStyle spanStyle4) {
|
|
this.style = spanStyle;
|
|
this.focusedStyle = spanStyle2;
|
|
this.hoveredStyle = spanStyle3;
|
|
this.pressedStyle = spanStyle4;
|
|
}
|
|
|
|
public TextLinkStyles() {
|
|
this(null, null, null, null, 15, null);
|
|
}
|
|
}
|