Rabbit-R1/switch port/java/sources/androidx/compose/animation/Scale.java

95 lines
5.7 KiB
Java
Raw Permalink Normal View History

2024-05-21 16:08:36 -05:00
package androidx.compose.animation;
import androidx.compose.animation.core.FiniteAnimationSpec;
import androidx.compose.ui.graphics.TransformOrigin;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: EnterExitTransition.kt */
@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ø\u0001\u0000¢\u0006\u0002\u0010\bJ\t\u0010\u0010\u001a\u00020\u0003HÆ\u0003J\u0019\u0010\u0011\u001a\u00020\u0005HÆ\u0003ø\u0001\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u0012\u0010\u000eJ\u000f\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\u00030\u0007HÆ\u0003J:\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\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\u001c\u0010\u0004\u001a\u00020\u0005ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u000f\u001a\u0004\b\r\u0010\u000e\u0082\u0002\u000f\n\u0002\b\u0019\n\u0005\\u001e0\u0001\n\u0002\b!¨\u0006\u001e"}, d2 = {"Landroidx/compose/animation/Scale;", "", "scale", "", "transformOrigin", "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", "", "other", "hashCode", "", "toString", "", "animation_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final /* data */ class Scale {
private final FiniteAnimationSpec<Float> animationSpec;
private final float scale;
private final long transformOrigin;
public /* synthetic */ Scale(float f, long j, FiniteAnimationSpec finiteAnimationSpec, DefaultConstructorMarker defaultConstructorMarker) {
this(f, j, finiteAnimationSpec);
}
/* JADX WARN: Multi-variable type inference failed */
/* renamed from: copy-bnNdC4k$default, reason: not valid java name */
public static /* synthetic */ Scale m72copybnNdC4k$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.m74copybnNdC4k(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;
}
public final FiniteAnimationSpec<Float> component3() {
return this.animationSpec;
}
/* renamed from: copy-bnNdC4k, reason: not valid java name */
public final Scale m74copybnNdC4k(float scale, long transformOrigin, FiniteAnimationSpec<Float> animationSpec) {
Intrinsics.checkNotNullParameter(animationSpec, "animationSpec");
return new Scale(scale, transformOrigin, animationSpec, null);
}
public boolean equals(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.m3017equalsimpl0(this.transformOrigin, scale.transformOrigin) && Intrinsics.areEqual(this.animationSpec, scale.animationSpec);
}
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 m75getTransformOriginSzJe1aQ() {
return this.transformOrigin;
}
public int hashCode() {
return (((Float.hashCode(this.scale) * 31) + TransformOrigin.m3020hashCodeimpl(this.transformOrigin)) * 31) + this.animationSpec.hashCode();
}
public String toString() {
return "Scale(scale=" + this.scale + ", transformOrigin=" + ((Object) TransformOrigin.m3021toStringimpl(this.transformOrigin)) + ", animationSpec=" + this.animationSpec + ')';
}
private Scale(float f, long j, FiniteAnimationSpec<Float> animationSpec) {
Intrinsics.checkNotNullParameter(animationSpec, "animationSpec");
this.scale = f;
this.transformOrigin = j;
this.animationSpec = animationSpec;
}
}