mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
173 lines
11 KiB
Java
173 lines
11 KiB
Java
package androidx.compose.ui.text.font;
|
|
|
|
import androidx.compose.ui.text.font.FontVariation;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* compiled from: Font.kt */
|
|
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0012\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\b\u0007\u0018\u00002\u00020\u0001B:\b\u0000\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0005\u0012\b\b\u0002\u0010\u0006\u001a\u00020\u0007\u0012\b\b\u0003\u0010\b\u001a\u00020\t\u0012\b\b\u0002\u0010\n\u001a\u00020\u000bø\u0001\u0000¢\u0006\u0002\u0010\fJ1\u0010\u0018\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u0019\u0010\u001aJG\u0010\u0018\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\n\u001a\u00020\u000b2\b\b\u0002\u0010\b\u001a\u00020\tH\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u001b\u0010\u001cJ\u0013\u0010\u001d\u001a\u00020\u001e2\b\u0010\u001f\u001a\u0004\u0018\u00010 H\u0096\u0002J\b\u0010!\u001a\u00020\u0003H\u0016J\b\u0010\"\u001a\u00020#H\u0016R'\u0010\n\u001a\u00020\u000b8WX\u0097\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\u0010\n\u0002\u0010\u0011\u0012\u0004\b\r\u0010\u000e\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0010R\u001f\u0010\u0006\u001a\u00020\u0007X\u0096\u0004ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u0011\u001a\u0004\b\u0013\u0010\u0010R\u0013\u0010\b\u001a\u00020\t8\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015R\u0014\u0010\u0004\u001a\u00020\u0005X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0017\u0082\u0002\u000f\n\u0002\b\u0019\n\u0005\b¡\u001e0\u0001\n\u0002\b!¨\u0006$"}, d2 = {"Landroidx/compose/ui/text/font/ResourceFont;", "Landroidx/compose/ui/text/font/Font;", "resId", "", "weight", "Landroidx/compose/ui/text/font/FontWeight;", "style", "Landroidx/compose/ui/text/font/FontStyle;", "variationSettings", "Landroidx/compose/ui/text/font/FontVariation$Settings;", "loadingStrategy", "Landroidx/compose/ui/text/font/FontLoadingStrategy;", "(ILandroidx/compose/ui/text/font/FontWeight;ILandroidx/compose/ui/text/font/FontVariation$Settings;ILkotlin/jvm/internal/DefaultConstructorMarker;)V", "getLoadingStrategy-PKNRLFQ$annotations", "()V", "getLoadingStrategy-PKNRLFQ", "()I", "I", "getResId", "getStyle-_-LCdwA", "getVariationSettings", "()Landroidx/compose/ui/text/font/FontVariation$Settings;", "getWeight", "()Landroidx/compose/ui/text/font/FontWeight;", "copy", "copy-RetOiIg", "(ILandroidx/compose/ui/text/font/FontWeight;I)Landroidx/compose/ui/text/font/ResourceFont;", "copy-F3nL8kk", "(ILandroidx/compose/ui/text/font/FontWeight;IILandroidx/compose/ui/text/font/FontVariation$Settings;)Landroidx/compose/ui/text/font/ResourceFont;", "equals", "", "other", "", "hashCode", "toString", "", "ui-text_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public final class ResourceFont implements Font {
|
|
public static final int $stable = 0;
|
|
private final int loadingStrategy;
|
|
private final int resId;
|
|
private final int style;
|
|
private final FontVariation.Settings variationSettings;
|
|
private final FontWeight weight;
|
|
|
|
public /* synthetic */ ResourceFont(int i, FontWeight fontWeight, int i2, FontVariation.Settings settings, int i3, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(i, fontWeight, i2, settings, i3);
|
|
}
|
|
|
|
/* renamed from: getLoadingStrategy-PKNRLFQ$annotations, reason: not valid java name */
|
|
public static /* synthetic */ void m4546getLoadingStrategyPKNRLFQ$annotations() {
|
|
}
|
|
|
|
@Override // androidx.compose.ui.text.font.Font
|
|
/* renamed from: getLoadingStrategy-PKNRLFQ, reason: from getter */
|
|
public int getLoadingStrategy() {
|
|
return this.loadingStrategy;
|
|
}
|
|
|
|
public final int getResId() {
|
|
return this.resId;
|
|
}
|
|
|
|
@Override // androidx.compose.ui.text.font.Font
|
|
/* renamed from: getStyle-_-LCdwA, reason: from getter */
|
|
public int getStyle() {
|
|
return this.style;
|
|
}
|
|
|
|
public final FontVariation.Settings getVariationSettings() {
|
|
return this.variationSettings;
|
|
}
|
|
|
|
@Override // androidx.compose.ui.text.font.Font
|
|
public FontWeight getWeight() {
|
|
return this.weight;
|
|
}
|
|
|
|
private ResourceFont(int i, FontWeight weight, int i2, FontVariation.Settings variationSettings, int i3) {
|
|
Intrinsics.checkNotNullParameter(weight, "weight");
|
|
Intrinsics.checkNotNullParameter(variationSettings, "variationSettings");
|
|
this.resId = i;
|
|
this.weight = weight;
|
|
this.style = i2;
|
|
this.variationSettings = variationSettings;
|
|
this.loadingStrategy = i3;
|
|
}
|
|
|
|
/* JADX WARN: Illegal instructions before constructor call */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public /* synthetic */ ResourceFont(int r8, androidx.compose.ui.text.font.FontWeight r9, int r10, androidx.compose.ui.text.font.FontVariation.Settings r11, int r12, int r13, kotlin.jvm.internal.DefaultConstructorMarker r14) {
|
|
/*
|
|
r7 = this;
|
|
r14 = r13 & 2
|
|
if (r14 == 0) goto La
|
|
androidx.compose.ui.text.font.FontWeight$Companion r9 = androidx.compose.ui.text.font.FontWeight.INSTANCE
|
|
androidx.compose.ui.text.font.FontWeight r9 = r9.getNormal()
|
|
La:
|
|
r2 = r9
|
|
r9 = r13 & 4
|
|
if (r9 == 0) goto L15
|
|
androidx.compose.ui.text.font.FontStyle$Companion r9 = androidx.compose.ui.text.font.FontStyle.INSTANCE
|
|
int r10 = r9.m4515getNormal_LCdwA()
|
|
L15:
|
|
r3 = r10
|
|
r9 = r13 & 8
|
|
if (r9 == 0) goto L23
|
|
androidx.compose.ui.text.font.FontVariation r9 = androidx.compose.ui.text.font.FontVariation.INSTANCE
|
|
r10 = 0
|
|
androidx.compose.ui.text.font.FontVariation$Setting[] r10 = new androidx.compose.ui.text.font.FontVariation.Setting[r10]
|
|
androidx.compose.ui.text.font.FontVariation$Settings r11 = r9.m4530Settings6EWAqTQ(r2, r3, r10)
|
|
L23:
|
|
r4 = r11
|
|
r9 = r13 & 16
|
|
if (r9 == 0) goto L2e
|
|
androidx.compose.ui.text.font.FontLoadingStrategy$Companion r9 = androidx.compose.ui.text.font.FontLoadingStrategy.INSTANCE
|
|
int r12 = r9.m4501getAsyncPKNRLFQ()
|
|
L2e:
|
|
r5 = r12
|
|
r6 = 0
|
|
r0 = r7
|
|
r1 = r8
|
|
r0.<init>(r1, r2, r3, r4, r5, r6)
|
|
return
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.ui.text.font.ResourceFont.<init>(int, androidx.compose.ui.text.font.FontWeight, int, androidx.compose.ui.text.font.FontVariation$Settings, int, int, kotlin.jvm.internal.DefaultConstructorMarker):void");
|
|
}
|
|
|
|
/* renamed from: copy-RetOiIg$default, reason: not valid java name */
|
|
public static /* synthetic */ ResourceFont m4545copyRetOiIg$default(ResourceFont resourceFont, int i, FontWeight fontWeight, int i2, int i3, Object obj) {
|
|
if ((i3 & 1) != 0) {
|
|
i = resourceFont.resId;
|
|
}
|
|
if ((i3 & 2) != 0) {
|
|
fontWeight = resourceFont.getWeight();
|
|
}
|
|
if ((i3 & 4) != 0) {
|
|
i2 = resourceFont.getStyle();
|
|
}
|
|
return resourceFont.m4548copyRetOiIg(i, fontWeight, i2);
|
|
}
|
|
|
|
/* renamed from: copy-RetOiIg, reason: not valid java name */
|
|
public final ResourceFont m4548copyRetOiIg(int resId, FontWeight weight, int style) {
|
|
Intrinsics.checkNotNullParameter(weight, "weight");
|
|
return m4544copyF3nL8kk$default(this, resId, weight, style, getLoadingStrategy(), null, 16, null);
|
|
}
|
|
|
|
/* renamed from: copy-F3nL8kk$default, reason: not valid java name */
|
|
public static /* synthetic */ ResourceFont m4544copyF3nL8kk$default(ResourceFont resourceFont, int i, FontWeight fontWeight, int i2, int i3, FontVariation.Settings settings, int i4, Object obj) {
|
|
if ((i4 & 1) != 0) {
|
|
i = resourceFont.resId;
|
|
}
|
|
if ((i4 & 2) != 0) {
|
|
fontWeight = resourceFont.getWeight();
|
|
}
|
|
FontWeight fontWeight2 = fontWeight;
|
|
if ((i4 & 4) != 0) {
|
|
i2 = resourceFont.getStyle();
|
|
}
|
|
int i5 = i2;
|
|
if ((i4 & 8) != 0) {
|
|
i3 = resourceFont.getLoadingStrategy();
|
|
}
|
|
int i6 = i3;
|
|
if ((i4 & 16) != 0) {
|
|
settings = resourceFont.variationSettings;
|
|
}
|
|
return resourceFont.m4547copyF3nL8kk(i, fontWeight2, i5, i6, settings);
|
|
}
|
|
|
|
/* renamed from: copy-F3nL8kk, reason: not valid java name */
|
|
public final ResourceFont m4547copyF3nL8kk(int resId, FontWeight weight, int style, int loadingStrategy, FontVariation.Settings variationSettings) {
|
|
Intrinsics.checkNotNullParameter(weight, "weight");
|
|
Intrinsics.checkNotNullParameter(variationSettings, "variationSettings");
|
|
return new ResourceFont(resId, weight, style, variationSettings, loadingStrategy, null);
|
|
}
|
|
|
|
public boolean equals(Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof ResourceFont)) {
|
|
return false;
|
|
}
|
|
ResourceFont resourceFont = (ResourceFont) other;
|
|
return this.resId == resourceFont.resId && Intrinsics.areEqual(getWeight(), resourceFont.getWeight()) && FontStyle.m4510equalsimpl0(getStyle(), resourceFont.getStyle()) && Intrinsics.areEqual(this.variationSettings, resourceFont.variationSettings) && FontLoadingStrategy.m4497equalsimpl0(getLoadingStrategy(), resourceFont.getLoadingStrategy());
|
|
}
|
|
|
|
public int hashCode() {
|
|
return (((((((this.resId * 31) + getWeight().hashCode()) * 31) + FontStyle.m4511hashCodeimpl(getStyle())) * 31) + FontLoadingStrategy.m4498hashCodeimpl(getLoadingStrategy())) * 31) + this.variationSettings.hashCode();
|
|
}
|
|
|
|
public String toString() {
|
|
return "ResourceFont(resId=" + this.resId + ", weight=" + getWeight() + ", style=" + ((Object) FontStyle.m4512toStringimpl(getStyle())) + ", loadingStrategy=" + ((Object) FontLoadingStrategy.m4499toStringimpl(getLoadingStrategy())) + ')';
|
|
}
|
|
}
|