/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | MovableElement.kt | 33 layoutImpl: SceneTransitionLayoutImpl, in <lambda>() 39 Box(modifier.element(layoutImpl, scene, key)) { in <lambda>() 43 remember(layoutImpl, key, scene, sceneScope, boxScope) { in <lambda>() 44 ElementScopeImpl(layoutImpl, key, scene, sceneScope, boxScope) in <lambda>() 53 layoutImpl: SceneTransitionLayoutImpl, in MovableElement() 59 Box(modifier.element(layoutImpl, scene, key)) { in MovableElement() 63 remember(layoutImpl, key, scene, sceneScope, boxScope) { in MovableElement() 64 MovableElementScopeImpl(layoutImpl, key, scene, sceneScope, boxScope) in MovableElement() 72 private val layoutImpl: SceneTransitionLayoutImpl, constant in com.android.compose.animation.scene.BaseElementScope 84 layoutImpl, in animateElementValueAsState() [all …]
|
D | NestedScrollToScene.kt | 74 layoutImpl: SceneTransitionLayoutImpl, in nestedScrollToScene() 82 layoutImpl = layoutImpl, in nestedScrollToScene() 90 private val layoutImpl: SceneTransitionLayoutImpl, in nestedScrollToScene() constant in com.android.compose.animation.scene.NestedScrollToSceneElement 98 layoutImpl = layoutImpl, in nestedScrollToScene() 107 layoutImpl = layoutImpl, in nestedScrollToScene() 117 properties["layoutImpl"] = layoutImpl in nestedScrollToScene() 125 layoutImpl: SceneTransitionLayoutImpl, 133 layoutImpl = layoutImpl, 156 layoutImpl: SceneTransitionLayoutImpl, in update() 169 layoutImpl = layoutImpl, in update() [all …]
|
D | UserActionDistanceScopeImpl.kt | 23 private val layoutImpl: SceneTransitionLayoutImpl, constant in com.android.compose.animation.scene.ElementStateScopeImpl 26 return layoutImpl.elements[this]?.sceneStates?.get(scene)?.targetSize.takeIf { in targetSize() 32 return layoutImpl.elements[this]?.sceneStates?.get(scene)?.targetOffset.takeIf { in targetOffset() 38 return layoutImpl.scenes[this]?.targetSize.takeIf { it != IntSize.Zero } in targetSize() 43 private val layoutImpl: SceneTransitionLayoutImpl, constant in com.android.compose.animation.scene.UserActionDistanceScopeImpl 44 ) : UserActionDistanceScope, ElementStateScope by layoutImpl.elementStateScope { in <lambda>() 46 get() = layoutImpl.density.density in <lambda>() 49 get() = layoutImpl.density.fontScale in <lambda>()
|
D | Scene.kt | 38 layoutImpl: SceneTransitionLayoutImpl, in <lambda>() 43 internal val scope = SceneScopeImpl(layoutImpl, this) in <lambda>() 94 private val layoutImpl: SceneTransitionLayoutImpl, constant in SceneScopeImpl 96 ) : SceneScope, ElementStateScope by layoutImpl.elementStateScope { in <lambda>() 98 override val layoutState: SceneTransitionLayoutState = layoutImpl.state in <lambda>() 101 return element(layoutImpl, scene, key) in <lambda>() 110 Element(layoutImpl, scene, key, modifier, content) in <lambda>() 119 MovableElement(layoutImpl, scene, key, modifier, content) in <lambda>() 130 layoutImpl = layoutImpl, in <lambda>() 146 layoutImpl = layoutImpl, in <lambda>() [all …]
|
D | Element.kt | 136 layoutImpl: SceneTransitionLayoutImpl, in element() 144 val currentTransitions = layoutImpl.state.currentTransitions in element() 145 return then(ElementModifier(layoutImpl, currentTransitions, scene, key)).testTag(key.testTag) in element() 153 private val layoutImpl: SceneTransitionLayoutImpl, constant in com.android.compose.animation.scene.ElementModifier 158 override fun create(): ElementNode = ElementNode(layoutImpl, currentTransitions, scene, key) in create() 161 node.update(layoutImpl, currentTransitions, scene, key) in create() 166 private var layoutImpl: SceneTransitionLayoutImpl, variable in com.android.compose.animation.scene.ElementNode 189 layoutImpl.elements[key] ?: Element(key).also { layoutImpl.elements[key] = it } in updateElementAndSceneValues() 213 maybePruneMaps(layoutImpl, element, sceneState) in onDetach() 224 layoutImpl: SceneTransitionLayoutImpl, in update() [all …]
|
D | DraggableHandler.kt | 63 internal val layoutImpl: SceneTransitionLayoutImpl, in onDrag() constant in com.android.compose.animation.scene.DraggableHandlerImpl 78 get() = with(layoutImpl.density) { 125.dp.toPx() } in onDrag() 85 get() = with(layoutImpl.density) { 56.dp.toPx() } in onDrag() 146 val transitionState = layoutImpl.state.transitionState in onDrag() 147 val fromScene = layoutImpl.scene(transitionState.currentScene) in onDrag() 159 layoutImpl.state, in onDrag() 164 layoutImpl, in onDrag() 187 layoutImpl.swipeSourceDetector.source( in onDrag() 190 layoutImpl.density, in onDrag() 245 val layoutState = draggableHandler.layoutImpl.state [all …]
|
D | SceneTransitionLayoutImpl.kt | 106 ?: UserActionDistanceScopeImpl(layoutImpl = this).also { in <lambda>() 124 layoutImpl = this, in <lambda>() 131 layoutImpl = this, in <lambda>() 202 .then(LayoutElement(layoutImpl = this)) in <lambda>() 255 private data class LayoutElement(private val layoutImpl: SceneTransitionLayoutImpl) : constant in LayoutElement 257 override fun create(): LayoutNode = LayoutNode(layoutImpl) in create() 260 node.layoutImpl = layoutImpl in create() 264 private class LayoutNode(var layoutImpl: SceneTransitionLayoutImpl) : variable in LayoutNode 267 return layoutImpl.state.isTransitioning() in isMeasurementApproachInProgress() 280 val transition = layoutImpl.state.currentTransition in approachMeasure() [all …]
|
D | AnimateSharedAsState.kt | 263 layoutImpl: SceneTransitionLayoutImpl, in animateSharedValueAsState() 271 DisposableEffect(layoutImpl, scene, element, key) { in animateSharedValueAsState() 273 val valueMap = layoutImpl.sharedValues.getOrPut(key) { mutableMapOf() } in animateSharedValueAsState() 286 if (valueMap.isEmpty() && layoutImpl.sharedValues[key] === valueMap) { in animateSharedValueAsState() 287 layoutImpl.sharedValues.remove(key) in animateSharedValueAsState() 300 sharedValue<T, Any>(layoutImpl, key, element).targetValues[scene] = value in animateSharedValueAsState() 303 return remember(layoutImpl, scene, element, canOverflow) { in animateSharedValueAsState() 304 AnimatedStateImpl<T, Any>(layoutImpl, scene, element, key, canOverflow) in animateSharedValueAsState() 309 layoutImpl: SceneTransitionLayoutImpl, in sharedValue() 313 return layoutImpl.sharedValues[key]?.get(element)?.let { it as SharedValue<T, Delta> } in sharedValue() [all …]
|
D | SwipeToScene.kt | 95 val layoutImpl = draggableHandler.layoutImpl in currentScene() constant 96 return layoutImpl.scene(layoutImpl.state.transitionState.currentScene) in currentScene()
|
D | SceneTransitionLayout.kt | 508 val layoutImpl = remember { in SceneTransitionLayoutForTesting() constant 522 layoutImpl.updateScenes(scenes) in SceneTransitionLayoutForTesting() 525 if (state != layoutImpl.state) { in SceneTransitionLayoutForTesting() 532 layoutImpl.density = density in SceneTransitionLayoutForTesting() 533 layoutImpl.swipeSourceDetector = swipeSourceDetector in SceneTransitionLayoutForTesting() 534 layoutImpl.transitionInterceptionThreshold = transitionInterceptionThreshold in SceneTransitionLayoutForTesting() 537 layoutImpl.Content(modifier, swipeDetector) in SceneTransitionLayoutForTesting()
|
D | SceneTransitionLayoutState.kt | 318 layoutImpl: SceneTransitionLayoutImpl, in interruptionProgress() 320 if (!layoutImpl.state.enableInterruptions) { in interruptionProgress() 326 layoutImpl.coroutineScope.launch { in interruptionProgress() 327 val swipeSpec = layoutImpl.state.transitions.defaultSwipeSpec in interruptionProgress()
|
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/transformation/ |
D | Translate.kt | 35 layoutImpl: SceneTransitionLayoutImpl, in transform() 42 return with(layoutImpl.density) { in transform() 57 layoutImpl: SceneTransitionLayoutImpl, in transform()
|
D | AnchoredSize.kt | 35 layoutImpl: SceneTransitionLayoutImpl, in transform() 44 layoutImpl.elements[anchor]?.sceneStates?.get(scene)?.targetSize?.takeIf { in transform()
|
D | EdgeTranslate.kt | 34 layoutImpl: SceneTransitionLayoutImpl, in transform() 41 val sceneSize = layoutImpl.scene(scene).targetSize in transform()
|
D | AnchoredTranslate.kt | 34 layoutImpl: SceneTransitionLayoutImpl, in transform() 49 val anchor = layoutImpl.elements[anchor] ?: throwException(scene = null) in transform()
|
D | Fade.kt | 30 layoutImpl: SceneTransitionLayoutImpl, in transform()
|
D | DrawScale.kt | 39 layoutImpl: SceneTransitionLayoutImpl, in transform()
|
D | ScaleSize.kt | 37 layoutImpl: SceneTransitionLayoutImpl, in transform()
|
D | Transformation.kt | 63 layoutImpl: SceneTransitionLayoutImpl, in reversed()
|
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/ |
D | Transition.kt | 73 override fun interruptionProgress(layoutImpl: SceneTransitionLayoutImpl): Float { in interruptionProgress()
|
D | DraggableHandlerTest.kt | 93 private val layoutImpl = constant in com.android.compose.animation.scene.DraggableHandlerTest.TestGestureScope 104 val draggableHandler = layoutImpl.draggableHandler(Orientation.Vertical) 105 val horizontalDraggableHandler = layoutImpl.draggableHandler(Orientation.Horizontal) 112 layoutImpl = layoutImpl, in nestedScrollConnection()
|