Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DKeyLayoutMap.cpp115 ssize_t index = mKeysByScanCode.indexOfKey(scanCode); in getKey()
117 return &mKeysByScanCode.valueAt(index); in getKey()
125 const size_t N = mKeysByScanCode.size(); in findScanCodesForKey()
127 if (mKeysByScanCode.valueAt(i).keyCode == keyCode) { in findScanCodesForKey()
128 outScanCodes->push_back(mKeysByScanCode.keyAt(i)); in findScanCodesForKey()
258 KeyedVector<int32_t, Key>& map = mapUsage ? mMap->mKeysByUsageCode : mMap->mKeysByScanCode; in parseKey()
DKeyCharacterMap.cpp95 RefBase(), mType(other.mType), mKeysByScanCode(other.mKeysByScanCode), in KeyCharacterMap()
187 for (size_t i = 0; i < overlay->mKeysByScanCode.size(); i++) { in combine()
188 map->mKeysByScanCode.replaceValueFor(overlay->mKeysByScanCode.keyAt(i), in combine()
189 overlay->mKeysByScanCode.valueAt(i)); in combine()
344 ssize_t index = mKeysByScanCode.indexOfKey(scanCode); in mapKey()
346 *outKeyCode = mKeysByScanCode.valueAt(index); in mapKey()
874 mapUsage ? mMap->mKeysByUsageCode : mMap->mKeysByScanCode; in parseMapKey()
/frameworks/native/include/input/
DKeyLayoutMap.h89 KeyedVector<int32_t, Key> mKeysByScanCode; variable
DKeyCharacterMap.h232 KeyedVector<int32_t, int32_t> mKeysByScanCode; variable