/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/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotTest.java | 104 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, in takeScreenshot() 106 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, in takeScreenshot()
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
D | EventSenderImpl.java | 176 executeKeyEvent(KeyEvent.ACTION_DOWN, 180 executeKeyEvent(KeyEvent.ACTION_DOWN, 189 … event = MotionEvent.obtain(ts, ts, MotionEvent.ACTION_DOWN, mMousePoint.x(), mMousePoint.y(), 0); 232 executeTouchEvent(MotionEvent.ACTION_DOWN); 462 case MotionEvent.ACTION_DOWN: in executeTouchEvent()
|
/frameworks/base/services/java/com/android/server/accessibility/ |
D | TouchExplorer.java | 400 case MotionEvent.ACTION_DOWN: in handleMotionEventStateTouchExploring() 588 sendMotionEvent(event, MotionEvent.ACTION_DOWN, pointerIdBits, in handleMotionEventStateTouchExploring() 668 case MotionEvent.ACTION_DOWN: { in handleMotionEventStateDragging() 770 case MotionEvent.ACTION_DOWN: { in handleMotionEventStateDelegating() 809 case MotionEvent.ACTION_DOWN: { in handleMotionEventGestureDetecting() 924 final int action = computeInjectionAction(MotionEvent.ACTION_DOWN, i); in sendDownForAllActiveNotInjectedPointers() 1039 sendMotionEvent(prototype, MotionEvent.ACTION_DOWN, pointerIdBits, policyFlags); in sendActionDownAndUp() 1061 if (action == MotionEvent.ACTION_DOWN) { in sendMotionEvent() 1128 case MotionEvent.ACTION_DOWN: in computeInjectionAction() 1133 return MotionEvent.ACTION_DOWN; in computeInjectionAction() [all …]
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 163 injectKeyEvent(new KeyEvent(now, now, KeyEvent.ACTION_DOWN, keyCode, 0, 0, in sendKeyEvent() 171 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, now, x, y, 1.0f); in sendTap() 178 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, now, x1, y1, 1.0f); in sendSwipe()
|
/frameworks/base/core/java/android/text/method/ |
D | LinkMovementMethod.java | 45 if (event.getAction() == KeyEvent.ACTION_DOWN && in handleMovementKey() 194 action == MotionEvent.ACTION_DOWN) { in onTouchEvent() 213 } else if (action == MotionEvent.ACTION_DOWN) { in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonView.java | 66 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); 215 case MotionEvent.ACTION_DOWN: in onTouchEvent() 220 sendEvent(KeyEvent.ACTION_DOWN, 0, mDownTime); in onTouchEvent()
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
D | WebViewEventSender.java | 60 modifier = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode); in keyDown() 65 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode); in keyDown() 86 MotionEvent event = MotionEvent.obtain(ts, ts, MotionEvent.ACTION_DOWN, mouseX, mouseY, 0); in mouseDown() 192 MotionEvent.ACTION_DOWN, numPoints, pointerIds, pointerCoords, in touchStart()
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 268 MotionEvent.ACTION_DOWN, x, y, 0); in tapView() 308 MotionEvent.ACTION_DOWN, x, y, 0); in touchAndCancelView() 343 MotionEvent.ACTION_DOWN, x, y, 0); in clickView() 404 MotionEvent.ACTION_DOWN, x, y, 0); in longClickView() 777 MotionEvent.ACTION_DOWN, x, y, 0); in drag()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/ |
D | KeyguardViewBase.java | 156 if (event.getAction() != KeyEvent.ACTION_DOWN) { in shouldEventKeepScreenOnWhileKeyguardShowing() 179 if (event.getAction() == KeyEvent.ACTION_DOWN) { in interceptMediaKey()
|
/frameworks/base/core/java/android/view/ |
D | InputEventConsistencyVerifier.java | 206 case KeyEvent.ACTION_DOWN: { in onKeyEvent() 267 case MotionEvent.ACTION_DOWN: in onTrackballEvent() 324 final boolean newStream = action == MotionEvent.ACTION_DOWN in onTouchEvent() 356 case MotionEvent.ACTION_DOWN: in onTouchEvent()
|
D | TouchDelegate.java | 114 case MotionEvent.ACTION_DOWN: in onTouchEvent()
|
D | ScaleGestureDetector.java | 268 if (action == MotionEvent.ACTION_DOWN || streamComplete) { 284 final boolean configChanged = action == MotionEvent.ACTION_DOWN ||
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | CloseDragHandle.java | 39 if (event.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
|
D | PanelHolder.java | 71 case MotionEvent.ACTION_DOWN: in onTouchEvent()
|
/frameworks/base/tests/RenderScriptTests/HelloWorld/src/com/example/android/rs/helloworld/ |
D | HelloWorldView.java | 67 if (ev.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
|
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
D | RsListView.java | 63 if (act == MotionEvent.ACTION_DOWN) { in onTouchEvent()
|
D | RsRenderStatesView.java | 69 if (ev.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | PagerTabStrip.java | 221 if (action != MotionEvent.ACTION_DOWN && mIgnoreTap) { in onTouchEvent() 230 case MotionEvent.ACTION_DOWN: in onTouchEvent()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewInputDispatcher.java | 290 case MotionEvent.ACTION_DOWN: in postPointerEvent() 325 if (action == MotionEvent.ACTION_DOWN && mPostSendTouchEventsToWebKit) { in postPointerEvent() 375 case MotionEvent.ACTION_DOWN: in postLongPress() 550 } else if (action == MotionEvent.ACTION_DOWN) { in updateStateTrackersLocked() 1262 case MotionEvent.ACTION_DOWN: in update()
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
D | InteractionController.java | 274 KeyEvent downEvent = KeyEvent.obtain(eventTime, eventTime, KeyEvent.ACTION_DOWN, in sendKeyAndWaitForEvent() 344 mDownTime, mDownTime, MotionEvent.ACTION_DOWN, x, y, 1); in touchDown() 539 KeyEvent downEvent = KeyEvent.obtain(eventTime, eventTime, KeyEvent.ACTION_DOWN, in sendKey()
|
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
D | RSTestView.java | 86 if (act == ev.ACTION_DOWN) { in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
D | NotificationPanelTitle.java | 69 case MotionEvent.ACTION_DOWN: in onTouchEvent()
|
/frameworks/base/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/ |
D | RSTestView.java | 86 if (act == ev.ACTION_DOWN) { in onTouchEvent()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListScrollListenerTest.java | 75 KeyEvent down = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, in testKeyScrolling()
|