Home
last modified time | relevance | path

Searched refs:TAP (Results 1 – 9 of 9) sorted by relevance

/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/
DGestureRouterTest.java100 mRouter.onDown(Touch.TAP); in testFallsback()
101 mAlt.assertCalled_onDown(Touch.TAP); in testFallsback()
103 mRouter.onShowPress(Touch.TAP); in testFallsback()
104 mAlt.assertCalled_onShowPress(Touch.TAP); in testFallsback()
106 mRouter.onSingleTapUp(Touch.TAP); in testFallsback()
107 mAlt.assertCalled_onSingleTapUp(Touch.TAP); in testFallsback()
109 mRouter.onScroll(null, Touch.TAP, -1, -1); in testFallsback()
110 mAlt.assertCalled_onScroll(null, Touch.TAP, -1, -1); in testFallsback()
112 mRouter.onLongPress(Touch.TAP); in testFallsback()
113 mAlt.assertCalled_onLongPress(Touch.TAP); in testFallsback()
[all …]
DTouchInputHandlerTest.java19 import static androidx.recyclerview.selection.testing.TestEvents.Touch.TAP;
92 mInputDelegate.onSingleTapUp(TAP); in testTap_ActivatesWhenNoExistingSelection()
99 assertFalse(mInputDelegate.onScroll(null, TAP, -1, -1)); in testScroll_shouldNotBeTrapped()
107 mInputDelegate.onLongPress(TAP); in testLongPress_SelectsItem()
117 mInputDelegate.onLongPress(TAP); in testLongPress_StartsGestureSelection()
126 mInputDelegate.onSingleTapUp(TAP); in testSelectHotspot_StartsSelectionMode()
136 mInputDelegate.onSingleTapUp(TAP); in testSelectionHotspot_UnselectsSelectedItem()
146 mInputDelegate.onLongPress(TAP); in testStartsSelection_PerformsHapticFeedback()
156 mInputDelegate.onLongPress(TAP); in testLongPress_AddsToSelection()
159 mInputDelegate.onLongPress(TAP); in testLongPress_AddsToSelection()
[all …]
/frameworks/support/compat/src/main/java/androidx/core/view/
DGestureDetectorCompat.java69 private static final int TAP = 3; field in GestureDetectorCompat.GestureDetectorCompatImplBase
122 case TAP: in handleMessage()
289 boolean hadTapMessage = mHandler.hasMessages(TAP); in onTouchEvent()
290 if (hadTapMessage) mHandler.removeMessages(TAP); in onTouchEvent()
302 mHandler.sendEmptyMessageDelayed(TAP, DOUBLE_TAP_TIMEOUT); in onTouchEvent()
346 mHandler.removeMessages(TAP); in onTouchEvent()
367 mHandler.removeMessages(TAP); in onTouchEvent()
416 mHandler.removeMessages(TAP); in cancel()
432 mHandler.removeMessages(TAP); in cancelTaps()
458 mHandler.removeMessages(TAP); in dispatchLongPress()
/frameworks/base/core/java/android/view/
DGestureDetector.java233 private static final int TAP = 3; field in GestureDetector
296 case TAP: in handleMessage()
558 boolean hadTapMessage = mHandler.hasMessages(TAP); in onTouchEvent()
559 if (hadTapMessage) mHandler.removeMessages(TAP); in onTouchEvent()
571 mHandler.sendEmptyMessageDelayed(TAP, DOUBLE_TAP_TIMEOUT); in onTouchEvent()
616 mHandler.removeMessages(TAP); in onTouchEvent()
638 mHandler.removeMessages(TAP); in onTouchEvent()
710 mHandler.removeMessages(TAP); in onGenericMotionEvent()
730 mHandler.removeMessages(TAP); in cancel()
746 mHandler.removeMessages(TAP); in cancelTaps()
[all …]
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DInteraction.java45 Interaction.Type.TAP,
50 int TAP = 0; field
75 return new Interaction(Interaction.Type.TAP, in newTap()
91 case Type.TAP: in getEvents()
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/
DTestEvents.java59 public static final MotionEvent TAP = field in TestEvents.Touch
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java352 DragAction.Drag.TAP, in dragHandle()
DDragAction.java215 TAP { enumConstant
/frameworks/native/services/inputflinger/
DInputReader.h1642 TAP, enumerator