Home
last modified time | relevance | path

Searched refs:hasAbsoluteAxis (Results 1 – 4 of 4) sorted by relevance

/hardware/libhardware/modules/input/evdev/
DInputDevice.cpp136 if (mDeviceNode->hasAbsoluteAxis(ABS_MT_POSITION_X) in createMappers()
137 && mDeviceNode->hasAbsoluteAxis(ABS_MT_POSITION_Y)) { in createMappers()
147 && mDeviceNode->hasAbsoluteAxis(ABS_X) in createMappers()
148 && mDeviceNode->hasAbsoluteAxis(ABS_Y)) { in createMappers()
152 } else if ((mDeviceNode->hasAbsoluteAxis(ABS_PRESSURE) || mDeviceNode->hasKey(BTN_TOUCH)) in createMappers()
153 && !mDeviceNode->hasAbsoluteAxis(ABS_X) && !mDeviceNode->hasAbsoluteAxis(ABS_Y)) { in createMappers()
182 if (mDeviceNode->hasAbsoluteAxis(i) in createMappers()
DInputHub.h85 virtual bool hasAbsoluteAxis(int32_t axis) const = 0;
DInputHub.cpp94 virtual bool hasAbsoluteAxis(int32_t axis) const override;
277 bool EvdevDeviceNode::hasAbsoluteAxis(int axis) const { in hasAbsoluteAxis() function in android::EvdevDeviceNode
/hardware/libhardware/tests/input/evdev/
DInputMocks.h58 virtual bool hasAbsoluteAxis(int32_t axis) const override { return mAbsAxes.count(axis); } in hasAbsoluteAxis() function