Lines Matching refs:KeyCharacterMap

89 KeyCharacterMap::KeyCharacterMap(const std::string& filename)  in KeyCharacterMap()  function in android::KeyCharacterMap
92 KeyCharacterMap::KeyCharacterMap(const KeyCharacterMap& other) in KeyCharacterMap() function in android::KeyCharacterMap
103 KeyCharacterMap::~KeyCharacterMap() { in ~KeyCharacterMap()
107 bool KeyCharacterMap::operator==(const KeyCharacterMap& other) const { in operator ==()
155 bool KeyCharacterMap::operator!=(const KeyCharacterMap& other) const { in operator !=()
159 base::Result<std::shared_ptr<KeyCharacterMap>> KeyCharacterMap::load(const std::string& filename, in load()
166 std::shared_ptr<KeyCharacterMap> map = in load()
167 std::shared_ptr<KeyCharacterMap>(new KeyCharacterMap(filename)); in load()
180 base::Result<std::shared_ptr<KeyCharacterMap>> KeyCharacterMap::loadContents( in loadContents()
188 std::shared_ptr<KeyCharacterMap> map = in loadContents()
189 std::shared_ptr<KeyCharacterMap>(new KeyCharacterMap(filename)); in loadContents()
202 status_t KeyCharacterMap::load(Tokenizer* tokenizer, Format format) { in load()
220 void KeyCharacterMap::clear() { in clear()
232 status_t KeyCharacterMap::reloadBaseFromFile() { in reloadBaseFromFile()
242 return load(t.get(), KeyCharacterMap::Format::BASE); in reloadBaseFromFile()
245 void KeyCharacterMap::combine(const KeyCharacterMap& overlay) { in combine()
273 KeyCharacterMap::KeyboardType KeyCharacterMap::getKeyboardType() const { in getKeyboardType()
277 const std::string KeyCharacterMap::getLoadFileName() const { in getLoadFileName()
281 char16_t KeyCharacterMap::getDisplayLabel(int32_t keyCode) const { in getDisplayLabel()
293 char16_t KeyCharacterMap::getNumber(int32_t keyCode) const { in getNumber()
305 char16_t KeyCharacterMap::getCharacter(int32_t keyCode, int32_t metaState) const { in getCharacter()
318 bool KeyCharacterMap::getFallbackAction(int32_t keyCode, int32_t metaState, in getFallbackAction()
342 char16_t KeyCharacterMap::getMatch(int32_t keyCode, const char16_t* chars, size_t numChars, in getMatch()
372 bool KeyCharacterMap::getEvents(int32_t deviceId, const char16_t* chars, size_t numChars, in getEvents()
405 status_t KeyCharacterMap::mapKey(int32_t scanCode, int32_t usageCode, int32_t* outKeyCode) const { in mapKey()
436 void KeyCharacterMap::tryRemapKey(int32_t keyCode, int32_t metaState, in tryRemapKey()
478 bool KeyCharacterMap::getKey(int32_t keyCode, const Key** outKey) const { in getKey()
487 bool KeyCharacterMap::getKeyBehavior(int32_t keyCode, int32_t metaState, in getKeyBehavior()
504 bool KeyCharacterMap::matchesMetaState(int32_t eventMetaState, int32_t behaviorMetaState) { in matchesMetaState()
535 bool KeyCharacterMap::findKey(char16_t ch, int32_t* outKeyCode, int32_t* outMetaState) const { in findKey()
560 void KeyCharacterMap::addKey(Vector<KeyEvent>& outEvents, in addKey()
569 void KeyCharacterMap::addMetaKeys(Vector<KeyEvent>& outEvents, in addMetaKeys()
634 bool KeyCharacterMap::addSingleEphemeralMetaKey(Vector<KeyEvent>& outEvents, in addSingleEphemeralMetaKey()
646 void KeyCharacterMap::addDoubleEphemeralMetaKey(Vector<KeyEvent>& outEvents, in addDoubleEphemeralMetaKey()
664 void KeyCharacterMap::addLockedMetaKey(Vector<KeyEvent>& outEvents, in addLockedMetaKey()
677 std::shared_ptr<KeyCharacterMap> KeyCharacterMap::readFromParcel(Parcel* parcel) { in readFromParcel()
683 std::shared_ptr<KeyCharacterMap> map = in readFromParcel()
684 std::shared_ptr<KeyCharacterMap>(new KeyCharacterMap(loadFileName)); in readFromParcel()
685 map->mType = static_cast<KeyCharacterMap::KeyboardType>(parcel->readInt32()); in readFromParcel()
763 void KeyCharacterMap::writeToParcel(Parcel* parcel) const { in writeToParcel()
807 KeyCharacterMap::Key::Key() : in Key()
811 KeyCharacterMap::Key::Key(const Key& other) : in Key()
816 KeyCharacterMap::Key::~Key() { in ~Key()
828 KeyCharacterMap::Behavior::Behavior() : in Behavior()
832 KeyCharacterMap::Behavior::Behavior(const Behavior& other) : in Behavior()
842 KeyCharacterMap::Parser::Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format) : in Parser()
846 KeyCharacterMap::Parser::~Parser() { in ~Parser()
849 status_t KeyCharacterMap::Parser::parse() { in parse()
931 status_t KeyCharacterMap::Parser::parseType() { in parseType()
968 status_t KeyCharacterMap::Parser::parseMap() { in parseMap()
979 status_t KeyCharacterMap::Parser::parseMapKey() { in parseMapKey()
1020 status_t KeyCharacterMap::Parser::parseKey() { in parseKey()
1051 status_t KeyCharacterMap::Parser::parseKeyProperty() { in parseKeyProperty()
1240 status_t KeyCharacterMap::Parser::finishKey(Key* key) { in finishKey()
1262 status_t KeyCharacterMap::Parser::parseModifier(const std::string& token, int32_t* outMetaState) { in parseModifier()
1305 status_t KeyCharacterMap::Parser::parseCharacterLiteral(char16_t* outCharacter) { in parseCharacterLiteral()