Home
last modified time | relevance | path

Searched refs:GetPreKeys (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/
H A Dkey_event_input_subscribe_manager.cpp58 const std::set<int32_t> sPrekeys { first.GetPreKeys() }; in operator <()
59 const std::set<int32_t> tPrekeys { second.GetPreKeys() }; in operator <()
98 std::set<int32_t> preKeys = keyOption->GetPreKeys(); in SubscribeKeyEvent()
/ohos5.0/foundation/multimodalinput/input/service/key_command/test/
H A Dkey_command_handler_util_test.cpp109 bool result = OHOS::MMI::GetPreKeys(jsonData, shortcutKey);
130 bool result = OHOS::MMI::GetPreKeys(jsonData, shortcutKey);
147 bool result = OHOS::MMI::GetPreKeys(jsonData, shortcutKey);
166 bool result = OHOS::MMI::GetPreKeys(jsonData, shortcutKey);
186 bool result = OHOS::MMI::GetPreKeys(jsonData, shortcutKey);
297 EXPECT_FALSE(OHOS::MMI::GetPreKeys(jsonData, shortcutKey));
313 EXPECT_FALSE(OHOS::MMI::GetPreKeys(jsonData, shortcutKey));
333 EXPECT_FALSE(OHOS::MMI::GetPreKeys(jsonData, shortcutKey));
351 EXPECT_FALSE(OHOS::MMI::GetPreKeys(jsonData, shortcutKey));
369 EXPECT_FALSE(OHOS::MMI::GetPreKeys(jsonData, shortcutKey));
[all …]
/ohos5.0/foundation/multimodalinput/input/service/subscriber/src/
H A Dkey_subscriber_handler.cpp111 uint32_t preKeySize = keyOption->GetPreKeys().size(); in SubscribeKeyEvent()
117 for (const auto &keyCode : keyOption->GetPreKeys()) { in SubscribeKeyEvent()
242 if (!IsEqualPreKeys(newOption->GetPreKeys(), oldOption->GetPreKeys())) { in IsEqualKeyOption()
807 if (!IsPreKeysMatch(keyOption->GetPreKeys(), pressedKeys)) { in HandleKeyDown()
865 if (!IsPreKeysMatch(keyOption->GetPreKeys(), pressedKeys)) { in HandleKeyUp()
1017 for (const auto &keyCode : keyOption->GetPreKeys()) { in PrintKeyOption()
1031 for (const auto &keyCode : keyOption->GetPreKeys()) { in PrintKeyUpLog()
1081 std::set<int32_t> preKeys = keyOption->GetPreKeys(); in DumpSubscriber()
H A Dkey_gesture_manager.cpp180 std::set<int32_t> keys = keyOption->GetPreKeys(); in ShouldIntercept()
235 std::set<int32_t> keys = keyOption->GetPreKeys(); in ShouldIntercept()
/ohos5.0/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/
H A Dkey_option.h36 std::set<int32_t> GetPreKeys() const;
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_consumer/include/
H A Djs_register_util.h32 napi_value GetPreKeys(const napi_env &env, const napi_value &value, std::set<int32_t> &params);
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dkey_option.cpp29 std::set<int32_t> KeyOption::GetPreKeys() const in GetPreKeys() function in OHOS::MMI::KeyOption
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/
H A Djs_register_util.cpp88 napi_value GetPreKeys(const napi_env &env, const napi_value &value, std::set<int32_t> &params) in GetPreKeys() function
237 std::set <int32_t> preKeys = keyOption->GetPreKeys(); in AsyncWorkFn()
H A Djs_register_module.cpp106 if (GetPreKeys(env, receiveValue, preKeys) == nullptr) { in GetEventInfoAPI9()
210 std::set<int32_t> infoPreKeys = keyOption->GetPreKeys(); in MatchCombinationKeys()
/ohos5.0/foundation/multimodalinput/input/service/key_command/include/
H A Dkey_command_handler_util.h110 bool GetPreKeys(const cJSON* jsonData, ShortcutKey &shortcutKey);
/ohos5.0/foundation/multimodalinput/input/service/key_command/src/
H A Dkey_command_handler_util.cpp45 bool GetPreKeys(const cJSON* jsonData, ShortcutKey &shortcutKey) in GetPreKeys() function
247 if (!GetPreKeys(jsonData, shortcutKey)) { in ConvertToShortcutKey()