Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DCursorInputMapper_test.cpp188 WithCoords(float(rotatedX) / TRACKBALL_MOVEMENT_THRESHOLD, in testMotionRotation()
276 WithSource(AINPUT_SOURCE_MOUSE_RELATIVE), WithCoords(10.0f, 20.0f), in TEST_F()
289 WithCoords(0.0f, 0.0f), WithPressure(1.0f))), in TEST_F()
293 WithCoords(0.0f, 0.0f), WithPressure(1.0f))))); in TEST_F()
303 WithCoords(0.0f, 0.0f), WithPressure(0.0f))), in TEST_F()
307 WithCoords(0.0f, 0.0f), WithPressure(0.0f))))); in TEST_F()
317 WithSource(AINPUT_SOURCE_MOUSE_RELATIVE), WithCoords(30.0f, 40.0f), in TEST_F()
322 const auto expectedCoords = WithCoords(0, 0); in TEST_F()
375 WithToolType(ToolType::MOUSE), WithCoords(0.0f, 0.0f), in TEST_F()
388 WithToolType(ToolType::MOUSE), WithCoords(0.0f, 0.0f), in TEST_F()
[all …]
DGestureConverter_test.cpp110 AllOf(WithCoords(0, 0), WithToolType(ToolType::FINGER), in TEST_F()
117 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_HOVER_MOVE), WithCoords(0, 0), in TEST_F()
142 AllOf(WithCoords(0, 0), WithToolType(ToolType::FINGER), in TEST_F()
173 AllOf(WithCoords(0, 0), WithToolType(ToolType::FINGER), in TEST_F()
185 WithButtonState(AMOTION_EVENT_BUTTON_SECONDARY), WithCoords(0, 0), in TEST_F()
204 AllOf(WithButtonState(0), WithCoords(0, 0), WithToolType(ToolType::FINGER), in TEST_F()
224 WithCoords(0, 0), WithToolType(ToolType::FINGER), in TEST_F()
249 AllOf(WithCoords(0, 0), WithToolType(ToolType::FINGER), in TEST_F()
257 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_MOVE), WithCoords(0, 0), in TEST_F()
277 AllOf(WithButtonState(0), WithCoords(0, 0), WithToolType(ToolType::FINGER), in TEST_F()
[all …]
DCapturedTouchpadEventConverter_test.cpp235 WithCoords(50, 100), WithToolType(ToolType::FINGER))); in TEST_F()
242 WithCoords(52, 99), WithToolType(ToolType::FINGER))); in TEST_F()
252 WithCoords(52, 99), WithToolType(ToolType::FINGER))); in TEST_F()
256 WithCoords(52, 99), WithToolType(ToolType::FINGER))); in TEST_F()
507 WithCoords(51, 100))); in TEST_F()
513 WithCoords(52, 100))); in TEST_F()
542 WithCoords(100, 150))); in TEST_F()
553 WithCoords(98, 148))); in TEST_F()
659 WithCoords(50, 100), WithToolType(ToolType::FINGER))); in TEST_F()
677 WithCoords(52, 99), WithToolType(ToolType::FINGER))); in TEST_F()
[all …]
DPointerChoreographer_test.cpp423 AllOf(WithCoords(110, 220), WithDisplayId(DISPLAY_ID), WithCursorPosition(110, 220))); in TEST_F()
456 AllOf(WithCoords(110, 220), WithRelativeMotion(10, 20), WithDisplayId(DISPLAY_ID), in TEST_F()
497 AllOf(WithCoords(310, 420), WithDeviceId(SECOND_DEVICE_ID), in TEST_F()
542 AllOf(WithCoords(10, 20), WithRelativeMotion(10, 20), in TEST_F()
1406 AllOf(WithCoords(110, 220), WithDisplayId(DISPLAY_ID), WithCursorPosition(110, 220))); in TEST_F()
1434 WithCoords(0, 200), WithCursorPosition(100, 200))); in TEST_F()
1523 AllOf(WithCoords(310, 420), WithDeviceId(SECOND_DEVICE_ID), in TEST_F()
1559 AllOf(WithCoords(100, 200), WithDisplayId(ui::LogicalDisplayId::INVALID), in TEST_F()
DInputDispatcher_test.cpp1970 WithCoords(101, 111))); in TEST_F()
2018 WithCoords(101, 111))); in TEST_F()
2074 WithCoords(101, 111))); in TEST_F()
2076 WithCoords(101, 111))); in TEST_F()
2137 WithCoords(101, 111))); in TEST_F()
2139 WithCoords(101, 111))); in TEST_F()
2187 WithDeviceId(stylusDeviceId), WithCoords(101, 111))); in TEST_F()
2240 WithDeviceId(stylusDeviceId), WithCoords(101, 111))); in TEST_F()
2290 WithCoords(141, 146))); in TEST_F()
2292 WithDeviceId(stylusDeviceId), WithCoords(100, 110))); in TEST_F()
[all …]
DTestEventMatchers.h328 inline WithCoordsMatcher WithCoords(float x, float y) { in WithCoords() function
DInputReader_test.cpp6179 WithCoords(toDisplayX(100), toDisplayY(200)), in TEST_F()
6183 WithCoords(toDisplayX(100), toDisplayY(200)), in TEST_F()
6194 WithCoords(toDisplayX(100), toDisplayY(200)), WithButtonState(0)))); in TEST_F()
6197 WithCoords(toDisplayX(100), toDisplayY(200)), WithButtonState(0)))); in TEST_F()
6585 WithCoords(expected.x, expected.y), in TEST_P()
6595 WithCoords(expected.x, expected.y)))); in TEST_P()
6625 WithCoords(expected.x, expected.y), WithPrecision(2, 4)))) in TEST_P()
6633 WithCoords(expected.x, expected.y)))); in TEST_P()
6668 WithCoords(expected.x, expected.y), WithPrecision(4, 2)))) in TEST_P()
6676 WithCoords(expected.x, expected.y)))); in TEST_P()