Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DEventHub.cpp356 Vector<int32_t> scanCodes; in getKeyCodeState() local
357 device->keyMap.keyLayoutMap->findScanCodesForKey(keyCode, &scanCodes); in getKeyCodeState()
358 if (scanCodes.size() != 0) { in getKeyCodeState()
362 for (size_t i = 0; i < scanCodes.size(); i++) { in getKeyCodeState()
363 int32_t sc = scanCodes.itemAt(i); in getKeyCodeState()
419 Vector<int32_t> scanCodes; in markSupportedKeyCodes() local
421 scanCodes.clear(); in markSupportedKeyCodes()
424 keyCodes[codeIndex], &scanCodes); in markSupportedKeyCodes()
428 for (size_t sc = 0; sc < scanCodes.size(); sc++) { in markSupportedKeyCodes()
429 if (test_bit(scanCodes[sc], device->keyBitmask)) { in markSupportedKeyCodes()
[all …]