| /compose/animation/animation-core/src/commonTest/kotlin/androidx/compose/animation/core/ |
| D | AnimationVectorTest.kt | 26 assertEquals(AnimationVector1D(0f), AnimationVector(1f).apply { reset() }) in testReset() 27 assertEquals(AnimationVector2D(0f, 0f), AnimationVector(1f, 2f).apply { reset() }) in testReset() 28 assertEquals(AnimationVector3D(0f, 0f, 0f), AnimationVector(1f, 2f, 3f).apply { reset() }) in testReset() 31 AnimationVector(1f, 2f, 3f, 4f).apply { reset() } in testReset() 40 AnimationVector(1f).apply { reset() }.hashCode() in testHashCode() 44 AnimationVector(1f, 2f).apply { reset() }.hashCode() in testHashCode() 48 AnimationVector(1f, 2f, 3f).apply { reset() }.hashCode() in testHashCode() 52 AnimationVector(1f, 2f, 3f, 4f).apply { reset() }.hashCode() in testHashCode() 56 assertNotEquals(AnimationVector1D(0f).hashCode(), AnimationVector(1f).hashCode()) in testHashCode() 57 assertNotEquals(AnimationVector2D(2f, 1f).hashCode(), AnimationVector(1f, 2f).hashCode()) in testHashCode() [all …]
|
| D | AnimationTest.kt | 31 val start1D = AnimationVector(0f) in testSnap() 32 val end1D = AnimationVector(1f) in testSnap() 47 val start2D = AnimationVector(0f, 50f) in testSnap() 48 val end2D = AnimationVector(1f, -50f) in testSnap() 63 val start3D = AnimationVector(0f, 20f, -100f) in testSnap() 64 val end3D = AnimationVector(-40f, 0f, 200f) in testSnap() 78 val start4D = AnimationVector(48f, 26f, 88f, 177f) in testSnap() 79 val end4D = AnimationVector(64f, 286f, -999f, 40f) in testSnap() 123 AnimationVector( in testKeyframes() 147 val start1D = AnimationVector(0f) in testTween() [all …]
|
| D | PhysicsAnimationTest.kt | 201 convertToVector = { it -> AnimationVector(it.one, it.two, it.three) }, in <lambda>() 212 AnimationVector(100f, 100f, 100f), in <lambda>() 213 AnimationVector(0f, 0f, 0f), in <lambda>() 214 AnimationVector(0f, 0f, 0f) in <lambda>() 229 convertToVector = { it -> AnimationVector(it.one, it.two, it.three) }, in <lambda>() 236 val floatAnimation1 = VectorizedSpringSpec(visibilityThreshold = AnimationVector(1f)) in <lambda>() 237 val floatAnimation2 = VectorizedSpringSpec(visibilityThreshold = AnimationVector(2f)) in <lambda>() 238 val floatAnimation3 = VectorizedSpringSpec(visibilityThreshold = AnimationVector(3f)) in <lambda>() 242 AnimationVector(100f, 100f, 100f), in <lambda>() 243 AnimationVector(0f, 0f, 0f), in <lambda>() [all …]
|
| D | AnimationTestUtils.kt | 66 internal fun <V : AnimationVector> Animation<*, V>.getVelocityVectorFromMillis( in <lambda>() 79 internal fun <T, V : AnimationVector> Animation<T, V>.getVelocityFromMillis( in getVelocityFromMillis() 124 internal inline fun <reified V : AnimationVector> createFloatArrayConverter(): in getVelocityFromMillis() 130 AnimationVector(it.getOrElse(0) { 0f }) in getVelocityFromMillis() 133 AnimationVector( in getVelocityFromMillis() 139 AnimationVector( in getVelocityFromMillis() 146 AnimationVector( in getVelocityFromMillis() 162 internal inline fun <reified V : AnimationVector> createFilledVector(value: Float): V = in createFilledVector()
|
| /compose/animation/animation-core/src/commonMain/kotlin/androidx/compose/animation/core/ |
| D | AnimationVectors.kt | 28 public sealed class AnimationVector { class 31 internal abstract fun newVector(): AnimationVector in reset() 45 public fun AnimationVector(v1: Float): AnimationVector1D = AnimationVector1D(v1) in reset() method 53 public fun AnimationVector(v1: Float, v2: Float): AnimationVector2D = AnimationVector2D(v1, v2) in reset() method 62 public fun AnimationVector(v1: Float, v2: Float, v3: Float): AnimationVector3D = in reset() method 73 public fun AnimationVector(v1: Float, v2: Float, v3: Float, v4: Float): AnimationVector4D = in reset() method 76 internal fun <T : AnimationVector> T.newInstance(): T { in reset() 80 internal fun <T : AnimationVector> T.copy(): T { in copy() 88 internal fun <T : AnimationVector> T.copyFrom(source: T) { in copyFrom() 100 public class AnimationVector1D(initVal: Float) : AnimationVector() { [all …]
|
| D | Animatable.kt | 50 public class Animatable<T, V : AnimationVector> 452 public class AnimationResult<T, V : AnimationVector>( in asState() 471 private val positiveInfinityBounds1D = AnimationVector(Float.POSITIVE_INFINITY) 473 AnimationVector(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY) 475 AnimationVector(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY) 477 AnimationVector( 484 private val negativeInfinityBounds1D = AnimationVector(Float.NEGATIVE_INFINITY) 486 AnimationVector(Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY) 488 AnimationVector(Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY) 490 AnimationVector(
|
| D | AnimationState.kt | 40 public class AnimationState<T, V : AnimationVector>( 113 public class AnimationScope<T, V : AnimationVector> 210 public fun <T, V : AnimationVector> AnimationState<T, V>.copy( in toAnimationState() 253 AnimationVector(velocity), in toAnimationState() 282 AnimationVector(initialVelocity), in toAnimationState() 303 public fun <T, V : AnimationVector> AnimationState( in AnimationState() 327 public fun <T, V : AnimationVector> TwoWayConverter<T, V>.createZeroVectorFrom(value: T): V = in createZeroVectorFrom()
|
| D | AnimationSpec.kt | 71 public fun <V : AnimationVector> vectorize( in vectorize() 84 override fun <V : AnimationVector> vectorize( in vectorize() 103 override fun <V : AnimationVector> vectorize( in vectorize() 127 override fun <V : AnimationVector> vectorize( in vectorize() 149 override fun <V : AnimationVector> vectorize( in vectorize() 167 private fun <T, V : AnimationVector> TwoWayConverter<T, V>.convert(data: T?): V? { in convert() 211 override fun <V : AnimationVector> vectorize( in vectorize() 338 override fun <V : AnimationVector> vectorize( in vectorize() 397 override fun <V : AnimationVector> vectorize( in vectorize() 440 override fun <V : AnimationVector> vectorize( in vectorize() [all …]
|
| D | SuspendAnimation.kt | 93 public suspend fun <T, V : AnimationVector> animate( in animate() 138 public suspend fun <T, V : AnimationVector> AnimationState<T, V>.animateTo( in animateTo() 181 public suspend fun <T, V : AnimationVector> AnimationState<T, V>.animateDecay( in animateDecay() 220 internal suspend fun <T, V : AnimationVector> AnimationState<T, V>.animate( in animate() 299 private suspend fun <R, T, V : AnimationVector> Animation<T, V>.callWithFrameNanos( in callWithFrameNanos() 316 internal fun <T, V : AnimationVector> AnimationScope<T, V>.updateState( in updateState() 326 private fun <T, V : AnimationVector> AnimationScope<T, V>.doAnimationFrameWithScale( in doAnimationFrameWithScale() 343 private fun <T, V : AnimationVector> AnimationScope<T, V>.doAnimationFrame( in doAnimationFrame()
|
| D | DecayAnimationSpec.kt | 47 public fun <V : AnimationVector> vectorize( in vectorize() 58 public fun <T, V : AnimationVector> DecayAnimationSpec<T>.calculateTargetValue( in vectorize() 85 AnimationVector(initialValue), in calculateTargetValue() 86 AnimationVector(initialVelocity) in calculateTargetValue() 120 override fun <V : AnimationVector> vectorize( in vectorize() 125 private class VectorizedFloatDecaySpec<V : AnimationVector>( in vectorize()
|
| D | VectorizedAnimationSpec.kt | 50 public interface VectorizedAnimationSpec<V : AnimationVector> { in <lambda>() 132 internal fun <V : AnimationVector> VectorizedAnimationSpec<V>.getDurationMillis( in getDurationMillis() 148 internal fun <V : AnimationVector> VectorizedAnimationSpec<V>.getValueFromMillis( in getDurationMillis() 162 public interface VectorizedFiniteAnimationSpec<V : AnimationVector> : VectorizedAnimationSpec<V> { in getDurationMillis() 169 public interface VectorizedDurationBasedAnimationSpec<V : AnimationVector> : 216 public class VectorizedKeyframesSpec<V : AnimationVector> 502 internal data class VectorizedKeyframeSpecElementInfo<V : AnimationVector>( 547 public class VectorizedSnapSpec<V : AnimationVector>(override val delayMillis: Int = 0) : 589 public class VectorizedInfiniteRepeatableSpec<V : AnimationVector>( 699 public class VectorizedRepeatableSpec<V : AnimationVector>( in getDurationNanos() [all …]
|
| /compose/ui/ui-tooling/src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/animation/ |
| D | Utils.kt | 21 import androidx.compose.animation.core.AnimationVector in <lambda>() 60 object : TwoWayConverter<EnumState, AnimationVector> { in <lambda>() 61 override val convertFromVector: (AnimationVector) -> EnumState in <lambda>() 64 override val convertToVector: (EnumState) -> AnimationVector in <lambda>() 65 get() = { AnimationVector(1f) } in <lambda>() 69 object : TwoWayConverter<EnumState?, AnimationVector> { in <lambda>() 70 override val convertFromVector: (AnimationVector) -> EnumState? in <lambda>() 73 override val convertToVector: (EnumState?) -> AnimationVector in <lambda>() 74 get() = { AnimationVector(1f) } in <lambda>() 83 get() = { AnimationVector(if (it) 1f else 0f) } in <lambda>()
|
| /compose/animation/animation-core/api/ |
| D | restricted_1.0.0-beta09.txt | 7 public final class Animatable<T, V extends androidx.compose.animation.core.AnimationVector> { 46 …mposable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.com… 49 public interface Animation<T, V extends androidx.compose.animation.core.AnimationVector> { 76 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… 77 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> T! getVelocity… 80 public final class AnimationResult<T, V extends androidx.compose.animation.core.AnimationVector> { 88 public final class AnimationScope<T, V extends androidx.compose.animation.core.AnimationVector> { 112 …method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animati… 124 …public final class AnimationState<T, V extends androidx.compose.animation.core.AnimationVector> im… 143 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… [all …]
|
| D | restricted_1.0.0-beta10.txt | 7 public final class Animatable<T, V extends androidx.compose.animation.core.AnimationVector> { 46 …mposable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.com… 49 public interface Animation<T, V extends androidx.compose.animation.core.AnimationVector> { 76 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… 77 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> T! getVelocity… 80 public final class AnimationResult<T, V extends androidx.compose.animation.core.AnimationVector> { 88 public final class AnimationScope<T, V extends androidx.compose.animation.core.AnimationVector> { 112 …method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animati… 124 …public final class AnimationState<T, V extends androidx.compose.animation.core.AnimationVector> im… 143 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… [all …]
|
| D | 1.0.0-beta08.txt | 7 public final class Animatable<T, V extends androidx.compose.animation.core.AnimationVector> { 46 …mposable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.com… 49 public interface Animation<T, V extends androidx.compose.animation.core.AnimationVector> { 76 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… 77 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> T! getVelocity… 80 public final class AnimationResult<T, V extends androidx.compose.animation.core.AnimationVector> { 88 public final class AnimationScope<T, V extends androidx.compose.animation.core.AnimationVector> { 112 …method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animati… 124 …public final class AnimationState<T, V extends androidx.compose.animation.core.AnimationVector> im… 143 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… [all …]
|
| D | restricted_1.0.0-beta07.txt | 7 public final class Animatable<T, V extends androidx.compose.animation.core.AnimationVector> { 46 …mposable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.com… 49 public interface Animation<T, V extends androidx.compose.animation.core.AnimationVector> { 76 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… 77 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> T! getVelocity… 80 public final class AnimationResult<T, V extends androidx.compose.animation.core.AnimationVector> { 88 public final class AnimationScope<T, V extends androidx.compose.animation.core.AnimationVector> { 112 …method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animati… 124 …public final class AnimationState<T, V extends androidx.compose.animation.core.AnimationVector> im… 143 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… [all …]
|
| D | 1.0.0-beta02.txt | 7 public final class Animatable<T, V extends androidx.compose.animation.core.AnimationVector> { 46 …mposable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.com… 49 public interface Animation<T, V extends androidx.compose.animation.core.AnimationVector> { 76 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… 77 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> T! getVelocity… 80 public final class AnimationResult<T, V extends androidx.compose.animation.core.AnimationVector> { 88 public final class AnimationScope<T, V extends androidx.compose.animation.core.AnimationVector> { 112 …method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animati… 124 …public final class AnimationState<T, V extends androidx.compose.animation.core.AnimationVector> im… 143 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… [all …]
|
| D | restricted_1.0.0-beta04.txt | 7 public final class Animatable<T, V extends androidx.compose.animation.core.AnimationVector> { 46 …mposable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.com… 49 public interface Animation<T, V extends androidx.compose.animation.core.AnimationVector> { 76 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… 77 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> T! getVelocity… 80 public final class AnimationResult<T, V extends androidx.compose.animation.core.AnimationVector> { 88 public final class AnimationScope<T, V extends androidx.compose.animation.core.AnimationVector> { 112 …method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animati… 124 …public final class AnimationState<T, V extends androidx.compose.animation.core.AnimationVector> im… 143 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… [all …]
|
| D | restricted_1.0.0-beta06.txt | 7 public final class Animatable<T, V extends androidx.compose.animation.core.AnimationVector> { 46 …mposable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.com… 49 public interface Animation<T, V extends androidx.compose.animation.core.AnimationVector> { 76 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… 77 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> T! getVelocity… 80 public final class AnimationResult<T, V extends androidx.compose.animation.core.AnimationVector> { 88 public final class AnimationScope<T, V extends androidx.compose.animation.core.AnimationVector> { 112 …method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animati… 124 …public final class AnimationState<T, V extends androidx.compose.animation.core.AnimationVector> im… 143 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… [all …]
|
| D | 1.0.0-beta04.txt | 7 public final class Animatable<T, V extends androidx.compose.animation.core.AnimationVector> { 46 …mposable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.com… 49 public interface Animation<T, V extends androidx.compose.animation.core.AnimationVector> { 76 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… 77 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> T! getVelocity… 80 public final class AnimationResult<T, V extends androidx.compose.animation.core.AnimationVector> { 88 public final class AnimationScope<T, V extends androidx.compose.animation.core.AnimationVector> { 112 …method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animati… 124 …public final class AnimationState<T, V extends androidx.compose.animation.core.AnimationVector> im… 143 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… [all …]
|
| D | restricted_1.0.0-beta02.txt | 7 public final class Animatable<T, V extends androidx.compose.animation.core.AnimationVector> { 46 …mposable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.com… 49 public interface Animation<T, V extends androidx.compose.animation.core.AnimationVector> { 76 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… 77 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> T! getVelocity… 80 public final class AnimationResult<T, V extends androidx.compose.animation.core.AnimationVector> { 88 public final class AnimationScope<T, V extends androidx.compose.animation.core.AnimationVector> { 112 …method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animati… 124 …public final class AnimationState<T, V extends androidx.compose.animation.core.AnimationVector> im… 143 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… [all …]
|
| D | 1.0.0-beta10.txt | 7 public final class Animatable<T, V extends androidx.compose.animation.core.AnimationVector> { 46 …mposable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.com… 49 public interface Animation<T, V extends androidx.compose.animation.core.AnimationVector> { 76 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… 77 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> T! getVelocity… 80 public final class AnimationResult<T, V extends androidx.compose.animation.core.AnimationVector> { 88 public final class AnimationScope<T, V extends androidx.compose.animation.core.AnimationVector> { 112 …method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animati… 124 …public final class AnimationState<T, V extends androidx.compose.animation.core.AnimationVector> im… 143 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… [all …]
|
| D | 1.0.0-beta05.txt | 7 public final class Animatable<T, V extends androidx.compose.animation.core.AnimationVector> { 46 …mposable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.com… 49 public interface Animation<T, V extends androidx.compose.animation.core.AnimationVector> { 76 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… 77 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> T! getVelocity… 80 public final class AnimationResult<T, V extends androidx.compose.animation.core.AnimationVector> { 88 public final class AnimationScope<T, V extends androidx.compose.animation.core.AnimationVector> { 112 …method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animati… 124 …public final class AnimationState<T, V extends androidx.compose.animation.core.AnimationVector> im… 143 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… [all …]
|
| D | 1.0.0-beta09.txt | 7 public final class Animatable<T, V extends androidx.compose.animation.core.AnimationVector> { 46 …mposable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.com… 49 public interface Animation<T, V extends androidx.compose.animation.core.AnimationVector> { 76 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… 77 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> T! getVelocity… 80 public final class AnimationResult<T, V extends androidx.compose.animation.core.AnimationVector> { 88 public final class AnimationScope<T, V extends androidx.compose.animation.core.AnimationVector> { 112 …method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animati… 124 …public final class AnimationState<T, V extends androidx.compose.animation.core.AnimationVector> im… 143 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… [all …]
|
| D | 1.0.0-beta07.txt | 7 public final class Animatable<T, V extends androidx.compose.animation.core.AnimationVector> { 46 …mposable public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.com… 49 public interface Animation<T, V extends androidx.compose.animation.core.AnimationVector> { 76 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… 77 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> T! getVelocity… 80 public final class AnimationResult<T, V extends androidx.compose.animation.core.AnimationVector> { 88 public final class AnimationScope<T, V extends androidx.compose.animation.core.AnimationVector> { 112 …method public <V extends androidx.compose.animation.core.AnimationVector> androidx.compose.animati… 124 …public final class AnimationState<T, V extends androidx.compose.animation.core.AnimationVector> im… 143 …method public static <T, V extends androidx.compose.animation.core.AnimationVector> androidx.compo… [all …]
|