Home
last modified time | relevance | path

Searched refs:AMOTION_EVENT_ACTION_CANCEL (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/services/inputflinger/
DPreferStylusOverTouchBlocker.cpp101 args.action == AMOTION_EVENT_ACTION_UP || args.action == AMOTION_EVENT_ACTION_CANCEL; in processMotion()
138 lastTouchEvent.action = AMOTION_EVENT_ACTION_CANCEL; in processMotion()
DUnwantedInteractionBlocker.cpp297 oldArgs.action = AMOTION_EVENT_ACTION_CANCEL; in cancelSuppressedPointers()
496 case AMOTION_EVENT_ACTION_CANCEL: in processPointerId()
594 const bool isUpOrCancel = resolvedAction == AMOTION_EVENT_ACTION_CANCEL || in getTouches()
DInputCommonConverter.cpp71 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_CANCEL) == in getAction()
/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp99 case AMOTION_EVENT_ACTION_CANCEL: { in trackMotion()
290 : AMOTION_EVENT_ACTION_CANCEL; in synthesizeCancelationEvents()
DInputDispatcher.cpp153 case AMOTION_EVENT_ACTION_CANCEL: in isValidMotionAction()
417 if (motionEntry.action == AMOTION_EVENT_ACTION_CANCEL || in shouldReportFinishedEvent()
2449 maskedAction == AMOTION_EVENT_ACTION_CANCEL) { in findTouchedWindowTargetsLocked()
2585 case AMOTION_EVENT_ACTION_CANCEL: { in addDragEventLocked()
2857 if (motionEntry.action == AMOTION_EVENT_ACTION_CANCEL) { in pokeUserActivityLocked()
2931 if (splitMotionEntry->action == AMOTION_EVENT_ACTION_CANCEL) { in prepareDispatchCycleLocked()
3042 dispatchEntry->resolvedAction = AMOTION_EVENT_ACTION_CANCEL; in enqueueDispatchEntryLocked()
3156 motionEntry.action == AMOTION_EVENT_ACTION_CANCEL) { in updateInteractionTokensLocked()
3804 ? AMOTION_EVENT_ACTION_CANCEL in splitMotionEvent()
/frameworks/native/include/android/
Dinput.h316 AMOTION_EVENT_ACTION_CANCEL = 3, enumerator
/frameworks/native/services/inputflinger/tests/
DPreferStylusOverTouch_test.cpp30 constexpr int CANCEL = AMOTION_EVENT_ACTION_CANCEL;
DUnwantedInteractionBlocker_test.cpp54 constexpr int CANCEL = AMOTION_EVENT_ACTION_CANCEL;
824 ASSERT_EQ(AMOTION_EVENT_ACTION_CANCEL, argsList[0].action); in TEST_F()
DInputDispatcher_test.cpp1138 consumeEvent(AINPUT_EVENT_TYPE_MOTION, AMOTION_EVENT_ACTION_CANCEL, expectedDisplayId, in consumeMotionCancel()
2271 window->consumeEvent(AINPUT_EVENT_TYPE_MOTION, AMOTION_EVENT_ACTION_CANCEL, ADISPLAY_ID_DEFAULT, in TEST_F()
3222 mInputReceiver->consumeEvent(AINPUT_EVENT_TYPE_MOTION, AMOTION_EVENT_ACTION_CANCEL, in consumeMotionCancel()
4786 mWindow->consumeEvent(AINPUT_EVENT_TYPE_MOTION, AMOTION_EVENT_ACTION_CANCEL, in TEST_F()
4954 spy->consumeEvent(AINPUT_EVENT_TYPE_MOTION, AMOTION_EVENT_ACTION_CANCEL, ADISPLAY_ID_DEFAULT, in TEST_F()
5077 mWindow->consumeEvent(AINPUT_EVENT_TYPE_MOTION, AMOTION_EVENT_ACTION_CANCEL, in TEST_F()
5458 ASSERT_EQ(AMOTION_EVENT_ACTION_CANCEL, motionEvent.getAction()); in TEST_F()
DInputReader_test.cpp6860 AllOf(WithAction(AMOTION_EVENT_ACTION_CANCEL), in TEST_F()
6865 AllOf(WithAction(AMOTION_EVENT_ACTION_CANCEL), in TEST_F()
6894 ASSERT_EQ(AMOTION_EVENT_ACTION_CANCEL, motionArgs.action); in TEST_F()
6923 ASSERT_EQ(AMOTION_EVENT_ACTION_CANCEL, motionArgs.action); in TEST_F()
8819 EXPECT_EQ(AMOTION_EVENT_ACTION_CANCEL, motionArgs.action); in TEST_F()
9148 ASSERT_EQ(AMOTION_EVENT_ACTION_CANCEL, motionArgs.action); in TEST_F()
9299 ASSERT_EQ(AMOTION_EVENT_ACTION_CANCEL, motionArgs.action); in TEST_F()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp479 event.setAction(AMOTION_EVENT_ACTION_CANCEL); in TEST_F()
480 ASSERT_EQ(AMOTION_EVENT_ACTION_CANCEL, event.getAction()); in TEST_F()
/frameworks/native/libs/input/
DInput.cpp824 case AMOTION_EVENT_ACTION_CANCEL: in isTouchEvent()
849 case AMOTION_EVENT_ACTION_CANCEL: in actionToString()
DInputTransport.cpp799 mMsg.body.motion.action == AMOTION_EVENT_ACTION_CANCEL) { in consume()
1036 case AMOTION_EVENT_ACTION_CANCEL: { in updateTouchState()
/frameworks/base/services/core/jni/
Dcom_android_server_companion_virtual_InputController.cpp63 {AMOTION_EVENT_ACTION_CANCEL, UinputAction::CANCEL},
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp1939 dispatchMotion(when, readTime, policyFlags, mSource, AMOTION_EVENT_ACTION_CANCEL, 0, 0, in abortTouches()
2532 dispatchMotion(when, readTime, policyFlags, mSource, AMOTION_EVENT_ACTION_CANCEL, 0, in dispatchPointerGestures()
2651 dispatchMotion(when, readTime, policyFlags, mSource, AMOTION_EVENT_ACTION_CANCEL, 0, 0, in abortPointerGestures()
3665 AMOTION_EVENT_ACTION_CANCEL, 0, AMOTION_EVENT_FLAG_CANCELED, in abortPointerSimple()
3713 action = AMOTION_EVENT_ACTION_CANCEL; in dispatchMotion()