Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/
DEventHub.cpp667 if (sc >= 0 && sc <= KEY_MAX && keyBitmask.test(sc)) { in hasKeycodeLocked()
1056 if (device == nullptr || !device->hasValidFd() || !device->keyBitmask.test(scanCode)) { in getScanCodeState()
1473 return device->keyBitmask.test(scanCode); in hasScanCode()
2359 device->readDeviceBitMask(EVIOCGBIT(EV_KEY, 0), device->keyBitmask); in openDeviceLocked()
2371 device->keyBitmask.any(0, BTN_MISC) || device->keyBitmask.any(BTN_WHEEL, KEY_MAX + 1); in openDeviceLocked()
2372 bool haveGamepadButtons = device->keyBitmask.any(BTN_MISC, BTN_MOUSE) || in openDeviceLocked()
2373 device->keyBitmask.any(BTN_JOYSTICK, BTN_DIGI); in openDeviceLocked()
2374 bool haveStylusButtons = device->keyBitmask.test(BTN_STYLUS) || in openDeviceLocked()
2375 device->keyBitmask.test(BTN_STYLUS2) || device->keyBitmask.test(BTN_STYLUS3); in openDeviceLocked()
2381 if (device->keyBitmask.test(BTN_MOUSE) && device->relBitmask.test(REL_X) && in openDeviceLocked()
[all …]
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h640 BitArray<KEY_CNT> keyBitmask; member