Home
last modified time | relevance | path

Searched refs:touchState (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/widget/
H A DEditorTouchStateTest.java481 touchState.update(event1, mConfig); in doTestDragDirection()
486 touchState.update(event2, mConfig); in doTestDragDirection()
512 assertThat(touchState.getLastUpX(), is(lastUpX)); in assertSingleTap()
513 assertThat(touchState.getLastUpY(), is(lastUpY)); in assertSingleTap()
514 assertThat(touchState.isDoubleTap(), is(false)); in assertSingleTap()
516 assertThat(touchState.isMultiTap(), is(false)); in assertSingleTap()
525 assertThat(touchState.getLastUpX(), is(lastUpX)); in assertDrag()
526 assertThat(touchState.getLastUpY(), is(lastUpY)); in assertDrag()
527 assertThat(touchState.isDoubleTap(), is(false)); in assertDrag()
529 assertThat(touchState.isMultiTap(), is(false)); in assertDrag()
[all …]
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipTouchGesture.java27 public void onDown(PipTouchState touchState) {} in onDown() argument
32 public boolean onMove(PipTouchState touchState) { in onMove() argument
39 public boolean onUp(PipTouchState touchState) { in onUp() argument
H A DPipTouchHandler.java793 public void onDown(PipTouchState touchState) {
794 if (!touchState.isUserInteracting()) {
801 mMovementWithinDismiss = touchState.getDownTouchPosition().y
814 public boolean onMove(PipTouchState touchState) { in onMove() argument
815 if (!touchState.isUserInteracting()) { in onMove()
819 if (touchState.startedDragging()) { in onMove()
824 if (touchState.isDragging()) { in onMove()
853 public boolean onUp(PipTouchState touchState) { in onUp() argument
857 if (!touchState.isUserInteracting()) { in onUp()
861 final PointF vel = touchState.getVelocity(); in onUp()
[all …]
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java1974 private boolean scheduleNotifyTouchState(int displayId, int touchState) { in scheduleNotifyTouchState() argument
1981 service.notifyTouchState(displayId, touchState); in scheduleNotifyTouchState()