Searched refs:consumeEvent (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 365 void consumeEvent(int32_t expectedEventType, int32_t expectedDisplayId, in consumeEvent() function in android::inputdispatcher::FakeInputReceiver 604 window->consumeEvent(AINPUT_EVENT_TYPE_MOTION, ADISPLAY_ID_DEFAULT); in TEST_F() 625 windowTop->consumeEvent(AINPUT_EVENT_TYPE_MOTION, ADISPLAY_ID_DEFAULT); in TEST_F() 651 windowSecond->consumeEvent(AINPUT_EVENT_TYPE_KEY, ADISPLAY_ID_NONE); in TEST_F() 676 windowTop->consumeEvent(AINPUT_EVENT_TYPE_KEY, ADISPLAY_ID_NONE); in TEST_F() 706 windowSecond->consumeEvent(AINPUT_EVENT_TYPE_KEY, ADISPLAY_ID_NONE); in TEST_F() 761 windowInPrimary->consumeEvent(AINPUT_EVENT_TYPE_MOTION, ADISPLAY_ID_DEFAULT); in TEST_F() 769 windowInSecondary->consumeEvent(AINPUT_EVENT_TYPE_MOTION, SECOND_DISPLAY_ID); in TEST_F() 776 windowInPrimary->consumeEvent(AINPUT_EVENT_TYPE_KEY, ADISPLAY_ID_DEFAULT); in TEST_F() 783 windowInSecondary->consumeEvent(AINPUT_EVENT_TYPE_KEY, ADISPLAY_ID_NONE); in TEST_F() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeadZone.java | 141 final boolean consumeEvent; in onTouchEvent() 144 consumeEvent = event.getX() > mNavigationBarView.getWidth() - size; in onTouchEvent() 146 consumeEvent = event.getX() < size; in onTouchEvent() 149 consumeEvent = event.getY() < size; in onTouchEvent() 151 if (consumeEvent) { in onTouchEvent()
|
/frameworks/native/libs/gui/tests/ |
D | EndToEndNativeInputTest.cpp | 107 InputEvent* consumeEvent() { in consumeEvent() function in android::test::InputSurface 121 InputEvent* ev = consumeEvent(); in expectTap() 129 ev = consumeEvent(); in expectTap() 266 EXPECT_TRUE(surface->consumeEvent() != nullptr); in TEST_F()
|