Lines Matching refs:keyMap

460     if (device && device->hasValidFd() && device->keyMap.haveKeyLayout()) {  in getKeyCodeState()
462 device->keyMap.keyLayoutMap->findScanCodesForKey(keyCode, &scanCodes); in getKeyCodeState()
523 if (device && device->keyMap.haveKeyLayout()) { in markSupportedKeyCodes()
528 status_t err = device->keyMap.keyLayoutMap->findScanCodesForKey(keyCodes[codeIndex], in markSupportedKeyCodes()
563 if (status != NO_ERROR && device->keyMap.haveKeyLayout()) { in mapKey()
564 if (!device->keyMap.keyLayoutMap->mapKey(scanCode, usageCode, outKeycode, outFlags)) { in mapKey()
591 if (device && device->keyMap.haveKeyLayout()) { in mapAxis()
592 status_t err = device->keyMap.keyLayoutMap->mapAxis(scanCode, outAxisInfo); in mapAxis()
681 device->combinedKeyMap = KeyCharacterMap::combine(device->keyMap.keyCharacterMap, map); in setKeyboardLayoutOverlay()
1420 isEligibleBuiltInKeyboard(device->identifier, device->configuration, &device->keyMap)) { in openDeviceLocked()
1496 device->configurationFile.c_str(), device->keyMap.keyLayoutFile.c_str(), in openDeviceLocked()
1497 device->keyMap.keyCharacterMapFile.c_str(), toString(mBuiltInKeyboardId == deviceId)); in openDeviceLocked()
1645 return device->keyMap.load(device->identifier, device->configuration); in loadKeyMapLocked()
1695 if (!device->keyMap.haveKeyLayout()) { in hasKeycodeLocked()
1700 device->keyMap.keyLayoutMap->findScanCodesForKey(keycode, &scanCodes); in hasKeycodeLocked()
1713 if (!device->keyMap.haveKeyLayout()) { in mapLed()
1718 if (device->keyMap.keyLayoutMap->findScanCodeForLed(led, &scanCode) != NAME_NOT_FOUND) { in mapLed()
1948 device->keyMap.keyLayoutFile.c_str()); in dump()
1950 device->keyMap.keyCharacterMapFile.c_str()); in dump()