Home
last modified time | relevance | path

Searched refs:ACTION_CANCEL (Results 1 – 25 of 121) sorted by relevance

12345

/frameworks/base/core/java/android/widget/
DForwardingListener.java95 final MotionEvent e = MotionEvent.obtain(now, now, MotionEvent.ACTION_CANCEL, in onTouch()
197 case MotionEvent.ACTION_CANCEL: in onTouchObserved()
235 final MotionEvent e = MotionEvent.obtain(now, now, MotionEvent.ACTION_CANCEL, 0, 0, 0); in onLongPress()
273 && action != MotionEvent.ACTION_CANCEL; in onTouchForwarded()
DZoomButton.java72 if ((event.getAction() == MotionEvent.ACTION_CANCEL) in onTouchEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DDragInputEventReceiver.java20 import static android.view.MotionEvent.ACTION_CANCEL;
97 case ACTION_CANCEL: in onInputEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DWindowMagnificationGestureHandler.java20 import static android.view.MotionEvent.ACTION_CANCEL;
281 if (action == ACTION_UP || action == ACTION_CANCEL) { in onMotionEvent()
314 case ACTION_CANCEL: { in onMotionEvent()
430 || motionEvent.getActionMasked() == ACTION_CANCEL)) { in changeToDelegateStateIfNeed()
DMagnificationGestureHandler.java20 import static android.view.MotionEvent.ACTION_CANCEL;
132 } else if (action == ACTION_UP || action == ACTION_CANCEL) { in onMotionEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationGestureHandlerTest.java19 import static android.view.MotionEvent.ACTION_CANCEL;
107 final MotionEvent cancelEvent = MotionEvent.obtain(0, 0, ACTION_CANCEL, 0, 0, 0); in onMotionEvent_cancelEvent_handleInteractionEnd()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationShadeWindowViewController.java224 boolean isCancel = ev.getActionMasked() == MotionEvent.ACTION_CANCEL; in setupExpandedStatusBar()
242 || ev.getActionMasked() == MotionEvent.ACTION_CANCEL) { in setupExpandedStatusBar()
329 cancellation.setAction(MotionEvent.ACTION_CANCEL); in setupExpandedStatusBar()
353 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { in setupExpandedStatusBar()
432 MotionEvent.ACTION_CANCEL, 0.0f, 0.0f, 0); in cancelCurrentTouch()
DHeadsUpTouchHelper.java130 case MotionEvent.ACTION_CANCEL: in onInterceptTouchEvent()
166 case MotionEvent.ACTION_CANCEL: in onTouchEvent()
DNotificationTapHelper.java72 case MotionEvent.ACTION_CANCEL: in onTouchEvent()
DObservableScrollView.java101 cancel.setAction(MotionEvent.ACTION_CANCEL); in dispatchTouchEvent()
/frameworks/base/core/java/android/view/
DInputEventAssigner.java76 if (action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_UP) { in processEvent()
DTouchDelegate.java136 case MotionEvent.ACTION_CANCEL: in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DPulseExpansionHandler.kt174 MotionEvent.ACTION_CANCEL -> { in startExpansion()
188 val finishExpanding = (event.action == MotionEvent.ACTION_CANCEL || in onTouchEvent()
216 MotionEvent.ACTION_CANCEL -> { in onTouchEvent()
DGestureRecorder.java59 case MotionEvent.ACTION_CANCEL: in actionName()
110 case MotionEvent.ACTION_CANCEL: in add()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java343 case MotionEvent.ACTION_CANCEL: in onInterceptTouchEvent()
346 finishExpanding(ev.getActionMasked() == MotionEvent.ACTION_CANCEL /* forceAbort */, in onInterceptTouchEvent()
380 if (mVelocityTracker != null && (event.getActionMasked() == MotionEvent.ACTION_CANCEL in maybeRecycleVelocityTracker()
505 case MotionEvent.ACTION_CANCEL: in onTouchEvent()
507 finishExpanding(!isEnabled() || ev.getActionMasked() == MotionEvent.ACTION_CANCEL, in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSimpleMirrorWindowControl.java126 case MotionEvent.ACTION_CANCEL: in onTouch()
167 case MotionEvent.ACTION_CANCEL: in handleDragState()
DMagnificationGestureDetector.java136 case MotionEvent.ACTION_CANCEL: in onTouch()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DVerticalSeekBar.java73 case MotionEvent.ACTION_CANCEL: in onTouchEvent()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DVerticalSeekBar.java73 case MotionEvent.ACTION_CANCEL: in onTouchEvent()
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
DChatActivity.java128 case MotionEvent.ACTION_CANCEL: in onCreate()
130 boolean isCancel = event.getAction() == MotionEvent.ACTION_CANCEL; in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
DAbsActionBarView.java124 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { in onTouchEvent()
149 || action == MotionEvent.ACTION_CANCEL) { in onHoverEvent()
DDecorCaptionView.java165 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { in onTouchEvent()
210 case MotionEvent.ACTION_CANCEL: in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaScrollView.kt126 MotionEvent.ACTION_CANCEL, 0.0f, 0.0f, 0) in cancelCurrentScroll()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java126 if (action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_UP) { in onInterceptTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DProximityClassifier.java93 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { in onTouchEvent()

12345