Searched refs:ACTION_DOWN (Results 1 - 25 of 109) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/android/util/
H A DKeyUtils.java48 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU));
61 final KeyEvent pushMenuKey = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU);
67 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, shortcutKeyCode));
80 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_CENTER));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DCloseDragHandle.java39 if (event.getAction() != MotionEvent.ACTION_DOWN) {
H A DPhoneStatusBarView.java147 if (event.getAction() != MotionEvent.ACTION_DOWN) {
155 if (event.getAction() == MotionEvent.ACTION_DOWN) {
H A DStatusBarWindowView.java60 boolean down = event.getAction() == KeyEvent.ACTION_DOWN;
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DWebViewEventSender.java60 modifier = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode);
65 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode);
86 MotionEvent event = MotionEvent.obtain(ts, ts, MotionEvent.ACTION_DOWN, mouseX, mouseY, 0);
192 MotionEvent.ACTION_DOWN, numPoints, pointerIds, pointerCoords,
/frameworks/base/tests/RenderScriptTests/HelloWorld/src/com/example/android/rs/helloworld/
H A DHelloWorldView.java67 if (ev.getAction() == MotionEvent.ACTION_DOWN) {
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java124 injectKeyEvent(new KeyEvent(now, now, KeyEvent.ACTION_DOWN, keyCode, 0, 0,
132 injectPointerEvent(MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, x, y, 0));
139 injectPointerEvent(MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, x1, y1, 0));
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DScreenshotTest.java104 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN,
106 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN,
/frameworks/base/core/java/android/view/
H A DTouchDelegate.java114 case MotionEvent.ACTION_DOWN:
H A DInputEventConsistencyVerifier.java206 case KeyEvent.ACTION_DOWN: {
217 problem("ACTION_DOWN but key is already down and this event "
267 case MotionEvent.ACTION_DOWN:
269 problem("ACTION_DOWN but trackball is already down.");
324 final boolean newStream = action == MotionEvent.ACTION_DOWN
356 case MotionEvent.ACTION_DOWN:
358 problem("ACTION_DOWN but pointers are already down. "
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
H A DRsListView.java63 if (act == MotionEvent.ACTION_DOWN) {
H A DRsRenderStatesView.java69 if (ev.getAction() == MotionEvent.ACTION_DOWN) {
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DKeyguardViewBase.java156 if (event.getAction() != KeyEvent.ACTION_DOWN) {
179 if (event.getAction() == KeyEvent.ACTION_DOWN) {
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridScrollListenerTest.java78 KeyEvent down = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN,
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListScrollListenerTest.java75 KeyEvent down = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DNotificationPanelTitle.java69 case MotionEvent.ACTION_DOWN:
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DRSTestView.java86 if (act == ev.ACTION_DOWN) {
/frameworks/base/tests/RenderScriptTests/tests_v11/src/com/android/rs/test/
H A DRSTestView.java86 if (act == ev.ACTION_DOWN) {
/frameworks/base/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/
H A DRSTestView.java86 if (act == ev.ACTION_DOWN) {
/frameworks/base/core/java/android/text/method/
H A DLinkMovementMethod.java45 if (event.getAction() == KeyEvent.ACTION_DOWN &&
194 action == MotionEvent.ACTION_DOWN) {
213 } else if (action == MotionEvent.ACTION_DOWN) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonView.java66 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS);
215 case MotionEvent.ACTION_DOWN:
220 sendEvent(KeyEvent.ACTION_DOWN, 0, mDownTime);
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A 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:
/frameworks/base/services/java/com/android/server/accessibility/
H A DTouchExplorer.java348 case MotionEvent.ACTION_DOWN:
493 sendMotionEvent(event, MotionEvent.ACTION_DOWN, pointerIdBits,
569 case MotionEvent.ACTION_DOWN: {
663 case MotionEvent.ACTION_DOWN: {
697 case MotionEvent.ACTION_DOWN: {
783 final int action = computeInjectionAction(MotionEvent.ACTION_DOWN, i);
896 sendMotionEvent(prototype, MotionEvent.ACTION_DOWN, pointerIdBits, policyFlags);
918 if (action == MotionEvent.ACTION_DOWN) {
980 case MotionEvent.ACTION_DOWN:
985 return MotionEvent.ACTION_DOWN;
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDelegateViewHelper.java62 case MotionEvent.ACTION_DOWN:
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOSyncView.java90 case MotionEvent.ACTION_DOWN: {

Completed in 370 milliseconds

12345