Home
last modified time | relevance | path

Searched refs:keyMap (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/input/
DKeyboard.cpp172 const PropertyMap* deviceConfiguration, const KeyMap* keyMap) { in isEligibleBuiltInKeyboard() argument
174 if (!keyMap->haveKeyCharacterMap() || isKeyboardSpecialFunction(deviceConfiguration) || in isEligibleBuiltInKeyboard()
175 keyMap->keyCharacterMap->getKeyboardType() == in isEligibleBuiltInKeyboard()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp577 return keyMap.keyCharacterMap; in getKeyCharacterMap()
659 if (!keyMap.haveKeyLayout()) { in hasKeycodeLocked()
663 std::vector<int32_t> scanCodes = keyMap.keyLayoutMap->findScanCodesForKey(keycode); in hasKeycodeLocked()
672 std::vector<int32_t> usageCodes = keyMap.keyLayoutMap->findUsageCodesForKey(keycode); in hasKeycodeLocked()
712 return keyMap.load(identifier, configuration.get()); in loadKeyMapLocked()
759 if (!keyMap.haveKeyLayout()) { in mapLed()
763 std::optional<int32_t> scanCode = keyMap.keyLayoutMap->findScanCodeForLed(led); in mapLed()
1065 if (device == nullptr || !device->hasValidFd() || !device->keyMap.haveKeyLayout()) { in getKeyCodeState()
1069 device->keyMap.keyLayoutMap->findScanCodesForKey(keyCode); in getKeyCodeState()
1085 if (device == nullptr || !device->hasValidFd() || device->keyMap.keyCharacterMap == nullptr || in getKeyCodeForKeyLocation()
[all …]
/frameworks/native/include/input/
DKeyboard.h70 const PropertyMap* deviceConfiguration, const KeyMap* keyMap);
/frameworks/av/media/codec2/sfplugin/
DReflectedParamUpdater.cpp259 std::set<std::string> keyMap(keys.begin(), keys.end()); in getParamIndicesForKeys() local
262 keyMap.size(), mMap.size()); in getParamIndicesForKeys()
266 ALOGV("count of %s is %zu", name.c_str(), keyMap.count(name)); in getParamIndicesForKeys()
267 if (keyMap.count(name) > 0) { in getParamIndicesForKeys()
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h659 KeyMap keyMap; member