Home
last modified time | relevance | path

Searched refs:ACTION_CANCEL (Results 1 – 25 of 102) 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/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()
DProximityClassifier.java59 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) {
/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/tests/ActivityViewTest/src/com/google/android/test/activityview/
DActivityViewTestActivity.java19 import static android.view.MotionEvent.ACTION_CANCEL;
105 case ACTION_CANCEL: in updateTouchState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java128 case MotionEvent.ACTION_CANCEL: in onInterceptTouchEvent()
164 case MotionEvent.ACTION_CANCEL: in onTouchEvent()
DStatusBarWindowView.java361 boolean isCancel = ev.getActionMasked() == MotionEvent.ACTION_CANCEL; in dispatchTouchEvent()
380 || ev.getActionMasked() == MotionEvent.ACTION_CANCEL) { in dispatchTouchEvent()
436 cancellation.setAction(MotionEvent.ACTION_CANCEL); in onInterceptTouchEvent()
458 if (!handled && (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL)) { in onTouchEvent()
487 MotionEvent.ACTION_CANCEL, 0.0f, 0.0f, 0); in cancelCurrentTouch()
DPanelView.java264 || (mTouchDisabled && event.getActionMasked() != MotionEvent.ACTION_CANCEL) in onTouchEvent()
400 case MotionEvent.ACTION_CANCEL: in onTouchEvent()
469 || event.getActionMasked() == MotionEvent.ACTION_CANCEL in endMotionEvent()
477 || event.getActionMasked() == MotionEvent.ACTION_CANCEL in endMotionEvent()
623 case MotionEvent.ACTION_CANCEL: in onInterceptTouchEvent()
DDoubleTapHelper.java116 case MotionEvent.ACTION_CANCEL: in onTouchEvent()
DObservableScrollView.java101 cancel.setAction(MotionEvent.ACTION_CANCEL); in dispatchTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java333 case MotionEvent.ACTION_CANCEL: in onInterceptTouchEvent()
336 finishExpanding(ev.getActionMasked() == MotionEvent.ACTION_CANCEL /* forceAbort */, in onInterceptTouchEvent()
370 if (mVelocityTracker != null && (event.getActionMasked() == MotionEvent.ACTION_CANCEL in maybeRecycleVelocityTracker()
495 case MotionEvent.ACTION_CANCEL: in onTouchEvent()
497 finishExpanding(!isEnabled() || ev.getActionMasked() == MotionEvent.ACTION_CANCEL, in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DGestureRecorder.java59 case MotionEvent.ACTION_CANCEL: in actionName()
110 case MotionEvent.ACTION_CANCEL: in add()
DPulseExpansionHandler.kt169 MotionEvent.ACTION_CANCEL -> { in <lambda>()
202 MotionEvent.ACTION_CANCEL -> { in <lambda>()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DVerticalSeekBar.java73 case MotionEvent.ACTION_CANCEL: in onTouchEvent()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DVerticalSeekBar.java73 case MotionEvent.ACTION_CANCEL: in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DProximityClassifier.java84 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { in onTouchEvent()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DRecentsViewTouchHandler.java266 case MotionEvent.ACTION_CANCEL: { in handleTouchEvent()
273 boolean cancelled = action == MotionEvent.ACTION_CANCEL; in handleTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java174 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { in onTouchEvent()
219 case MotionEvent.ACTION_CANCEL: in onTouch()
DAbsActionBarView.java123 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { in onTouchEvent()
148 || action == MotionEvent.ACTION_CANCEL) { in onHoverEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java74 private static final String ACTION_CANCEL = "com.android.systemui.screenrecord.CANCEL"; field in RecordingService
139 case ACTION_CANCEL: in onStartCommand()
452 return new Intent(context, RecordingService.class).setAction(ACTION_CANCEL); in getCancelIntent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationGestureHandler.java20 import static android.view.MotionEvent.ACTION_CANCEL;
405 } else if (action == ACTION_UP || action == ACTION_CANCEL) { in onMotionEvent()
540 case ACTION_CANCEL: { in onMotionEvent()
582 case ACTION_CANCEL: { in onMotionEvent()
/frameworks/base/core/java/android/view/
DTouchDelegate.java136 case MotionEvent.ACTION_CANCEL: in onTouchEvent()
/frameworks/base/core/java/android/gesture/
DGestureOverlayView.java473 MotionEvent.ACTION_CANCEL, 0.0f, 0.0f, 0); in cancelGesture()
511 event.setAction(MotionEvent.ACTION_CANCEL); in dispatchTouchEvent()
544 case MotionEvent.ACTION_CANCEL: in processEvent()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java126 if (action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_UP) { in onInterceptTouchEvent()

12345