Home
last modified time | relevance | path

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

12

/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DGestureManifold.java65 import static com.android.server.accessibility.gestures.Swipe.DOWN;
66 import static com.android.server.accessibility.gestures.Swipe.LEFT;
67 import static com.android.server.accessibility.gestures.Swipe.RIGHT;
68 import static com.android.server.accessibility.gestures.Swipe.UP;
128 mGestures.add(new Swipe(context, RIGHT, GESTURE_SWIPE_RIGHT, this)); in GestureManifold()
129 mGestures.add(new Swipe(context, LEFT, GESTURE_SWIPE_LEFT, this)); in GestureManifold()
130 mGestures.add(new Swipe(context, UP, GESTURE_SWIPE_UP, this)); in GestureManifold()
131 mGestures.add(new Swipe(context, DOWN, GESTURE_SWIPE_DOWN, this)); in GestureManifold()
133 mGestures.add(new Swipe(context, LEFT, RIGHT, GESTURE_SWIPE_LEFT_AND_RIGHT, this)); in GestureManifold()
134 mGestures.add(new Swipe(context, LEFT, UP, GESTURE_SWIPE_LEFT_AND_UP, this)); in GestureManifold()
[all …]
DSwipe.java38 class Swipe extends GestureMatcher { class
92 Swipe( in Swipe() method in Swipe
100 Swipe( in Swipe() method in Swipe
109 private Swipe( in Swipe() method in Swipe
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DLockscreenSceneViewModel.kt22 import com.android.compose.animation.scene.Swipe in <lambda>()
101 Swipe.Left to UserActionResult(Scenes.Communal).takeIf { isCommunalAvailable }, in <lambda>()
102 Swipe.Up to if (isDeviceUnlocked) Scenes.Gone else Scenes.Bouncer, in <lambda>()
126 private fun swipeDownFromTop(pointerCount: Int): Swipe { in <lambda>()
127 return Swipe( in <lambda>()
134 private fun swipeDown(pointerCount: Int): Swipe { in <lambda>()
135 return Swipe( in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/ui/viewmodel/
DQuickSettingsSceneViewModelTest.kt23 import com.android.compose.animation.scene.Swipe
123 Swipe(SwipeDirection.Up) to UserActionResult(Scenes.Shade), in destinations_whenNotCustomizing_unlocked()
124 Swipe( in destinations_whenNotCustomizing_unlocked()
152 Swipe(SwipeDirection.Up) to UserActionResult(Scenes.Lockscreen), in destinations_whenNotCustomizing_withPreviousSceneLockscreen()
153 Swipe( in destinations_whenNotCustomizing_withPreviousSceneLockscreen()
178 Swipe(SwipeDirection.Up) to UserActionResult(Scenes.Shade), in destinations_whenNotCustomizing_authMethodSwipe_lockscreenNotDismissed()
179 Swipe( in destinations_whenNotCustomizing_authMethodSwipe_lockscreenNotDismissed()
216 Swipe(SwipeDirection.Up) to UserActionResult(Scenes.Shade), in destinations_whenNotCustomizing_inSplitShade_unlocked()
217 Swipe( in destinations_whenNotCustomizing_inSplitShade_unlocked()
DQuickSettingsShadeSceneViewModelTest.kt22 import com.android.compose.animation.scene.Swipe
68 assertThat(destinationScenes?.get(Swipe.Up)?.toScene).isEqualTo(SceneFamilies.Home) in upTransitionSceneKey_deviceLocked_lockscreen()
80 assertThat(destinationScenes?.get(Swipe.Up)?.toScene).isEqualTo(SceneFamilies.Home) in upTransitionSceneKey_deviceUnlocked_gone()
95 assertThat(destinationScenes?.get(Swipe.Up)?.toScene).isEqualTo(SceneFamilies.Home) in upTransitionSceneKey_authMethodSwipe_lockscreenNotDismissed_goesToLockscreen()
111 assertThat(destinationScenes?.get(Swipe.Up)?.toScene).isEqualTo(SceneFamilies.Home) in upTransitionSceneKey_authMethodSwipe_lockscreenDismissed_goesToGone()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/notifications/ui/viewmodel/
DNotificationsShadeSceneViewModelTest.kt22 import com.android.compose.animation.scene.Swipe
67 assertThat(destinationScenes?.get(Swipe.Up)?.toScene).isEqualTo(SceneFamilies.Home) in upTransitionSceneKey_deviceLocked_lockscreen()
79 assertThat(destinationScenes?.get(Swipe.Up)?.toScene).isEqualTo(SceneFamilies.Home) in upTransitionSceneKey_deviceUnlocked_gone()
93 assertThat(destinationScenes?.get(Swipe.Up)?.toScene).isEqualTo(SceneFamilies.Home) in upTransitionSceneKey_authMethodSwipe_lockscreenNotDismissed_goesToLockscreen()
110 assertThat(destinationScenes?.get(Swipe.Up)?.toScene).isEqualTo(SceneFamilies.Home) in upTransitionSceneKey_authMethodSwipe_lockscreenDismissed_goesToGone()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/ui/viewmodel/
DShadeSceneViewModelTest.kt24 import com.android.compose.animation.scene.Swipe 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>()
277 destinationScenes!!.keys.filterIsInstance<Swipe>().filter { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/ui/viewmodel/
DGoneSceneViewModel.kt20 import com.android.compose.animation.scene.Swipe
66 Swipe( in destinationScenes()
76 Swipe(direction = SwipeDirection.Down), in destinationScenes()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/ui/viewmodel/
DGoneSceneViewModelTest.kt22 import com.android.compose.animation.scene.Swipe
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/compose/scene/tests/src/com/android/compose/animation/scene/
DSwipeToSceneTest.kt93 Swipe.Left to SceneB, in <lambda>()
94 Swipe.Down to TestScenes.SceneC, in <lambda>()
95 Swipe.Up to SceneB, in <lambda>()
103 userActions = if (swipesEnabled()) mapOf(Swipe.Right to SceneA) else emptyMap(), in <lambda>()
112 Swipe.Down to SceneA, in <lambda>()
113 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>()
385 userActions = mapOf(Swipe.Down to SceneB), in <lambda>()
514 Swipe.Down to SceneB, in <lambda>()
[all …]
DDraggableHandlerTest.kt64 val mutableUserActionsA = mutableMapOf(Swipe.Up to SceneB, Swipe.Down to SceneC)
65 val mutableUserActionsB = mutableMapOf(Swipe.Up to SceneC, Swipe.Down to SceneA)
83 Swipe.Up to SceneB, in <lambda>()
84 Swipe(SwipeDirection.Up, fromSource = Edge.Bottom) to SceneA in <lambda>()
466 mutableUserActionsA.remove(Swipe.Up) in onAccelaratedScrollBothTargetsBecomeNull_settlesToIdle()
467 mutableUserActionsA.remove(Swipe.Down) in onAccelaratedScrollBothTargetsBecomeNull_settlesToIdle()
468 mutableUserActionsB.remove(Swipe.Up) in onAccelaratedScrollBothTargetsBecomeNull_settlesToIdle()
469 mutableUserActionsB.remove(Swipe.Down) in onAccelaratedScrollBothTargetsBecomeNull_settlesToIdle()
495 mutableUserActionsA[Swipe.Up] = UserActionResult(SceneC) in <lambda>()
512 mutableUserActionsA[Swipe.Up] = UserActionResult(SceneC) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/notifications/ui/viewmodel/
DNotificationsShadeSceneViewModel.kt20 import com.android.compose.animation.scene.Swipe
36 Swipe.Up to SceneFamilies.Home,
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ui/viewmodel/
DShadeSceneViewModel.kt23 import com.android.compose.animation.scene.Swipe 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/compose/scene/src/com/android/compose/animation/scene/
DSceneTransitionLayout.kt408 data class Swipe( class
414 val Left = Swipe(SwipeDirection.Left)
415 val Up = Swipe(SwipeDirection.Up)
416 val Right = Swipe(SwipeDirection.Right)
417 val Down = Swipe(SwipeDirection.Down)
DDraggableHandler.kt196 Swipe( in onDrag()
207 Swipe( in onDrag()
824 val upOrLeft: Swipe?,
825 val downOrRight: Swipe?,
826 val upOrLeftNoSource: Swipe?,
827 val downOrRightNoSource: Swipe?,
835 fun result(swipe: Swipe?): UserActionResult? { in computeSwipesResults()
916 Swipe( in nestedScrollConnection()
926 Swipe( in nestedScrollConnection()
DSwipeToScene.kt101 return userActions.keys.any { it is Swipe && it.direction.orientation == orientation } in Scene()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ui/viewmodel/
DQuickSettingsShadeSceneViewModel.kt20 import com.android.compose.animation.scene.Swipe
49 Swipe.Up to SceneFamilies.Home,
DQuickSettingsSceneViewModel.kt23 import com.android.compose.animation.scene.Swipe
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.kt22 import com.android.compose.animation.scene.Swipe
51 Swipe(SwipeDirection.Right) to UserActionResult(Scenes.Lockscreen),
DCommunalContainer.kt48 import com.android.compose.animation.scene.Swipe 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/scene/
DSceneFrameworkIntegrationTest.kt28 import com.android.compose.animation.scene.Swipe in <lambda>()
249 val upDestinationSceneKey = destinationScenes?.get(Swipe.Up)?.toScene in <lambda>()
269 val upDestinationSceneKey = destinationScenes?.get(Swipe.Up)?.toScene in <lambda>()
288 val upDestinationSceneKey = destinationScenes?.get(Swipe.Up)?.toScene in <lambda>()
316 val upDestinationSceneKey = destinationScenes?.get(Swipe.Up)?.toScene in <lambda>()
375 val upDestinationSceneKey = destinationScenes?.get(Swipe.Up)?.toScene in <lambda>()
397 val upDestinationSceneKey = destinationScenes?.get(Swipe.Up)?.toScene in <lambda>()
415 val upDestinationSceneKey = destinationScenes?.get(Swipe.Up)?.toScene in <lambda>()
435 val upDestinationSceneKey = destinationScenes?.get(Swipe.Up)?.toScene in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DLockscreenSceneViewModelTest.kt25 import com.android.compose.animation.scene.Swipe in <lambda>()
203 Swipe( 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.kt22 import com.android.compose.animation.scene.Swipe in <lambda>()
217 Swipe(SwipeDirection.Down) to UserActionResult(Scenes.QuickSettings), in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
DBouncerViewModel.kt28 import com.android.compose.animation.scene.Swipe in <lambda>()
381 Swipe(SwipeDirection.Down) to UserActionResult(prevScene), in <lambda>()
/frameworks/base/services/tests/servicestests/res/raw-watch/
Da11y_three_finger_swipe_down_gesture.log1 * Gesture6_id30:Swipe down with 3 finger

12