/ohos5.0/base/inputmethod/imf/frameworks/js/napi/common/ |
H A D | js_callback_object.cpp | 23 JSCallbackObject::JSCallbackObject(napi_env env, napi_value callback, std::thread::id threadId) in JSCallbackObject() function in OHOS::MiscServices::JSCallbackObject 29 JSCallbackObject::~JSCallbackObject() in ~JSCallbackObject() 45 JSCallbackObject *jsObject = static_cast<JSCallbackObject *>(work->data); in ~JSCallbackObject()
|
H A D | js_callback_object.h | 26 class JSCallbackObject { 28 JSCallbackObject(napi_env env, napi_value callback, std::thread::id threadId); 29 ~JSCallbackObject();
|
H A D | js_callback_handler.h | 35 static void Traverse(const std::vector<std::shared_ptr<JSCallbackObject>> &objects, 50 …const std::vector<std::shared_ptr<JSCallbackObject>> &objects, const ArgContainer &argContainer, T… in Traverse() 65 …const std::shared_ptr<JSCallbackObject> &object, const ArgContainer &argContainer, napi_value &out…
|
H A D | js_callback_handler.cpp | 22 …const std::shared_ptr<JSCallbackObject> &object, const ArgContainer &argContainer, napi_value &out… in Execute()
|
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
H A D | panel_listener_impl.h | 42 std::shared_ptr<JSCallbackObject> cbCopy; 43 explicit UvEntry(const std::shared_ptr<JSCallbackObject> &cb) : cbCopy(cb) in UvEntry() 52 …void Subscribe(uint32_t windowId, const std::string &type, std::shared_ptr<JSCallbackObject> cbObj… 55 std::shared_ptr<JSCallbackObject> GetCallback(uint32_t windowId, const std::string &type); 58 ConcurrentMap<uint32_t, std::map<std::string, std::shared_ptr<JSCallbackObject>>> callbacks_;
|
H A D | panel_listener_impl.cpp | 39 std::shared_ptr<JSCallbackObject> cbObject) in Subscribe() 42 … [cbObject, &type](auto windowId, std::map<std::string, std::shared_ptr<JSCallbackObject>> &cbs) { in Subscribe() 56 [&type](auto windowId, std::map<std::string, std::shared_ptr<JSCallbackObject>> &cbs) { in RemoveInfo() 70 std::shared_ptr<JSCallbackObject> callBack = GetCallback(windowId, type); in OnPanelStatus() 91 std::shared_ptr<JSCallbackObject> callBack = GetCallback(windowId, type); in OnSizeChange() 127 std::shared_ptr<JSCallbackObject> PanelListenerImpl::GetCallback(uint32_t windowId, const std::stri… in GetCallback() 129 std::shared_ptr<JSCallbackObject> callBack = nullptr; in GetCallback()
|
H A D | js_keyboard_delegate_setting.h | 59 …void RegisterListener(napi_value callback, std::string type, std::shared_ptr<JSCallbackObject> cal… 81 std::vector<std::shared_ptr<JSCallbackObject>> vecCopy; 90 … UvEntry(const std::vector<std::shared_ptr<JSCallbackObject>> &cbVec, const std::string &type) in UvEntry() 103 std::map<std::string, std::vector<std::shared_ptr<JSCallbackObject>>> jsCbMap_;
|
H A D | js_input_method_engine_setting.h | 97 …void RegisterListener(napi_value callback, std::string type, std::shared_ptr<JSCallbackObject> cal… 103 std::vector<std::shared_ptr<JSCallbackObject>> vecCopy; 109 … UvEntry(const std::vector<std::shared_ptr<JSCallbackObject>> &cbVec, const std::string &type) in UvEntry() 121 std::map<std::string, std::vector<std::shared_ptr<JSCallbackObject>>> jsCbMap_;
|
H A D | js_keyboard_delegate_setting.cpp | 171 napi_value callback, std::string type, std::shared_ptr<JSCallbackObject> callbackObj) in RegisterListener() 179 …std::any_of(callbacks.begin(), callbacks.end(), [&callback](std::shared_ptr<JSCallbackObject> cb) { in RegisterListener() 238 std::shared_ptr<JSCallbackObject> callback = in Subscribe() 239 std::make_shared<JSCallbackObject>(env, argv[1], std::this_thread::get_id()); in Subscribe()
|
H A D | js_input_method_engine_setting.cpp | 283 napi_value callback, std::string type, std::shared_ptr<JSCallbackObject> callbackObj) in RegisterListener() 291 …std::any_of(callbacks.begin(), callbacks.end(), [&callback](std::shared_ptr<JSCallbackObject> cb) { in RegisterListener() 354 std::shared_ptr<JSCallbackObject> callback = in Subscribe() 355 std::make_shared<JSCallbackObject>(env, argv[ARGC_ONE], std::this_thread::get_id()); in Subscribe()
|
H A D | js_panel.cpp | 363 std::shared_ptr<JSCallbackObject> cbObject = in Subscribe() 364 std::make_shared<JSCallbackObject>(env, argv[1], std::this_thread::get_id()); in Subscribe()
|
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/keyboardpanelmanager/ |
H A D | js_keyboard_panel_manager.h | 88 …void RegisterListener(napi_value callback, std::string type, std::shared_ptr<JSCallbackObject> cal… 92 std::vector<std::shared_ptr<JSCallbackObject>> vecCopy; 97 …explicit UvEntry(const std::vector<std::shared_ptr<JSCallbackObject>> &cbVec, const std::string &t… in UvEntry() 107 std::map<std::string, std::vector<std::shared_ptr<JSCallbackObject>>> jsCbMap_;
|
H A D | js_keyboard_panel_manager.cpp | 107 std::shared_ptr<JSCallbackObject> callback = in Subscribe() 108 std::make_shared<JSCallbackObject>(env, argv[1], std::this_thread::get_id()); in Subscribe() 142 napi_value callback, std::string type, std::shared_ptr<JSCallbackObject> callbackObj) in RegisterListener() 150 …std::any_of(callbacks.begin(), callbacks.end(), [&callback](std::shared_ptr<JSCallbackObject> cb) { in RegisterListener()
|
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/ |
H A D | js_get_input_method_setting.h | 127 …sterListener(napi_value callback, std::string type, std::shared_ptr<JSCallbackObject> callbackObj); 131 std::vector<std::shared_ptr<JSCallbackObject>> vecCopy; 136 … UvEntry(const std::vector<std::shared_ptr<JSCallbackObject>> &cbVec, const std::string &type) in UvEntry() 149 std::map<std::string, std::vector<std::shared_ptr<JSCallbackObject>>> jsCbMap_;
|
H A D | js_get_input_method_controller.h | 196 …void RegisterListener(napi_value callback, std::string type, std::shared_ptr<JSCallbackObject> cal… 211 std::vector<std::shared_ptr<JSCallbackObject>> vecCopy; 224 …explicit UvEntry(const std::vector<std::shared_ptr<JSCallbackObject>> &cbVec, const std::string &t… in UvEntry() 233 std::map<std::string, std::vector<std::shared_ptr<JSCallbackObject>>> jsCbMap_;
|
H A D | js_get_input_method_setting.cpp | 454 napi_value callback, std::string type, std::shared_ptr<JSCallbackObject> callbackObj) in RegisterListener() 463 …std::any_of(callbacks.begin(), callbacks.end(), [&callback](std::shared_ptr<JSCallbackObject> cb) { in RegisterListener() 500 std::shared_ptr<JSCallbackObject> callback = in Subscribe() 501 std::make_shared<JSCallbackObject>(env, argv[ARGC_ONE], std::this_thread::get_id()); in Subscribe()
|
H A D | js_get_input_method_controller.cpp | 297 napi_value callback, std::string type, std::shared_ptr<JSCallbackObject> callbackObj) in RegisterListener() 306 …std::any_of(callbacks.begin(), callbacks.end(), [&callback](std::shared_ptr<JSCallbackObject> cb) { in RegisterListener() 369 std::shared_ptr<JSCallbackObject> callback = in Subscribe() 370 std::make_shared<JSCallbackObject>(env, argv[ARGC_ONE], std::this_thread::get_id()); in Subscribe()
|