Home
last modified time | relevance | path

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

123456789

/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/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java69 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/
DTouchUtils.java47 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/
DTouchExplorer.java430 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/
DInput.java184 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/
DScreenshotTest.java108 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/
DLinkMovementMethod.java50 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/
DEvents.java63 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/
DBaseKeyboardShortcutsTestCase.java52 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/
DPanelBar.java80 if (event.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
87 if (event.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
DHeadsUpTouchHelper.java63 if (!mTouchingHeadsUpView && event.getActionMasked() != MotionEvent.ACTION_DOWN) { in onInterceptTouchEvent()
74 case MotionEvent.ACTION_DOWN: in onInterceptTouchEvent()
DNavigationBarGestureHelper.java110 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/
DTouchUtils.java262 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/
DPointerCountClassifier.java40 if (action == MotionEvent.ACTION_DOWN) { in onTouchEvent()
DProximityClassifier.java53 if (action == MotionEvent.ACTION_DOWN) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DNonInterceptingScrollView.java35 case MotionEvent.ACTION_DOWN: in onTouchEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskTapPointerEventListener.java68 case MotionEvent.ACTION_DOWN: { in onPointerEvent()
146 if (mInGestureDetection || action == MotionEvent.ACTION_DOWN && isTouchInside) { in doGestureDetection()
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java210 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/
DKeyListenerTestCase.java59 return new KeyEvent(currentTime, currentTime, KeyEvent.ACTION_DOWN, keycode, in getKey()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTabStrip.java225 if (action != MotionEvent.ACTION_DOWN && mIgnoreTap) { in onTouchEvent()
234 case MotionEvent.ACTION_DOWN: in onTouchEvent()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DEmergencyCarrierArea.java50 case MotionEvent.ACTION_DOWN: in onFinishInflate()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java192 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/
DVerticalSeekBar.java66 case MotionEvent.ACTION_DOWN: in onTouchEvent()
/frameworks/support/v4/java/android/support/v4/media/
DTransportPerformer.java198 onMediaButtonDown(keyCode, new KeyEvent(now, now, KeyEvent.ACTION_DOWN, keyCode, 0)); in onAudioFocusChange()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAbsActionBarView.java98 if (action == MotionEvent.ACTION_DOWN) { in onTouchEvent()
104 if (action == MotionEvent.ACTION_DOWN && !handled) { in onTouchEvent()

123456789