/frameworks/native/services/inputflinger/tests/ |
D | PointerChoreographer_test.cpp | 56 const auto MOUSE_POINTER = PointerBuilder(/*id=*/0, ToolType::MOUSE) 251 assertPointerControllerCreated(ControllerType::MOUSE); in TEST_F() 259 auto pc = assertPointerControllerCreated(ControllerType::MOUSE); in TEST_F() 280 auto pc = assertPointerControllerCreated(ControllerType::MOUSE); in TEST_F() 289 auto pc = assertPointerControllerCreated(ControllerType::MOUSE); in TEST_F() 307 auto pc = assertPointerControllerCreated(ControllerType::MOUSE); in TEST_F() 321 auto firstDisplayPc = assertPointerControllerCreated(ControllerType::MOUSE); in TEST_F() 330 auto secondDisplayPc = assertPointerControllerCreated(ControllerType::MOUSE); in TEST_F() 342 assertPointerControllerCreated(ControllerType::MOUSE); in TEST_F() 353 assertPointerControllerCreated(ControllerType::MOUSE); in TEST_F() [all …]
|
D | InputDeviceMetricsSource_test.cpp | 129 case InputDeviceUsageSource::MOUSE: { in TEST_P() 130 std::set<InputDeviceUsageSource> srcs{InputDeviceUsageSource::MOUSE}; in TEST_P() 135 .pointer(PointerBuilder(/*id=*/1, ToolType::MOUSE) in TEST_P() 148 .pointer(PointerBuilder(/*id=*/1, ToolType::MOUSE) in TEST_P()
|
D | InputDispatcher_test.cpp | 1622 .pointer(PointerBuilder(0, ToolType::MOUSE).x(300).y(100)) in TEST_F() 1634 .pointer(PointerBuilder(0, ToolType::MOUSE).x(110).y(100)) in TEST_F() 1728 .pointer(PointerBuilder(0, ToolType::MOUSE).x(300).y(100)) in TEST_F() 1738 .pointer(PointerBuilder(0, ToolType::MOUSE).x(110).y(100)) in TEST_F() 1910 .pointer(PointerBuilder(0, ToolType::MOUSE).x(100).y(110)) in TEST_F() 1915 .pointer(PointerBuilder(0, ToolType::MOUSE).x(110).y(120)) in TEST_F() 1921 .pointer(PointerBuilder(0, ToolType::MOUSE).x(110).y(120)) in TEST_F() 2583 .pointer(PointerBuilder(0, ToolType::MOUSE).x(100).y(100)) in TEST_F() 2592 .pointer(PointerBuilder(0, ToolType::MOUSE).x(100).y(100)) in TEST_F() 2605 .pointer(PointerBuilder(0, ToolType::MOUSE).x(100).y(100)) in TEST_F() [all …]
|
D | CursorInputMapper_test.cpp | 375 WithToolType(ToolType::MOUSE), WithCoords(0.0f, 0.0f), in TEST_F() 388 WithToolType(ToolType::MOUSE), WithCoords(0.0f, 0.0f), in TEST_F() 407 WithPointerId(0, 0), WithToolType(ToolType::MOUSE), in TEST_F() 420 WithPointerId(0, 0), WithToolType(ToolType::MOUSE), in TEST_F()
|
D | InputReader_test.cpp | 5807 ASSERT_EQ(ToolType::MOUSE, motionArgs.pointerProperties[0].toolType); in TEST_F() 5815 ASSERT_EQ(ToolType::MOUSE, motionArgs.pointerProperties[0].toolType); in TEST_F() 5868 ASSERT_EQ(ToolType::MOUSE, motionArgs.pointerProperties[0].toolType); in TEST_F() 8439 ASSERT_EQ(ToolType::MOUSE, motionArgs.pointerProperties[0].toolType); in TEST_F() 8447 ASSERT_EQ(ToolType::MOUSE, motionArgs.pointerProperties[0].toolType); in TEST_F() 8500 ASSERT_EQ(ToolType::MOUSE, motionArgs.pointerProperties[0].toolType); in TEST_F()
|
/frameworks/native/services/inputflinger/ |
D | InputDeviceMetricsSource.cpp | 60 if (toolType == ToolType::MOUSE) { in getUsageSourcesForMotionArgs() 61 sources.emplace(InputDeviceUsageSource::MOUSE); in getUsageSourcesForMotionArgs() 74 toolType == ToolType::MOUSE) { in getUsageSourcesForMotionArgs()
|
D | InputDeviceMetricsSource.h | 36 MOUSE = util::INPUT_DEVICE_USAGE_REPORTED__USAGE_SOURCES__MOUSE, enumerator
|
D | InputCommonConverter.cpp | 38 static_assert(static_cast<common::Source>(AINPUT_SOURCE_MOUSE) == common::Source::MOUSE, in getSource() 210 static_assert(static_cast<common::ToolType>(ToolType::MOUSE) == common::ToolType::MOUSE); in getToolType()
|
D | PointerChoreographer.cpp | 38 args.pointerProperties[0].toolType == ToolType::MOUSE; in isFromMouse() 848 PointerControllerInterface::ControllerType::MOUSE); in getMouseControllerConstructor()
|
D | UnwantedInteractionBlocker.cpp | 124 case ToolType::MOUSE: in getLinuxToolCode()
|
/frameworks/native/libs/input/tests/ |
D | TouchResampling_test.cpp | 350 {0ms, {{0, 10, 20, .toolType = ToolType::MOUSE}}, AMOTION_EVENT_ACTION_DOWN}, in TEST_F() 356 {0ms, {{0, 10, 20, .toolType = ToolType::MOUSE}}, AMOTION_EVENT_ACTION_DOWN}, in TEST_F() 363 {10ms, {{0, 20, 30, .toolType = ToolType::MOUSE}}, AMOTION_EVENT_ACTION_MOVE}, in TEST_F() 364 {20ms, {{0, 30, 30, .toolType = ToolType::MOUSE}}, AMOTION_EVENT_ACTION_MOVE}, in TEST_F() 370 {10ms, {{0, 20, 30, .toolType = ToolType::MOUSE}}, AMOTION_EVENT_ACTION_MOVE}, in TEST_F() 371 {20ms, {{0, 30, 30, .toolType = ToolType::MOUSE}}, AMOTION_EVENT_ACTION_MOVE}, in TEST_F() 373 {{0, 35, 30, .toolType = ToolType::MOUSE, .isResampled = true}}, in TEST_F()
|
/frameworks/native/services/inputflinger/include/ |
D | PointerControllerInterface.h | 65 MOUSE, enumerator
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | SingleTouchInputMapper.cpp | 45 bool isHovering = mTouchButtonAccumulator.getToolType() != ToolType::MOUSE && in syncTouch()
|
D | MultiTouchInputMapper.cpp | 134 bool isHovering = mTouchButtonAccumulator.getToolType() != ToolType::MOUSE && in syncTouch()
|
D | CursorInputMapper.cpp | 273 pointerProperties.toolType = ToolType::MOUSE; in sync()
|
D | TouchInputMapper.h | 532 MOUSE, enumerator
|
D | TouchInputMapper.cpp | 1581 } else if (pointer.toolType == ToolType::MOUSE) { in cookAndDispatch() 1602 pointerUsage = PointerUsage::MOUSE; in cookAndDispatch() 2448 case PointerUsage::MOUSE: in dispatchPointerUsage() 2467 case PointerUsage::MOUSE: in abortPointerUsage()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_companion_virtual_InputController.cpp | 44 MOUSE, enumerator 79 case DeviceType::MOUSE: in openUinput() 296 auto fd = openUinputJni(env, name, vendorId, productId, phys, DeviceType::MOUSE, in nativeOpenUinputMouse()
|
/frameworks/native/services/inputflinger/reader/mapper/accumulator/ |
D | TouchButtonAccumulator.cpp | 146 return ToolType::MOUSE; in getToolType()
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | FuzzedInputStream.h | 148 return ToolType::MOUSE; in getToolType()
|
/frameworks/proto_logging/stats/enums/input/ |
D | enums.proto | 190 MOUSE = 6; enumerator
|
/frameworks/base/libs/input/ |
D | PointerController.cpp | 70 case ControllerType::MOUSE: in create()
|
/frameworks/base/libs/input/tests/ |
D | PointerController_test.cpp | 399 testing::Values(PointerControllerInterface::ControllerType::MOUSE,
|
/frameworks/native/include/input/ |
D | Input.h | 257 MOUSE = AMOTION_EVENT_TOOL_TYPE_MOUSE, enumerator
|
/frameworks/native/libs/input/ |
D | InputConsumer.cpp | 184 return toolType == ToolType::FINGER || toolType == ToolType::MOUSE || in shouldResampleTool()
|