Home
last modified time | relevance | path

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

/hardware/libhardware/modules/input/evdev/
DInputDevice.cpp151 if (mDeviceNode->hasAbsoluteAxis(ABS_MT_POSITION_X) in createMappers()
152 && mDeviceNode->hasAbsoluteAxis(ABS_MT_POSITION_Y)) { in createMappers()
162 && mDeviceNode->hasAbsoluteAxis(ABS_X) in createMappers()
163 && mDeviceNode->hasAbsoluteAxis(ABS_Y)) { in createMappers()
167 } else if ((mDeviceNode->hasAbsoluteAxis(ABS_PRESSURE) || mDeviceNode->hasKey(BTN_TOUCH)) in createMappers()
168 && !mDeviceNode->hasAbsoluteAxis(ABS_X) && !mDeviceNode->hasAbsoluteAxis(ABS_Y)) { in createMappers()
197 if (mDeviceNode->hasAbsoluteAxis(i) in createMappers()
DInputHub.h85 virtual bool hasAbsoluteAxis(int32_t axis) const = 0;
DInputHub.cpp108 virtual bool hasAbsoluteAxis(int32_t axis) const override;
291 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