Home
last modified time | relevance | path

Searched refs:jsView (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view.cpp187 CHECK_NULL_VOID(jsView); in CreateViewNode()
190 if (jsView->viewNode_.Invalid() && jsView->jsViewFunction_) { in CreateViewNode()
204 if (!jsView || !jsView->jsViewFunction_) { in CreateViewNode()
216 if (jsView) { in CreateViewNode()
223 if (jsView && jsView->jsViewFunction_) { in CreateViewNode()
458 JSView* jsView = nullptr; in AddChildById() local
475 if (jsView != nullptr) { in AddChildById()
476 jsView->Destroy(this); in AddChildById()
536 CHECK_NULL_VOID(jsView); in CreateViewNode()
657 jsView->jsViewFunction_->ExecuteRecycle(jsView->GetRecycleCustomNodeName()); in CreateViewNode()
[all …]
H A Djs_view_stack_processor.h58 static void SetViewMap(const std::string& viewId, const JSRef<JSObject>& jsView) in SetViewMap() argument
65 viewMap_.emplace(viewId, jsView); in SetViewMap()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_declarative_engine.cpp833 … auto* jsView = static_cast<JSView*>(rootView->GetNativePointerField(arkRuntime->GetEcmaVm(), 0)); in DestroyRootViewHandle() local
834 if (jsView != nullptr) { in DestroyRootViewHandle()
835 jsView->Destroy(nullptr); in DestroyRootViewHandle()
853 … auto* jsView = static_cast<JSView*>(rootView->GetNativePointerField(arkRuntime->GetEcmaVm(), 0)); in DestroyAllRootViewHandle() local
854 if (jsView != nullptr) { in DestroyAllRootViewHandle()
855 jsView->Destroy(nullptr); in DestroyAllRootViewHandle()
876 … auto* jsView = static_cast<JSView*>(rootView->GetNativePointerField(arkRuntime->GetEcmaVm(), 0)); in FlushReload() local
877 if (jsView != nullptr) { in FlushReload()
878 jsView->MarkNeedUpdate(); in FlushReload()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dframe_node.cpp5766 auto jsView = pageNode->GetChildAtIndex(0); in GetCurrentPageRootNode() local
5767 CHECK_NULL_RETURN(jsView, nullptr); in GetCurrentPageRootNode()
5768 if (jsView->GetTag() == V2::JS_VIEW_ETS_TAG) { in GetCurrentPageRootNode()
5769 auto rootNode = jsView->GetChildAtIndex(0); in GetCurrentPageRootNode()
5773 return jsView; in GetCurrentPageRootNode()