Home
last modified time | relevance | path

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

/foundation/multimodalinput/input/service/subscriber/include/
H A Dkey_subscriber_handler.h85 bool IsPreKeysMatch(const std::set<int32_t> &preKeys, const std::vector<int32_t> &pressedKeys) const;
/foundation/multimodalinput/input/service/subscriber/src/
H A Dkey_subscriber_handler.cpp649 bool KeySubscriberHandler::IsPreKeysMatch(const std::set<int32_t> &preKeys, in IsPreKeysMatch() function in OHOS::MMI::KeySubscriberHandler
958 if (!IsPreKeysMatch(keyOption->GetPreKeys(), pressedKeys)) { in HandleKeyDown()
1019 if (!IsPreKeysMatch(keyOption->GetPreKeys(), pressedKeys)) { in HandleKeyUp()
/foundation/multimodalinput/input/service/subscriber/test/
H A Dkey_subscriber_handler_test.cpp422 ASSERT_TRUE(handler.IsPreKeysMatch(preKeys, pressedKeys)); in HWTEST_F()
424 ASSERT_TRUE(handler.IsPreKeysMatch(preKeys, pressedKeys)); in HWTEST_F()
426 ASSERT_FALSE(handler.IsPreKeysMatch(preKeys, pressedKeys)); in HWTEST_F()
429 ASSERT_FALSE(handler.IsPreKeysMatch(preKeys, pressedKeys)); in HWTEST_F()
1395 * @tc.desc: Test IsPreKeysMatch
1407 ASSERT_FALSE(handler.IsPreKeysMatch(preKeys, pressedKeys)); in HWTEST_F()
1412 ASSERT_TRUE(handler.IsPreKeysMatch(preKeys, pressedKeys)); in HWTEST_F()

Completed in 7 milliseconds