Home
last modified time | relevance | path

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

12

/frameworks/native/services/inputflinger/tests/fuzzers/
DFuzzedInputStream.h30 AMOTION_EVENT_ACTION_HOVER_EXIT, AMOTION_EVENT_ACTION_CANCEL, in getFuzzedMotionAction()
99 if (action == AMOTION_EVENT_ACTION_CANCEL) { in getFuzzedFlags()
117 case AMOTION_EVENT_ACTION_CANCEL: in getFuzzedPointerCount()
/frameworks/native/services/inputflinger/
DPreferStylusOverTouchBlocker.cpp106 args.action == AMOTION_EVENT_ACTION_UP || args.action == AMOTION_EVENT_ACTION_CANCEL) in processMotion()
108 args.action == AMOTION_EVENT_ACTION_CANCEL); in processMotion()
148 lastTouchEvent.action = AMOTION_EVENT_ACTION_CANCEL; in processMotion()
DUnwantedInteractionBlocker.cpp318 oldArgs.action = AMOTION_EVENT_ACTION_CANCEL; in cancelSuppressedPointers()
528 case AMOTION_EVENT_ACTION_CANCEL: in processPointerId()
626 const bool isUpOrCancel = resolvedAction == AMOTION_EVENT_ACTION_CANCEL || in getTouches()
/frameworks/native/libs/input/rust/
Dinput.rs110 Cancel = input_bindgen::AMOTION_EVENT_ACTION_CANCEL,
166 input_bindgen::AMOTION_EVENT_ACTION_CANCEL => MotionAction::Cancel, in from()
Dinput_verifier.rs467 input_bindgen::AMOTION_EVENT_ACTION_CANCEL, in action_cancel()
491 input_bindgen::AMOTION_EVENT_ACTION_CANCEL, in invalid_action_cancel()
/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp113 case AMOTION_EVENT_ACTION_CANCEL: { in trackMotion()
396 memento.hovering ? AMOTION_EVENT_ACTION_HOVER_EXIT : AMOTION_EVENT_ACTION_CANCEL; in createCancelEntryForMemento()
398 if (action == AMOTION_EVENT_ACTION_CANCEL) { in createCancelEntryForMemento()
DInputDispatcher.cpp211 case AMOTION_EVENT_ACTION_CANCEL: in checkMotionAction()
530 if (motionEntry.action == AMOTION_EVENT_ACTION_CANCEL || in shouldReportFinishedEvent()
2824 } else if (maskedAction == AMOTION_EVENT_ACTION_CANCEL) { in findTouchedWindowTargetsLocked()
2939 case AMOTION_EVENT_ACTION_CANCEL: { in addDragEventLocked()
3304 if (motionEntry.action == AMOTION_EVENT_ACTION_CANCEL) { in pokeUserActivityLocked()
3396 if (splitMotionEntry->action == AMOTION_EVENT_ACTION_CANCEL) { in prepareDispatchCycleLocked()
3483 resolvedAction = AMOTION_EVENT_ACTION_CANCEL; in enqueueDispatchEntryLocked()
3498 if (resolvedAction == AMOTION_EVENT_ACTION_CANCEL) { in enqueueDispatchEntryLocked()
3517 resolvedAction == AMOTION_EVENT_ACTION_CANCEL) { in enqueueDispatchEntryLocked()
3672 motionEntry.action == AMOTION_EVENT_ACTION_CANCEL || in processInteractionsLocked()
/frameworks/native/services/inputflinger/include/
DNotifyArgsBuilders.h35 if (mAction == AMOTION_EVENT_ACTION_CANCEL) { in MotionArgsBuilder()
/frameworks/native/services/inputflinger/tests/
DTestEventMatchers.h113 if (args.action == AMOTION_EVENT_ACTION_CANCEL) { in MatchAndExplain()
121 if (event.getAction() == AMOTION_EVENT_ACTION_CANCEL) { in MatchAndExplain()
129 if (mAction == AMOTION_EVENT_ACTION_CANCEL) { in DescribeTo()
DMultiTouchInputMapper_test.cpp228 WithMotionAction(AMOTION_EVENT_ACTION_CANCEL)))); in TEST_F()
DPreferStylusOverTouch_test.cpp30 constexpr int CANCEL = AMOTION_EVENT_ACTION_CANCEL;
DFakeWindows.h266 consumeMotionEvent(testing::AllOf(WithMotionAction(AMOTION_EVENT_ACTION_CANCEL),
DUnwantedInteractionBlocker_test.cpp54 constexpr int CANCEL = AMOTION_EVENT_ACTION_CANCEL;
790 ASSERT_EQ(AMOTION_EVENT_ACTION_CANCEL, argsList[0].action); in TEST_F()
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp95 if (action == AMOTION_EVENT_ACTION_CANCEL) { in PublishMotionArgs()
348 publishAndConsumeMotionEvent(AMOTION_EVENT_ACTION_CANCEL, downTime, in publishAndConsumeMotionStream()
693 publishAndConsumeMotionEvent(AMOTION_EVENT_ACTION_CANCEL, downTime, in TEST_F()
DInputPublisherAndConsumerNoResampling_test.cpp102 if (action == AMOTION_EVENT_ACTION_CANCEL) { in PublishMotionArgs()
511 publishAndConsumeMotionEvent(AMOTION_EVENT_ACTION_CANCEL, downTime, in publishAndConsumeMotionStream()
809 publishAndConsumeMotionEvent(AMOTION_EVENT_ACTION_CANCEL, downTime, in TEST_F()
DInputEvent_test.cpp558 event.setAction(AMOTION_EVENT_ACTION_CANCEL); in TEST_F()
559 ASSERT_EQ(AMOTION_EVENT_ACTION_CANCEL, event.getAction()); in TEST_F()
697 ASSERT_EQ(splitUp.getAction(), AMOTION_EVENT_ACTION_CANCEL); in TEST_F()
/frameworks/native/services/inputflinger/reader/mapper/gestures/
DGestureConverter.cpp396 out.push_back(makeMotionArgs(when, readTime, AMOTION_EVENT_ACTION_CANCEL, in handleFling()
635 /* flags= */ action == AMOTION_EVENT_ACTION_CANCEL ? AMOTION_EVENT_FLAG_CANCELED : 0, in makeMotionArgs()
/frameworks/native/include/android/
Dinput.h319 AMOTION_EVENT_ACTION_CANCEL = 3, enumerator
/frameworks/native/libs/input/
DMotionPredictorMetricsManager.cpp99 case AMOTION_EVENT_ACTION_CANCEL: { in onRecord()
DMotionPredictor.cpp176 if (action == AMOTION_EVENT_ACTION_UP || action == AMOTION_EVENT_ACTION_CANCEL) { in record()
DAndroid.bp88 "--allowlist-var=AMOTION_EVENT_ACTION_CANCEL",
DInput.cpp93 return ((flags & AMOTION_EVENT_FLAG_CANCELED) != 0) ? AMOTION_EVENT_ACTION_CANCEL in resolveActionForSplitMotionEvent()
955 case AMOTION_EVENT_ACTION_CANCEL: in isTouchEvent()
980 case AMOTION_EVENT_ACTION_CANCEL: in actionToString()
DVirtualInputDevice.cpp285 {AMOTION_EVENT_ACTION_CANCEL, UinputAction::CANCEL},
DInputConsumer.cpp288 mMsg.body.motion.action == AMOTION_EVENT_ACTION_CANCEL) { in consume()
523 case AMOTION_EVENT_ACTION_CANCEL: { in updateTouchState()
/frameworks/native/services/inputflinger/reader/mapper/
DCapturedTouchpadEventConverter.cpp230 action = cancel ? AMOTION_EVENT_ACTION_CANCEL : AMOTION_EVENT_ACTION_UP; in sync()

12