Home
last modified time | relevance | path

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

1234567

/frameworks/base/core/java/android/hardware/input/
DVirtualTouchEvent.java76 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/
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/tests/Input/src/android/hardware/input/
DVirtualTouchEventTest.java131 .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/
DSwipeUpGestureHandler.kt22 import android.view.MotionEvent.ACTION_CANCEL
87 ACTION_CANCEL, ACTION_UP -> { in onInputEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragDetector.java20 import static android.view.MotionEvent.ACTION_CANCEL;
109 case ACTION_CANCEL: { in onMotionEvent()
/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/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationGestureHandlerTest.java19 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/
DWindowMagnificationGestureHandler.java20 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()
DMagnificationGestureHandler.java20 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/
DBubblesNavBarMotionEventHandlerTest.java19 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/
DInputEventAssigner.java76 if (action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_UP) { in processEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInputFilterInputTest.kt33 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/
DHeadsUpTouchHelper.java134 case MotionEvent.ACTION_CANCEL: in onInterceptTouchEvent()
170 case MotionEvent.ACTION_CANCEL:
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardSettingsButtonOnTouchListener.kt52 MotionEvent.ACTION_CANCEL -> { in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DTouchLogger.kt72 MotionEvent.ACTION_CANCEL -> "CANCEL" in typeToString()
DNotificationShadeWindowViewController.java320 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/
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/accessibility/
DSimpleMirrorWindowControl.java125 case MotionEvent.ACTION_CANCEL: in onTouch()
166 case MotionEvent.ACTION_CANCEL: in handleDragState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DPulseExpansionHandler.kt178 MotionEvent.ACTION_CANCEL -> { in <lambda>()
192 val finishExpanding = (event.action == MotionEvent.ACTION_CANCEL || in <lambda>()
227 MotionEvent.ACTION_CANCEL -> { in <lambda>()
DGestureRecorder.java58 case MotionEvent.ACTION_CANCEL: in actionName()
109 case MotionEvent.ACTION_CANCEL: in add()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/
DSinglePointerTouchProcessorTest.kt262 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/
DExpandHelper.java364 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/
DDrawingView.kt30 import android.view.MotionEvent.ACTION_CANCEL in <lambda>()
167 } else if (event.actionMasked == ACTION_UP || event.actionMasked == ACTION_CANCEL) { in processTouchEvent()

1234567