Lines Matching refs:KeyLayoutMap
130 KeyLayoutMap::KeyLayoutMap() = default;
131 KeyLayoutMap::~KeyLayoutMap() = default;
133 base::Result<std::shared_ptr<KeyLayoutMap>> KeyLayoutMap::loadContents(const std::string& filename, in loadContents()
138 base::Result<std::shared_ptr<KeyLayoutMap>> KeyLayoutMap::load(const std::string& filename, in load()
156 const std::shared_ptr<KeyLayoutMap>& map = *ret; in load()
166 base::Result<std::shared_ptr<KeyLayoutMap>> KeyLayoutMap::load(Tokenizer* tokenizer) { in load()
167 std::shared_ptr<KeyLayoutMap> map = std::shared_ptr<KeyLayoutMap>(new KeyLayoutMap()); in load()
191 status_t KeyLayoutMap::mapKey(int32_t scanCode, int32_t usageCode, in mapKey()
212 base::Result<std::pair<InputDeviceSensorType, int32_t>> KeyLayoutMap::mapSensor( in mapSensor()
225 const KeyLayoutMap::Key* KeyLayoutMap::getKey(int32_t scanCode, int32_t usageCode) const { in getKey()
241 std::vector<int32_t> KeyLayoutMap::findScanCodesForKey(int32_t keyCode) const { in findScanCodesForKey()
251 std::vector<int32_t> KeyLayoutMap::findUsageCodesForKey(int32_t keyCode) const { in findUsageCodesForKey()
261 std::optional<AxisInfo> KeyLayoutMap::mapAxis(int32_t scanCode) const { in mapAxis()
277 std::optional<int32_t> KeyLayoutMap::findScanCodeForLed(int32_t ledCode) const { in findScanCodeForLed()
288 std::optional<int32_t> KeyLayoutMap::findUsageCodeForLed(int32_t ledCode) const { in findUsageCodeForLed()
301 KeyLayoutMap::Parser::Parser(KeyLayoutMap* map, Tokenizer* tokenizer) : in Parser()
305 KeyLayoutMap::Parser::~Parser() { in ~Parser()
308 status_t KeyLayoutMap::Parser::parse() { in parse()
356 status_t KeyLayoutMap::Parser::parseKey() { in parseKey()
418 status_t KeyLayoutMap::Parser::parseAxis() { in parseAxis()
522 status_t KeyLayoutMap::Parser::parseLed() { in parseLed()
595 status_t KeyLayoutMap::Parser::parseSensor() { in parseSensor()
644 status_t KeyLayoutMap::Parser::parseRequiredKernelConfig() { in parseRequiredKernelConfig()