Home
last modified time | relevance | path

Searched refs:mFallbackKeys (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp43 for (size_t i = 0; i < mFallbackKeys.size();) { in trackKey()
44 if (mFallbackKeys.valueAt(i) == entry->keyCode) { in trackKey()
45 mFallbackKeys.removeItemsAt(i); in trackKey()
284 mFallbackKeys.clear(); in clear()
307 ssize_t index = mFallbackKeys.indexOfKey(originalKeyCode); in getFallbackKey()
308 return index >= 0 ? mFallbackKeys.valueAt(index) : -1; in getFallbackKey()
312 ssize_t index = mFallbackKeys.indexOfKey(originalKeyCode); in setFallbackKey()
314 mFallbackKeys.replaceValueAt(index, fallbackKeyCode); in setFallbackKey()
316 mFallbackKeys.add(originalKeyCode, fallbackKeyCode); in setFallbackKey()
321 mFallbackKeys.removeItem(originalKeyCode); in removeFallbackKey()
DInputState.h75 inline const KeyedVector<int32_t, int32_t>& getFallbackKeys() const { return mFallbackKeys; } in getFallbackKeys()
109 KeyedVector<int32_t, int32_t> mFallbackKeys; variable