/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | KeyboardInterceptorTest.java | 74 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 …]
|
D | TouchExplorerTest.java | 116 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/ |
D | PipTouchStateTest.java | 19 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/ |
D | KeyUtils.java | 42 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/ |
D | MotionEventTest.java | 19 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/ |
D | KeyButtonView.java | 94 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/ |
D | DragInputEventReceiver.java | 21 import static android.view.MotionEvent.ACTION_DOWN; 79 case ACTION_DOWN: in onInputEvent()
|
/frameworks/base/tests/ActivityViewTest/src/com/google/android/test/activityview/ |
D | ActivityViewTestActivity.java | 20 import static android.view.MotionEvent.ACTION_DOWN; 100 case ACTION_DOWN: in updateTouchState()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListScrollListenerTest.java | 73 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/ |
D | ClassifierTest.java | 75 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/ |
D | GridScrollListenerTest.java | 74 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/ |
D | TouchExplorer.java | 436 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/ |
D | EditTextCursorMovementPerfTest.java | 66 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_LEFT); 68 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_RIGHT);
|
D | EditTextBackspacePerfTest.java | 72 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/ |
D | PointerCountClassifier.java | 40 if (action == MotionEvent.ACTION_DOWN) { in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | NonInterceptingScrollView.java | 35 case MotionEvent.ACTION_DOWN: in onTouchEvent()
|
/frameworks/base/core/java/android/text/method/ |
D | LinkMovementMethod.java | 55 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/ |
D | PointerCountClassifier.java | 39 if (motionEvent.getActionMasked() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | HeadsUpTouchHelper.java | 62 if (!mTouchingHeadsUpView && event.getActionMasked() != MotionEvent.ACTION_DOWN) { in onInterceptTouchEvent() 73 case MotionEvent.ACTION_DOWN: in onInterceptTouchEvent()
|
D | PanelBar.java | 122 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/ |
D | Input.java | 198 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/ |
D | TouchableMovementMethod.java | 58 if (event.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | EmergencyCarrierArea.java | 50 case MotionEvent.ACTION_DOWN: in onFinishInflate()
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 262 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/ |
D | VerticalSeekBar.java | 66 case MotionEvent.ACTION_DOWN: in onTouchEvent()
|