Home
last modified time | relevance | path

Searched refs:MotionArgsBuilder (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/inputflinger/include/
DNotifyArgsBuilders.h31 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/
DInputDeviceMetricsSource_test.cpp63 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 …]
DPointerChoreographer_test.cpp201 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 …]
DInputDispatcher_test.cpp857 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 …]
DInputTracingTest.cpp138 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()
DInputDeviceMetricsCollector_test.cpp122 MotionArgsBuilder builder(AMOTION_EVENT_ACTION_MOVE, source);
DInputReader_test.cpp1211 {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()