Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DKeyCharacterMap.cpp149 mKeysByScanCode.clear(); in clear()
177 for (const auto& [fromScanCode, toAndroidKeyCode] : overlay.mKeysByScanCode) { in combine()
178 mKeysByScanCode.insert_or_assign(fromScanCode, toAndroidKeyCode); in combine()
348 const auto it = mKeysByScanCode.find(scanCode); in mapKey()
349 if (it != mKeysByScanCode.end()) { in mapKey()
682 map->mKeysByScanCode.insert_or_assign(key, value); in readFromParcel()
732 size_t numKeysByScanCode = mKeysByScanCode.size(); in writeToParcel()
734 for (auto const& [fromScanCode, toAndroidKeyCode] : mKeysByScanCode) { in writeToParcel()
896 std::map<int32_t, int32_t>& map = mapUsage ? mMap->mKeysByUsageCode : mMap->mKeysByScanCode; in parseMapKey()
DKeyLayoutMap.cpp233 auto it = mKeysByScanCode.find(scanCode); in getKey()
234 if (it != mKeysByScanCode.end()) { in getKey()
243 for (const auto& [scanCode, key] : mKeysByScanCode) { in findScanCodesForKey()
372 mapUsage ? mMap->mKeysByUsageCode : mMap->mKeysByScanCode; in parseKey()
/frameworks/native/include/input/
DKeyLayoutMap.h102 std::unordered_map<int32_t, Key> mKeysByScanCode; variable
DKeyCharacterMap.h233 std::map<int32_t /* fromScanCode */, int32_t /* toAndroidKeyCode */> mKeysByScanCode; variable