Home
last modified time | relevance | path

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

/aosp12/frameworks/native/services/inputflinger/dispatcher/
H A DInputDispatcher.h279 struct KeyReplacement { struct
282 bool operator==(const KeyReplacement& rhs) const { argument
287 size_t operator()(const KeyReplacement& key) const { in operator()
292 std::unordered_map<KeyReplacement, int32_t, KeyReplacementHash> mReplacedKeys GUARDED_BY(mLock);
H A DInputDispatcher.cpp3765 struct KeyReplacement replacement = {keyCode, deviceId}; in accelerateMetaShortcuts()
3775 struct KeyReplacement replacement = {keyCode, deviceId}; in accelerateMetaShortcuts()
5146 for (const std::pair<KeyReplacement, int32_t>& pair : mReplacedKeys) { in dumpDispatchStateLocked()
5147 const KeyReplacement& replacement = pair.first; in dumpDispatchStateLocked()