Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DEventHub.cpp373 Vector<int32_t> scanCodes; in getKeyCodeState() local
374 device->keyMap.keyLayoutMap->findScanCodesForKey(keyCode, &scanCodes); in getKeyCodeState()
375 if (scanCodes.size() != 0) { in getKeyCodeState()
379 for (size_t i = 0; i < scanCodes.size(); i++) { in getKeyCodeState()
380 int32_t sc = scanCodes.itemAt(i); in getKeyCodeState()
436 Vector<int32_t> scanCodes; in markSupportedKeyCodes() local
438 scanCodes.clear(); in markSupportedKeyCodes()
441 keyCodes[codeIndex], &scanCodes); in markSupportedKeyCodes()
445 for (size_t sc = 0; sc < scanCodes.size(); sc++) { in markSupportedKeyCodes()
446 if (test_bit(scanCodes[sc], device->keyBitmask)) { in markSupportedKeyCodes()
[all …]