Searched refs:touchState (Results 1 – 6 of 6) sorted by relevance
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | EditorTouchStateTest.java | 481 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 …]
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
H A D | PipTouchGesture.java | 27 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 D | PipTouchHandler.java | 799 public void onDown(PipTouchState touchState) { 800 if (!touchState.isUserInteracting()) { 807 mMovementWithinDismiss = touchState.getDownTouchPosition().y 820 public boolean onMove(PipTouchState touchState) { in onMove() argument 821 if (!touchState.isUserInteracting()) { in onMove() 825 if (touchState.startedDragging()) { in onMove() 830 if (touchState.isDragging()) { in onMove() 857 public boolean onUp(PipTouchState touchState) { in onUp() argument 861 if (!touchState.isUserInteracting()) { in onUp() 865 final PointF vel = touchState.getVelocity(); in onUp() [all …]
|
/aosp12/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 959 touchState.addHistory(msg); in updateTouchState() 967 touchState.addHistory(msg); in updateTouchState() 968 rewriteMessage(touchState, msg); in updateTouchState() 978 rewriteMessage(touchState, msg); in updateTouchState() 987 rewriteMessage(touchState, msg); in updateTouchState() 997 rewriteMessage(touchState, msg); in updateTouchState() 1007 rewriteMessage(touchState, msg); in updateTouchState() 1066 if (touchState.historySize < 1) { in resampleTouchState() 1106 other = touchState.getHistory(1); in resampleTouchState() 1140 touchState.lastResample.idBits.clear(); in resampleTouchState() [all …]
|
/aosp12/frameworks/native/services/inputflinger/dispatcher/ |
H A D | InputDispatcher.h | 216 int32_t y, TouchState* touchState,
|
H A D | InputDispatcher.cpp | 1006 int32_t y, TouchState* touchState, in findTouchedWindowAtLocked() argument 1010 if ((addPortalWindows || addOutsideTargets) && touchState == nullptr) { in findTouchedWindowAtLocked() 1034 touchState->addPortalWindow(windowHandle); in findTouchedWindowAtLocked() 1036 return findTouchedWindowAtLocked(portalToDisplayId, x, y, touchState, in findTouchedWindowAtLocked() 1045 touchState->addOrUpdateWindow(windowHandle, in findTouchedWindowAtLocked()
|