Searched refs:mKeyCache (Results 1 – 1 of 1) sorted by relevance
94 private final SparseArray<Key> mKeyCache = new SparseArray<>(); field in Keyboard194 synchronized (mKeyCache) { in getKey()195 final int index = mKeyCache.indexOfKey(code); in getKey()197 return mKeyCache.valueAt(index); in getKey()202 mKeyCache.put(code, key); in getKey()206 mKeyCache.put(code, null); in getKey()212 if (mKeyCache.indexOfValue(aKey) >= 0) { in hasKey()218 mKeyCache.put(key.getCode(), key); in hasKey()