Home
last modified time | relevance | path

Searched refs:transformationSpec (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DTransitionDslTest.kt76 val transformationSpec = transitions.transitionSpecs.single().transformationSpec() in defaultTransitionSpec() constant
77 assertThat(transformationSpec.progressSpec).isInstanceOf(SpringSpec::class.java) in defaultTransitionSpec()
85 val transformationSpec = transitions.transitionSpecs.single().transformationSpec() in customTransitionSpec() constant
86 assertThat(transformationSpec.progressSpec).isInstanceOf(TweenSpec::class.java) in customTransitionSpec()
87 assertThat((transformationSpec.progressSpec as TweenSpec).durationMillis).isEqualTo(42) in customTransitionSpec()
97 transitions.transitionSpecs.single().transformationSpec().transformations in defaultRange()
113 transitions.transitionSpecs.single().transformationSpec().transformations in fractionRange()
136 transitions.transitionSpecs.single().transformationSpec().transformations in timestampRange()
159 transitions.transitionSpecs.single().transformationSpec().transformations in reversed()
183 .transformationSpec() in defaultReversed()
[all …]
DSwipeToSceneTest.kt531 assertThat(state.currentTransition?.transformationSpec?.transformations).hasSize(1) in <lambda>()
536 assertThat(state.currentTransition?.transformationSpec?.transformations).hasSize(2) in <lambda>()
DSceneTransitionLayoutStateTest.kt321 assertThat(state.currentTransition?.transformationSpec?.transformations).hasSize(1) in <lambda>()
338 assertThat(state.currentTransition?.transformationSpec?.transformations).hasSize(2) in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DSceneTransitions.kt183 fun transformationSpec(): TransformationSpec in reversed() method
228 private val transformationSpec: () -> TransformationSpecImpl, constant in com.android.compose.animation.scene.TransitionSpecImpl
235 transformationSpec = { in reversed()
236 val reverse = transformationSpec.invoke() in reversed()
247 override fun transformationSpec(): TransformationSpecImpl = this.transformationSpec.invoke() in transformationSpec() method in com.android.compose.animation.scene.TransitionSpecImpl
259 val transformationSpec: TransformationSpec in transformationSpec() constant
265 override val transformationSpec: TransformationSpecImpl, constant in com.android.compose.animation.scene.OverscrollSpecImpl
DTransitionDslImpl.kt84 fun transformationSpec(): TransformationSpecImpl { in overscroll() method
93 val spec = OverscrollSpecImpl(scene, orientation, transformationSpec()) in overscroll()
104 fun transformationSpec(): TransformationSpecImpl { in transition() method
114 val spec = TransitionSpecImpl(key, from, to, ::transformationSpec) in transition()
DElement.kt742 val transformationSpec = transition.transformationSpec in sharedElementTransformation() constant
743 val sharedInFromScene = transformationSpec.transformations(element, transition.fromScene).shared in sharedElementTransformation()
744 val sharedInToScene = transformationSpec.transformations(element, transition.toScene).shared in sharedElementTransformation()
789 return transition.transformationSpec.transformations(element.key, scene.key).alpha == null in isElementOpaque()
1054 overscroll.transformationSpec.transformations(element.key, currentScene) in computeValue()
1122 transformation(transition.transformationSpec.transformations(element.key, scene)) in computeValue()
DSceneTransitionLayoutState.kt257 internal var transformationSpec: TransformationSpecImpl = TransformationSpec.Empty variable in com.android.compose.animation.scene.TransitionState.Transition
473 transition.transformationSpec = in startTransition()
476 .transformationSpec() in startTransition()
DDraggableHandler.kt643 with(transformationSpec.distance ?: DefaultSwipeDistance) { in distance()
690 currentOverscrollSpec?.transformationSpec?.transformations?.isEmpty() == true in animateOffset()
715 transformationSpec.swipeSpec in animateOffset()
746 overscrollSpec.transformationSpec.transformations in animateOffset()
DAnimateToScene.kt186 val animationSpec = transition.transformationSpec.progressSpec in CoroutineScope()