Searched refs:ShortcutKey (Results 1 - 9 of 9) sorted by relevance
/foundation/multimodalinput/input/service/key_command/include/ |
H A D | key_command_handler.h | 74 struct ShortcutKey { struct 217 void LaunchAbility(const ShortcutKey &key); 220 bool IsKeyMatch(const ShortcutKey &shortcutKey, const std::shared_ptr<KeyEvent> &key); 222 bool HandleKeyUp(const std::shared_ptr<KeyEvent> &keyEvent, const ShortcutKey &shortcutKey); 223 bool HandleKeyDown(ShortcutKey &shortcutKey); 224 bool HandleKeyCancel(ShortcutKey &shortcutKey); 244 ShortcutKey &shortcutKey, std::vector<ShortcutKey> &upAbilities); 331 ShortcutKey lastMatchedKey_; 332 ShortcutKey currentLaunchAbilityKey [all...] |
H A D | key_command_handler_util.h | 110 bool GetPreKeys(const cJSON* jsonData, ShortcutKey &shortcutKey); 118 bool ConvertToShortcutKey(const cJSON* jsonData, ShortcutKey &shortcutKey, std::vector<std::string> &businessIds); 130 std::string GenerateKey(const ShortcutKey& key); 131 bool ParseShortcutKeys(const JsonParser& parser, std::map<std::string, ShortcutKey>& shortcutKeyMap,
|
/foundation/multimodalinput/input/service/key_command/test/ |
H A D | key_command_handler_util_test.cpp | 108 ShortcutKey shortcutKey; in HWTEST_F() 129 ShortcutKey shortcutKey; in HWTEST_F() 146 ShortcutKey shortcutKey; in HWTEST_F() 165 ShortcutKey shortcutKey; in HWTEST_F() 185 ShortcutKey shortcutKey; in HWTEST_F() 296 ShortcutKey shortcutKey; in HWTEST_F() 312 ShortcutKey shortcutKey; in HWTEST_F() 332 ShortcutKey shortcutKey; in HWTEST_F() 350 ShortcutKey shortcutKey; in HWTEST_F() 368 ShortcutKey shortcutKe in HWTEST_F() [all...] |
H A D | key_command_handler_test.cpp | 411 ShortcutKey shortcutKey; in HWTEST_F() 412 std::vector<ShortcutKey> upAbilities; in HWTEST_F() 741 ShortcutKey shortcutKey; in HWTEST_F() 763 ShortcutKey shortcutKey; in HWTEST_F() 764 std::vector<ShortcutKey> upAbilities; in HWTEST_F() 805 std::vector<ShortcutKey> upAbilities; in HWTEST_F() 806 ShortcutKey key1; in HWTEST_F() 959 ShortcutKey key; in HWTEST_F() 1236 ShortcutKey shortcutKey; 1237 std::vector<ShortcutKey> upAbilitie [all...] |
/foundation/multimodalinput/input/service/key_command/src/ |
H A D | key_command_handler_util.cpp | 48 bool GetPreKeys(const cJSON* jsonData, ShortcutKey &shortcutKey) in GetPreKeys() 241 bool ConvertToShortcutKey(const cJSON* jsonData, ShortcutKey &shortcutKey, std::vector<std::string> &businessIds) in ConvertToShortcutKey() 556 std::string GenerateKey(const ShortcutKey& key) in GenerateKey() 570 static int32_t RegisterSystemKey(const ShortcutKey &shortcutKey, in RegisterSystemKey() 585 bool ParseShortcutKeys(const JsonParser& parser, std::map<std::string, ShortcutKey>& shortcutKeyMap, in ParseShortcutKeys() 595 ShortcutKey shortcutKey; in ParseShortcutKeys()
|
H A D | key_command_handler.cpp | 1045 MMI_HILOGI("ShortcutKey count:%{public}zu", shortcutKeys_.size()); in Print() 1157 ShortcutKey &shortcutKey = item.second; in ParseStatusConfigObserver() 1161 CreateStatusConfigObserver<ShortcutKey>(shortcutKey); in ParseStatusConfigObserver() 1667 std::vector<ShortcutKey> upAbilities; in MatchShortcutKeys() 1674 [](const ShortcutKey &lShortcutKey, const ShortcutKey &rShortcutKey) -> bool { in MatchShortcutKeys() 1677 ShortcutKey tmpShorteKey = upAbilities.front(); in MatchShortcutKeys() 1696 ShortcutKey &shortcutKey, std::vector<ShortcutKey> &upAbilities) in MatchShortcutKey() 1974 bool KeyCommandHandler::IsKeyMatch(const ShortcutKey [all...] |
/foundation/multimodalinput/input/service/subscriber/include/ |
H A D | key_shortcut_manager.h | 90 void MarkShortcutConsumed(const ShortcutKey &shortcut);
|
/foundation/multimodalinput/input/service/subscriber/src/ |
H A D | key_shortcut_manager.cpp | 817 void KeyShortcutManager::MarkShortcutConsumed(const ShortcutKey &shortcut) in MarkShortcutConsumed()
|
/foundation/multimodalinput/input/service/subscriber/test/src/ |
H A D | key_shortcut_manager_test.cpp | 987 * @tc.desc: Test the funcation MarkShortcutConsumed(ShortcutKey) 995 ShortcutKey shortcut; in HWTEST_F()
|
Completed in 12 milliseconds