Lines Matching refs:mKeys
97 for (size_t i = 0; i < other.mKeys.size(); i++) { in KeyCharacterMap()
98 mKeys.add(other.mKeys.keyAt(i), new Key(*other.mKeys.valueAt(i))); in KeyCharacterMap()
103 for (size_t i = 0; i < mKeys.size(); i++) { in ~KeyCharacterMap()
104 Key* key = mKeys.editValueAt(i); in ~KeyCharacterMap()
175 for (size_t i = 0; i < overlay->mKeys.size(); i++) { in combine()
176 int32_t keyCode = overlay->mKeys.keyAt(i); in combine()
177 Key* key = overlay->mKeys.valueAt(i); in combine()
178 ssize_t oldIndex = map->mKeys.indexOfKey(keyCode); in combine()
180 delete map->mKeys.valueAt(oldIndex); in combine()
181 map->mKeys.editValueAt(oldIndex) = new Key(*key); in combine()
183 map->mKeys.add(keyCode, new Key(*key)); in combine()
405 ssize_t index = mKeys.indexOfKey(keyCode); in getKey()
407 *outKey = mKeys.valueAt(index); in getKey()
466 for (size_t i = 0; i < mKeys.size(); i++) { in findKey()
467 const Key* key = mKeys.valueAt(i); in findKey()
478 *outKeyCode = mKeys.keyAt(i); in findKey()
626 map->mKeys.add(keyCode, key); in readFromParcel()
661 size_t numKeys = mKeys.size(); in writeToParcel()
664 int32_t keyCode = mKeys.keyAt(i); in writeToParcel()
665 const Key* key = mKeys.valueAt(i); in writeToParcel()
906 if (mMap->mKeys.indexOfKey(keyCode) >= 0) { in parseKey()
924 mMap->mKeys.add(keyCode, new Key()); in parseKey()
930 Key* key = mMap->mKeys.valueFor(mKeyCode); in parseKeyProperty()