mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-19 04:13:18 +01:00
112 lines
6.7 KiB
Java
112 lines
6.7 KiB
Java
package androidx.compose.foundation.text.modifiers;
|
|
|
|
import androidx.compose.ui.unit.Density;
|
|
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.JvmInline;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.SourceDebugExtension;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0007\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0004\b\u0081@\u0018\u0000 \u001c2\u00020\u0001:\u0001\u001cB\u0019\b\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0004\b\u0005\u0010\u0006B\u0011\b\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0007¢\u0006\u0004\b\u0005\u0010\bB\u0011\b\u0002\u0012\u0006\u0010\t\u001a\u00020\n¢\u0006\u0004\b\u0005\u0010\u000bJ\u001a\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u0001HÖ\u0003¢\u0006\u0004\b\u0012\u0010\u0013J\u0010\u0010\u0014\u001a\u00020\u0015HÖ\u0001¢\u0006\u0004\b\u0016\u0010\u0017J\u000f\u0010\u0018\u001a\u00020\u0019H\u0016¢\u0006\u0004\b\u001a\u0010\u001bR\u0011\u0010\u0002\u001a\u00020\u00038F¢\u0006\u0006\u001a\u0004\b\f\u0010\rR\u0011\u0010\u0004\u001a\u00020\u00038F¢\u0006\u0006\u001a\u0004\b\u000e\u0010\rR\u000e\u0010\t\u001a\u00020\nX\u0082\u0004¢\u0006\u0002\n\u0000\u0088\u0001\t\u0092\u0001\u00020\n¨\u0006\u001d"}, d2 = {"Landroidx/compose/foundation/text/modifiers/InlineDensity;", "", "density", "", "fontScale", "constructor-impl", "(FF)J", "Landroidx/compose/ui/unit/Density;", "(Landroidx/compose/ui/unit/Density;)J", "packedValue", "", "(J)J", "getDensity-impl", "(J)F", "getFontScale-impl", "equals", "", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "equals-impl", "(JLjava/lang/Object;)Z", "hashCode", "", "hashCode-impl", "(J)I", "toString", "", "toString-impl", "(J)Ljava/lang/String;", "Companion", "foundation_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
@JvmInline
|
|
@SourceDebugExtension({"SMAP\nInlineDensity.kt\nKotlin\n*S Kotlin\n*F\n+ 1 InlineDensity.kt\nandroidx/compose/foundation/text/modifiers/InlineDensity\n+ 2 InlineClassHelper.kt\nandroidx/compose/ui/util/InlineClassHelperKt\n+ 3 InlineClassHelper.jvm.kt\nandroidx/compose/ui/util/InlineClassHelper_jvmKt\n*L\n1#1,51:1\n63#2,3:52\n72#2:55\n86#2:57\n22#3:56\n22#3:58\n*S KotlinDebug\n*F\n+ 1 InlineDensity.kt\nandroidx/compose/foundation/text/modifiers/InlineDensity\n*L\n33#1:52,3\n38#1:55\n41#1:57\n38#1:56\n41#1:58\n*E\n"})
|
|
/* loaded from: classes.dex */
|
|
public final class InlineDensity {
|
|
|
|
/* renamed from: Companion, reason: from kotlin metadata */
|
|
@NotNull
|
|
public static final Companion INSTANCE = new Companion(null);
|
|
private static final long Unspecified = m1472constructorimpl(Float.NaN, Float.NaN);
|
|
private final long packedValue;
|
|
|
|
private /* synthetic */ InlineDensity(long j) {
|
|
this.packedValue = j;
|
|
}
|
|
|
|
/* renamed from: box-impl, reason: not valid java name */
|
|
public static final /* synthetic */ InlineDensity m1471boximpl(long j) {
|
|
return new InlineDensity(j);
|
|
}
|
|
|
|
/* renamed from: constructor-impl, reason: not valid java name */
|
|
public static long m1472constructorimpl(float f, float f2) {
|
|
return m1473constructorimpl((Float.floatToRawIntBits(f2) & 4294967295L) | (Float.floatToRawIntBits(f) << 32));
|
|
}
|
|
|
|
/* renamed from: equals-impl, reason: not valid java name */
|
|
public static boolean m1475equalsimpl(long j, Object obj) {
|
|
return (obj instanceof InlineDensity) && j == ((InlineDensity) obj).getPackedValue();
|
|
}
|
|
|
|
/* renamed from: equals-impl0, reason: not valid java name */
|
|
public static final boolean m1476equalsimpl0(long j, long j2) {
|
|
return j == j2;
|
|
}
|
|
|
|
/* renamed from: getDensity-impl, reason: not valid java name */
|
|
public static final float m1477getDensityimpl(long j) {
|
|
return Float.intBitsToFloat((int) (j >> 32));
|
|
}
|
|
|
|
/* renamed from: getFontScale-impl, reason: not valid java name */
|
|
public static final float m1478getFontScaleimpl(long j) {
|
|
return Float.intBitsToFloat((int) (j & 4294967295L));
|
|
}
|
|
|
|
/* renamed from: hashCode-impl, reason: not valid java name */
|
|
public static int m1479hashCodeimpl(long j) {
|
|
return Long.hashCode(j);
|
|
}
|
|
|
|
@NotNull
|
|
/* renamed from: toString-impl, reason: not valid java name */
|
|
public static String m1480toStringimpl(long j) {
|
|
return "InlineDensity(density=" + m1477getDensityimpl(j) + ", fontScale=" + m1478getFontScaleimpl(j) + ')';
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
return m1475equalsimpl(this.packedValue, obj);
|
|
}
|
|
|
|
public int hashCode() {
|
|
return m1479hashCodeimpl(this.packedValue);
|
|
}
|
|
|
|
@NotNull
|
|
public String toString() {
|
|
return m1480toStringimpl(this.packedValue);
|
|
}
|
|
|
|
/* renamed from: unbox-impl, reason: not valid java name and from getter */
|
|
public final /* synthetic */ long getPackedValue() {
|
|
return this.packedValue;
|
|
}
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0019\u0010\u0003\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\u0005\u0010\u0006\u0082\u0002\u000b\n\u0005\b¡\u001e0\u0001\n\u0002\b!¨\u0006\b"}, d2 = {"Landroidx/compose/foundation/text/modifiers/InlineDensity$Companion;", "", "()V", "Unspecified", "Landroidx/compose/foundation/text/modifiers/InlineDensity;", "getUnspecified-L26CHvs", "()J", "J", "foundation_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
public static final class Companion {
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
/* renamed from: getUnspecified-L26CHvs, reason: not valid java name */
|
|
public final long m1482getUnspecifiedL26CHvs() {
|
|
return InlineDensity.Unspecified;
|
|
}
|
|
|
|
private Companion() {
|
|
}
|
|
}
|
|
|
|
/* renamed from: constructor-impl, reason: not valid java name */
|
|
public static long m1474constructorimpl(@NotNull Density density) {
|
|
return m1472constructorimpl(density.getDensity(), density.getFontScale());
|
|
}
|
|
|
|
/* renamed from: constructor-impl, reason: not valid java name */
|
|
private static long m1473constructorimpl(long j) {
|
|
return j;
|
|
}
|
|
}
|