Rabbit-R1/switch port/java/sources/androidx/compose/animation/AnimatedVisibilityScopeImpl.java
2024-05-21 17:08:36 -04:00

38 lines
2.7 KiB
Java

package androidx.compose.animation;
import androidx.compose.animation.core.Transition;
import androidx.compose.runtime.MutableState;
import androidx.compose.runtime.SnapshotStateKt__SnapshotStateKt;
import androidx.compose.ui.unit.IntSize;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: AnimatedVisibility.kt */
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0001\u0018\u00002\u00020\u0001B\u0015\b\u0000\u0012\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\u0002\u0010\u0005R\u001d\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u0007X\u0080\u0004ø\u0001\u0000¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR \u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003X\u0096\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u000b\u0010\f\"\u0004\b\r\u0010\u0005\u0082\u0002\u0004\n\u0002\b\u0019¨\u0006\u000e"}, d2 = {"Landroidx/compose/animation/AnimatedVisibilityScopeImpl;", "Landroidx/compose/animation/AnimatedVisibilityScope;", "transition", "Landroidx/compose/animation/core/Transition;", "Landroidx/compose/animation/EnterExitState;", "(Landroidx/compose/animation/core/Transition;)V", "targetSize", "Landroidx/compose/runtime/MutableState;", "Landroidx/compose/ui/unit/IntSize;", "getTargetSize$animation_release", "()Landroidx/compose/runtime/MutableState;", "getTransition", "()Landroidx/compose/animation/core/Transition;", "setTransition", "animation_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class AnimatedVisibilityScopeImpl implements AnimatedVisibilityScope {
private final MutableState<IntSize> targetSize;
private Transition<EnterExitState> transition;
public final MutableState<IntSize> getTargetSize$animation_release() {
return this.targetSize;
}
@Override // androidx.compose.animation.AnimatedVisibilityScope
public Transition<EnterExitState> getTransition() {
return this.transition;
}
public void setTransition(Transition<EnterExitState> transition) {
Intrinsics.checkNotNullParameter(transition, "<set-?>");
this.transition = transition;
}
public AnimatedVisibilityScopeImpl(Transition<EnterExitState> transition) {
MutableState<IntSize> mutableStateOf$default;
Intrinsics.checkNotNullParameter(transition, "transition");
this.transition = transition;
mutableStateOf$default = SnapshotStateKt__SnapshotStateKt.mutableStateOf$default(IntSize.m5035boximpl(IntSize.INSTANCE.m5048getZeroYbymL2g()), null, 2, null);
this.targetSize = mutableStateOf$default;
}
}