Home
last modified time | relevance | path

Searched refs:overscrollSpec (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DSceneTransitionLayoutImpl.kt296 val overscrollSpec = transition.currentOverscrollSpec in approachMeasure() constant
299 overscrollSpec == null -> transition.progress in approachMeasure()
300 overscrollSpec.scene == transition.toScene -> 1f in approachMeasure()
DDraggableHandler.kt743 val overscrollSpec = currentOverscrollSpec in animateOffset() constant
745 overscrollSpec != null && in animateOffset()
746 overscrollSpec.transformationSpec.transformations in animateOffset()
949 val overscrollSpec = layoutImpl.state.transitions.overscrollSpec(scene, orientation) in nestedScrollConnection() constant
950 return overscrollSpec != null in nestedScrollConnection()
DAnimateSharedAsState.kt384 val overscrollSpec = transition.currentOverscrollSpec in get() constant
387 overscrollSpec == null -> { in get()
391 overscrollSpec.scene == transition.toScene -> 1f in get()
DSceneTransitionLayoutState.kt479 fromSpec = transitions.overscrollSpec(fromScene, orientation), in startTransition()
480 toSpec = transitions.overscrollSpec(toScene, orientation), in startTransition()
DSceneTransitions.kt115 internal fun overscrollSpec(scene: SceneKey, orientation: Orientation): OverscrollSpecImpl? = in <lambda>() method in com.android.compose.animation.scene.SceneTransitions
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DTransitionDslTest.kt229 fun overscrollSpec() { in overscrollSpec() method in com.android.compose.animation.scene.TransitionDslTest
236 val overscrollSpec = transitions.overscrollSpecs.single() in overscrollSpec() constant
237 val transformation = overscrollSpec.transformationSpec.transformations.single() in overscrollSpec()
DSceneTransitionLayoutStateTest.kt490 val overscrollSpec = assertThat(transition).hasOverscrollSpec() in <lambda>() constant
491 assertThat(overscrollSpec.scene).isEqualTo(SceneB) in <lambda>()
511 val overscrollSpec = assertThat(transition).hasOverscrollSpec() in <lambda>() constant
512 assertThat(overscrollSpec.scene).isEqualTo(SceneA) in <lambda>()
DDraggableHandlerTest.kt988 assertThat(layoutState.transitions.overscrollSpec(scene, Orientation.Vertical)).isNotNull() in <lambda>()