Home
last modified time | relevance | path

Searched refs:scenes (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/android/transition/
DScene.java63 SparseArray<Scene> scenes = (SparseArray<Scene>) sceneRoot.getTag( in getSceneForLayout() local
65 if (scenes == null) { in getSceneForLayout()
66 scenes = new SparseArray<Scene>(); in getSceneForLayout()
67 sceneRoot.setTagInternal(com.android.internal.R.id.scene_layoutid_cache, scenes); in getSceneForLayout()
69 Scene scene = scenes.get(layoutId); in getSceneForLayout()
74 scenes.put(layoutId, scene); in getSceneForLayout()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DTransitionDsl.kt241 scenes: Set<SceneKey>, in sceneDuringTransition()
247 val fromSceneInScenes = scenes.contains(fromScene) in sceneDuringTransition()
248 val toSceneInScenes = scenes.contains(toScene) in sceneDuringTransition()
310 class MovableElementScenePicker(private val scenes: Set<SceneKey>) : ElementScenePicker { constant in com.android.compose.animation.scene.MovableElementScenePicker
318 scenes.contains(transition.toScene) -> transition.toScene in sceneDuringTransition()
319 scenes.contains(transition.fromScene) -> transition.fromScene in sceneDuringTransition()
DSceneTransitionLayoutImpl.kt59 internal val scenes = SnapshotStateMap<SceneKey, Scene>() in <lambda>() constant
148 return scenes[key] ?: error("Scene $key is not configured") in <lambda>()
154 val scenesToRemove = scenes.keys.toMutableSet() in <lambda>()
167 val scene = scenes[key] in <lambda>()
175 scenes[key] = in <lambda>()
190 scenesToRemove.forEach { scenes.remove(it) } in <lambda>()
251 scenes.values.forEach { it.targetSize = size } in <lambda>()
DSceneTransitionLayout.kt60 scenes: SceneTransitionLayoutScope.() -> Unit, in SceneTransitionLayout()
69 scenes, in SceneTransitionLayout()
103 scenes: SceneTransitionLayoutScope.() -> Unit, in SceneTransitionLayout()
119 scenes, in SceneTransitionLayout()
504 scenes: SceneTransitionLayoutScope.() -> Unit, in SceneTransitionLayoutForTesting()
514 builder = scenes, in SceneTransitionLayoutForTesting()
522 layoutImpl.updateScenes(scenes) in SceneTransitionLayoutForTesting()
DUserActionDistanceScopeImpl.kt38 return layoutImpl.scenes[this]?.targetSize.takeIf { it != IntSize.Zero } in targetSize()
DMovableElement.kt184 fromSceneZIndex = layoutImpl.scenes.getValue(transition.fromScene).zIndex, in shouldComposeMovableElement()
185 toSceneZIndex = layoutImpl.scenes.getValue(transition.toScene).zIndex, in shouldComposeMovableElement()
DElement.kt724 fromSceneZIndex = layoutImpl.scenes.getValue(fromScene).zIndex, in shouldPlaceOrComposeSharedElement()
725 toSceneZIndex = layoutImpl.scenes.getValue(toScene).zIndex, in shouldPlaceOrComposeSharedElement()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DMovableElementScenePickerTest.kt28 val picker = MovableElementScenePicker(scenes = setOf(TestScenes.SceneA, TestScenes.SceneB)) in toSceneInScenes()
42 val picker = MovableElementScenePicker(scenes = setOf(TestScenes.SceneA)) in fromSceneInScenes()
56 val picker = MovableElementScenePicker(scenes = emptySet()) in noneInScenes()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/ui/view/
DSceneWindowRootView.kt35 scenes: Set<Scene>, in <lambda>()
47 scenes = scenes, in <lambda>()
DSceneWindowRootViewBinder.kt66 scenes: Set<Scene>, in <lambda>()
70 val unsortedSceneByKey: Map<SceneKey, Scene> = scenes.associateBy { scene -> scene.key } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/data/model/
DSceneStack.kt62 fun sceneStackOf(vararg scenes: SceneKey): SceneStack { in sceneStackOf()
64 for (sceneKey in scenes.reversed()) { in sceneStackOf()
/frameworks/base/packages/SystemUI/docs/
Dscene.md4 is a "scene" and each edge between the scenes is a transition. The scenes are
14 itself with either transition animations or anything in other scenes. This
25 4. Make **customization easier**: by separating scenes to standalone pieces, it
26 becomes possible for variant owners and OEMs to exclude or replace certain scenes
27 or to add brand-new scenes.
28 5. **Enable modularization**: by separating scenes to standalone pieces, it
50 `@Composable` function) that sets up all the scenes, their transitions, etc.
53 scenes and some added information about the desired behaviour of a
118 By default, the framework ships with fully functional scenes as enumarated
128 the (potentially ever-changing) set of navigation edges to other scenes, based
[all …]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Capabilities.java108 int[] scenes = p.get(CONTROL_AVAILABLE_SCENE_MODES); in buildSceneModes() local
109 if (scenes != null) { in buildSceneModes()
110 for (int scene : scenes) { in buildSceneModes()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/ui/viewmodel/
DSceneContainerViewModelTest.kt34 import com.android.systemui.scene.scenes in <lambda>()
69 scenes = kosmos.scenes, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeViewProviderModule.kt96 scenes = scenesProvider.get(), in <lambda>()
283 private fun checkNoSceneDuplicates(scenes: Set<Scene>) { in <lambda>()
286 scenes in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/ui/viewmodel/
DSceneContainerViewModel.kt49 scenes: Set<@JvmSuppressWildcards Scene>, in <lambda>()
66 scenes.associate { scene -> in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/
DSceneKosmos.kt32 val Kosmos.scenes by Fixture { fakeScenes } in <lambda>() constant
/frameworks/av/camera/
Dcamera_platform.aconfig82 description: "An AE mode that enables increased brightening in low light scenes"
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/
DSceneFrameworkIntegrationTest.kt141 scenes = kosmos.scenes, in <lambda>()
/frameworks/base/libs/hwui/
DAndroid.bp724 "tests/common/scenes/*.cpp",