Searched refs:keysByScanCode (Results 1 – 2 of 2) sorted by relevance
146 device->keysByScanCode.add(scanCode, info); in addKey()332 ssize_t index = device->keysByScanCode.indexOfKey(scanCode); in getKey()334 return &device->keysByScanCode.valueAt(index); in getKey()481 bool result = device->keysByScanCode.size() > 0 || device->keysByUsageCode.size() > 0; in markSupportedKeyCodes()483 for (size_t j = 0; j < device->keysByScanCode.size(); j++) { in markSupportedKeyCodes()484 if (keyCodes[i] == device->keysByScanCode.valueAt(j).keyCode) { in markSupportedKeyCodes()500 ssize_t index = device->keysByScanCode.indexOfKey(scanCode); in hasScanCode()511 for (size_t i = 0; i < device->keysByScanCode.size(); i++) { in hasKeyCode()512 if (keyCode == device->keysByScanCode.valueAt(i).keyCode) { in hasKeyCode()
56 KeyedVector<int32_t, KeyInfo> keysByScanCode; member