Home
last modified time | relevance | path

Searched refs:absBitmask (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/reader/
DEventHub.cpp209 memset(absBitmask, 0, sizeof(absBitmask)); in Device()
372 if (device && device->hasValidFd() && test_bit(axis, device->absBitmask)) { in getAbsoluteAxisInfo()
481 if (device && device->hasValidFd() && test_bit(axis, device->absBitmask)) { in getAbsoluteAxisValue()
1290 ioctl(fd, EVIOCGBIT(EV_ABS, sizeof(device->absBitmask)), device->absBitmask); in openDeviceLocked()
1328 if (test_bit(ABS_MT_POSITION_X, device->absBitmask) && in openDeviceLocked()
1329 test_bit(ABS_MT_POSITION_Y, device->absBitmask)) { in openDeviceLocked()
1337 } else if (test_bit(BTN_TOUCH, device->keyBitmask) && test_bit(ABS_X, device->absBitmask) && in openDeviceLocked()
1338 test_bit(ABS_Y, device->absBitmask)) { in openDeviceLocked()
1341 } else if ((test_bit(ABS_PRESSURE, device->absBitmask) || in openDeviceLocked()
1343 !test_bit(ABS_X, device->absBitmask) && !test_bit(ABS_Y, device->absBitmask)) { in openDeviceLocked()
[all …]
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h335 uint8_t absBitmask[(ABS_MAX + 1) / 8]; member