Home
last modified time | relevance | path

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

/hardware/libhardware/modules/input/evdev/
DInputDevice.cpp138 if (mDeviceNode->hasAbsoluteAxis(ABS_MT_POSITION_X) in createMappers()
139 && mDeviceNode->hasAbsoluteAxis(ABS_MT_POSITION_Y)) { in createMappers()
149 && mDeviceNode->hasAbsoluteAxis(ABS_X) in createMappers()
150 && mDeviceNode->hasAbsoluteAxis(ABS_Y)) { in createMappers()
154 } else if ((mDeviceNode->hasAbsoluteAxis(ABS_PRESSURE) || mDeviceNode->hasKey(BTN_TOUCH)) in createMappers()
155 && !mDeviceNode->hasAbsoluteAxis(ABS_X) && !mDeviceNode->hasAbsoluteAxis(ABS_Y)) { in createMappers()
184 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