Home
last modified time | relevance | path

Searched refs:ACTION_UP (Results 1 – 25 of 172) sorted by relevance

1234567

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/pip/phone/
DPipTouchStateTest.java21 import static android.view.MotionEvent.ACTION_UP;
69 mTouchState.onTouchEvent(createMotionEvent(ACTION_UP, in testDoubleTapLongSingleTap_notDoubleTapAndNotWaiting()
81 mTouchState.onTouchEvent(createMotionEvent(ACTION_UP, in testDoubleTapTimeout_timeoutCallbackCalled()
101 mTouchState.onTouchEvent(createMotionEvent(ACTION_UP, currentTime + 20, 500, 500)); in testDoubleTapDrag_doubleTapCanceled()
113 mTouchState.onTouchEvent(createMotionEvent(ACTION_UP, currentTime + 10, 0, 0)); in testDoubleTap_doubleTapRegistered()
116 mTouchState.onTouchEvent(createMotionEvent(ACTION_UP, in testDoubleTap_doubleTapRegistered()
/frameworks/base/core/tests/coretests/src/android/util/
DKeyUtils.java43 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MENU)); in tapMenuKey()
62 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, shortcutKeyCode)); in chordMenuKey()
63 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MENU)); in chordMenuKey()
80 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_DPAD_CENTER)); in longClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java201 sendEvent(KeyEvent.ACTION_UP, 0); in performAccessibilityActionInternal()
207 sendEvent(KeyEvent.ACTION_UP, 0); in performAccessibilityActionInternal()
263 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED); in onTouchEvent()
267 case MotionEvent.ACTION_UP: in onTouchEvent()
284 sendEvent(KeyEvent.ACTION_UP, 0); in onTouchEvent()
287 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED); in onTouchEvent()
338 if (action == MotionEvent.ACTION_UP) { in sendEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java475 endGestureDetection(event.getActionMasked() == MotionEvent.ACTION_UP); in onGestureCancelled()
637 case MotionEvent.ACTION_UP: { in handleMotionEventStateTouchExploring()
687 sendMotionEvent(event, MotionEvent.ACTION_UP, pointerIdBits, policyFlags); in handleMotionEventStateDragging()
729 sendMotionEvent(event, MotionEvent.ACTION_UP, pointerIdBits, in handleMotionEventStateDragging()
739 sendMotionEvent(event, MotionEvent.ACTION_UP, pointerIdBits, in handleMotionEventStateDragging()
751 sendMotionEvent(event, MotionEvent.ACTION_UP, pointerIdBits, policyFlags); in handleMotionEventStateDragging()
754 case MotionEvent.ACTION_UP: { in handleMotionEventStateDragging()
763 sendMotionEvent(event, MotionEvent.ACTION_UP, pointerIdBits, policyFlags); in handleMotionEventStateDragging()
784 case MotionEvent.ACTION_UP: { in handleMotionEventStateDelegating()
921 final int action = computeInjectionAction(MotionEvent.ACTION_UP, i); in sendUpForInjectedDownPointers()
[all …]
DMagnificationGestureHandler.java25 import static android.view.MotionEvent.ACTION_UP;
405 } else if (action == ACTION_UP || action == ACTION_CANCEL) { in onMotionEvent()
539 case ACTION_UP: in onMotionEvent()
581 case ACTION_UP: in onMotionEvent()
722 case ACTION_UP: { in onMotionEvent()
787 return MotionEventInfo.countOf(mDelayedEventQueue, ACTION_UP); in tapCount()
822 } else if (event.getActionMasked() == ACTION_UP) { in cacheDelayedMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DClassifierData.java66 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL in update()
80 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL in cleanUp()
DHumanInteractionClassifier.java143 if (action == MotionEvent.ACTION_UP) { in onTouchEvent()
144 mBufferedEvents.getFirst().setAction(MotionEvent.ACTION_UP); in onTouchEvent()
187 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { in addTouchEvent()
DProximityClassifier.java59 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) {
/frameworks/base/services/core/java/com/android/server/wm/
DDragInputEventReceiver.java23 import static android.view.MotionEvent.ACTION_UP;
91 case ACTION_UP: in onInputEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyboardInterceptorTest.java137 new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_VOLUME_UP), in whenSomeEventsGetDelayed_allEventsStillInOrder()
138 new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_0)}; in whenSomeEventsGetDelayed_allEventsStillInOrder()
167 new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_VOLUME_UP), in whenSomeEventsGetDropped_otherEventsStillInOrder()
168 new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_0)}; in whenSomeEventsGetDropped_otherEventsStillInOrder()
/frameworks/base/tests/ActivityViewTest/src/com/google/android/test/activityview/
DActivityViewTestActivity.java22 import static android.view.MotionEvent.ACTION_UP;
104 case ACTION_UP: in updateTouchState()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListScrollListenerTest.java75 KeyEvent upUp = new KeyEvent(0, 0, KeyEvent.ACTION_UP, in testKeyScrolling()
85 KeyEvent up = new KeyEvent(0, 0, KeyEvent.ACTION_UP, in testKeyScrolling()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridScrollListenerTest.java76 KeyEvent upUp = new KeyEvent(0, 0, KeyEvent.ACTION_UP, in testKeyScrolling()
87 KeyEvent up = new KeyEvent(0, 0, KeyEvent.ACTION_UP, in testKeyScrolling()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/
DClassifierTest.java95 return appendMotionEvent(MotionEvent.ACTION_UP, x, y); in appendUpEvent()
99 return appendMotionEvent(MotionEvent.ACTION_UP, x, y, eventTime); in appendUpEvent()
/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java209 injectKeyEvent(KeyEvent.changeAction(event, KeyEvent.ACTION_UP)); in sendKeyEvent()
225 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, now, x, y, 0.0f, displayId); in sendTap()
276 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, down, now, x2, y2, 0.0f, in sendSwipe()
330 action = MotionEvent.ACTION_UP; in sendMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java129 case MotionEvent.ACTION_UP: in onInterceptTouchEvent()
163 case MotionEvent.ACTION_UP: in onTouchEvent()
/frameworks/base/core/java/android/widget/
DForwardingListener.java198 case MotionEvent.ACTION_UP: in onTouchObserved()
272 final boolean keepForwarding = action != MotionEvent.ACTION_UP in onTouchForwarded()
DDropDownListView.java182 case MotionEvent.ACTION_UP: in onForwardedEvent()
204 if (actionMasked == MotionEvent.ACTION_UP) { in onForwardedEvent()
DZoomButtonsController.java491 } else if (event.getAction() == KeyEvent.ACTION_UP in onContainerKey()
545 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { in onTouch()
565 case MotionEvent.ACTION_UP: in onTouch()
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java174 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { in onTouchEvent()
218 case MotionEvent.ACTION_UP: in onTouch()
224 if (actionMasked == MotionEvent.ACTION_UP) { in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyCarrierArea.java55 case MotionEvent.ACTION_UP: in onFinishInflate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DGestureRecorder.java55 case MotionEvent.ACTION_UP: in actionName()
109 case MotionEvent.ACTION_UP: in add()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DVerticalSeekBar.java68 case MotionEvent.ACTION_UP: in onTouchEvent()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DVerticalSeekBar.java68 case MotionEvent.ACTION_UP: in onTouchEvent()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java194 KeyEvent upEvent = new KeyEvent(eventTime, eventTime, KeyEvent.ACTION_UP, in sendKeyAndWaitForEvent()
319 mDownTime, eventTime, MotionEvent.ACTION_UP, x, y, 1);
551 KeyEvent upEvent = new KeyEvent(eventTime, eventTime, KeyEvent.ACTION_UP,
755 event = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(), MotionEvent.ACTION_UP, 1,

1234567