Home
last modified time | relevance | path

Searched refs:SwipeDirection (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/ui/viewmodel/
DQuickSettingsSceneViewModelTest.kt24 import com.android.compose.animation.scene.SwipeDirection
123 Swipe(SwipeDirection.Up) to UserActionResult(Scenes.Shade), in destinations_whenNotCustomizing_unlocked()
126 direction = SwipeDirection.Up, in destinations_whenNotCustomizing_unlocked()
152 Swipe(SwipeDirection.Up) to UserActionResult(Scenes.Lockscreen), in destinations_whenNotCustomizing_withPreviousSceneLockscreen()
155 direction = SwipeDirection.Up, in destinations_whenNotCustomizing_withPreviousSceneLockscreen()
178 Swipe(SwipeDirection.Up) to UserActionResult(Scenes.Shade), in destinations_whenNotCustomizing_authMethodSwipe_lockscreenNotDismissed()
181 direction = SwipeDirection.Up, in destinations_whenNotCustomizing_authMethodSwipe_lockscreenNotDismissed()
216 Swipe(SwipeDirection.Up) to UserActionResult(Scenes.Shade), in destinations_whenNotCustomizing_inSplitShade_unlocked()
219 direction = SwipeDirection.Up, in destinations_whenNotCustomizing_inSplitShade_unlocked()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/ui/viewmodel/
DShadeSceneViewModelTest.kt25 import com.android.compose.animation.scene.SwipeDirection in <lambda>()
121 assertThat(destinationScenes?.get(Swipe(SwipeDirection.Up))?.toScene) in <lambda>()
136 assertThat(destinationScenes?.get(Swipe(SwipeDirection.Up))?.toScene) in <lambda>()
152 assertThat(destinationScenes?.get(Swipe(SwipeDirection.Up))?.toScene) in <lambda>()
169 assertThat(destinationScenes?.get(Swipe(SwipeDirection.Up))?.toScene) in <lambda>()
181 assertThat(destinationScenes?.get(Swipe(SwipeDirection.Up))?.transitionKey) in <lambda>()
192 assertThat(destinationScenes?.get(Swipe(SwipeDirection.Up))?.transitionKey).isNull() in <lambda>()
257 assertThat(destinationScenes?.get(Swipe(SwipeDirection.Down))?.toScene).isNull() in <lambda>()
266 assertThat(destinationScenes?.get(Swipe(SwipeDirection.Down))?.toScene) in <lambda>()
278 it.direction == SwipeDirection.Up in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/ui/viewmodel/
DGoneSceneViewModel.kt21 import com.android.compose.animation.scene.SwipeDirection
69 direction = SwipeDirection.Down, in destinationScenes()
76 Swipe(direction = SwipeDirection.Down), in destinationScenes()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DSceneTransitionLayout.kt409 val direction: SwipeDirection,
414 val Left = Swipe(SwipeDirection.Left)
415 val Up = Swipe(SwipeDirection.Up)
416 val Right = Swipe(SwipeDirection.Right)
417 val Down = Swipe(SwipeDirection.Down)
421 enum class SwipeDirection(val orientation: Orientation) { class
DDraggableHandler.kt199 Orientation.Horizontal -> SwipeDirection.Left in onDrag()
200 Orientation.Vertical -> SwipeDirection.Up in onDrag()
210 Orientation.Horizontal -> SwipeDirection.Right in onDrag()
211 Orientation.Vertical -> SwipeDirection.Down in onDrag()
919 Orientation.Horizontal -> SwipeDirection.Left in nestedScrollConnection()
920 Orientation.Vertical -> SwipeDirection.Up in nestedScrollConnection()
929 Orientation.Horizontal -> SwipeDirection.Right in nestedScrollConnection()
930 Orientation.Vertical -> SwipeDirection.Down in nestedScrollConnection()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/ui/viewmodel/
DGoneSceneViewModelTest.kt23 import com.android.compose.animation.scene.SwipeDirection
69 assertThat(destinationScenes?.get(Swipe(SwipeDirection.Down))?.transitionKey) in downTransitionKey_splitShadeEnabled_isGoneToSplitShade()
80 assertThat(destinationScenes?.get(Swipe(SwipeDirection.Down))?.transitionKey).isNull() in downTransitionKey_splitShadeDisabled_isNull()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ui/viewmodel/
DShadeSceneViewModel.kt24 import com.android.compose.animation.scene.SwipeDirection in <lambda>()
93 destinationScenes.map { it[Swipe(SwipeDirection.Up)]?.toScene } in <lambda>()
145 Swipe(SwipeDirection.Up), in <lambda>()
153 set(Swipe(SwipeDirection.Down), UserActionResult(Scenes.QuickSettings)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DLockscreenSceneViewModel.kt23 import com.android.compose.animation.scene.SwipeDirection in <lambda>()
128 SwipeDirection.Down, in <lambda>()
136 SwipeDirection.Down, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ui/viewmodel/
DQuickSettingsSceneViewModel.kt24 import com.android.compose.animation.scene.SwipeDirection
105 put(Swipe(SwipeDirection.Up), UserActionResult(backScene ?: Scenes.Shade)) in destinationScenes()
107 Swipe(fromSource = Edge.Bottom, direction = SwipeDirection.Up), in destinationScenes()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalScene.kt23 import com.android.compose.animation.scene.SwipeDirection
51 Swipe(SwipeDirection.Right) to UserActionResult(Scenes.Lockscreen),
DCommunalContainer.kt49 import com.android.compose.animation.scene.SwipeDirection in <lambda>()
208 Swipe(SwipeDirection.Left, fromSource = Edge.Right) to CommunalScenes.Communal in CommunalContainer()
230 mapOf(Swipe(SwipeDirection.Right, fromSource = Edge.Left) to CommunalScenes.Blank) in CommunalContainer()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DLockscreenSceneViewModelTest.kt26 import com.android.compose.animation.scene.SwipeDirection in <lambda>()
204 SwipeDirection.Down, in <lambda>()
234 destinationScenes?.get(Swipe(SwipeDirection.Up))?.toScene?.let { scene -> in <lambda>()
249 destinationScenes?.get(Swipe(SwipeDirection.Left))?.toScene?.let { scene -> in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DBouncerViewModelTest.kt23 import com.android.compose.animation.scene.SwipeDirection in <lambda>()
217 Swipe(SwipeDirection.Down) to UserActionResult(Scenes.QuickSettings), in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
DBouncerViewModel.kt29 import com.android.compose.animation.scene.SwipeDirection in <lambda>()
381 Swipe(SwipeDirection.Down) to UserActionResult(prevScene), in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DSwipeToSceneTest.kt113 Swipe(SwipeDirection.Down, pointerCount = 2) to SceneB, in <lambda>()
114 Swipe(SwipeDirection.Right, fromSource = Edge.Left) to SceneB, in <lambda>()
115 Swipe(SwipeDirection.Down, fromSource = Edge.Top) to SceneB, in <lambda>()
DDraggableHandlerTest.kt84 Swipe(SwipeDirection.Up, fromSource = Edge.Bottom) to SceneA in <lambda>()