Home
last modified time | relevance | path

Searched refs:MOUSE (Results 1 – 25 of 25) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DPointerChoreographer_test.cpp56 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 …]
DInputDeviceMetricsSource_test.cpp129 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()
DInputDispatcher_test.cpp1622 .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 …]
DCursorInputMapper_test.cpp375 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()
DInputReader_test.cpp5807 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/
DInputDeviceMetricsSource.cpp60 if (toolType == ToolType::MOUSE) { in getUsageSourcesForMotionArgs()
61 sources.emplace(InputDeviceUsageSource::MOUSE); in getUsageSourcesForMotionArgs()
74 toolType == ToolType::MOUSE) { in getUsageSourcesForMotionArgs()
DInputDeviceMetricsSource.h36 MOUSE = util::INPUT_DEVICE_USAGE_REPORTED__USAGE_SOURCES__MOUSE, enumerator
DInputCommonConverter.cpp38 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()
DPointerChoreographer.cpp38 args.pointerProperties[0].toolType == ToolType::MOUSE; in isFromMouse()
848 PointerControllerInterface::ControllerType::MOUSE); in getMouseControllerConstructor()
DUnwantedInteractionBlocker.cpp124 case ToolType::MOUSE: in getLinuxToolCode()
/frameworks/native/libs/input/tests/
DTouchResampling_test.cpp350 {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/
DPointerControllerInterface.h65 MOUSE, enumerator
/frameworks/native/services/inputflinger/reader/mapper/
DSingleTouchInputMapper.cpp45 bool isHovering = mTouchButtonAccumulator.getToolType() != ToolType::MOUSE && in syncTouch()
DMultiTouchInputMapper.cpp134 bool isHovering = mTouchButtonAccumulator.getToolType() != ToolType::MOUSE && in syncTouch()
DCursorInputMapper.cpp273 pointerProperties.toolType = ToolType::MOUSE; in sync()
DTouchInputMapper.h532 MOUSE, enumerator
DTouchInputMapper.cpp1581 } 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/
Dcom_android_server_companion_virtual_InputController.cpp44 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/
DTouchButtonAccumulator.cpp146 return ToolType::MOUSE; in getToolType()
/frameworks/native/services/inputflinger/tests/fuzzers/
DFuzzedInputStream.h148 return ToolType::MOUSE; in getToolType()
/frameworks/proto_logging/stats/enums/input/
Denums.proto190 MOUSE = 6; enumerator
/frameworks/base/libs/input/
DPointerController.cpp70 case ControllerType::MOUSE: in create()
/frameworks/base/libs/input/tests/
DPointerController_test.cpp399 testing::Values(PointerControllerInterface::ControllerType::MOUSE,
/frameworks/native/include/input/
DInput.h257 MOUSE = AMOTION_EVENT_TOOL_TYPE_MOUSE, enumerator
/frameworks/native/libs/input/
DInputConsumer.cpp184 return toolType == ToolType::FINGER || toolType == ToolType::MOUSE || in shouldResampleTool()