alexandroid/decompiled/jadx/sources/androidx/compose/ui/text/font/FontWeight.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

332 lines
13 KiB
Java

package androidx.compose.ui.text.font;
import androidx.biometric.ErrorUtils$$ExternalSyntheticOutline0;
import androidx.compose.runtime.Immutable;
import androidx.compose.runtime.Stable;
import androidx.compose.ui.text.internal.InlineClassHelperKt;
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
import java.util.List;
import kotlin.Metadata;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.SourceDebugExtension;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u000f\n\u0000\n\u0002\u0010\b\n\u0002\b\u0007\n\u0002\u0010\u000b\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\b\u0007\u0018\u0000 \u00102\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\u0010B\u000f\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0004\b\u0004\u0010\u0005J\u0011\u0010\b\u001a\u00020\u00032\u0006\u0010\t\u001a\u00020\u0000H\u0096\u0002J\u0013\u0010\n\u001a\u00020\u000b2\b\u0010\t\u001a\u0004\u0018\u00010\fH\u0096\u0002J\b\u0010\r\u001a\u00020\u0003H\u0016J\b\u0010\u000e\u001a\u00020\u000fH\u0016R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007¨\u0006\u0011"}, d2 = {"Landroidx/compose/ui/text/font/FontWeight;", "", "weight", "", "<init>", "(I)V", "getWeight", "()I", "compareTo", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "equals", "", "", "hashCode", "toString", "", "Companion", "ui-text"}, k = 1, mv = {2, 0, 0}, xi = 48)
@Immutable
@SourceDebugExtension({"SMAP\nFontWeight.kt\nKotlin\n*S Kotlin\n*F\n+ 1 FontWeight.kt\nandroidx/compose/ui/text/font/FontWeight\n+ 2 InlineClassHelper.kt\nandroidx/compose/ui/text/internal/InlineClassHelperKt\n*L\n1#1,120:1\n118#2,4:121\n*S KotlinDebug\n*F\n+ 1 FontWeight.kt\nandroidx/compose/ui/text/font/FontWeight\n*L\n78#1:121,4\n*E\n"})
/* loaded from: classes13.dex */
public final class FontWeight implements Comparable<FontWeight> {
public static final int $stable = 0;
@NotNull
private static final FontWeight Black;
@NotNull
private static final FontWeight Bold;
/* renamed from: Companion, reason: from kotlin metadata */
@NotNull
public static final Companion INSTANCE = new Companion(null);
@NotNull
private static final FontWeight ExtraBold;
@NotNull
private static final FontWeight ExtraLight;
@NotNull
private static final FontWeight Light;
@NotNull
private static final FontWeight Medium;
@NotNull
private static final FontWeight Normal;
@NotNull
private static final FontWeight SemiBold;
@NotNull
private static final FontWeight Thin;
@NotNull
private static final FontWeight W100;
@NotNull
private static final FontWeight W200;
@NotNull
private static final FontWeight W300;
@NotNull
private static final FontWeight W400;
@NotNull
private static final FontWeight W500;
@NotNull
private static final FontWeight W600;
@NotNull
private static final FontWeight W700;
@NotNull
private static final FontWeight W800;
@NotNull
private static final FontWeight W900;
@NotNull
private static final List<FontWeight> values;
private final int weight;
static {
FontWeight fontWeight = new FontWeight(100);
W100 = fontWeight;
FontWeight fontWeight2 = new FontWeight(200);
W200 = fontWeight2;
FontWeight fontWeight3 = new FontWeight(300);
W300 = fontWeight3;
FontWeight fontWeight4 = new FontWeight(400);
W400 = fontWeight4;
FontWeight fontWeight5 = new FontWeight(500);
W500 = fontWeight5;
FontWeight fontWeight6 = new FontWeight(600);
W600 = fontWeight6;
FontWeight fontWeight7 = new FontWeight(700);
W700 = fontWeight7;
FontWeight fontWeight8 = new FontWeight(800);
W800 = fontWeight8;
FontWeight fontWeight9 = new FontWeight(900);
W900 = fontWeight9;
Thin = fontWeight;
ExtraLight = fontWeight2;
Light = fontWeight3;
Normal = fontWeight4;
Medium = fontWeight5;
SemiBold = fontWeight6;
Bold = fontWeight7;
ExtraBold = fontWeight8;
Black = fontWeight9;
values = CollectionsKt.listOf((Object[]) new FontWeight[]{fontWeight, fontWeight2, fontWeight3, fontWeight4, fontWeight5, fontWeight6, fontWeight7, fontWeight8, fontWeight9});
}
public FontWeight(int i) {
this.weight = i;
boolean z = false;
if (1 <= i && i < 1001) {
z = true;
}
if (z) {
return;
}
InlineClassHelperKt.throwIllegalArgumentException("Font weight can be in range [1, 1000]. Current value: " + i);
}
@Override // java.lang.Comparable
public int compareTo(@NotNull FontWeight other) {
return Intrinsics.compare(this.weight, other.weight);
}
public boolean equals(@Nullable Object other) {
if (this == other) {
return true;
}
return (other instanceof FontWeight) && this.weight == ((FontWeight) other).weight;
}
public final int getWeight() {
return this.weight;
}
public int hashCode() {
return this.weight;
}
@NotNull
public String toString() {
return ErrorUtils$$ExternalSyntheticOutline0.m(new StringBuilder("FontWeight(weight="), this.weight, ')');
}
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b7\n\u0002\u0010 \n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003R\u001c\u0010\u0004\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0006\u0010\u0003\u001a\u0004\b\u0007\u0010\bR\u001c\u0010\t\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\n\u0010\u0003\u001a\u0004\b\u000b\u0010\bR\u001c\u0010\f\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\r\u0010\u0003\u001a\u0004\b\u000e\u0010\bR\u001c\u0010\u000f\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0010\u0010\u0003\u001a\u0004\b\u0011\u0010\bR\u001c\u0010\u0012\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0013\u0010\u0003\u001a\u0004\b\u0014\u0010\bR\u001c\u0010\u0015\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0016\u0010\u0003\u001a\u0004\b\u0017\u0010\bR\u001c\u0010\u0018\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0019\u0010\u0003\u001a\u0004\b\u001a\u0010\bR\u001c\u0010\u001b\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u001c\u0010\u0003\u001a\u0004\b\u001d\u0010\bR\u001c\u0010\u001e\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u001f\u0010\u0003\u001a\u0004\b \u0010\bR\u001c\u0010!\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\"\u0010\u0003\u001a\u0004\b#\u0010\bR\u001c\u0010$\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b%\u0010\u0003\u001a\u0004\b&\u0010\bR\u001c\u0010'\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b(\u0010\u0003\u001a\u0004\b)\u0010\bR\u001c\u0010*\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b+\u0010\u0003\u001a\u0004\b,\u0010\bR\u001c\u0010-\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b.\u0010\u0003\u001a\u0004\b/\u0010\bR\u001c\u00100\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b1\u0010\u0003\u001a\u0004\b2\u0010\bR\u001c\u00103\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b4\u0010\u0003\u001a\u0004\b5\u0010\bR\u001c\u00106\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b7\u0010\u0003\u001a\u0004\b8\u0010\bR\u001c\u00109\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b:\u0010\u0003\u001a\u0004\b;\u0010\bR\u001a\u0010<\u001a\b\u0012\u0004\u0012\u00020\u00050=X\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b>\u0010?¨\u0006@"}, d2 = {"Landroidx/compose/ui/text/font/FontWeight$Companion;", "", "<init>", "()V", "W100", "Landroidx/compose/ui/text/font/FontWeight;", "getW100$annotations", "getW100", "()Landroidx/compose/ui/text/font/FontWeight;", "W200", "getW200$annotations", "getW200", "W300", "getW300$annotations", "getW300", "W400", "getW400$annotations", "getW400", "W500", "getW500$annotations", "getW500", "W600", "getW600$annotations", "getW600", "W700", "getW700$annotations", "getW700", "W800", "getW800$annotations", "getW800", "W900", "getW900$annotations", "getW900", "Thin", "getThin$annotations", "getThin", "ExtraLight", "getExtraLight$annotations", "getExtraLight", "Light", "getLight$annotations", "getLight", "Normal", "getNormal$annotations", "getNormal", "Medium", "getMedium$annotations", "getMedium", "SemiBold", "getSemiBold$annotations", "getSemiBold", "Bold", "getBold$annotations", "getBold", "ExtraBold", "getExtraBold$annotations", "getExtraBold", "Black", "getBlack$annotations", "getBlack", "values", "", "getValues$ui_text", "()Ljava/util/List;", "ui-text"}, k = 1, mv = {2, 0, 0}, xi = 48)
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
@NotNull
public final FontWeight getBlack() {
return FontWeight.Black;
}
@NotNull
public final FontWeight getBold() {
return FontWeight.Bold;
}
@NotNull
public final FontWeight getExtraBold() {
return FontWeight.ExtraBold;
}
@NotNull
public final FontWeight getExtraLight() {
return FontWeight.ExtraLight;
}
@NotNull
public final FontWeight getLight() {
return FontWeight.Light;
}
@NotNull
public final FontWeight getMedium() {
return FontWeight.Medium;
}
@NotNull
public final FontWeight getNormal() {
return FontWeight.Normal;
}
@NotNull
public final FontWeight getSemiBold() {
return FontWeight.SemiBold;
}
@NotNull
public final FontWeight getThin() {
return FontWeight.Thin;
}
@NotNull
public final List<FontWeight> getValues$ui_text() {
return FontWeight.values;
}
@NotNull
public final FontWeight getW100() {
return FontWeight.W100;
}
@NotNull
public final FontWeight getW200() {
return FontWeight.W200;
}
@NotNull
public final FontWeight getW300() {
return FontWeight.W300;
}
@NotNull
public final FontWeight getW400() {
return FontWeight.W400;
}
@NotNull
public final FontWeight getW500() {
return FontWeight.W500;
}
@NotNull
public final FontWeight getW600() {
return FontWeight.W600;
}
@NotNull
public final FontWeight getW700() {
return FontWeight.W700;
}
@NotNull
public final FontWeight getW800() {
return FontWeight.W800;
}
@NotNull
public final FontWeight getW900() {
return FontWeight.W900;
}
private Companion() {
}
@Stable
public static /* synthetic */ void getBlack$annotations() {
}
@Stable
public static /* synthetic */ void getBold$annotations() {
}
@Stable
public static /* synthetic */ void getExtraBold$annotations() {
}
@Stable
public static /* synthetic */ void getExtraLight$annotations() {
}
@Stable
public static /* synthetic */ void getLight$annotations() {
}
@Stable
public static /* synthetic */ void getMedium$annotations() {
}
@Stable
public static /* synthetic */ void getNormal$annotations() {
}
@Stable
public static /* synthetic */ void getSemiBold$annotations() {
}
@Stable
public static /* synthetic */ void getThin$annotations() {
}
@Stable
public static /* synthetic */ void getW100$annotations() {
}
@Stable
public static /* synthetic */ void getW200$annotations() {
}
@Stable
public static /* synthetic */ void getW300$annotations() {
}
@Stable
public static /* synthetic */ void getW400$annotations() {
}
@Stable
public static /* synthetic */ void getW500$annotations() {
}
@Stable
public static /* synthetic */ void getW600$annotations() {
}
@Stable
public static /* synthetic */ void getW700$annotations() {
}
@Stable
public static /* synthetic */ void getW800$annotations() {
}
@Stable
public static /* synthetic */ void getW900$annotations() {
}
}
}