Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a16a9681 authored by Mike Schneider's avatar Mike Schneider Committed by Android (Google) Code Review
Browse files

Merge "Rename constantValue* into fixedValue*" into main

parents f1bf0be4 b11783ad
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ class TransitionScopedMechanicsAdapterTest {
                    // Linearly animate from 10 down to 0
                    directionalMotionSpec(TestSpring, Mapping.Fixed(50.dp.toPx())) {
                        targetFromCurrent(breakpoint = 0f, to = 0f)
                        constantValueFromCurrent(breakpoint = 1f)
                        fixedValueFromCurrent(breakpoint = 1f)
                    }
                )
            }
@@ -117,7 +117,7 @@ class TransitionScopedMechanicsAdapterTest {
                MotionSpec(
                    // Use a spring to toggle 10f -> 0f at a progress of 0.5
                    directionalMotionSpec(TestSpring, Mapping.Fixed(50.dp.toPx())) {
                        constantValue(breakpoint = 0.5f, value = 0f)
                        fixedValue(breakpoint = 0.5f, value = 0f)
                    }
                )
            }
@@ -141,7 +141,7 @@ class TransitionScopedMechanicsAdapterTest {
                        TestTransformation { _, _ ->
                            MotionSpec(
                                directionalMotionSpec(TestSpring, Mapping.Fixed(50.dp.toPx())) {
                                    constantValue(breakpoint = 0.3f, value = 0f)
                                    fixedValue(breakpoint = 0.3f, value = 0f)
                                }
                            )
                        }