Home
last modified time | relevance | path

Searched refs:UvEntry (Results 1 - 12 of 12) sorted by relevance

/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
H A Djs_keyboard_delegate_setting.h79 struct UvEntry { struct in OHOS::MiscServices::JsKeyboardDelegateSetting
89 UvEntry(const std::vector<std::shared_ptr<JSCallbackObject>> &cbVec, const std::string &type) in UvEntry() function
94 using EntrySetter = std::function<void(UvEntry &)>;
96 std::shared_ptr<UvEntry> GetEntry(const std::string &type, EntrySetter entrySetter = nullptr);
98 static void DealKeyEvent(const std::shared_ptr<UvEntry> &keyEventEntry,
99 const std::shared_ptr<UvEntry> &keyCodeEntry, const sptr<KeyEventConsumerProxy> &consumer);
H A Dpanel_listener_impl.h40 struct UvEntry { struct in OHOS::MiscServices::PanelListenerImpl
43 explicit UvEntry(const std::shared_ptr<JSCallbackObject> &cb) : cbCopy(cb) in UvEntry() function
47 using EntrySetter = std::function<void(UvEntry &)>;
H A Djs_keyboard_delegate_setting.cpp305 auto keyEventEntry = GetEntry("keyEvent", [keyEvent](UvEntry &entry) { entry.pullKeyEventPara = keyEvent; }); in OnDealKeyEvent()
308 auto keyCodeEntry = GetEntry(type, [&para](UvEntry &entry) { in OnDealKeyEvent()
321 void JsKeyboardDelegateSetting::DealKeyEvent(const std::shared_ptr<UvEntry> &keyEventEntry, in DealKeyEvent()
322 const std::shared_ptr<UvEntry> &keyCodeEntry, const sptr<KeyEventConsumerProxy> &consumer) in DealKeyEvent()
375 auto entry = GetEntry(type, [keyEvent, &consumer](UvEntry &entry) { in OnKeyEvent()
423 auto entry = GetEntry(type, [&para, &consumer](UvEntry &entry) { in OnKeyEvent()
472 auto entry = GetEntry(type, [&para](UvEntry &entry) { in OnCursorUpdate()
510 auto entry = GetEntry(type, [&para](UvEntry &entry) { in OnSelectionChange()
550 auto entry = GetEntry(type, [&text](UvEntry &entry) { entry.text = text; }); in OnTextChange()
580 auto entry = GetEntry(type, [&inputAttribute](UvEntry in OnEditorAttributeChange()
[all...]
H A Djs_input_method_engine_setting.h100 struct UvEntry { struct in OHOS::MiscServices::JsInputMethodEngineSetting
107 UvEntry(const std::vector<std::shared_ptr<JSCallbackObject>> &cbVec, const std::string &type) in UvEntry() function
112 using EntrySetter = std::function<void(UvEntry &)>;
114 std::shared_ptr<UvEntry> GetEntry(const std::string &type, EntrySetter entrySetter = nullptr);
H A Djs_input_method_engine_setting.cpp644 auto entry = GetEntry(type, [&windowId](UvEntry &entry) { entry.windowid = windowId; }); in OnSetCallingWindow()
672 auto entry = GetEntry(type, [&property](UvEntry &entry) { entry.subProperty = property; }); in OnSetSubtype()
706 uv_work_t *work = GetUVwork(type, [&security](UvEntry &entry) { entry.security = security; }); in OnSecurityChange()
715 std::shared_ptr<UvEntry> entry(static_cast<UvEntry *>(work->data), [work](UvEntry *data) { in OnSecurityChange()
743 auto entry = GetEntry(type, [&privateCommand](UvEntry &entry) { entry.privateCommand = privateCommand; }); in ReceivePrivateCommand()
775 UvEntry *entry = nullptr; in GetUVwork()
783 entry = new (std::nothrow) UvEntry(jsCbMap_[type], type); in GetUVwork()
808 std::shared_ptr<JsInputMethodEngineSetting::UvEntry> JsInputMethodEngineSettin
[all...]
H A Dpanel_listener_impl.cpp75 auto entry = std::make_shared<UvEntry>(callBack); in OnPanelStatus()
95 auto entry = std::make_shared<UvEntry>(callBack); in OnSizeChange()
/base/inputmethod/imf/frameworks/js/napi/keyboardpanelmanager/
H A Djs_keyboard_panel_manager.h91 struct UvEntry { struct in OHOS::MiscServices::JsKeyboardPanelManager
97 explicit UvEntry(const std::vector<std::shared_ptr<JSCallbackObject>> &cbVec, const std::string &type) in UvEntry() function
106 using EntrySetter = std::function<void(UvEntry &)>;
108 std::shared_ptr<UvEntry> GetEntry(const std::string &type, EntrySetter entrySetter = nullptr);
H A Djs_keyboard_panel_manager.cpp273 auto entry = GetEntry(type, [&privateCommand](UvEntry &entry) { entry.privateCommand = privateCommand; }); in ReceivePrivateCommand()
307 GetEntry(type, [sysPanelStatus](UvEntry &entry) { entry.sysPanelStatus = sysPanelStatus; }); in NotifyPanelStatus()
347 std::shared_ptr<JsKeyboardPanelManager::UvEntry> JsKeyboardPanelManager::GetEntry(const std::string &type, in GetEntry()
351 std::shared_ptr<UvEntry> entry = nullptr; in GetEntry()
358 entry = std::make_shared<UvEntry>(jsCbMap_[type], type); in GetEntry()
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
H A Djs_get_input_method_setting.h130 struct UvEntry { struct in OHOS::MiscServices::JsGetInputMethodSetting
136 UvEntry(const std::vector<std::shared_ptr<JSCallbackObject>> &cbVec, const std::string &type) in UvEntry() function
141 using EntrySetter = std::function<void(UvEntry &)>;
142 std::shared_ptr<UvEntry> GetEntry(const std::string &type, EntrySetter entrySetter = nullptr);
H A Djs_get_input_method_controller.h210 struct UvEntry { struct in OHOS::MiscServices::JsGetInputMethodController
224 explicit UvEntry(const std::vector<std::shared_ptr<JSCallbackObject>> &cbVec, const std::string &type) in UvEntry() function
229 using EntrySetter = std::function<void(UvEntry &)>;
230 std::shared_ptr<UvEntry> GetEntry(const std::string &type, EntrySetter entrySetter = nullptr);
H A Djs_get_input_method_controller.cpp718 auto entry = GetEntry("selectByRange", [start, end](UvEntry &entry) {
754 auto entry = GetEntry(type, [direction](UvEntry &entry) { entry.direction = direction; });
789 auto entry = GetEntry(type, [&insertText](UvEntry &entry) { entry.text = insertText; });
819 auto entry = GetEntry(type, [&length](UvEntry &entry) { entry.length = length; });
850 auto entry = GetEntry(type, [&length](UvEntry &entry) { entry.length = length; });
880 auto entry = GetEntry(type, [&status](UvEntry &entry) { entry.keyboardStatus = static_cast<int32_t>(status); });
923 [&functionKey](UvEntry &entry) { entry.enterKeyType = static_cast<int32_t>(functionKey.GetEnterKeyType()); });
958 auto entry = GetEntry(type, [&direction](UvEntry &entry) { entry.direction = static_cast<int32_t>(direction); });
988 auto entry = GetEntry(type, [&action](UvEntry &entry) { entry.action = action; });
1018 auto entry = GetEntry(type, [&number, textResultHandler](UvEntry
[all...]
H A Djs_get_input_method_setting.cpp598 auto entry = GetEntry(type, [&property, &subProperty](UvEntry &entry) { in OnImeChange()
678 auto entry = GetEntry(type, [&info](UvEntry &entry) { entry.windowInfo = { info }; }); in OnPanelStatusChange()
714 std::shared_ptr<JsGetInputMethodSetting::UvEntry> JsGetInputMethodSetting::GetEntry(const std::string &type, in GetEntry()
718 std::shared_ptr<UvEntry> entry = nullptr; in GetEntry()
725 entry = std::make_shared<UvEntry>(jsCbMap_[type], type); in GetEntry()

Completed in 9 milliseconds