Searched refs:MotionArgsBuilder (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/inputflinger/include/ |
D | NotifyArgsBuilders.h | 31 class MotionArgsBuilder { 33 MotionArgsBuilder(int32_t action, int32_t source) : mEventId(InputEvent::nextId()) { in MotionArgsBuilder() function 43 MotionArgsBuilder& deviceId(int32_t deviceId) { in deviceId() 48 MotionArgsBuilder& downTime(nsecs_t downTime) { in downTime() 53 MotionArgsBuilder& eventTime(nsecs_t eventTime) { in eventTime() 58 MotionArgsBuilder& displayId(ui::LogicalDisplayId displayId) { in displayId() 63 MotionArgsBuilder& policyFlags(int32_t policyFlags) { in policyFlags() 68 MotionArgsBuilder& actionButton(int32_t actionButton) { in actionButton() 73 MotionArgsBuilder& buttonState(int32_t buttonState) { in buttonState() 78 MotionArgsBuilder& rawXCursorPosition(float rawXCursorPosition) { in rawXCursorPosition() [all …]
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDeviceMetricsSource_test.cpp | 63 MotionArgsBuilder(AMOTION_EVENT_ACTION_MOVE, AINPUT_SOURCE_KEYBOARD) in TEST_P() 122 MotionArgsBuilder(AMOTION_EVENT_ACTION_MOVE, AINPUT_SOURCE_JOYSTICK) in TEST_P() 133 MotionArgsBuilder(AMOTION_EVENT_ACTION_HOVER_MOVE, in TEST_P() 146 MotionArgsBuilder(AMOTION_EVENT_ACTION_MOVE, in TEST_P() 161 MotionArgsBuilder(AMOTION_EVENT_ACTION_MOVE, AINPUT_SOURCE_MOUSE) in TEST_P() 173 MotionArgsBuilder(AMOTION_EVENT_ACTION_MOVE, AINPUT_SOURCE_TOUCHPAD) in TEST_P() 187 MotionArgsBuilder(AMOTION_EVENT_ACTION_SCROLL, in TEST_P() 200 MotionArgsBuilder(AMOTION_EVENT_ACTION_HOVER_ENTER, in TEST_P() 213 MotionArgsBuilder(AMOTION_EVENT_ACTION_HOVER_ENTER, in TEST_P() 226 MotionArgsBuilder(AMOTION_EVENT_ACTION_HOVER_ENTER, in TEST_P() [all …]
|
D | PointerChoreographer_test.cpp | 201 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 411 MotionArgsBuilder(AMOTION_EVENT_ACTION_HOVER_MOVE, AINPUT_SOURCE_MOUSE) in TEST_F() 444 MotionArgsBuilder(AMOTION_EVENT_ACTION_HOVER_MOVE, AINPUT_SOURCE_MOUSE) in TEST_F() 482 MotionArgsBuilder(AMOTION_EVENT_ACTION_HOVER_MOVE, AINPUT_SOURCE_MOUSE) in TEST_F() 526 MotionArgsBuilder(AMOTION_EVENT_ACTION_MOVE, AINPUT_SOURCE_MOUSE_RELATIVE) in TEST_F() 722 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 740 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 754 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 772 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 791 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() [all …]
|
D | InputDispatcher_test.cpp | 857 mDispatcher->notifyMotion(MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 861 mDispatcher->notifyMotion(MotionArgsBuilder(POINTER_1_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 866 mDispatcher->notifyMotion(MotionArgsBuilder(POINTER_0_UP, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 968 mDispatcher->notifyMotion(MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 978 mDispatcher->notifyMotion(MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 1066 mDispatcher->notifyMotion(MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 1076 mDispatcher->notifyMotion(MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 1086 mDispatcher->notifyMotion(MotionArgsBuilder(ACTION_MOVE, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 1101 mDispatcher->notifyMotion(MotionArgsBuilder(ACTION_MOVE, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 1171 mDispatcher->notifyMotion(MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() [all …]
|
D | InputTracingTest.cpp | 138 const auto down = MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in tapAndExpect() 148 const auto up = MotionArgsBuilder(ACTION_UP, AINPUT_SOURCE_TOUCHSCREEN) in tapAndExpect() 596 const auto down = MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 632 const auto down = MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 683 const auto down = MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 697 const auto move1 = MotionArgsBuilder(ACTION_MOVE, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 713 const auto move2 = MotionArgsBuilder(ACTION_MOVE, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 731 const auto up = MotionArgsBuilder(ACTION_UP, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
|
D | InputDeviceMetricsCollector_test.cpp | 122 MotionArgsBuilder builder(AMOTION_EVENT_ACTION_MOVE, source);
|
D | InputReader_test.cpp | 1211 {MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_STYLUS) in TEST_F() 1237 {MotionArgsBuilder(AMOTION_EVENT_ACTION_MOVE, AINPUT_SOURCE_STYLUS) in TEST_F() 1244 secondMapper.setProcessResult({MotionArgsBuilder(AMOTION_EVENT_ACTION_UP, AINPUT_SOURCE_STYLUS) in TEST_F() 1254 {MotionArgsBuilder(AMOTION_EVENT_ACTION_HOVER_ENTER, AINPUT_SOURCE_STYLUS) in TEST_F()
|