Home
last modified time | relevance | path

Searched refs:ACTION_DOWN (Results 1 – 25 of 211) sorted by relevance

123456789

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyboardInterceptorTest.java74 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); in whenNonspecialKeyArrives_withNothingInQueue_eventGoesToAms()
81 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_DOWN); in whenVolumeKeyArrives_andPolicySaysUseIt_eventGoesToAms()
90 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP); in whenVolumeKeyArrives_andPolicySaysDropIt_eventDropped()
100 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP); in whenVolumeKeyArrives_andPolicySaysDelayThenUse_eventQueuedThenSentToAms()
117 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_DOWN); in whenVolumeKeyArrives_andPolicySaysDelayThenDrop_eventQueuedThenDropped()
134 KeyEvent[] events = {new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0), in whenSomeEventsGetDelayed_allEventsStillInOrder()
135 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP), in whenSomeEventsGetDelayed_allEventsStillInOrder()
136 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_A), in whenSomeEventsGetDelayed_allEventsStillInOrder()
164 KeyEvent[] events = {new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0), in whenSomeEventsGetDropped_otherEventsStillInOrder()
165 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_UP), in whenSomeEventsGetDropped_otherEventsStillInOrder()
[all …]
DTouchExplorerTest.java116 MotionEvent.ACTION_DOWN, in testTwoFingersMove_shouldDelegatingAndInjectActionDownPointerDown()
126 assertCapturedEvents(MotionEvent.ACTION_DOWN); in testTwoFingersDrag_shouldDraggingAndActionDown()
137 /* goto dragging state */ MotionEvent.ACTION_DOWN, in testTwoFingersNotDrag_shouldDelegatingAndActionUpDownPointerDown()
139 MotionEvent.ACTION_DOWN, in testTwoFingersNotDrag_shouldDelegatingAndActionUpDownPointerDown()
150 MotionEvent.ACTION_DOWN, in testThreeFingersMove_shouldDelegatingAnd3ActionPointerDown()
264 MotionEvent.obtain(mLastDownTime, mLastDownTime, MotionEvent.ACTION_DOWN, DEFAULT_X, in downEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/pip/phone/
DPipTouchStateTest.java19 import static android.view.MotionEvent.ACTION_DOWN;
68 mTouchState.onTouchEvent(createMotionEvent(ACTION_DOWN, currentTime, 0, 0)); in testDoubleTapLongSingleTap_notDoubleTapAndNotWaiting()
80 mTouchState.onTouchEvent(createMotionEvent(ACTION_DOWN, currentTime, 0, 0)); in testDoubleTapTimeout_timeoutCallbackCalled()
99 mTouchState.onTouchEvent(createMotionEvent(ACTION_DOWN, currentTime, 0, 0)); in testDoubleTapDrag_doubleTapCanceled()
112 mTouchState.onTouchEvent(createMotionEvent(ACTION_DOWN, currentTime, 0, 0)); in testDoubleTap_doubleTapRegistered()
114 mTouchState.onTouchEvent(createMotionEvent(ACTION_DOWN, in testDoubleTap_doubleTapRegistered()
/frameworks/base/core/tests/coretests/src/android/util/
DKeyUtils.java42 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU)); in tapMenuKey()
55 final KeyEvent pushMenuKey = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU); in chordMenuKey()
61 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, shortcutKeyCode)); in chordMenuKey()
74 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_CENTER)); in longClick()
/frameworks/base/core/tests/coretests/src/android/view/
DMotionEventTest.java19 import static android.view.MotionEvent.ACTION_DOWN;
55 MotionEvent motionEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, in testObtainWithDisplayId()
60 ACTION_DOWN /* action */, 0f /* x */, 0f /* y */, 0/* pressure */, 0 /* size */, in testObtainWithDisplayId()
75 motionEvent = MotionEvent.obtain(0, 0, ACTION_DOWN, in testObtainWithDisplayId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java94 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS);
200 sendEvent(KeyEvent.ACTION_DOWN, 0, SystemClock.uptimeMillis()); in performAccessibilityActionInternal()
206 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); in performAccessibilityActionInternal()
219 if (action == MotionEvent.ACTION_DOWN) { in onTouchEvent()
228 case MotionEvent.ACTION_DOWN: in onTouchEvent()
237 sendEvent(KeyEvent.ACTION_DOWN, 0, mDownTime); in onTouchEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DDragInputEventReceiver.java21 import static android.view.MotionEvent.ACTION_DOWN;
79 case ACTION_DOWN: in onInputEvent()
/frameworks/base/tests/ActivityViewTest/src/com/google/android/test/activityview/
DActivityViewTestActivity.java20 import static android.view.MotionEvent.ACTION_DOWN;
100 case ACTION_DOWN: in updateTouchState()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListScrollListenerTest.java73 KeyEvent upDown = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, in testKeyScrolling()
83 KeyEvent down = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, in testKeyScrolling()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/
DClassifierTest.java75 return appendMotionEvent(MotionEvent.ACTION_DOWN, x, y); in appendDownEvent()
79 return appendMotionEvent(MotionEvent.ACTION_DOWN, x, y, eventTime); in appendDownEvent()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridScrollListenerTest.java74 KeyEvent upDown = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, in testKeyScrolling()
85 KeyEvent down = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, in testKeyScrolling()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java436 event.getEventTime(), MotionEvent.ACTION_DOWN, 1, properties, in onDoubleTap()
507 case MotionEvent.ACTION_DOWN: { in handleMotionEventStateTouchExploring()
608 sendMotionEvent(event, MotionEvent.ACTION_DOWN, pointerIdBits, in handleMotionEventStateTouchExploring()
676 case MotionEvent.ACTION_DOWN: { in handleMotionEventStateDragging()
778 case MotionEvent.ACTION_DOWN: { in handleMotionEventStateDelegating()
866 final int action = computeInjectionAction(MotionEvent.ACTION_DOWN, i); in sendDownForAllNotInjectedPointers()
939 sendMotionEvent(prototype, MotionEvent.ACTION_DOWN, pointerIdBits, policyFlags); in sendActionDownAndUp()
967 if (action == MotionEvent.ACTION_DOWN) { in sendMotionEvent()
1046 case MotionEvent.ACTION_DOWN: in computeInjectionAction()
1051 return MotionEvent.ACTION_DOWN; in computeInjectionAction()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DEditTextCursorMovementPerfTest.java66 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_LEFT);
68 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_RIGHT);
DEditTextBackspacePerfTest.java72 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DEL);
74 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_RIGHT);
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DPointerCountClassifier.java40 if (action == MotionEvent.ACTION_DOWN) { in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DNonInterceptingScrollView.java35 case MotionEvent.ACTION_DOWN: in onTouchEvent()
/frameworks/base/core/java/android/text/method/
DLinkMovementMethod.java55 if (event.getAction() == KeyEvent.ACTION_DOWN && in handleMovementKey()
209 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_DOWN) { in onTouchEvent()
234 } else if (action == MotionEvent.ACTION_DOWN) { in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DPointerCountClassifier.java39 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java62 if (!mTouchingHeadsUpView && event.getActionMasked() != MotionEvent.ACTION_DOWN) { in onInterceptTouchEvent()
73 case MotionEvent.ACTION_DOWN: in onInterceptTouchEvent()
DPanelBar.java122 if (event.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
129 if (event.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java198 KeyEvent event = new KeyEvent(now, now, KeyEvent.ACTION_DOWN, keyCode, repeatCount, in sendKeyEvent()
223 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, now, now, x, y, 1.0f, in sendTap()
257 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, down, down, x1, y1, 1.0f, in sendSwipe()
326 action = MotionEvent.ACTION_DOWN; in sendMotionEvent()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DTouchableMovementMethod.java58 if (event.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyCarrierArea.java50 case MotionEvent.ACTION_DOWN: in onFinishInflate()
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java262 MotionEvent.ACTION_DOWN, x, y, 0); in tapView()
302 MotionEvent.ACTION_DOWN, x, y, 0); in touchAndCancelView()
337 MotionEvent.ACTION_DOWN, x, y, 0); in clickView()
398 MotionEvent.ACTION_DOWN, x, y, 0); in longClickView()
771 MotionEvent.ACTION_DOWN, x, y, 0); in drag()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DVerticalSeekBar.java66 case MotionEvent.ACTION_DOWN: in onTouchEvent()

123456789