Home
last modified time | relevance | path

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

12345678

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDoubleTapHelperTest.java91 MotionEvent.ACTION_UP, in testDoubleTap_success()
103 MotionEvent.ACTION_UP, in testDoubleTap_success()
138 MotionEvent.ACTION_UP, in testSingleTap_timeout()
167 MotionEvent.ACTION_UP, in testSingleTap_slop()
195 MotionEvent.ACTION_UP, in testDoubleTap_slop()
207 MotionEvent.ACTION_UP, in testDoubleTap_slop()
242 MotionEvent.ACTION_UP, in testSlideBack()
254 MotionEvent.ACTION_UP, in testSlideBack()
294 MotionEvent.ACTION_UP, in testMoreThanTwoTaps()
306 MotionEvent.ACTION_UP, in testMoreThanTwoTaps()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyButtonViewTest.java18 import static android.view.KeyEvent.ACTION_UP;
92 checkmetrics(KEYCODE_BACK, ACTION_UP, 0, NAVBAR_BACK_BUTTON_TAP); in testLogBackPress()
97 checkmetrics(KEYCODE_APP_SWITCH, ACTION_UP, 0, NAVBAR_OVERVIEW_BUTTON_TAP); in testLogOverviewPress()
102 checkmetrics(KEYCODE_HOME, ACTION_UP, 0, NAVBAR_HOME_BUTTON_TAP); in testLogHomePress()
129 checkmetrics(KEYCODE_BACK, ACTION_UP, 0, null); in testNoLogTapAfterLong()
134 checkmetrics(KEYCODE_HOME, ACTION_UP, FLAG_CANCELED, null); in testNoLogCanceled()
139 checkmetrics(KEYCODE_0, ACTION_UP, 0, null); in testNoLogArbitraryKeys()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/pip/phone/
DPipTouchStateTest.java22 import static android.view.MotionEvent.ACTION_UP;
74 mTouchState.onTouchEvent(createMotionEvent(ACTION_UP, in testDoubleTapLongSingleTap_notDoubleTapAndNotWaiting()
86 mTouchState.onTouchEvent(createMotionEvent(ACTION_UP, in testDoubleTapTimeout_timeoutCallbackCalled()
106 mTouchState.onTouchEvent(createMotionEvent(ACTION_UP, currentTime + 20, 500, 500)); in testDoubleTapDrag_doubleTapCanceled()
118 mTouchState.onTouchEvent(createMotionEvent(ACTION_UP, currentTime + 10, 0, 0)); in testDoubleTap_doubleTapRegistered()
121 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/tests/src/com/android/systemui/util/magnetictarget/
DMagnetizedObjectTest.kt167 x = 400, y = 800, action = MotionEvent.ACTION_UP))) in <lambda>()
184 x = 0, y = 0, action = MotionEvent.ACTION_UP))) in <lambda>()
223 getMotionEvent(x = 100, y = 100, action = MotionEvent.ACTION_UP)) in <lambda>()
264 x = targetCenterX, y = targetCenterY, action = MotionEvent.ACTION_UP)) in <lambda>()
287 action = MotionEvent.ACTION_UP)) in <lambda>()
310 action = MotionEvent.ACTION_UP)) in <lambda>()
331 action = MotionEvent.ACTION_UP)) in <lambda>()
393 getMotionEvent(x = 100, y = 650, action = MotionEvent.ACTION_UP)) in <lambda>()
402 getMotionEvent(x = 500, y = 650, action = MotionEvent.ACTION_UP)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java241 sendEvent(KeyEvent.ACTION_UP, 0); in performAccessibilityActionInternal()
247 sendEvent(KeyEvent.ACTION_UP, 0); in performAccessibilityActionInternal()
303 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED); in onTouchEvent()
307 case MotionEvent.ACTION_UP: in onTouchEvent()
324 sendEvent(KeyEvent.ACTION_UP, 0); in onTouchEvent()
327 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED); in onTouchEvent()
372 if (action == MotionEvent.ACTION_UP && mLongClicked) { in logSomePresses()
413 if (action == MotionEvent.ACTION_UP) { in sendEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DTouchExplorer.java369 endGestureDetection(event.getActionMasked() == MotionEvent.ACTION_UP); in onGestureCancelled()
485 case MotionEvent.ACTION_UP: in handleMotionEventStateTouchInteracting()
510 case MotionEvent.ACTION_UP: in handleMotionEventStateTouchExploring()
711 event, MotionEvent.ACTION_UP, rawEvent, pointerIdBits, policyFlags); in handleMotionEventStateDragging()
742 MotionEvent.ACTION_UP, in handleMotionEventStateDragging()
756 MotionEvent.ACTION_UP, in handleMotionEventStateDragging()
771 event, MotionEvent.ACTION_UP, rawEvent, pointerIdBits, policyFlags); in handleMotionEventStateDragging()
774 case MotionEvent.ACTION_UP: { in handleMotionEventStateDragging()
784 event, MotionEvent.ACTION_UP, rawEvent, pointerIdBits, policyFlags); in handleMotionEventStateDragging()
805 case MotionEvent.ACTION_UP: { in handleMotionEventStateDelegating()
/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()
/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/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/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/services/tests/servicestests/src/com/android/server/accessibility/
DKeyboardInterceptorTest.java138 new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_VOLUME_UP), in whenSomeEventsGetDelayed_allEventsStillInOrder()
139 new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_0)}; in whenSomeEventsGetDelayed_allEventsStillInOrder()
168 new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_VOLUME_UP), in whenSomeEventsGetDropped_otherEventsStillInOrder()
169 new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_0)}; in whenSomeEventsGetDropped_otherEventsStillInOrder()
/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/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/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/services/accessibility/java/com/android/server/accessibility/
DFullScreenMagnificationGestureHandler.java25 import static android.view.MotionEvent.ACTION_UP;
413 } else if (action == ACTION_UP || action == ACTION_CANCEL) { in onMotionEvent()
545 case ACTION_UP: in onMotionEvent()
587 case ACTION_UP: in onMotionEvent()
752 case ACTION_UP: { in onMotionEvent()
839 return MotionEventInfo.countOf(mDelayedEventQueue, ACTION_UP); in tapCount()
876 } else if (event.getActionMasked() == ACTION_UP) { in cacheDelayedMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java132 case MotionEvent.ACTION_UP: in onInterceptTouchEvent()
166 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()
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java168 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { in onTouchEvent()
212 case MotionEvent.ACTION_UP: in onTouch()
218 if (actionMasked == MotionEvent.ACTION_UP) { in onTouch()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DTouchExplorerTest.java153 MotionEvent.ACTION_UP); in clearEventsWhenInTwoFingerMove_clearsStateAndSendsUp()
173 /* leave dragging state */ MotionEvent.ACTION_UP, in testTwoFingersNotDrag_shouldDelegatingAndActionUpDownPointerDown()
301 event.setAction(MotionEvent.ACTION_UP); in upEvent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyCarrierArea.java55 case MotionEvent.ACTION_UP: in onFinishInflate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSimpleMirrorWindowControl.java125 case MotionEvent.ACTION_UP: in onTouch()
166 case MotionEvent.ACTION_UP: in handleDragState()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DVerticalSeekBar.java68 case MotionEvent.ACTION_UP: in onTouchEvent()

12345678