Searched refs:IsKeyMatch (Results 1 - 3 of 3) sorted by relevance
/foundation/multimodalinput/input/service/key_command/include/ |
H A D | key_command_handler.h | 220 bool IsKeyMatch(const ShortcutKey &shortcutKey, const std::shared_ptr<KeyEvent> &key);
|
/foundation/multimodalinput/input/service/key_command/src/ |
H A D | key_command_handler.cpp | 1634 if (IsKeyMatch(lastMatchedKey_, keyEvent)) { in HandleShortKeys() 1638 if (currentLaunchAbilityKey_.timerId >= 0 && IsKeyMatch(currentLaunchAbilityKey_, keyEvent)) { in HandleShortKeys() 1701 if (!IsKeyMatch(shortcutKey, keyEvent)) { in MatchShortcutKey() 1974 bool KeyCommandHandler::IsKeyMatch(const ShortcutKey &shortcutKey, const std::shared_ptr<KeyEvent> &key) in IsKeyMatch() function in OHOS::MMI::KeyCommandHandler
|
/foundation/multimodalinput/input/service/key_command/test/ |
H A D | key_command_handler_test.cpp | 416 EXPECT_FALSE(handler.IsKeyMatch(shortcutKey, keyEvent)); in HWTEST_F() 768 EXPECT_FALSE(handler.IsKeyMatch(shortcutKey, keyEvent)); in HWTEST_F() 1227 * @tc.desc: Test the funcation IsKeyMatch 1251 EXPECT_FALSE(handler.IsKeyMatch(shortcutKey, keyEvent)); 2768 * @tc.desc: IsKeyMatch 2787 ASSERT_FALSE(handler.IsKeyMatch(shortcutKey, keyEvent)); 2794 ASSERT_FALSE(handler.IsKeyMatch(shortcutKey, keyEvent)); 4012 bool result = handler.IsKeyMatch(handler.lastMatchedKey_, keyEvent); 4043 bool result = handler.IsKeyMatch(handler.currentLaunchAbilityKey_, keyEvent); 4530 handler.IsKeyMatch(handle [all...] |
Completed in 10 milliseconds