Home
last modified time | relevance | path

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

123456

/frameworks/base/core/tests/coretests/src/android/util/
DKeyUtils.java48 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/
DScreenshotTest.java104 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/
DEventSenderImpl.java176 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/
DTouchExplorer.java400 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/
DInput.java163 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/
DLinkMovementMethod.java45 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/
DKeyButtonView.java66 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/
DWebViewEventSender.java60 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/
DTouchUtils.java268 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/
DKeyguardViewBase.java156 if (event.getAction() != KeyEvent.ACTION_DOWN) { in shouldEventKeepScreenOnWhileKeyguardShowing()
179 if (event.getAction() == KeyEvent.ACTION_DOWN) { in interceptMediaKey()
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java206 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()
DTouchDelegate.java114 case MotionEvent.ACTION_DOWN: in onTouchEvent()
DScaleGestureDetector.java268 if (action == MotionEvent.ACTION_DOWN || streamComplete) {
284 final boolean configChanged = action == MotionEvent.ACTION_DOWN ||
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCloseDragHandle.java39 if (event.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
DPanelHolder.java71 case MotionEvent.ACTION_DOWN: in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/HelloWorld/src/com/example/android/rs/helloworld/
DHelloWorldView.java67 if (ev.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
DRsListView.java63 if (act == MotionEvent.ACTION_DOWN) { in onTouchEvent()
DRsRenderStatesView.java69 if (ev.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTabStrip.java221 if (action != MotionEvent.ACTION_DOWN && mIgnoreTap) { in onTouchEvent()
230 case MotionEvent.ACTION_DOWN: in onTouchEvent()
/frameworks/base/core/java/android/webkit/
DWebViewInputDispatcher.java290 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/
DInteractionController.java274 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/
DRSTestView.java86 if (act == ev.ACTION_DOWN) { in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DNotificationPanelTitle.java69 case MotionEvent.ACTION_DOWN: in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/
DRSTestView.java86 if (act == ev.ACTION_DOWN) { in onTouchEvent()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListScrollListenerTest.java75 KeyEvent down = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, in testKeyScrolling()

123456