Searched refs:touchState (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | EditorTouchStateTest.java | 430 private static void assertSingleTap(EditorTouchState touchState, float lastDownX, in assertSingleTap() argument 432 assertThat(touchState.getLastDownX(), is(lastDownX)); in assertSingleTap() 433 assertThat(touchState.getLastDownY(), is(lastDownY)); in assertSingleTap() 434 assertThat(touchState.getLastUpX(), is(lastUpX)); in assertSingleTap() 435 assertThat(touchState.getLastUpY(), is(lastUpY)); in assertSingleTap() 436 assertThat(touchState.isDoubleTap(), is(false)); in assertSingleTap() 437 assertThat(touchState.isTripleClick(), is(false)); in assertSingleTap() 438 assertThat(touchState.isMultiTap(), is(false)); in assertSingleTap() 439 assertThat(touchState.isMultiTapInSameArea(), is(false)); in assertSingleTap() 440 assertThat(touchState.isMovedEnoughForDrag(), is(false)); in assertSingleTap() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
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
|
D | PipTouchHandler.java | 898 public void onDown(PipTouchState touchState) { in onDown() argument 899 if (!touchState.isUserInteracting()) { in onDown() 906 mMovementWithinDismiss = touchState.getDownTouchPosition().y >= mMovementBounds.bottom; in onDown() 917 public boolean onMove(PipTouchState touchState) { in onMove() argument 918 if (!touchState.isUserInteracting()) { in onMove() 922 if (touchState.startedDragging()) { in onMove() 933 if (touchState.isDragging()) { in onMove() 935 final PointF lastDelta = touchState.getLastTouchDelta(); in onMove() 949 final PointF curPos = touchState.getLastTouchPosition(); in onMove() 960 public boolean onUp(PipTouchState touchState) { in onUp() argument [all …]
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 833 TouchState& touchState = mTouchStates.editItemAt(index); in updateTouchState() local 834 touchState.initialize(deviceId, source); in updateTouchState() 835 touchState.addHistory(msg); in updateTouchState() 842 TouchState& touchState = mTouchStates.editItemAt(index); in updateTouchState() local 843 touchState.addHistory(msg); in updateTouchState() 844 rewriteMessage(touchState, msg); in updateTouchState() 852 TouchState& touchState = mTouchStates.editItemAt(index); in updateTouchState() local 853 touchState.lastResample.idBits.clearBit(msg.body.motion.getActionId()); in updateTouchState() 854 rewriteMessage(touchState, msg); in updateTouchState() 862 TouchState& touchState = mTouchStates.editItemAt(index); in updateTouchState() local [all …]
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.h | 195 TouchState* touchState,
|
D | InputDispatcher.cpp | 803 int32_t y, TouchState* touchState, in findTouchedWindowAtLocked() argument 806 if ((addPortalWindows || addOutsideTargets) && touchState == nullptr) { in findTouchedWindowAtLocked() 828 touchState->addPortalWindow(windowHandle); in findTouchedWindowAtLocked() 830 return findTouchedWindowAtLocked(portalToDisplayId, x, y, touchState, in findTouchedWindowAtLocked() 839 touchState->addOrUpdateWindow(windowHandle, in findTouchedWindowAtLocked()
|