Home
last modified time | relevance | path

Searched refs:KeyOption (Results 1 - 25 of 49) sorted by relevance

12

/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dkey_option.cpp22 #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 Dkey_event_input_subscribe_manager.h36 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 Dinput_manager_impl.h69 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 Dkey_subscriber_handler.h52 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 Dkey_gesture_manager.h80 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 Dkey_shortcut_manager.h84 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 Dkey_option.h25 class KeyOption { class
27 KeyOption() = default;
28 DISALLOW_COPY_AND_MOVE(KeyOption);
/foundation/multimodalinput/input/service/subscriber/test/
H A Dkey_subscriber_handler_test.cpp240 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 Daccessibility_short_key.cpp39 std::shared_ptr<MMI::KeyOption> keyOption = std::make_shared<MMI::KeyOption>(); in SubscribeShortKey()
/foundation/multimodalinput/input/test/fuzztest/subscribekeyevent_fuzzer/
H A Dsubscribekeyevent_fuzzer.cpp58 std::shared_ptr<KeyOption> keyOption = std::make_shared<KeyOption>(); in SubscribeKeyEventFuzzTest()
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/
H A Dkey_event_input_subscribe_manager.cpp40 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 Dgetallsystemhotkeys_fuzzer.cpp28 std::vector<std::unique_ptr<KeyOption>> keyOptions; in GetAllSystemHotkeysFuzzTest()
/foundation/multimodalinput/input/service/subscriber/test/src/
H A Dkey_shortcut_rules_test.cpp116 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 Djs_register_util.h34 std::vector<std::unique_ptr<KeyOption>> keyOptions;
58 napi_value ConvertHotkeyToNapiValue(napi_env env, const KeyOption &keyOption);
H A Djs_register_module.h62 std::shared_ptr<KeyOption> keyOption{ nullptr };
/foundation/multimedia/av_session/services/session/adapter/
H A Dkey_event_adapter.cpp36 auto keyOption = std::make_shared<MMI::KeyOption>(); in SubscribeKeyEvent()
/foundation/multimodalinput/input/service/subscriber/src/
H A Dkey_subscriber_handler.cpp106 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 Dkey_gesture_manager.cpp218 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 Dmultimodal_input_connect_manager.h94 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 Di_multimodal_input_connect.h101 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 Dmultimodal_input_connect_proxy.h86 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 Dserver_msg_handler.h75 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 Dinput_manager.cpp69 std::vector<std::unique_ptr<OHOS::MMI::KeyOption>> keyOptions; in GetSystemHotkeys()
/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/
H A Djs_register_module.cpp87 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 Dmmi_service.h100 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;

Completed in 14 milliseconds

12