mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-16 10:57:17 +01:00
106 lines
6 KiB
Java
106 lines
6 KiB
Java
package androidx.compose.animation;
|
|
|
|
import androidx.compose.animation.core.FiniteAnimationSpec;
|
|
import androidx.compose.runtime.Immutable;
|
|
import androidx.compose.ui.graphics.TransformOrigin;
|
|
import com.amazon.alexa.accessorykit.ModelTransformer;
|
|
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
|
|
import com.facebook.react.uimanager.ViewProps;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Immutable
|
|
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0007\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0010\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0081\b\u0018\u00002\u00020\u0001B#\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\f\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\u00030\u0007¢\u0006\u0002\u0010\bJ\t\u0010\u0010\u001a\u00020\u0003HÆ\u0003J\u0016\u0010\u0011\u001a\u00020\u0005HÆ\u0003ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u0012\u0010\u000eJ\u000f\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\u00030\u0007HÆ\u0003J7\u0010\u0014\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\u000e\b\u0002\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\u00030\u0007HÆ\u0001ø\u0001\u0000¢\u0006\u0004\b\u0015\u0010\u0016J\u0013\u0010\u0017\u001a\u00020\u00182\b\u0010\u0019\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001a\u001a\u00020\u001bHÖ\u0001J\t\u0010\u001c\u001a\u00020\u001dHÖ\u0001R\u0017\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\u00030\u0007¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0019\u0010\u0004\u001a\u00020\u0005ø\u0001\u0000ø\u0001\u0001¢\u0006\n\n\u0002\u0010\u000f\u001a\u0004\b\r\u0010\u000e\u0082\u0002\u000b\n\u0005\b¡\u001e0\u0001\n\u0002\b!¨\u0006\u001e"}, d2 = {"Landroidx/compose/animation/Scale;", "", ModelTransformer.KEY_BATTERY_SCALE, "", ViewProps.TRANSFORM_ORIGIN, "Landroidx/compose/ui/graphics/TransformOrigin;", "animationSpec", "Landroidx/compose/animation/core/FiniteAnimationSpec;", "(FJLandroidx/compose/animation/core/FiniteAnimationSpec;Lkotlin/jvm/internal/DefaultConstructorMarker;)V", "getAnimationSpec", "()Landroidx/compose/animation/core/FiniteAnimationSpec;", "getScale", "()F", "getTransformOrigin-SzJe1aQ", "()J", "J", "component1", "component2", "component2-SzJe1aQ", "component3", "copy", "copy-bnNdC4k", "(FJLandroidx/compose/animation/core/FiniteAnimationSpec;)Landroidx/compose/animation/Scale;", "equals", "", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "hashCode", "", "toString", "", "animation_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public final /* data */ class Scale {
|
|
public static final int $stable = 0;
|
|
|
|
@NotNull
|
|
private final FiniteAnimationSpec<Float> animationSpec;
|
|
private final float scale;
|
|
private final long transformOrigin;
|
|
|
|
private Scale(float f, long j, FiniteAnimationSpec<Float> finiteAnimationSpec) {
|
|
this.scale = f;
|
|
this.transformOrigin = j;
|
|
this.animationSpec = finiteAnimationSpec;
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* renamed from: copy-bnNdC4k$default, reason: not valid java name */
|
|
public static /* synthetic */ Scale m282copybnNdC4k$default(Scale scale, float f, long j, FiniteAnimationSpec finiteAnimationSpec, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
f = scale.scale;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
j = scale.transformOrigin;
|
|
}
|
|
if ((i & 4) != 0) {
|
|
finiteAnimationSpec = scale.animationSpec;
|
|
}
|
|
return scale.m284copybnNdC4k(f, j, finiteAnimationSpec);
|
|
}
|
|
|
|
/* renamed from: component1, reason: from getter */
|
|
public final float getScale() {
|
|
return this.scale;
|
|
}
|
|
|
|
/* renamed from: component2-SzJe1aQ, reason: not valid java name and from getter */
|
|
public final long getTransformOrigin() {
|
|
return this.transformOrigin;
|
|
}
|
|
|
|
@NotNull
|
|
public final FiniteAnimationSpec<Float> component3() {
|
|
return this.animationSpec;
|
|
}
|
|
|
|
@NotNull
|
|
/* renamed from: copy-bnNdC4k, reason: not valid java name */
|
|
public final Scale m284copybnNdC4k(float scale, long transformOrigin, @NotNull FiniteAnimationSpec<Float> animationSpec) {
|
|
return new Scale(scale, transformOrigin, animationSpec, null);
|
|
}
|
|
|
|
public boolean equals(@Nullable Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof Scale)) {
|
|
return false;
|
|
}
|
|
Scale scale = (Scale) other;
|
|
return Float.compare(this.scale, scale.scale) == 0 && TransformOrigin.m5046equalsimpl0(this.transformOrigin, scale.transformOrigin) && Intrinsics.areEqual(this.animationSpec, scale.animationSpec);
|
|
}
|
|
|
|
@NotNull
|
|
public final FiniteAnimationSpec<Float> getAnimationSpec() {
|
|
return this.animationSpec;
|
|
}
|
|
|
|
public final float getScale() {
|
|
return this.scale;
|
|
}
|
|
|
|
/* renamed from: getTransformOrigin-SzJe1aQ, reason: not valid java name */
|
|
public final long m285getTransformOriginSzJe1aQ() {
|
|
return this.transformOrigin;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return this.animationSpec.hashCode() + ((TransformOrigin.m5049hashCodeimpl(this.transformOrigin) + (Float.hashCode(this.scale) * 31)) * 31);
|
|
}
|
|
|
|
@NotNull
|
|
public String toString() {
|
|
return "Scale(scale=" + this.scale + ", transformOrigin=" + ((Object) TransformOrigin.m5050toStringimpl(this.transformOrigin)) + ", animationSpec=" + this.animationSpec + ')';
|
|
}
|
|
|
|
public /* synthetic */ Scale(float f, long j, FiniteAnimationSpec finiteAnimationSpec, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(f, j, finiteAnimationSpec);
|
|
}
|
|
}
|