Home
last modified time | relevance | path

Searched refs:AMOTION_EVENT_ACTION_UP (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/native/services/inputflinger/tests/fuzzers/
DFuzzedInputStream.h28 AMOTION_EVENT_ACTION_DOWN, AMOTION_EVENT_ACTION_UP, AMOTION_EVENT_ACTION_MOVE, in getFuzzedMotionAction()
113 case AMOTION_EVENT_ACTION_UP: { in getFuzzedPointerCount()
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp127 motionArgs.action = AMOTION_EVENT_ACTION_UP; in benchmarkNotifyMotion()
160 event.setAction(AMOTION_EVENT_ACTION_UP); in benchmarkInjectMotion()
/frameworks/native/services/inputflinger/tests/
DGestureConverter_test.cpp199 WithMotionAction(AMOTION_EVENT_ACTION_UP)), in TEST_F()
272 WithMotionAction(AMOTION_EVENT_ACTION_UP)), in TEST_F()
323 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
380 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
619 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
713 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
831 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
896 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
959 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
1046 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
[all …]
DCursorInputMapper_test.cpp48 constexpr auto ACTION_UP = AMOTION_EVENT_ACTION_UP;
417 WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
480 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
528 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
714 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
766 WithMotionAction(AMOTION_EVENT_ACTION_UP), in TEST_F()
DInputReader_test.cpp1244 secondMapper.setProcessResult({MotionArgsBuilder(AMOTION_EVENT_ACTION_UP, AINPUT_SOURCE_STYLUS) in TEST_F()
1776 ASSERT_EQ(AMOTION_EVENT_ACTION_UP, args.action); in TEST_P()
1817 ASSERT_EQ(AMOTION_EVENT_ACTION_UP, args.action); in TEST_P()
1966 ASSERT_EQ(AMOTION_EVENT_ACTION_UP, args.action); in TEST_P()
1998 mTestListener->assertNotifyMotionWasCalled(WithMotionAction(AMOTION_EVENT_ACTION_UP))); in TEST_P()
2020 mTestListener->assertNotifyMotionWasCalled(WithMotionAction(AMOTION_EVENT_ACTION_UP))); in TEST_P()
2038 mTestListener->assertNotifyMotionWasCalled(WithMotionAction(AMOTION_EVENT_ACTION_UP))); in TEST_P()
2093 mTestListener->assertNotifyMotionWasCalled(WithMotionAction(AMOTION_EVENT_ACTION_UP))); in TEST_P()
2210 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), in TYPED_TEST()
2270 AllOf(toolTypeDevice, WithMotionAction(AMOTION_EVENT_ACTION_UP), in TYPED_TEST()
[all …]
DTouchpadInputMapper_test.cpp34 constexpr auto ACTION_UP = AMOTION_EVENT_ACTION_UP;
DInputDispatcher_test.cpp80 static_assert(AMOTION_EVENT_ACTION_UP == AKEY_EVENT_ACTION_UP);
83 static constexpr int32_t ACTION_UP = AMOTION_EVENT_ACTION_UP;
470 mInputReceiver.consumeEvent(InputEventType::MOTION, AMOTION_EVENT_ACTION_UP, in consumeMotionUp()
599 return injectMotionEvent(dispatcher, AMOTION_EVENT_ACTION_UP, source, displayId, location);
617 if (action == AMOTION_EVENT_ACTION_DOWN || action == AMOTION_EVENT_ACTION_UP) { in generateMotionArgs()
1293 MotionEventBuilder(AMOTION_EVENT_ACTION_UP, in TEST_P()
1654 MotionEventBuilder(AMOTION_EVENT_ACTION_UP, in TEST_F()
1661 leftWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_UP)); in TEST_F()
1678 MotionEventBuilder(AMOTION_EVENT_ACTION_UP, in TEST_F()
1685 rightWindow->consumeMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_UP)); in TEST_F()
[all …]
DCapturedTouchpadEventConverter_test.cpp255 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), WithPointerCount(1u), in TEST_F()
721 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP), WithPointerCount(1u), in TEST_F()
826 WithMotionAction(AMOTION_EVENT_ACTION_UP)); in TEST_F()
891 WithMotionAction(AMOTION_EVENT_ACTION_UP)); in TEST_F()
DMultiTouchInputMapper_test.cpp273 VariantWith<NotifyMotionArgs>(WithMotionAction(AMOTION_EVENT_ACTION_UP)))); in TEST_F()
DPreferStylusOverTouch_test.cpp29 constexpr int UP = AMOTION_EVENT_ACTION_UP;
DFakeWindows.h317 consumeMotionEvent(testing::AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP),
/frameworks/native/services/inputflinger/
DPreferStylusOverTouchBlocker.cpp106 args.action == AMOTION_EVENT_ACTION_UP || args.action == AMOTION_EVENT_ACTION_CANCEL) in processMotion()
107 : (args.action == AMOTION_EVENT_ACTION_UP || in processMotion()
DUnwantedInteractionBlocker.cpp202 newArgs.action = AMOTION_EVENT_ACTION_UP; in removePointerIds()
530 case AMOTION_EVENT_ACTION_UP: in processPointerId()
627 resolvedAction == AMOTION_EVENT_ACTION_UP || in getTouches()
/frameworks/native/libs/input/rust/
Dinput_verifier.rs342 input_bindgen::AMOTION_EVENT_ACTION_UP, in single_pointer_stream()
392 input_bindgen::AMOTION_EVENT_ACTION_UP, in two_pointer_stream()
443 input_bindgen::AMOTION_EVENT_ACTION_UP, in multi_device_stream()
506 input_bindgen::AMOTION_EVENT_ACTION_UP, in invalid_up()
Dinput.rs106 Up = input_bindgen::AMOTION_EVENT_ACTION_UP,
164 input_bindgen::AMOTION_EVENT_ACTION_UP => MotionAction::Up, in from()
/frameworks/native/services/inputflinger/reader/mapper/gestures/
DGestureConverter.cpp289 out.push_back(makeMotionArgs(when, readTime, AMOTION_EVENT_ACTION_UP, /* actionButton= */ 0, in handleButtonsChange()
319 out.push_back(makeMotionArgs(when, readTime, AMOTION_EVENT_ACTION_UP, /*actionButton=*/0, in releaseAllButtons()
427 makeMotionArgs(when, readTime, AMOTION_EVENT_ACTION_UP, /* actionButton= */ 0, in endScroll()
515 out.push_back(makeMotionArgs(when, readTime, AMOTION_EVENT_ACTION_UP, in handleMultiFingerSwipeLift()
587 out.push_back(makeMotionArgs(when, readTime, AMOTION_EVENT_ACTION_UP, /*actionButton=*/0, in endPinch()
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp326 motionEventAction = down ? AMOTION_EVENT_ACTION_DOWN : AMOTION_EVENT_ACTION_UP; in sync()
376 if (motionEventAction == AMOTION_EVENT_ACTION_UP && (mSource == AINPUT_SOURCE_MOUSE)) { in sync()
DCapturedTouchpadEventConverter.cpp230 action = cancel ? AMOTION_EVENT_ACTION_CANCEL : AMOTION_EVENT_ACTION_UP; in sync()
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp222 EXPECT_EQ(AMOTION_EVENT_ACTION_UP, mev->getAction()); in expectTap()
240 EXPECT_EQ(AMOTION_EVENT_ACTION_UP, mev->getAction()); in expectTapWithFlag()
259 EXPECT_EQ(AMOTION_EVENT_ACTION_UP, mev->getAction()); in expectTapInDisplayCoordinates()
276 EXPECT_EQ(AMOTION_EVENT_ACTION_UP, keyEvent->getAction()); in expectKey()
/frameworks/native/include/android/
Dinput.h305 AMOTION_EVENT_ACTION_UP = 1, enumerator
/frameworks/native/libs/input/
DMotionPredictorMetricsManager.cpp98 case AMOTION_EVENT_ACTION_UP: in onRecord()
DMotionPredictor.cpp176 if (action == AMOTION_EVENT_ACTION_UP || action == AMOTION_EVENT_ACTION_CANCEL) { in record()
DAndroid.bp89 "--allowlist-var=AMOTION_EVENT_ACTION_UP",
DInput.cpp94 : AMOTION_EVENT_ACTION_UP; in resolveActionForSplitMotionEvent()
952 case AMOTION_EVENT_ACTION_UP: in isTouchEvent()
976 case AMOTION_EVENT_ACTION_UP: in actionToString()
/frameworks/native/libs/input/tests/
DMotionPredictor_test.cpp38 constexpr int32_t UP = AMOTION_EVENT_ACTION_UP;

12