/frameworks/base/core/java/android/hardware/input/ |
D | VirtualTouchEvent.java | 76 public static final int ACTION_CANCEL = MotionEvent.ACTION_CANCEL; field in VirtualTouchEvent 83 ACTION_CANCEL, 240 if ((mToolType == TOOL_TYPE_PALM && mAction != ACTION_CANCEL) in build() 241 || (mAction == ACTION_CANCEL && mToolType != TOOL_TYPE_PALM)) { in build() 287 && action != ACTION_CANCEL) { in setAction()
|
/frameworks/base/core/java/android/widget/ |
D | ForwardingListener.java | 95 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()
|
D | ZoomButton.java | 72 if ((event.getAction() == MotionEvent.ACTION_CANCEL) in onTouchEvent()
|
/frameworks/base/tests/Input/src/android/hardware/input/ |
D | VirtualTouchEventTest.java | 131 .setAction(VirtualTouchEvent.ACTION_CANCEL) in touchEvent_cancelUsedImproperly() 159 .setAction(VirtualTouchEvent.ACTION_CANCEL) in touchEvent_palmAndCancelUsedProperly() 168 VirtualTouchEvent.ACTION_CANCEL); in touchEvent_palmAndCancelUsedProperly()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/ |
D | SwipeUpGestureHandler.kt | 22 import android.view.MotionEvent.ACTION_CANCEL 87 ACTION_CANCEL, ACTION_UP -> { in onInputEvent()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | DragDetector.java | 20 import static android.view.MotionEvent.ACTION_CANCEL; 109 case ACTION_CANCEL: { in onMotionEvent()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragInputEventReceiver.java | 20 import static android.view.MotionEvent.ACTION_CANCEL; 97 case ACTION_CANCEL: in onInputEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
D | MagnificationGestureHandlerTest.java | 19 import static android.view.MotionEvent.ACTION_CANCEL; 113 final MotionEvent cancelEvent = MotionEvent.obtain(0, 0, ACTION_CANCEL, 0, 0, 0); in onMotionEvent_cancelEvent_handleInteractionEnd()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | WindowMagnificationGestureHandler.java | 20 import static android.view.MotionEvent.ACTION_CANCEL; 342 if (action == ACTION_UP || action == ACTION_CANCEL) { in onMotionEvent() 375 case ACTION_CANCEL: { in onMotionEvent() 417 case ACTION_CANCEL: { in onMotionEvent() 573 || motionEvent.getActionMasked() == ACTION_CANCEL)) { in changeToDelegateStateIfNeed()
|
D | MagnificationGestureHandler.java | 20 import static android.view.MotionEvent.ACTION_CANCEL; 136 } else if (action == ACTION_UP || action == ACTION_CANCEL) { in onMotionEvent()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/ |
D | BubblesNavBarMotionEventHandlerTest.java | 19 import static android.view.MotionEvent.ACTION_CANCEL; 128 mMotionEventHandler.onMotionEvent(newEvent(ACTION_CANCEL, 0, 990)); in testMotionEvent_actionCancel_listenerNotified()
|
/frameworks/base/core/java/android/view/ |
D | InputEventAssigner.java | 76 if (action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_UP) { in processEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityInputFilterInputTest.kt | 33 import android.view.MotionEvent.ACTION_CANCEL 227 sendTouchEvent(ACTION_CANCEL, downTime, SystemClock.uptimeMillis()) in testTouchDownCancelDownWithAllA11yFeatures() 253 sendStylusEvent(ACTION_CANCEL, downTime, SystemClock.uptimeMillis()) in testStylusDownCancelDownWithAllA11yFeatures() 277 sendStylusEvent(ACTION_CANCEL, downTime, SystemClock.uptimeMillis()) in testStylusThenTouch() 344 verifier.assertReceivedMotion(allOf(fromTouchScreen, withMotionAction(ACTION_CANCEL))) in testMultiDeviceEventsWithoutA11yFeatures()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | HeadsUpTouchHelper.java | 134 case MotionEvent.ACTION_CANCEL: in onInterceptTouchEvent() 170 case MotionEvent.ACTION_CANCEL:
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
D | KeyguardSettingsButtonOnTouchListener.kt | 52 MotionEvent.ACTION_CANCEL -> { in onTouch()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | TouchLogger.kt | 72 MotionEvent.ACTION_CANCEL -> "CANCEL" in typeToString()
|
D | NotificationShadeWindowViewController.java | 320 boolean isCancel = ev.getActionMasked() == MotionEvent.ACTION_CANCEL; in setupExpandedStatusBar() 341 || ev.getActionMasked() == MotionEvent.ACTION_CANCEL) { in setupExpandedStatusBar() 546 cancellation.setAction(MotionEvent.ACTION_CANCEL); in setupExpandedStatusBar() 586 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { in setupExpandedStatusBar() 686 event.setAction(MotionEvent.ACTION_CANCEL); in cancelCurrentTouch()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | VerticalSeekBar.java | 73 case MotionEvent.ACTION_CANCEL: in onTouchEvent()
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | VerticalSeekBar.java | 73 case MotionEvent.ACTION_CANCEL: in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | SimpleMirrorWindowControl.java | 125 case MotionEvent.ACTION_CANCEL: in onTouch() 166 case MotionEvent.ACTION_CANCEL: in handleDragState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | PulseExpansionHandler.kt | 178 MotionEvent.ACTION_CANCEL -> { in <lambda>() 192 val finishExpanding = (event.action == MotionEvent.ACTION_CANCEL || in <lambda>() 227 MotionEvent.ACTION_CANCEL -> { in <lambda>()
|
D | GestureRecorder.java | 58 case MotionEvent.ACTION_CANCEL: in actionName() 109 case MotionEvent.ACTION_CANCEL: in add()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/ |
D | SinglePointerTouchProcessorTest.kt | 262 motionEventAction = MotionEvent.ACTION_CANCEL, in <lambda>() 269 motionEventAction = MotionEvent.ACTION_CANCEL, in <lambda>() 276 motionEventAction = MotionEvent.ACTION_CANCEL, in <lambda>() 283 motionEventAction = MotionEvent.ACTION_CANCEL, in <lambda>() 640 if (motionEventAction != MotionEvent.ACTION_CANCEL) { in genPositiveTestCases()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 364 case MotionEvent.ACTION_CANCEL: in onInterceptTouchEvent() 367 finishExpanding(ev.getActionMasked() == MotionEvent.ACTION_CANCEL /* forceAbort */, in onInterceptTouchEvent() 401 if (mVelocityTracker != null && (event.getActionMasked() == MotionEvent.ACTION_CANCEL in maybeRecycleVelocityTracker() 526 case MotionEvent.ACTION_CANCEL: in onTouchEvent() 528 finishExpanding(!isEnabled() || ev.getActionMasked() == MotionEvent.ACTION_CANCEL, in onTouchEvent()
|
/frameworks/base/tests/MultiDeviceInput/src/test/multideviceinput/ |
D | DrawingView.kt | 30 import android.view.MotionEvent.ACTION_CANCEL in <lambda>() 167 } else if (event.actionMasked == ACTION_UP || event.actionMasked == ACTION_CANCEL) { in processTouchEvent()
|