Home
last modified time | relevance | path

Searched refs:hasRelativeAxis (Results 1 – 11 of 11) sorted by relevance

/aosp12/hardware/libhardware/modules/input/evdev/
H A DMouseInputMapper.cpp57 if (!devNode->hasRelativeAxis(REL_X) || !devNode->hasRelativeAxis(REL_Y)) { in configureInputReport()
66 if (devNode->hasRelativeAxis(REL_WHEEL)) { in configureInputReport()
70 if (devNode->hasRelativeAxis(REL_HWHEEL)) { in configureInputReport()
H A DInputDevice.cpp124 && mDeviceNode->hasRelativeAxis(REL_X) in createMappers()
125 && mDeviceNode->hasRelativeAxis(REL_Y)) { in createMappers()
H A DInputHub.h83 virtual bool hasRelativeAxis(int32_t axis) const = 0;
H A DInputHub.cpp93 virtual bool hasRelativeAxis(int32_t axis) const override;
270 bool EvdevDeviceNode::hasRelativeAxis(int axis) const { in hasRelativeAxis() function in android::EvdevDeviceNode
/aosp12/frameworks/native/services/inputflinger/reader/mapper/accumulator/
H A DCursorScrollAccumulator.cpp29 mHaveRelWheel = deviceContext.hasRelativeAxis(REL_WHEEL); in configure()
30 mHaveRelHWheel = deviceContext.hasRelativeAxis(REL_HWHEEL); in configure()
/aosp12/frameworks/native/services/inputflinger/reader/include/
H A DInputDevice.h263 inline bool hasRelativeAxis(int32_t code) const { in hasRelativeAxis() function
264 return mEventHub->hasRelativeAxis(mId, code); in hasRelativeAxis()
H A DEventHub.h251 virtual bool hasRelativeAxis(int32_t deviceId, int axis) const = 0;
446 bool hasRelativeAxis(int32_t deviceId, int axis) const override final;
/aosp12/hardware/libhardware/tests/input/evdev/
H A DInputMocks.h57 virtual bool hasRelativeAxis(int axis) const override { return mRelAxes.count(axis); } in hasRelativeAxis() function
/aosp12/frameworks/native/services/inputflinger/reader/mapper/
H A DTouchInputMapper.cpp441 } else if (getDeviceContext().hasRelativeAxis(REL_X) || in configureParameters()
442 getDeviceContext().hasRelativeAxis(REL_Y)) { in configureParameters()
/aosp12/frameworks/native/services/inputflinger/reader/
H A DEventHub.cpp794 bool EventHub::hasRelativeAxis(int32_t deviceId, int axis) const { in hasRelativeAxis() function in android::EventHub
/aosp12/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp701 bool hasRelativeAxis(int32_t deviceId, int axis) const override { in hasRelativeAxis() function in android::FakeEventHub