Searched refs:IsKeyMatch (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/multimodalinput/input/service/key_command/include/ |
H A D | key_command_handler.h | 214 bool IsKeyMatch(const ShortcutKey &shortcutKey, const std::shared_ptr<KeyEvent> &key);
|
/ohos5.0/foundation/multimodalinput/input/service/key_command/src/ |
H A D | key_command_handler.cpp | 1805 if (IsKeyMatch(lastMatchedKey_, keyEvent)) { in HandleShortKeys() 1809 if (currentLaunchAbilityKey_.timerId >= 0 && IsKeyMatch(currentLaunchAbilityKey_, keyEvent)) { in HandleShortKeys() 1831 if (!IsKeyMatch(shortcutKey, keyEvent)) { in HandleShortKeys() 2135 bool KeyCommandHandler::IsKeyMatch(const ShortcutKey &shortcutKey, const std::shared_ptr<KeyEvent> … in IsKeyMatch() function in OHOS::MMI::KeyCommandHandler
|
/ohos5.0/foundation/multimodalinput/input/service/key_command/test/ |
H A D | key_command_handler_test.cpp | 2025 ASSERT_FALSE(handler.IsKeyMatch(shortcutKey, keyEvent)); 2032 ASSERT_FALSE(handler.IsKeyMatch(shortcutKey, keyEvent)); 3252 bool result = handler.IsKeyMatch(handler.lastMatchedKey_, keyEvent); 3283 bool result = handler.IsKeyMatch(handler.currentLaunchAbilityKey_, keyEvent); 3716 handler.IsKeyMatch(handler.currentLaunchAbilityKey_, key);
|