Home
last modified time | relevance | path

Searched refs:IsPreKeysMatch (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/multimodalinput/input/service/subscriber/include/
H A Dkey_subscriber_handler.h79 …bool IsPreKeysMatch(const std::set<int32_t> &preKeys, const std::vector<int32_t> &pressedKeys) con…
/ohos5.0/foundation/multimodalinput/input/service/subscriber/src/
H A Dkey_subscriber_handler.cpp508 bool KeySubscriberHandler::IsPreKeysMatch(const std::set<int32_t> &preKeys, in IsPreKeysMatch() function in OHOS::MMI::KeySubscriberHandler
807 if (!IsPreKeysMatch(keyOption->GetPreKeys(), pressedKeys)) { in HandleKeyDown()
865 if (!IsPreKeysMatch(keyOption->GetPreKeys(), pressedKeys)) { in HandleKeyUp()
/ohos5.0/foundation/multimodalinput/input/service/subscriber/test/
H A Dkey_subscriber_handler_test.cpp293 ASSERT_TRUE(handler.IsPreKeysMatch(preKeys, pressedKeys));
295 ASSERT_TRUE(handler.IsPreKeysMatch(preKeys, pressedKeys));
297 ASSERT_FALSE(handler.IsPreKeysMatch(preKeys, pressedKeys));
300 ASSERT_FALSE(handler.IsPreKeysMatch(preKeys, pressedKeys));
1345 ASSERT_FALSE(handler.IsPreKeysMatch(preKeys, pressedKeys));
1350 ASSERT_TRUE(handler.IsPreKeysMatch(preKeys, pressedKeys));