Home
last modified time | relevance | path

Searched refs:sceneStates (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DElement.kt63 val sceneStates = SnapshotStateMap<SceneKey, SceneState>() in <lambda>() constant in com.android.compose.animation.scene.Element
192 element.sceneStates[scene.key] in updateElementAndSceneValues()
193 ?: Element.SceneState(scene.key).also { element.sceneStates[scene.key] = it } in updateElementAndSceneValues()
450 if (sceneState.nodes.isEmpty() && element.sceneStates[sceneState.scene] == sceneState) { in maybePruneMaps()
451 element.sceneStates.remove(sceneState.scene) in maybePruneMaps()
454 if (element.sceneStates.isEmpty() && layoutImpl.elements[element.key] == element) { in maybePruneMaps()
473 transition.fromScene in element.sceneStates || transition.toScene in element.sceneStates in elementTransition()
484 element.sceneStates.values.forEach { in elementTransition()
499 val sceneStates = element.sceneStates in prepareInterruption() constant
501 return sceneStates[key]?.also { it.selfUpdateValuesBeforeInterruption() } in prepareInterruption()
[all …]
DUserActionDistanceScopeImpl.kt26 return layoutImpl.elements[this]?.sceneStates?.get(scene)?.targetSize.takeIf { in targetSize()
32 return layoutImpl.elements[this]?.sceneStates?.get(scene)?.targetOffset.takeIf { in targetOffset()
DMovableElement.kt209 val targetValueInScene = element.sceneStates.getValue(scene).targetSize in placeholderContentSize()
223 val targetValueInOtherScene = element.sceneStates[otherScene]?.targetSize in placeholderContentSize()
DAnimateSharedAsState.kt404 layoutImpl.elements[element]?.sceneStates?.let { sceneStates -> in transition() method
406 transition.fromScene in sceneStates || transition.toScene in sceneStates in transition()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/transformation/
DAnchoredSize.kt44 layoutImpl.elements[anchor]?.sceneStates?.get(scene)?.targetSize?.takeIf { in transform()
DAnchoredTranslate.kt51 return anchor.sceneStates[scene]?.targetOffset?.takeIf { it.isSpecified } in transform()