Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DEventHub.cpp349 Vector<int32_t> scanCodes; in getKeyCodeState() local
350 device->keyMap.keyLayoutMap->findScanCodesForKey(keyCode, &scanCodes); in getKeyCodeState()
351 if (scanCodes.size() != 0) { in getKeyCodeState()
355 for (size_t i = 0; i < scanCodes.size(); i++) { in getKeyCodeState()
356 int32_t sc = scanCodes.itemAt(i); in getKeyCodeState()
412 Vector<int32_t> scanCodes; in markSupportedKeyCodes() local
414 scanCodes.clear(); in markSupportedKeyCodes()
417 keyCodes[codeIndex], &scanCodes); in markSupportedKeyCodes()
421 for (size_t sc = 0; sc < scanCodes.size(); sc++) { in markSupportedKeyCodes()
422 if (test_bit(scanCodes[sc], device->keyBitmask)) { in markSupportedKeyCodes()
[all …]