/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_xcomponent.h | 34 std::string xcomponentId; member 54 RefPtr<JSXComponentController> GetControllerFromJSXComponentControllersMap(const std::string& xcomponentId) in GetControllerFromJSXComponentControllersMap() argument 56 auto idWithContainerId = xcomponentId + std::to_string(Container::CurrentId()); in GetControllerFromJSXComponentControllersMap() 65 const std::string& xcomponentId) in GetNativeXComponentFromXcomponentsMap() 67 auto idWithContainerId = xcomponentId + std::to_string(Container::CurrentId()); in GetNativeXComponentFromXcomponentsMap() 79 void AddControllerToJSXComponentControllersMap(const std::string& xcomponentId, JSXComponentController*& controller) in AddControllerToJSXComponentControllersMap() argument 81 auto idWithContainerId = xcomponentId + std::to_string(Container::CurrentId()); in AddControllerToJSXComponentControllersMap() 85 void DeleteControllerFromJSXComponentControllersMap(const std::string& xcomponentId) in DeleteControllerFromJSXComponentControllersMap() argument 87 auto idWithContainerId = xcomponentId + std::to_string(Container::CurrentId()); in DeleteControllerFromJSXComponentControllersMap() 91 void DeleteFromNativeXcomponentsMapById(const std::string& xcomponentId) in DeleteFromNativeXcomponentsMapById() argument 64 GetNativeXComponentFromXcomponentsMap( const std::string& xcomponentId) GetNativeXComponentFromXcomponentsMap() argument 105 AddJsValToJsValMap(const std::string& xcomponentId, const JSRef<JSVal>& jsVal) AddJsValToJsValMap() argument 114 DeleteFromJsValMapById(const std::string& xcomponentId) DeleteFromJsValMapById() argument 124 GetJSVal(const std::string& xcomponentId, JSRef<JSVal>& jsVal) GetJSVal() argument [all...] |
H A D | js_xcomponent.cpp | 215 auto detachCallback = [](const std::string& xcomponentId) { in Create() 216 XComponentClient::GetInstance().DeleteControllerFromJSXComponentControllersMap(xcomponentId); in Create() 217 XComponentClient::GetInstance().DeleteFromJsValMapById(xcomponentId); in Create() 246 static_cast<float>(params.width), static_cast<float>(params.height), params.xcomponentId, in Create() 293 const std::string& xcomponentId) { in JsOnLoad() 297 std::vector<std::string> keys = { "load", xcomponentId }; in JsOnLoad() 314 const std::string& xcomponentId) { in RegisterOnCreate() 320 if (XComponentClient::GetInstance().GetJSVal(xcomponentId, jsVal)) { in RegisterOnCreate()
|
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/ |
H A D | xcomponent_component_client.h | 37 RefPtr<XComponentComponent> GetXComponentFromXcomponentsMap(const std::string& xcomponentId) in GetXComponentFromXcomponentsMap() argument 39 auto idWithContainerId = xcomponentId + std::to_string(Container::CurrentId()); in GetXComponentFromXcomponentsMap() 42 LOGE("xcomponent: %s not exists", xcomponentId.c_str()); in GetXComponentFromXcomponentsMap() 48 void AddXComponentToXcomponentsMap(const std::string& xcomponentId, const RefPtr<XComponentComponent>& component) in AddXComponentToXcomponentsMap() argument 50 auto idWithContainerId = xcomponentId + std::to_string(Container::CurrentId()); in AddXComponentToXcomponentsMap() 61 void DeleteFromXcomponentsMapById(const std::string& xcomponentId) in DeleteFromXcomponentsMapById() argument 63 auto idWithContainerId = xcomponentId + std::to_string(Container::CurrentId()); in DeleteFromXcomponentsMapById()
|
H A D | native_interface_xcomponent_impl.cpp | 27 auto xcomponentId = xcomponentImpl_->GetXComponentId(); in GetXComponentId() local 28 uint64_t idSize = static_cast<uint64_t>(xcomponentId.size()); in GetXComponentId() 33 if (strncpy_s(id, (*size), xcomponentId.c_str(), idSize) == 0) { in GetXComponentId()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_ext_node_operation.cpp | 25 bool RSExtNodeOperation::CheckNeedToProcess(std::string xcomponentId) in CheckNeedToProcess() argument 27 (void)xcomponentId; in CheckNeedToProcess() 31 void RSExtNodeOperation::ProcessRSExtNode(std::string xcomponentId, in ProcessRSExtNode() argument 34 (void)xcomponentId; in ProcessRSExtNode()
|
H A D | rs_ext_node_operation.h | 29 bool CheckNeedToProcess(std::string xcomponentId); 30 void ProcessRSExtNode(std::string xcomponentId,
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | xcomponent_model_impl.cpp | 62 auto xcomponentId = xcomponentComponent->GetId(); in SetOnLoad() local 64 EventMarker([func = std::move(onLoad), xcomponentId](const std::string& param) { func(xcomponentId); })); in SetOnLoad()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/ |
H A D | xcomponent_event_hub.h | 44 void FireLoadEvent(const std::string& xcomponentId) const in FireLoadEvent() 47 loadEvent_(xcomponentId); in FireLoadEvent()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_xcomponent_bridge.cpp | 298 auto detachCallback = [](const std::string& xcomponentId) { in HandleDetachCallback() 299 Framework::XComponentClient::GetInstance().DeleteControllerFromJSXComponentControllersMap(xcomponentId); in HandleDetachCallback() 300 Framework::XComponentClient::GetInstance().DeleteFromJsValMapById(xcomponentId); in HandleDetachCallback() 598 auto onLoad = [vm, func = panda::CopyableGlobal(vm, func), frameNode](const std::string& xcomponentId) { in SetOnLoad() 604 if (Framework::XComponentClient::GetInstance().GetJSVal(xcomponentId, jsVal)) { in SetOnLoad()
|
H A D | arkts_native_xcomponent_node_bridge.cpp | 36 params.xcomponentId = arg->ToString(vm)->ToString(vm); in SetXComponentNodeParams()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/xcomponent/ |
H A D | xcomponent_test_ng.cpp | 726 auto detachCallback = [&detachFlage](const std::string& xcomponentId) { in HWTEST_F() 849 auto onDetach = [&onDetachKey](const std::string& /* xcomponentId */) { onDetachKey = CHECK_KEY; }; in HWTEST_F()
|