Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DKeyCharacterMap.cpp96 mKeysByScanCode(other.mKeysByScanCode), in KeyCharacterMap()
118 mKeysByScanCode.size() != other.mKeysByScanCode.size() || in operator ==()
134 for (size_t i = 0; i < mKeysByScanCode.size(); i++) { in operator ==()
135 if (mKeysByScanCode.keyAt(i) != other.mKeysByScanCode.keyAt(i)) { in operator ==()
138 if (mKeysByScanCode.valueAt(i) != other.mKeysByScanCode.valueAt(i)) { in operator ==()
221 mKeysByScanCode.clear(); in clear()
261 for (size_t i = 0; i < overlay.mKeysByScanCode.size(); i++) { in combine()
262 mKeysByScanCode.replaceValueFor(overlay.mKeysByScanCode.keyAt(i), in combine()
263 overlay.mKeysByScanCode.valueAt(i)); in combine()
418 ssize_t index = mKeysByScanCode.indexOfKey(scanCode); in mapKey()
[all …]
DKeyLayoutMap.cpp208 ssize_t index = mKeysByScanCode.indexOfKey(scanCode); in getKey()
210 return &mKeysByScanCode.valueAt(index); in getKey()
218 const size_t N = mKeysByScanCode.size(); in findScanCodesForKey()
220 if (mKeysByScanCode.valueAt(i).keyCode == keyCode) { in findScanCodesForKey()
221 outScanCodes->push_back(mKeysByScanCode.keyAt(i)); in findScanCodesForKey()
348 KeyedVector<int32_t, Key>& map = mapUsage ? mMap->mKeysByUsageCode : mMap->mKeysByScanCode; in parseKey()
/frameworks/native/include/input/
DKeyLayoutMap.h103 KeyedVector<int32_t, Key> mKeysByScanCode; variable
DKeyCharacterMap.h237 KeyedVector<int32_t, int32_t> mKeysByScanCode; variable