/frameworks/base/core/tests/coretests/src/android/util/ |
D | KeyUtils.java | 48 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU)); in tapMenuKey() 61 final KeyEvent pushMenuKey = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU); in chordMenuKey() 67 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, shortcutKeyCode)); in chordMenuKey() 80 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_CENTER)); in longClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonView.java | 69 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); 155 sendEvent(KeyEvent.ACTION_DOWN, 0, SystemClock.uptimeMillis()); in performAccessibilityActionInternal() 161 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); in performAccessibilityActionInternal() 172 if (action == MotionEvent.ACTION_DOWN) { in onTouchEvent() 180 case MotionEvent.ACTION_DOWN: in onTouchEvent() 185 sendEvent(KeyEvent.ACTION_DOWN, 0, mDownTime); in onTouchEvent()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
D | TouchUtils.java | 47 MotionEvent.ACTION_DOWN, x, y, 0); in tapView() 78 MotionEvent.ACTION_DOWN, x, y, 0); in touchAndCancelView() 105 MotionEvent.ACTION_DOWN, x, y, 0); in clickView() 142 MotionEvent.ACTION_DOWN, x, y, 0); in longClickView() 277 MotionEvent.ACTION_DOWN, x, y, 0); in drag()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | TouchExplorer.java | 430 event.getEventTime(), MotionEvent.ACTION_DOWN, 1, properties, in onDoubleTap() 501 case MotionEvent.ACTION_DOWN: { in handleMotionEventStateTouchExploring() 595 sendMotionEvent(event, MotionEvent.ACTION_DOWN, pointerIdBits, in handleMotionEventStateTouchExploring() 662 case MotionEvent.ACTION_DOWN: { in handleMotionEventStateDragging() 754 case MotionEvent.ACTION_DOWN: { in handleMotionEventStateDelegating() 838 final int action = computeInjectionAction(MotionEvent.ACTION_DOWN, i); in sendDownForAllNotInjectedPointers() 912 sendMotionEvent(prototype, MotionEvent.ACTION_DOWN, pointerIdBits, policyFlags); in sendActionDownAndUp() 935 if (action == MotionEvent.ACTION_DOWN) { in sendMotionEvent() 1016 case MotionEvent.ACTION_DOWN: in computeInjectionAction() 1021 return MotionEvent.ACTION_DOWN; in computeInjectionAction() [all …]
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 184 injectKeyEvent(new KeyEvent(now, now, KeyEvent.ACTION_DOWN, keyCode, 0, 0, in sendKeyEvent() 187 injectKeyEvent(new KeyEvent(now, now, KeyEvent.ACTION_DOWN, keyCode, 1, 0, in sendKeyEvent() 197 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, now, x, y, 1.0f); in sendTap() 206 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, now, x1, y1, 1.0f); in sendSwipe()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotTest.java | 108 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, in takeScreenshot() 110 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, in takeScreenshot()
|
/frameworks/base/core/java/android/text/method/ |
D | LinkMovementMethod.java | 50 if (event.getAction() == KeyEvent.ACTION_DOWN && in handleMovementKey() 199 action == MotionEvent.ACTION_DOWN) { in onTouchEvent() 218 } else if (action == MotionEvent.ACTION_DOWN) { in onTouchEvent()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | Events.java | 63 return e.getActionMasked() == MotionEvent.ACTION_DOWN; in isActionDown() 171 return mEvent.getActionMasked() == MotionEvent.ACTION_DOWN; in isActionDown()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
D | BaseKeyboardShortcutsTestCase.java | 52 final KeyEvent downEvent = new KeyEvent(downTime, downTime, KeyEvent.ACTION_DOWN, in testKeyboardShortcut() 116 KeyEvent tempEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_A); in sendControlChar()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelBar.java | 80 if (event.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent() 87 if (event.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
|
D | HeadsUpTouchHelper.java | 63 if (!mTouchingHeadsUpView && event.getActionMasked() != MotionEvent.ACTION_DOWN) { in onInterceptTouchEvent() 74 case MotionEvent.ACTION_DOWN: in onInterceptTouchEvent()
|
D | NavigationBarGestureHelper.java | 110 case MotionEvent.ACTION_DOWN: { in onInterceptTouchEvent() 137 case MotionEvent.ACTION_DOWN: in interceptDockWindowEvent() 152 case MotionEvent.ACTION_DOWN: in handleDockWindowEvent()
|
/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/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | PointerCountClassifier.java | 40 if (action == MotionEvent.ACTION_DOWN) { in onTouchEvent()
|
D | ProximityClassifier.java | 53 if (action == MotionEvent.ACTION_DOWN) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | NonInterceptingScrollView.java | 35 case MotionEvent.ACTION_DOWN: in onTouchEvent()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskTapPointerEventListener.java | 68 case MotionEvent.ACTION_DOWN: { in onPointerEvent() 146 if (mInGestureDetection || action == MotionEvent.ACTION_DOWN && isTouchInside) { in doGestureDetection()
|
/frameworks/base/core/java/android/view/ |
D | InputEventConsistencyVerifier.java | 210 case KeyEvent.ACTION_DOWN: { in onKeyEvent() 271 case MotionEvent.ACTION_DOWN: in onTrackballEvent() 328 final boolean newStream = action == MotionEvent.ACTION_DOWN in onTouchEvent() 360 case MotionEvent.ACTION_DOWN: in onTouchEvent()
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | KeyListenerTestCase.java | 59 return new KeyEvent(currentTime, currentTime, KeyEvent.ACTION_DOWN, keycode, in getKey()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | PagerTabStrip.java | 225 if (action != MotionEvent.ACTION_DOWN && mIgnoreTap) { in onTouchEvent() 234 case MotionEvent.ACTION_DOWN: in onTouchEvent()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | EmergencyCarrierArea.java | 50 case MotionEvent.ACTION_DOWN: in onFinishInflate()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | InteractionController.java | 192 KeyEvent downEvent = new KeyEvent(eventTime, eventTime, KeyEvent.ACTION_DOWN, in sendKeyAndWaitForEvent() 310 mDownTime, mDownTime, MotionEvent.ACTION_DOWN, x, y, 1); 549 KeyEvent downEvent = new KeyEvent(eventTime, eventTime, KeyEvent.ACTION_DOWN, 713 event = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(), MotionEvent.ACTION_DOWN, 1,
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
D | VerticalSeekBar.java | 66 case MotionEvent.ACTION_DOWN: in onTouchEvent()
|
/frameworks/support/v4/java/android/support/v4/media/ |
D | TransportPerformer.java | 198 onMediaButtonDown(keyCode, new KeyEvent(now, now, KeyEvent.ACTION_DOWN, keyCode, 0)); in onAudioFocusChange()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | AbsActionBarView.java | 98 if (action == MotionEvent.ACTION_DOWN) { in onTouchEvent() 104 if (action == MotionEvent.ACTION_DOWN && !handled) { in onTouchEvent()
|