Home
last modified time | relevance | path

Searched refs:consumeMotionEvent (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp475 mInputReceiver.consumeMotionEvent( in consumeMotionCancel()
488 void consumeMotionEvent(const ::testing::Matcher<MotionEvent>& matcher) { in consumeMotionEvent() function in android::inputdispatcher::__anon94065d070311::FakeMonitorReceiver
489 mInputReceiver.consumeMotionEvent(matcher); in consumeMotionEvent()
835 foregroundWindow->consumeMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F()
870 window->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
871 window->consumeMotionEvent(WithMotionAction(POINTER_1_DOWN)); in TEST_F()
872 window->consumeMotionEvent(WithMotionAction(POINTER_0_UP)); in TEST_F()
877 window->consumeMotionEvent( in TEST_F()
972 leftForegroundWindow->consumeMotionEvent( in TEST_F()
974 leftWallpaperWindow->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), in TEST_F()
[all …]
DFakeWindows.h86 void consumeMotionEvent(const ::testing::Matcher<MotionEvent>& matcher);
266 consumeMotionEvent(testing::AllOf(WithMotionAction(AMOTION_EVENT_ACTION_CANCEL),
274 consumeMotionEvent(testing::AllOf(WithMotionAction(AMOTION_EVENT_ACTION_MOVE),
288 consumeMotionEvent(
302 consumeMotionEvent(testing::AllOf(WithMotionAction(action),
311 consumeMotionEvent(testing::AllOf(WithMotionAction(action), matcher)); in consumeMotionPointerUp()
317 consumeMotionEvent(testing::AllOf(WithMotionAction(AMOTION_EVENT_ACTION_UP),
325 consumeMotionEvent(testing::AllOf(WithMotionAction(AMOTION_EVENT_ACTION_OUTSIDE),
331 consumeMotionEvent(testing::AllOf(WithMotionAction(AMOTION_EVENT_ACTION_OUTSIDE), in consumeMotionOutsideWithZeroedCoords()
347 std::unique_ptr<MotionEvent> consumeMotionEvent(
DInputTracingTest.cpp144 auto consumed = window->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in tapAndExpect()
154 auto consumed = window->consumeMotionEvent(WithMotionAction(ACTION_UP)); in tapAndExpect()
601 auto consumed = window->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
607 consumed = window->consumeMotionEvent(WithMotionAction(ACTION_CANCEL)); in TEST_F()
637 auto consumed = window->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
642 consumed = window->consumeMotionEvent(WithMotionAction(ACTION_CANCEL)); in TEST_F()
690 auto consumed = window->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F()
704 consumed = window->consumeMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F()
720 consumed = window->consumeMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F()
737 consumed = window->consumeMotionEvent(WithMotionAction(ACTION_UP)); in TEST_F()
DFakeWindows.cpp144 void FakeInputReceiver::consumeMotionEvent(const ::testing::Matcher<MotionEvent>& matcher) { in consumeMotionEvent() function in android::FakeInputReceiver
297 std::unique_ptr<MotionEvent> FakeWindowHandle::consumeMotionEvent( in consumeMotionEvent() function in android::FakeWindowHandle
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp131 window->consumeMotionEvent(); in benchmarkNotifyMotion()
132 window->consumeMotionEvent(); in benchmarkNotifyMotion()
165 window->consumeMotionEvent(); in benchmarkInjectMotion()
166 window->consumeMotionEvent(); in benchmarkInjectMotion()