Home
last modified time | relevance | path

Searched refs:UserActionResult (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/ui/viewmodel/
DGoneSceneViewModel.kt23 import com.android.compose.animation.scene.UserActionResult
44 val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> =
58 ): Map<UserAction, UserActionResult> { in destinationScenes()
71 UserActionResult(SceneFamilies.QuickSettings) in destinationScenes()
77 UserActionResult( in destinationScenes()
DSceneContainerViewModel.kt23 import com.android.compose.animation.scene.UserActionResult in <lambda>()
72 ): StateFlow<Map<UserAction, UserActionResult>> { in <lambda>()
155 actionResultMap: Map<UserAction, UserActionResult>, in <lambda>()
156 ): Map<UserAction, UserActionResult> { in <lambda>()
165 destinationScenes: Map<UserAction, UserActionResult>, in <lambda>()
166 ): Flow<Map<UserAction, UserActionResult>> { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DLockscreenSceneViewModel.kt25 import com.android.compose.animation.scene.UserActionResult in <lambda>()
59 val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> = in <lambda>()
93 ): Map<UserAction, UserActionResult> { in <lambda>()
95 UserActionResult( in <lambda>()
101 Swipe.Left to UserActionResult(Scenes.Communal).takeIf { isCommunalAvailable }, in <lambda>()
107 UserActionResult(Scenes.QuickSettings) in <lambda>()
114 UserActionResult( in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/ui/viewmodel/
DQuickSettingsSceneViewModelTest.kt25 import com.android.compose.animation.scene.UserActionResult
122 Back to UserActionResult(Scenes.Shade), in destinations_whenNotCustomizing_unlocked()
123 Swipe(SwipeDirection.Up) to UserActionResult(Scenes.Shade), in destinations_whenNotCustomizing_unlocked()
127 ) to UserActionResult(SceneFamilies.Home) in destinations_whenNotCustomizing_unlocked()
151 Back to UserActionResult(Scenes.Lockscreen), in destinations_whenNotCustomizing_withPreviousSceneLockscreen()
152 Swipe(SwipeDirection.Up) to UserActionResult(Scenes.Lockscreen), in destinations_whenNotCustomizing_withPreviousSceneLockscreen()
156 ) to UserActionResult(SceneFamilies.Home) in destinations_whenNotCustomizing_withPreviousSceneLockscreen()
177 Back to UserActionResult(Scenes.Shade), in destinations_whenNotCustomizing_authMethodSwipe_lockscreenNotDismissed()
178 Swipe(SwipeDirection.Up) to UserActionResult(Scenes.Shade), in destinations_whenNotCustomizing_authMethodSwipe_lockscreenNotDismissed()
182 ) to UserActionResult(SceneFamilies.Home) in destinations_whenNotCustomizing_authMethodSwipe_lockscreenNotDismissed()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ui/viewmodel/
DQuickSettingsSceneViewModel.kt26 import com.android.compose.animation.scene.UserActionResult
74 val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> =
95 ): Map<UserAction, UserActionResult> { in destinationScenes()
104 put(Back, UserActionResult(backScene ?: Scenes.Shade)) in destinationScenes()
105 put(Swipe(SwipeDirection.Up), UserActionResult(backScene ?: Scenes.Shade)) in destinationScenes()
108 UserActionResult(SceneFamilies.Home), in destinationScenes()
DQuickSettingsShadeSceneViewModel.kt22 import com.android.compose.animation.scene.UserActionResult
46 val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> =
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalScene.kt25 import com.android.compose.animation.scene.UserActionResult
48 override val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> =
49 MutableStateFlow<Map<UserAction, UserActionResult>>(
51 Swipe(SwipeDirection.Right) to UserActionResult(Scenes.Lockscreen),
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/shared/model/
DFakeScene.kt21 import com.android.compose.animation.scene.UserActionResult
36 private val destinationScenesChannel = Channel<Map<UserAction, UserActionResult>>()
49 suspend fun setDestinationScenes(value: Map<UserAction, UserActionResult>) { in setDestinationScenes()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/shared/model/
DScene.kt21 import com.android.compose.animation.scene.UserActionResult
57 val destinationScenes: StateFlow<Map<UserAction, UserActionResult>>
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ui/viewmodel/
DShadeSceneViewModel.kt26 import com.android.compose.animation.scene.UserActionResult in <lambda>()
72 val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> = in <lambda>()
141 ): Map<UserAction, UserActionResult> { in <lambda>()
146 UserActionResult( in <lambda>()
153 set(Swipe(SwipeDirection.Down), UserActionResult(Scenes.QuickSettings)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/notifications/ui/viewmodel/
DNotificationsShadeSceneViewModel.kt22 import com.android.compose.animation.scene.UserActionResult
33 val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> =
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DScene.kt40 actions: Map<UserAction, UserActionResult>, in <lambda>()
57 userActions: Map<UserAction, UserActionResult> in <lambda>()
58 ): Map<UserAction, UserActionResult> { in <lambda>()
DSceneTransitionLayout.kt135 userActions: Map<UserAction, UserActionResult> = emptyMap(), in scene()
399 infix fun to(scene: SceneKey): Pair<UserAction, UserActionResult> { in align()
400 return this to UserActionResult(toScene = scene) in align()
456 data class UserActionResult( dataClass
DDraggableHandler.kt509 result: UserActionResult, in SwipeTransition()
830 var upOrLeftResult: UserActionResult? = null
831 var downOrRightResult: UserActionResult? = null
833 fun computeSwipesResults(fromScene: Scene): Pair<UserActionResult?, UserActionResult?> { in computeSwipesResults()
835 fun result(swipe: Swipe?): UserActionResult? { in computeSwipesResults()
872 ): UserActionResult? { in findUserActionResult()
889 fun findUserActionResultStrict(directionOffset: Float): UserActionResult? { in findUserActionResultStrict()
DSceneTransitionLayoutImpl.kt162 userActions: Map<UserAction, UserActionResult>, in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/
DLockscreenScene.kt24 import com.android.compose.animation.scene.UserActionResult
45 override val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> =
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DBouncerScene.kt28 import com.android.compose.animation.scene.UserActionResult
59 override val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> =
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/
DGoneScene.kt30 import com.android.compose.animation.scene.UserActionResult
62 override val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> =
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/
DNotificationsShadeScene.kt28 import com.android.compose.animation.scene.UserActionResult
68 override val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> =
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DBouncerViewModelTest.kt24 import com.android.compose.animation.scene.UserActionResult in <lambda>()
216 Back to UserActionResult(Scenes.QuickSettings), in <lambda>()
217 Swipe(SwipeDirection.Down) to UserActionResult(Scenes.QuickSettings), in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
DBouncerViewModel.kt31 import com.android.compose.animation.scene.UserActionResult in <lambda>()
94 val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> = in <lambda>()
380 Back to UserActionResult(prevScene), in <lambda>()
381 Swipe(SwipeDirection.Down) to UserActionResult(prevScene), in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/ui/composable/
DQuickSettingsShadeScene.kt42 import com.android.compose.animation.scene.UserActionResult
76 override val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> =
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DDraggableHandlerTest.kt495 mutableUserActionsA[Swipe.Up] = UserActionResult(SceneC) in <lambda>()
512 mutableUserActionsA[Swipe.Up] = UserActionResult(SceneC) in <lambda>()
1150 mutableUserActionsA[Swipe.Up] = UserActionResult(SceneB) in <lambda>()
1179 mutableUserActionsA[Swipe.Down] = UserActionResult(SceneC) in <lambda>()
DSwipeToSceneTest.kt515 Swipe.Up to UserActionResult(SceneB, transitionKey = transitionkey) in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/
DShadeScene.kt66 import com.android.compose.animation.scene.UserActionResult
148 override val destinationScenes: StateFlow<Map<UserAction, UserActionResult>> =