mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-12-05 11:59:30 +01:00
40 lines
2.6 KiB
Java
40 lines
2.6 KiB
Java
package androidx.compose.foundation.gestures.snapping;
|
|
|
|
import androidx.compose.animation.core.AnimationState;
|
|
import androidx.compose.animation.core.AnimationVector;
|
|
import androidx.exifinterface.media.ExifInterface;
|
|
import kotlin.Metadata;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\t\b\u0002\u0018\u0000*\u0004\b\u0000\u0010\u0001*\b\b\u0001\u0010\u0002*\u00020\u00032\u00020\u0004B!\u0012\u0006\u0010\u0005\u001a\u00028\u0000\u0012\u0012\u0010\u0006\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u0007¢\u0006\u0002\u0010\bJ\u000e\u0010\u000e\u001a\u00028\u0000H\u0086\u0002¢\u0006\u0002\u0010\fJ\u0015\u0010\u000f\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u0007H\u0086\u0002R\u001d\u0010\u0006\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0013\u0010\u0005\u001a\u00028\u0000¢\u0006\n\n\u0002\u0010\r\u001a\u0004\b\u000b\u0010\f¨\u0006\u0010"}, d2 = {"Landroidx/compose/foundation/gestures/snapping/AnimationResult;", ExifInterface.GPS_DIRECTION_TRUE, ExifInterface.GPS_MEASUREMENT_INTERRUPTED, "Landroidx/compose/animation/core/AnimationVector;", "", "remainingOffset", "currentAnimationState", "Landroidx/compose/animation/core/AnimationState;", "(Ljava/lang/Object;Landroidx/compose/animation/core/AnimationState;)V", "getCurrentAnimationState", "()Landroidx/compose/animation/core/AnimationState;", "getRemainingOffset", "()Ljava/lang/Object;", "Ljava/lang/Object;", "component1", "component2", "foundation_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
final class AnimationResult<T, V extends AnimationVector> {
|
|
|
|
@NotNull
|
|
private final AnimationState<T, V> currentAnimationState;
|
|
private final T remainingOffset;
|
|
|
|
public AnimationResult(T t, @NotNull AnimationState<T, V> animationState) {
|
|
this.remainingOffset = t;
|
|
this.currentAnimationState = animationState;
|
|
}
|
|
|
|
public final T component1() {
|
|
return this.remainingOffset;
|
|
}
|
|
|
|
@NotNull
|
|
public final AnimationState<T, V> component2() {
|
|
return this.currentAnimationState;
|
|
}
|
|
|
|
@NotNull
|
|
public final AnimationState<T, V> getCurrentAnimationState() {
|
|
return this.currentAnimationState;
|
|
}
|
|
|
|
public final T getRemainingOffset() {
|
|
return this.remainingOffset;
|
|
}
|
|
}
|