Lines Matching refs:keyMap

405     return keyMap.keyCharacterMap;  in getKeyCharacterMap()
448 if (!keyMap.haveKeyLayout()) { in hasKeycodeLocked()
453 keyMap.keyLayoutMap->findScanCodesForKey(keycode, &scanCodes); in hasKeycodeLocked()
497 return keyMap.load(identifier, configuration.get()); in loadKeyMapLocked()
544 if (!keyMap.haveKeyLayout()) { in mapLed()
549 if (keyMap.keyLayoutMap->findScanCodeForLed(led, &scanCode) != NAME_NOT_FOUND) { in mapLed()
839 if (device != nullptr && device->hasValidFd() && device->keyMap.haveKeyLayout()) { in getKeyCodeState()
841 device->keyMap.keyLayoutMap->findScanCodesForKey(keyCode, &scanCodes); in getKeyCodeState()
898 if (device != nullptr && device->keyMap.haveKeyLayout()) { in markSupportedKeyCodes()
903 status_t err = device->keyMap.keyLayoutMap->findScanCodesForKey(keyCodes[codeIndex], in markSupportedKeyCodes()
938 if (status != NO_ERROR && device->keyMap.haveKeyLayout()) { in mapKey()
939 if (!device->keyMap.keyLayoutMap->mapKey(scanCode, usageCode, outKeycode, outFlags)) { in mapKey()
966 if (device != nullptr && device->keyMap.haveKeyLayout()) { in mapAxis()
967 status_t err = device->keyMap.keyLayoutMap->mapAxis(scanCode, outAxisInfo); in mapAxis()
981 if (device != nullptr && device->keyMap.haveKeyLayout()) { in mapSensor()
982 return device->keyMap.keyLayoutMap->mapSensor(absCode); in mapSensor()
1230 if (device == nullptr || map == nullptr || device->keyMap.keyCharacterMap == nullptr) { in setKeyboardLayoutOverlay()
1233 device->keyMap.keyCharacterMap->combine(*map); in setKeyboardLayoutOverlay()
2085 &device->keyMap)) { in openDeviceLocked()
2155 device->keyMap.keyLayoutFile.c_str(), device->keyMap.keyCharacterMapFile.c_str(), in openDeviceLocked()
2445 device->keyMap.keyLayoutFile.c_str()); in dump()
2447 device->keyMap.keyCharacterMapFile.c_str()); in dump()