Home
last modified time | relevance | path

Searched refs:CustomNode (Results 1 – 25 of 48) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/custom/
H A Dcustom_node.cpp30 RefPtr<CustomNode> CustomNode::CreateCustomNode(int32_t nodeId, const std::string& viewKey) in CreateCustomNode()
32 auto node = MakeRefPtr<CustomNode>(nodeId, viewKey); in CreateCustomNode()
37 CustomNode::CustomNode(int32_t nodeId, const std::string& viewKey) in CustomNode() function in OHOS::Ace::NG::CustomNode
50 void CustomNode::Render() in Render()
85 void CustomNode::FireCustomDisappear() in FireCustomDisappear()
97 void CustomNode::FlushReload() in FlushReload()
105 bool CustomNode::RenderCustomChild(int64_t deadline) in RenderCustomChild()
146 auto custom = DynamicCast<CustomNode>(child); in AdjustLayoutWrapperTree()
168 void CustomNode::MarkNeedSyncRenderTree(bool needRebuild) in MarkNeedSyncRenderTree()
184 void CustomNode::DoSetActiveChildRange( in DoSetActiveChildRange()
[all …]
H A Dcustom_node.h32 class ACE_EXPORT CustomNode : public UINode, public CustomNodeBase {
33 DECLARE_ACE_TYPE(CustomNode, UINode, CustomNodeBase);
36 static RefPtr<CustomNode> CreateCustomNode(int32_t nodeId, const std::string& viewKey);
38 CustomNode(int32_t nodeId, const std::string& viewKey);
39 ~CustomNode() override = default;
H A Dcustom_title_node.h22 class ACE_EXPORT CustomTitleNode : public CustomNode {
23 DECLARE_ACE_TYPE(CustomTitleNode, CustomNode);
H A Dcustom_title_node.cpp26 CustomTitleNode::CustomTitleNode(int32_t nodeId, const std::string& viewKey) : CustomNode(nodeId, v… in CustomTitleNode()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/custom/
H A Dcustom_test_ng.cpp87 …auto customNode = CustomNode::CreateCustomNode(ElementRegister::GetInstance()->MakeUniqueId(), TES…
134 …auto customNode = CustomNode::CreateCustomNode(ElementRegister::GetInstance()->MakeUniqueId(), TES…
368 …customNode = CustomNode::CreateCustomNode(ElementRegister::GetInstance()->MakeUniqueId(), TEST_TAG…
430 …customNode = CustomNode::CreateCustomNode(ElementRegister::GetInstance()->MakeUniqueId(), TEST_TAG…
795CustomNode::CreateCustomNode(ElementRegister::GetInstance()->MakeUniqueId() + 1, TEST_TAG); in __anon71f9752b2002()
821CustomNode::CreateCustomNode(ElementRegister::GetInstance()->MakeUniqueId() + 1, TEST_TAG); in __anon71f9752b2102()
916 RefPtr<CustomNode> customNode =
917 CustomNode::CreateCustomNode(ElementRegister::GetInstance()->MakeUniqueId(), TEST_TAG);
942 CustomNode::CreateCustomNode(ElementRegister::GetInstance()->MakeUniqueId(), TEST_TAG);
1157CustomNode::CreateCustomNode(ElementRegister::GetInstance()->MakeUniqueId() + 1, TEST_TAG); in __anon71f9752b2a02()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/recycle_node/
H A Drecycle_manager_test.cpp93 auto child0 = AceType::MakeRefPtr<CustomNode>(GenerateId(), "test");
102 auto child1 = AceType::MakeRefPtr<CustomNode>(GenerateId(), "test");
103 auto child2 = AceType::MakeRefPtr<CustomNode>(GenerateId(), "test");
127 auto child1 = AceType::MakeRefPtr<CustomNode>(GenerateId(), "test");
128 auto child2 = AceType::MakeRefPtr<CustomNode>(GenerateId(), "test");
H A Drecycle_node_test_ng.cpp56 auto childCustomNode = CustomNode::CreateCustomNode(childNodeId, childNodeName);
/ohos5.0/docs/zh-cn/application-dev/performance/
H A Dlong-frame-optimization.md125 在这4帧当中,149971、149972帧,都是用于加载10号列表项。其中标签`H:CustomNode:BuildItem`说明,这是10号列表项的首次创建,其中所涉及的自定义组件在这里没有走复用…
129 而这4帧当中的150670、150671帧,也都是用于加载10号列表项,但标签`H:CustomNode:BuildRecycle`说明,这是10号列表项发生组件复用的场景,其中所涉及的自定义组件在…
139 首先看,在首次加载10号列表项的阶段。用了两帧的Vsync空闲时间,它才预加载完成。通过标签`H:CustomNode:BuildItem` , 可以获知在其创建阶段涉及到了自定义组件的创建。放大1…
H A Dcommon-trace-using-instructions.md87 | 7 | CustomNode:BuildRecycle %s | JS视图名称 | 触发复用渲染 …
105 | 6 | CustomNode:BuildItem %s | JS视图名称 …
197 - `H:CustomNode:OnAppear` 用于构建当前 OnAppear 生命周期的操作,并执行aboutToAppear生命周期函数;
198 - `H:CustomNode:BuildItem LazyForEachPage` 渲染子节点并挂载在 LazyForEachPage 页面上。
H A Dcomponent_recycle_case.md105 …件。ArkUI中使用自定义组件时,在build阶段将在在后端FrameNode树创建一个相应的CustomNode节点,在渲染阶段时也会创建对应的RenderNode节点。会造成组件复用下,Cus…
179 上述正例的操作中,在复用的自定义组件中用@Builder来代替了自定义组件。避免了CustomNode节点创建和RenderNode渲染的耗时。
268 此时,`H:CustomNode:BuildRecycle`耗时543μs,`Create[Text]`耗时为4μs。
362 …e`标签下没有`H:ViewPU.viewPropertyHasChanged`标签,后续也没有`Create[Text]`标签。此时,`H:CustomNode:BuildRecycle`耗时4…
368 优化后的`H:CustomNode:BuildRecycle OneMomentNoModifier`的耗时,如下表所示:
H A Dcomponent-recycle.md26 可复用组件从C++侧的组件树上移除时,自定义组件在ArkUI框架native侧的CustomNode会被挂载到其对应的JSView上。复用发生之后,CustomNode被JSView引用,并触发Vi…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/
H A Dui_task_scheduler.h32 class CustomNode; variable
133 void SetJSViewActive(bool active, WeakPtr<CustomNode> custom);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dview_full_update_model_ng.cpp29 …auto composedNode = NG::CustomNode::CreateCustomNode(ElementRegister::GetInstance()->MakeUniqueId(… in CreateNode()
H A Dui_node.cpp535 RefPtr<CustomNode> UINode::GetParentCustomNode() const in GetParentCustomNode()
539 auto customNode = AceType::DynamicCast<CustomNode>(parent); in GetParentCustomNode()
1192 if (InstanceOf<CustomNode>(child)) { in Build()
1193 auto custom = DynamicCast<CustomNode>(child); in Build()
1233 auto customNode = AceType::DynamicCast<CustomNode>(child); in SetJSViewActive()
1514 if (InstanceOf<CustomNode>(parent)) { in GetCurrentCustomNodeInfo()
1515 auto custom = DynamicCast<CustomNode>(parent); in GetCurrentCustomNodeInfo()
H A Dinspector.cpp244 AceType::InstanceOf<CustomNode>(uiNode)) { in GetFrameNodeChildren()
251 auto custom = AceType::DynamicCast<NG::CustomNode>(uiNode); in GetFrameNodeChildren()
304 auto node = AceType::DynamicCast<CustomNode>(customNode); in GetCustomNodeInfo()
323 if (AceType::InstanceOf<CustomNode>(parent) && !isLayoutInspector) { in GetInspectorChildren()
943 if (AceType::InstanceOf<CustomNode>(parent)) { in GetInspectorChildrenInfo()
H A Dview_partial_update_model_ng.cpp55 customNode = NG::CustomNode::CreateCustomNode(viewId, key); in CreateNode()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/event/
H A Dstate_style_manager_test_ng.cpp564 RefPtr<CustomNode> customNode =
565 CustomNode::CreateCustomNode(ElementRegister::GetInstance()->MakeUniqueId(), "test");
584 RefPtr<CustomNode> customNode =
585 CustomNode::CreateCustomNode(ElementRegister::GetInstance()->MakeUniqueId(), "test");
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dnative_view.cpp161 if (AceType::InstanceOf<NG::CustomNode>(node)) { in FlushReload()
162 auto customNode = AceType::DynamicCast<NG::CustomNode>(node); in FlushReload()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/
H A Dnavigation_system_bar_style_test_ng.cpp153 auto customNode1 = CustomNode::CreateCustomNode(1, TEST_TAG);
171 auto customNode2 = CustomNode::CreateCustomNode(3, TEST_TAG);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pipeline/
H A Dpipeline_context_test_ng.h79 static RefPtr<CustomNode> customNode_;
H A Dpipeline_context_test_ng.cpp41 RefPtr<CustomNode> PipelineContextTestNg::customNode_ = nullptr;
62 customNode_ = CustomNode::CreateCustomNode(customNodeId_, TEST_TAG); in SetUpTestSuite()
102 auto customNodeTemp = CustomNode::CreateCustomNode(customNodeId_ + cycle + 100, TEST_TAG); in CreateCycleDirtyNode()
138 auto customNode_1 = CustomNode::CreateCustomNode(customNodeId_ + 20, TEST_TAG);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/base/
H A Dui_node_test_ng.cpp1271 auto parent = CustomNode::CreateCustomNode(parentId, "parent");
1272 auto child = CustomNode::CreateCustomNode(childId, "child");
1273 auto childTwo = CustomNode::CreateCustomNode(childTwoId, "child_two");
2126 auto parent = CustomNode::CreateCustomNode(parentId, "parent");
2127 auto child = CustomNode::CreateCustomNode(childId, "child");
2128 auto childTwo = CustomNode::CreateCustomNode(childTwoId, "child_two");
2293 auto parent = CustomNode::CreateCustomNode(parentId, "parent");
2294 auto child = CustomNode::CreateCustomNode(childId, "child");
2295 auto childTwo = CustomNode::CreateCustomNode(childTwoId, "child_two");
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/navigation/
H A Dnavigation_manager.cpp70 auto customNode = AceType::DynamicCast<CustomNode>(node); in GetNavigationInfo()
/ohos5.0/docs/en/application-dev/performance/
H A Dcommon-trace-using-instructions.md101 | 7 | CustomNode:BuildRecycle %s | JavaScript view name. | …
121 | 6 | CustomNode:BuildItem %s | JavaScript view name. …
214 - **H:CustomNode:OnAppear**: builds the current **OnAppear** lifecycle and executes the **aboutToAp…
215 - **H:CustomNode:BuildItem LazyForEachPage**: renders the child node and mounts it to the LazyForEa…
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_customdialog_controller_ffi.cpp154 auto parentCustom = AceType::DynamicCast<NG::CustomNode>(viewNode); in OpenDialog()

12