/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | key_option.cpp | 22 #define MMI_LOG_TAG "KeyOption" 29 std::set<int32_t> KeyOption::GetPreKeys() const in GetPreKeys() 34 void KeyOption::SetPreKeys(const std::set<int32_t> &preKeys) in SetPreKeys() 39 int32_t KeyOption::GetFinalKey() const in GetFinalKey() 44 void KeyOption::SetFinalKey(int32_t finalKey) in SetFinalKey() 49 bool KeyOption::IsFinalKeyDown() const in IsFinalKeyDown() 53 void KeyOption::SetFinalKeyDown(bool pressed) in SetFinalKeyDown() 58 int32_t KeyOption::GetFinalKeyDownDuration() const in GetFinalKeyDownDuration() 63 int32_t KeyOption::GetFinalKeyUpDelay() const in GetFinalKeyUpDelay() 68 void KeyOption [all...] |
/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/ |
H A D | key_event_input_subscribe_manager.h | 36 SubscribeKeyEventInfo(std::shared_ptr<KeyOption> keyOption, 48 std::shared_ptr<KeyOption> GetKeyOption() const in GetKeyOption() 61 std::shared_ptr<KeyOption> keyOption_ { nullptr }; 69 int32_t SubscribeKeyEvent(std::shared_ptr<KeyOption> keyOption, 73 int32_t SubscribeHotkey(std::shared_ptr<KeyOption> keyOption,
|
H A D | input_manager_impl.h | 69 int32_t SubscribeKeyEvent(std::shared_ptr<KeyOption> keyOption, 72 int32_t SubscribeHotkey(std::shared_ptr<KeyOption> keyOption, 230 int32_t GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &keyOptions, int32_t &count);
|
/foundation/multimodalinput/input/service/subscriber/include/ |
H A D | key_subscriber_handler.h | 52 int32_t SubscribeKeyEvent(SessionPtr sess, int32_t subscribeId, const std::shared_ptr<KeyOption> keyOption); 54 int32_t SubscribeHotkey(SessionPtr sess, int32_t subscribeId, std::shared_ptr<KeyOption> keyOption); 62 Subscriber(int32_t id, SessionPtr sess, std::shared_ptr<KeyOption> keyOption) in Subscriber() 66 std::shared_ptr<KeyOption> keyOption_ { nullptr }; 74 using SubscriberCollection = std::map<std::shared_ptr<KeyOption>, std::list<std::shared_ptr<Subscriber>>>; 102 bool IsEqualKeyOption(std::shared_ptr<KeyOption> newOption, std::shared_ptr<KeyOption> oldOption); 104 int32_t AddKeyGestureSubscriber(std::shared_ptr<Subscriber> subscriber, std::shared_ptr<KeyOption> option); 107 int32_t RegisterSystemKey(std::shared_ptr<KeyOption> option, int32_t session, 109 int32_t RegisterHotKey(std::shared_ptr<KeyOption> optio [all...] |
H A D | key_gesture_manager.h | 80 virtual bool ShouldIntercept(std::shared_ptr<KeyOption> keyOption) const = 0; 110 bool ShouldIntercept(std::shared_ptr<KeyOption> keyOption) const override; 126 bool ShouldIntercept(std::shared_ptr<KeyOption> keyOption) const override; 157 bool ShouldIntercept(std::shared_ptr<KeyOption> keyOption) const; 158 int32_t AddKeyGesture(int32_t pid, std::shared_ptr<KeyOption> keyOption,
|
H A D | key_shortcut_manager.h | 84 int32_t GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &sysKeys); 91 void MarkShortcutConsumed(const KeyOption &shortcut);
|
/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/ |
H A D | key_option.h | 25 class KeyOption { class 27 KeyOption() = default; 28 DISALLOW_COPY_AND_MOVE(KeyOption);
|
/foundation/multimodalinput/input/service/subscriber/test/ |
H A D | key_subscriber_handler_test.cpp | 240 auto keyOption = std::make_shared<KeyOption>(); in HWTEST_F() 269 std::shared_ptr<KeyOption> keyOption = nullptr; in HWTEST_F() 344 auto keyOption = std::make_shared<KeyOption>(); in HWTEST_F() 380 auto newOption = std::make_shared<KeyOption>(); in HWTEST_F() 381 auto oldOption = std::make_shared<KeyOption>(); in HWTEST_F() 477 auto keyOption = std::make_shared<KeyOption>(); in HWTEST_F() 589 std::shared_ptr<KeyOption> keyOption; in HWTEST_F() 591 std::shared_ptr<KeyOption> option = std::make_shared<KeyOption>(); in HWTEST_F() 739 auto keyOption = std::make_shared<KeyOption>(); in HWTEST_F() [all...] |
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessibility_short_key.cpp | 39 std::shared_ptr<MMI::KeyOption> keyOption = std::make_shared<MMI::KeyOption>(); in SubscribeShortKey()
|
/foundation/multimodalinput/input/test/fuzztest/subscribekeyevent_fuzzer/ |
H A D | subscribekeyevent_fuzzer.cpp | 58 std::shared_ptr<KeyOption> keyOption = std::make_shared<KeyOption>(); in SubscribeKeyEventFuzzTest()
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/ |
H A D | key_event_input_subscribe_manager.cpp | 40 std::shared_ptr<KeyOption> keyOption, in SubscribeKeyEventInfo() 53 static bool operator<(const KeyOption &first, const KeyOption &second) in operator <() 107 int32_t KeyEventInputSubscribeManager::SubscribeKeyEvent(std::shared_ptr<KeyOption> keyOption, in SubscribeKeyEvent() 179 int32_t KeyEventInputSubscribeManager::SubscribeHotkey(std::shared_ptr<KeyOption> keyOption, in SubscribeHotkey()
|
/foundation/multimodalinput/input/test/fuzztest/getallsystemhotkeys_fuzzer/ |
H A D | getallsystemhotkeys_fuzzer.cpp | 28 std::vector<std::unique_ptr<KeyOption>> keyOptions; in GetAllSystemHotkeysFuzzTest()
|
/foundation/multimodalinput/input/service/subscriber/test/src/ |
H A D | key_shortcut_rules_test.cpp | 116 auto keyOption1 = std::make_shared<KeyOption>(); in HWTEST_F() 130 auto keyOption2 = std::make_shared<KeyOption>(); in HWTEST_F() 184 auto keyOption1 = std::make_shared<KeyOption>(); in HWTEST_F() 198 auto keyOption2 = std::make_shared<KeyOption>(); in HWTEST_F() 282 auto keyOption1 = std::make_shared<KeyOption>(); in HWTEST_F() 294 auto keyOption2 = std::make_shared<KeyOption>(); in HWTEST_F()
|
/foundation/multimodalinput/input/frameworks/napi/input_consumer/include/ |
H A D | js_register_util.h | 34 std::vector<std::unique_ptr<KeyOption>> keyOptions; 58 napi_value ConvertHotkeyToNapiValue(napi_env env, const KeyOption &keyOption);
|
H A D | js_register_module.h | 62 std::shared_ptr<KeyOption> keyOption{ nullptr };
|
/foundation/multimedia/av_session/services/session/adapter/ |
H A D | key_event_adapter.cpp | 36 auto keyOption = std::make_shared<MMI::KeyOption>(); in SubscribeKeyEvent()
|
/foundation/multimodalinput/input/service/subscriber/src/ |
H A D | key_subscriber_handler.cpp | 106 SessionPtr sess, int32_t subscribeId, std::shared_ptr<KeyOption> keyOption) in SubscribeKeyEvent() 186 std::shared_ptr<Subscriber> subscriber, std::shared_ptr<KeyOption> keyOption) in AddKeyGestureSubscriber() 237 int32_t KeySubscriberHandler::RegisterSystemKey(std::shared_ptr<KeyOption> option, in RegisterSystemKey() 252 int32_t KeySubscriberHandler::RegisterHotKey(std::shared_ptr<KeyOption> option, in RegisterHotKey() 286 SessionPtr sess, int32_t subscribeId, std::shared_ptr<KeyOption> keyOption) in SubscribeHotkey() 324 std::shared_ptr<KeyOption> option, bool isSystem) in AddSubscriber() 363 bool KeySubscriberHandler::IsEqualKeyOption(std::shared_ptr<KeyOption> newOption, in IsEqualKeyOption() 364 std::shared_ptr<KeyOption> oldOption) in IsEqualKeyOption() 709 std::shared_ptr<KeyOption> keyOption, std::list<std::shared_ptr<Subscriber>> &subscribers, bool &handled) in NotifyKeyDownSubscriber() 1162 void KeySubscriberHandler::PrintKeyOption(const std::shared_ptr<KeyOption> keyOptio [all...] |
H A D | key_gesture_manager.cpp | 218 bool KeyGestureManager::LongPressSingleKey::ShouldIntercept(std::shared_ptr<KeyOption> keyOption) const in ShouldIntercept() 274 bool KeyGestureManager::LongPressCombinationKey::ShouldIntercept(std::shared_ptr<KeyOption> keyOption) const in ShouldIntercept() 410 bool KeyGestureManager::ShouldIntercept(std::shared_ptr<KeyOption> keyOption) const in ShouldIntercept() 420 int32_t KeyGestureManager::AddKeyGesture(int32_t pid, std::shared_ptr<KeyOption> keyOption,
|
/foundation/multimodalinput/input/service/connect_manager/include/ |
H A D | multimodal_input_connect_manager.h | 94 int32_t SubscribeKeyEvent(int32_t subscribeId, const std::shared_ptr<KeyOption> option); 96 int32_t SubscribeHotkey(int32_t subscribeId, const std::shared_ptr<KeyOption> option); 163 int32_t GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &keyOptions);
|
H A D | i_multimodal_input_connect.h | 101 virtual int32_t SubscribeKeyEvent(int32_t subscribeId, const std::shared_ptr<KeyOption> option) = 0; 103 virtual int32_t SubscribeHotkey(int32_t subscribeId, const std::shared_ptr<KeyOption> option) = 0; 171 virtual int32_t GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &keyOptions) = 0;
|
H A D | multimodal_input_connect_proxy.h | 86 int32_t SubscribeKeyEvent(int32_t subscribeId, const std::shared_ptr<KeyOption> option) override; 88 int32_t SubscribeHotkey(int32_t subscribeId, const std::shared_ptr<KeyOption> option) override; 157 int32_t GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &keyOptions) override;
|
/foundation/multimodalinput/input/service/message_handle/include/ |
H A D | server_msg_handler.h | 75 int32_t subscribeId, const std::shared_ptr<KeyOption> option); 78 int32_t subscribeId, const std::shared_ptr<KeyOption> option);
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | input_manager.cpp | 69 std::vector<std::unique_ptr<OHOS::MMI::KeyOption>> keyOptions; in GetSystemHotkeys()
|
/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/ |
H A D | js_register_module.cpp | 87 std::shared_ptr<KeyOption> keyOption) in GetHotkeyEventInfo() 173 std::shared_ptr<KeyOption> keyOption) in GetEventInfoAPI9() 367 std::shared_ptr<KeyOption> keyOption) in SubscribeKey() 401 std::shared_ptr<KeyOption> keyOption) in SubscribeHotkey() 493 auto keyOption = std::make_shared<KeyOption>(); in JsOn() 531 auto keyOption = std::make_shared<KeyOption>(); in JsOff()
|
/foundation/multimodalinput/input/service/module_loader/include/ |
H A D | mmi_service.h | 100 int32_t SubscribeKeyEvent(int32_t subscribeId, const std::shared_ptr<KeyOption> option) override; 102 int32_t SubscribeHotkey(int32_t subscribeId, const std::shared_ptr<KeyOption> option) override; 188 int32_t OnGetAllSystemHotkey(std::vector<std::unique_ptr<KeyOption>> &keyOptions); 189 int32_t GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &keyOptions) override;
|