mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-17 03:17:17 +01:00
78 lines
3.6 KiB
Java
78 lines
3.6 KiB
Java
package androidx.compose.ui.unit;
|
|
|
|
import androidx.collection.DoubleList$$ExternalSyntheticOutline0;
|
|
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
|
|
import kotlin.Metadata;
|
|
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\u0018\u0002\n\u0000\n\u0002\u0010\u0007\n\u0002\b\n\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0082\b\u0018\u00002\u00020\u0001B\u0017\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0004\b\u0005\u0010\u0006J\t\u0010\n\u001a\u00020\u0003HÆ\u0003J\t\u0010\u000b\u001a\u00020\u0003HÆ\u0003J\u001d\u0010\f\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\r\u001a\u00020\u000e2\b\u0010\u000f\u001a\u0004\u0018\u00010\u0010HÖ\u0003J\t\u0010\u0011\u001a\u00020\u0012HÖ\u0001J\t\u0010\u0013\u001a\u00020\u0014HÖ\u0001R\u0014\u0010\u0002\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0014\u0010\u0004\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\b¨\u0006\u0015"}, d2 = {"Landroidx/compose/ui/unit/DensityImpl;", "Landroidx/compose/ui/unit/Density;", "density", "", "fontScale", "<init>", "(FF)V", "getDensity", "()F", "getFontScale", "component1", "component2", "copy", "equals", "", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "", "hashCode", "", "toString", "", "ui-unit"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
/* loaded from: classes13.dex */
|
|
final /* data */ class DensityImpl implements Density {
|
|
private final float density;
|
|
private final float fontScale;
|
|
|
|
public DensityImpl(float f, float f2) {
|
|
this.density = f;
|
|
this.fontScale = f2;
|
|
}
|
|
|
|
public static /* synthetic */ DensityImpl copy$default(DensityImpl densityImpl, float f, float f2, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
f = densityImpl.density;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
f2 = densityImpl.fontScale;
|
|
}
|
|
return densityImpl.copy(f, f2);
|
|
}
|
|
|
|
/* renamed from: component1, reason: from getter */
|
|
public final float getDensity() {
|
|
return this.density;
|
|
}
|
|
|
|
/* renamed from: component2, reason: from getter */
|
|
public final float getFontScale() {
|
|
return this.fontScale;
|
|
}
|
|
|
|
@NotNull
|
|
public final DensityImpl copy(float density, float fontScale) {
|
|
return new DensityImpl(density, fontScale);
|
|
}
|
|
|
|
public boolean equals(@Nullable Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof DensityImpl)) {
|
|
return false;
|
|
}
|
|
DensityImpl densityImpl = (DensityImpl) other;
|
|
return Float.compare(this.density, densityImpl.density) == 0 && Float.compare(this.fontScale, densityImpl.fontScale) == 0;
|
|
}
|
|
|
|
@Override // androidx.compose.ui.unit.Density
|
|
public float getDensity() {
|
|
return this.density;
|
|
}
|
|
|
|
@Override // androidx.compose.ui.unit.FontScaling
|
|
public float getFontScale() {
|
|
return this.fontScale;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return Float.hashCode(this.fontScale) + (Float.hashCode(this.density) * 31);
|
|
}
|
|
|
|
@NotNull
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder("DensityImpl(density=");
|
|
sb.append(this.density);
|
|
sb.append(", fontScale=");
|
|
return DoubleList$$ExternalSyntheticOutline0.m(sb, this.fontScale, ')');
|
|
}
|
|
}
|