Searched refs:consumeEvent (Results 1 – 4 of 4) sorted by relevance
/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/services/inputflinger/benchmarks/ |
D | InputDispatcher_benchmarks.cpp | 108 void consumeEvent() { in consumeEvent() function in android::inputdispatcher::FakeInputReceiver 273 window->consumeEvent(); in benchmarkNotifyMotion() 274 window->consumeEvent(); in benchmarkNotifyMotion() 306 window->consumeEvent(); in benchmarkInjectMotion() 307 window->consumeEvent(); in benchmarkInjectMotion()
|
/frameworks/native/libs/gui/tests/ |
D | EndToEndNativeInputTest.cpp | 116 InputEvent* consumeEvent() { in consumeEvent() function in android::test::InputSurface 131 InputEvent *ev = consumeEvent(); in assertFocusChange() 139 InputEvent* ev = consumeEvent(); in expectTap() 148 ev = consumeEvent(); in expectTap() 287 EXPECT_NE(surface->consumeEvent(), nullptr); in TEST_F()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 664 void consumeEvent(int32_t expectedEventType, int32_t expectedAction, int32_t expectedDisplayId, in consumeEvent() function in android::inputdispatcher::FakeInputReceiver 816 consumeEvent(AINPUT_EVENT_TYPE_KEY, AKEY_EVENT_ACTION_DOWN, expectedDisplayId, in consumeKeyDown() 821 consumeEvent(AINPUT_EVENT_TYPE_KEY, AKEY_EVENT_ACTION_UP, expectedDisplayId, expectedFlags); in consumeKeyUp() 826 consumeEvent(AINPUT_EVENT_TYPE_MOTION, AMOTION_EVENT_ACTION_CANCEL, expectedDisplayId, in consumeMotionCancel() 832 consumeEvent(AINPUT_EVENT_TYPE_MOTION, AMOTION_EVENT_ACTION_MOVE, expectedDisplayId, in consumeMotionMove() 838 consumeEvent(AINPUT_EVENT_TYPE_MOTION, AMOTION_EVENT_ACTION_DOWN, expectedDisplayId, in consumeMotionDown() 846 consumeEvent(AINPUT_EVENT_TYPE_MOTION, action, expectedDisplayId, expectedFlags); in consumeMotionPointerDown() 853 consumeEvent(AINPUT_EVENT_TYPE_MOTION, action, expectedDisplayId, expectedFlags); in consumeMotionPointerUp() 858 consumeEvent(AINPUT_EVENT_TYPE_MOTION, AMOTION_EVENT_ACTION_UP, expectedDisplayId, in consumeMotionUp() 868 void consumeEvent(int32_t expectedEventType, int32_t expectedAction, int32_t expectedDisplayId, in consumeEvent() function in android::inputdispatcher::FakeWindowHandle [all …]
|