Searched refs:GetPreKeys (Results 1 – 11 of 11) sorted by relevance
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/ |
H A D | key_event_input_subscribe_manager.cpp | 58 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 D | key_command_handler_util_test.cpp | 109 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 D | key_subscriber_handler.cpp | 111 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 D | key_gesture_manager.cpp | 180 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 D | key_option.h | 36 std::set<int32_t> GetPreKeys() const;
|
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_consumer/include/ |
H A D | js_register_util.h | 32 napi_value GetPreKeys(const napi_env &env, const napi_value &value, std::set<int32_t> ¶ms);
|
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | key_option.cpp | 29 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 D | js_register_util.cpp | 88 napi_value GetPreKeys(const napi_env &env, const napi_value &value, std::set<int32_t> ¶ms) in GetPreKeys() function 237 std::set <int32_t> preKeys = keyOption->GetPreKeys(); in AsyncWorkFn()
|
H A D | js_register_module.cpp | 106 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 D | key_command_handler_util.h | 110 bool GetPreKeys(const cJSON* jsonData, ShortcutKey &shortcutKey);
|
/ohos5.0/foundation/multimodalinput/input/service/key_command/src/ |
H A D | key_command_handler_util.cpp | 45 bool GetPreKeys(const cJSON* jsonData, ShortcutKey &shortcutKey) in GetPreKeys() function 247 if (!GetPreKeys(jsonData, shortcutKey)) { in ConvertToShortcutKey()
|