/frameworks/native/services/inputflinger/tests/ |
D | InputDeviceMetricsSource_test.cpp | 64 .pointer(PointerBuilder(/*id=*/1, ToolType::PALM) in TEST_P() 123 .pointer(PointerBuilder(/*id=*/1, ToolType::UNKNOWN) in TEST_P() 135 .pointer(PointerBuilder(/*id=*/1, ToolType::MOUSE) in TEST_P() 148 .pointer(PointerBuilder(/*id=*/1, ToolType::MOUSE) in TEST_P() 162 .pointer(PointerBuilder(/*id=*/1, ToolType::FINGER) in TEST_P() 174 .pointer(PointerBuilder(/*id=*/1, ToolType::FINGER) in TEST_P() 189 .pointer(PointerBuilder(/*id=*/1, ToolType::UNKNOWN) in TEST_P() 202 .pointer(PointerBuilder(/*id=*/1, ToolType::STYLUS) in TEST_P() 215 .pointer(PointerBuilder(/*id=*/1, ToolType::STYLUS) in TEST_P() 228 .pointer(PointerBuilder(/*id=*/1, ToolType::STYLUS) in TEST_P() [all …]
|
D | InputDispatcher_test.cpp | 580 PointerBuilder(/*id=*/0, ToolType::FINGER).x(position.x).y(position.y)); 820 .pointer(PointerBuilder(0, ToolType::FINGER).x(100).y(200)) in TEST_F() 831 .pointer(PointerBuilder(0, ToolType::FINGER).x(110).y(200)) in TEST_F() 858 .pointer(PointerBuilder(0, ToolType::FINGER).x(100).y(100)) in TEST_F() 862 .pointer(PointerBuilder(0, ToolType::FINGER).x(100).y(100)) in TEST_F() 863 .pointer(PointerBuilder(1, ToolType::FINGER).x(110).y(100)) in TEST_F() 867 .pointer(PointerBuilder(0, ToolType::FINGER).x(100).y(100)) in TEST_F() 868 .pointer(PointerBuilder(1, ToolType::FINGER).x(110).y(100)) in TEST_F() 969 .pointer(PointerBuilder(0, ToolType::FINGER).x(50).y(50)) in TEST_F() 979 .pointer(PointerBuilder(0, ToolType::FINGER).x(150).y(50)) in TEST_F() [all …]
|
D | PointerChoreographer_test.cpp | 56 const auto MOUSE_POINTER = PointerBuilder(/*id=*/0, ToolType::MOUSE) 59 const auto FIRST_TOUCH_POINTER = PointerBuilder(/*id=*/0, ToolType::FINGER).x(100).y(200); 60 const auto SECOND_TOUCH_POINTER = PointerBuilder(/*id=*/1, ToolType::FINGER).x(200).y(300); 61 const auto STYLUS_POINTER = PointerBuilder(/*id=*/0, ToolType::STYLUS).x(100).y(200); 62 const auto TOUCHPAD_POINTER = PointerBuilder(/*id=*/0, ToolType::FINGER) 438 const auto absoluteMousePointer = PointerBuilder(/*id=*/0, ToolType::MOUSE) in TEST_F() 527 .pointer(PointerBuilder(/*id=*/0, ToolType::MOUSE) in TEST_F() 1139 .pointer(PointerBuilder(/*id=*/0, ToolType::STYLUS).x(150).y(250)) in TEST_P() 1149 .pointer(PointerBuilder(/*id=*/0, ToolType::STYLUS).x(150).y(250)) in TEST_P() 1189 .pointer(PointerBuilder(/*id=*/0, ToolType::STYLUS).x(150).y(250)) in TEST_P() [all …]
|
D | InputTracingTest.cpp | 139 .pointer(PointerBuilder(0, ToolType::FINGER).x(100).y(110)) in tapAndExpect() 149 .pointer(PointerBuilder(0, ToolType::FINGER).x(100).y(110)) in tapAndExpect() 597 .pointer(PointerBuilder(0, ToolType::FINGER).x(100).y(110)) in TEST_F() 633 .pointer(PointerBuilder(0, ToolType::FINGER).x(100).y(110)) in TEST_F() 684 .pointer(PointerBuilder(0, ToolType::FINGER).x(100).y(110)) in TEST_F() 698 .pointer(PointerBuilder(0, ToolType::FINGER).x(100).y(110)) in TEST_F() 714 .pointer(PointerBuilder(0, ToolType::FINGER).x(100).y(110)) in TEST_F() 732 .pointer(PointerBuilder(0, ToolType::FINGER).x(100).y(110)) in TEST_F()
|
D | InputDeviceMetricsCollector_test.cpp | 124 builder.pointer(PointerBuilder(i, toolTypes[i]));
|
D | InputReader_test.cpp | 1213 .pointer(PointerBuilder(/*id=*/0, ToolType::FINGER)) in TEST_F() 1239 .pointer(PointerBuilder(/*id=*/0, ToolType::STYLUS)) in TEST_F() 1246 .pointer(PointerBuilder(/*id=*/0, ToolType::STYLUS)) in TEST_F() 1256 .pointer(PointerBuilder(/*id=*/0, ToolType::STYLUS)) in TEST_F()
|
/frameworks/native/include/input/ |
D | InputEventBuilders.h | 34 class PointerBuilder { 36 PointerBuilder(int32_t id, ToolType toolType) { in PointerBuilder() function 43 PointerBuilder& x(float x) { return axis(AMOTION_EVENT_AXIS_X, x); } in x() 45 PointerBuilder& y(float y) { return axis(AMOTION_EVENT_AXIS_Y, y); } in y() 47 PointerBuilder& axis(int32_t axis, float value) { in axis() 110 MotionEventBuilder& pointer(PointerBuilder pointer) { in pointer() 133 for (const PointerBuilder& pointer : mPointers) { in build() 170 std::vector<PointerBuilder> mPointers;
|
/frameworks/native/services/inputflinger/include/ |
D | NotifyArgsBuilders.h | 88 MotionArgsBuilder& pointer(PointerBuilder pointer) { in pointer() 106 for (const PointerBuilder& pointer : mPointers) { in build() 163 std::vector<PointerBuilder> mPointers;
|
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 597 .pointer(PointerBuilder(/*id=*/4, ToolType::FINGER).x(4).y(4)) in TEST_F() 598 .pointer(PointerBuilder(/*id=*/6, ToolType::FINGER).x(6).y(6)) in TEST_F() 599 .pointer(PointerBuilder(/*id=*/8, ToolType::FINGER).x(8).y(8)) in TEST_F() 640 .pointer(PointerBuilder(/*id=*/4, ToolType::FINGER).x(4).y(4)) in TEST_F() 641 .pointer(PointerBuilder(/*id=*/6, ToolType::FINGER).x(6).y(6)) in TEST_F() 642 .pointer(PointerBuilder(/*id=*/8, ToolType::FINGER).x(8).y(8)) in TEST_F() 687 .pointer(PointerBuilder(/*id=*/4, ToolType::FINGER).x(4).y(4)) in TEST_F() 688 .pointer(PointerBuilder(/*id=*/6, ToolType::FINGER).x(6).y(6)) in TEST_F() 689 .pointer(PointerBuilder(/*id=*/8, ToolType::FINGER).x(8).y(8)) in TEST_F() 707 .pointer(PointerBuilder(/*id=*/4, ToolType::FINGER).x(4).y(4)) in TEST_F() [all …]
|
D | MotionPredictorMetricsManager_test.cpp | 137 PointerBuilder pointerBuilder = in makeMotionEvent() 138 PointerBuilder(/*id=*/0, ToolType::STYLUS) in makeMotionEvent() 152 PointerBuilder pointerBuilder = in makeMotionEvent() 153 PointerBuilder(/*id=*/0, ToolType::STYLUS) in makeMotionEvent() 165 PointerBuilder(/*id=*/0, ToolType::STYLUS) in makeMotionEvent() 179 .pointer(PointerBuilder(/*id=*/0, ToolType::STYLUS)) in makeLiftMotionEvent()
|