Searched refs:hasRelativeAxis (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/services/input/
H A DEventHub.h173 virtual bool hasRelativeAxis(int32_t deviceId, int axis) const = 0;
257 virtual bool hasRelativeAxis(int32_t deviceId, int axis) const;
H A DEventHub.cpp311 bool EventHub::hasRelativeAxis(int32_t deviceId, int axis) const {
H A DInputReader.cpp1216 mHaveRelWheel = device->getEventHub()->hasRelativeAxis(device->getId(), REL_WHEEL);
1217 mHaveRelHWheel = device->getEventHub()->hasRelativeAxis(device->getId(), REL_HWHEEL);
2774 } else if (getEventHub()->hasRelativeAxis(getDeviceId(), REL_X)
2775 || getEventHub()->hasRelativeAxis(getDeviceId(), REL_Y)) {
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp496 virtual bool hasRelativeAxis(int32_t deviceId, int axis) const { function in class:android::FakeEventHub

Completed in 1720 milliseconds