Searched refs:keyMap (Results 1 – 5 of 5) sorted by relevance
172 const PropertyMap* deviceConfiguration, const KeyMap* keyMap) { in isEligibleBuiltInKeyboard() argument174 if (!keyMap->haveKeyCharacterMap() || isKeyboardSpecialFunction(deviceConfiguration) || in isEligibleBuiltInKeyboard()175 keyMap->keyCharacterMap->getKeyboardType() == in isEligibleBuiltInKeyboard()
577 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 …]
70 const PropertyMap* deviceConfiguration, const KeyMap* keyMap);
259 std::set<std::string> keyMap(keys.begin(), keys.end()); in getParamIndicesForKeys() local262 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()
659 KeyMap keyMap; member