Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/custom/
H A Dcustom_node_base.cpp26 CustomNodeBase::~CustomNodeBase() in ~CustomNodeBase()
42 void CustomNodeBase::Update() in Update()
50 void CustomNodeBase::MarkNeedUpdate() in MarkNeedUpdate()
64 void CustomNodeBase::FireRecycleSelf() in FireRecycleSelf()
71 recycleCustomNodeFunc_(AceType::Claim<CustomNodeBase>(this)); in FireRecycleSelf()
75 void CustomNodeBase::FireRecycleRenderFunc() in FireRecycleRenderFunc()
92 void CustomNodeBase::SetOnDumpInfoFunc(std::function<void(const std::vector<std::string>&)>&& func) in SetOnDumpInfoFunc()
97 void CustomNodeBase::SetOnDumpInspectorFunc(std::function<std::string()>&& func) in SetOnDumpInspectorFunc()
H A Dcustom_node_base.h32 class ACE_FORCE_EXPORT CustomNodeBase : public virtual AceType {
33 DECLARE_ACE_TYPE(CustomNodeBase, AceType);
36 CustomNodeBase() = default;
37 ~CustomNodeBase() override;
135 void SetRecycleFunction(std::function<void(RefPtr<CustomNodeBase>)>&& recycleCustomNode) in SetRecycleFunction()
272 std::function<void(RefPtr<CustomNodeBase>)> recycleCustomNodeFunc_;
H A Dcustom_measure_layout_node.h32 class ACE_EXPORT CustomMeasureLayoutNode : public FrameNode, public CustomNodeBase {
33 DECLARE_ACE_TYPE(CustomMeasureLayoutNode, FrameNode, CustomNodeBase);
H A Dcustom_node.h32 class ACE_EXPORT CustomNode : public UINode, public CustomNodeBase {
33 DECLARE_ACE_TYPE(CustomNode, UINode, CustomNodeBase);
H A Dcustom_node_layout_algorithm.cpp69 auto customNode = DynamicCast<CustomNodeBase>(layoutWrapper->GetHostNode()); in Measure()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/recycle_view/
H A Drecycle_manager.h28 class CustomNodeBase; variable
32 WeakPtr<CustomNodeBase> node;
37 RecycleNodeState(WeakPtr<CustomNodeBase>&& n) : node(std::move(n)) {} in RecycleNodeState()
56 static void Push(int32_t elmtId, WeakPtr<CustomNodeBase>&& node);
62 void PushNode(int32_t elmtId, WeakPtr<CustomNodeBase>&& node);
H A Drecycle_manager.cpp32 void RecycleManager::Push(int32_t elmtId, WeakPtr<CustomNodeBase> &&node) in Push()
60 void RecycleManager::PushNode(int32_t elmtId, WeakPtr<CustomNodeBase>&& node) in PushNode()
H A Drecycle_dummy_node.cpp53 auto customNode = AceType::DynamicCast<CustomNodeBase>(child); in ~RecycleDummyNode()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navrouter/
H A Dnavdestination_group_node.h31 class CustomNodeBase; variable
77 RefPtr<CustomNodeBase> GetNavDestinationCustomNode();
79 void SetNavDestinationCustomNode(WeakPtr<CustomNodeBase> customNode) in SetNavDestinationCustomNode()
208 WeakPtr<CustomNodeBase> customNode_; // nearest parent customNode
H A Dnavdestination_group_node.cpp155 RefPtr<CustomNodeBase> NavDestinationGroupNode::GetNavDestinationCustomNode() in GetNavDestinationCustomNode()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dstate_style_manager.cpp138 RefPtr<CustomNodeBase> customNode; in FireStateFunc()
148 void StateStyleManager::GetCustomNode(RefPtr<CustomNodeBase>& customNode, in GetCustomNode()
152 if (AceType::InstanceOf<CustomNodeBase>(node)) { in GetCustomNode()
153 customNode = DynamicCast<CustomNodeBase>(node); in GetCustomNode()
180 if (AceType::InstanceOf<CustomNodeBase>(parent)) { in GetCustomNode()
181 customNode = DynamicCast<CustomNodeBase>(parent); in GetCustomNode()
H A Dstate_style_manager.h31 class CustomNodeBase; variable
201 void GetCustomNode(RefPtr<CustomNodeBase>& customNode, RefPtr<FrameNode>& node);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/recycle_node/
H A Drecycle_node_test_ng.cpp59 …auto mockRecycleFunc = [childCustomNode](RefPtr<CustomNodeBase> node) { EXPECT_EQ(childCustomNode,… in __anonda04ec6d0102()
74 auto customNode2 = AceType::DynamicCast<CustomNodeBase>(child2);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view.h381 void SetRecycleCustomNode(const RefPtr<NG::CustomNodeBase>& recycleNode) in SetRecycleCustomNode()
386 RefPtr<NG::CustomNodeBase> GetCachedRecycleNode() in GetCachedRecycleNode()
388 auto node = RefPtr<NG::CustomNodeBase>(recycleCustomNode_); in GetCachedRecycleNode()
446 RefPtr<NG::CustomNodeBase> recycleCustomNode_;
H A Djs_view.cpp645 …auto recycleCustomNode = [weak = AceType::WeakClaim(this)](const RefPtr<NG::CustomNodeBase>& recyc… in CreateViewNode()
926 …AceType::DynamicCast<NG::CustomNodeBase>(node)->SetRecycleRenderFunc(std::move(recycleUpdateFunc)); in CreateRecycle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dview_partial_update_model_ng.cpp38 RefPtr<NG::CustomNodeBase> customNode; in CreateNode()
91 auto weakNode = AceType::DynamicCast<NG::CustomNodeBase>(node); in MarkNeedUpdate()
H A Dview_partial_update_model.h49 std::function<void(RefPtr<NG::CustomNodeBase>)> recycleCustomNodeFunc;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_view_register_impl_ng.cpp372 auto customNode = AceType::DynamicCast<NG::CustomNodeBase>(pageRootNode); in UpdateRootComponent()
374 …[weakCustom = WeakPtr<NG::CustomNodeBase>(customNode), weakPage = WeakPtr<NG::FrameNode>(pageNode)… in UpdateRootComponent()
H A Djsi_view_register_impl.cpp426 auto customNode = AceType::DynamicCast<NG::CustomNodeBase>(pageRootNode); in UpdateRootComponent()
429 …[weakCustom = WeakPtr<NG::CustomNodeBase>(customNode), weakPage = WeakPtr<NG::FrameNode>(pageNode)… in UpdateRootComponent()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navrouter/
H A Dnavrouter_pattern_test_ng.cpp680 EXPECT_FALSE(AceType::InstanceOf<CustomNodeBase>(child));
707 EXPECT_FALSE(AceType::InstanceOf<CustomNodeBase>(child));
733 EXPECT_TRUE(AceType::InstanceOf<CustomNodeBase>(child));
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stage/
H A Dpage_pattern.cpp361 auto customNode = DynamicCast<CustomNodeBase>(host->GetFirstChild()); in ReloadPage()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/plugin/
H A Dplugin_pattern.cpp545 auto customNode = DynamicCast<CustomNodeBase>(host->GetFirstChild()); in FlushReload()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/custom/
H A Dcustom_test_ng.cpp577 …customNode->SetRecycleFunction([&recycleCustomNodeFunc](RefPtr<CustomNodeBase>) { recycleCustomNod… in __anon71f9752b1402() argument
941 RefPtr<CustomNodeBase> customNode =
/ohos5.0/foundation/arkui/ace_engine/build/
H A Dlibace.map217 OHOS::Ace::NG::CustomNodeBase::*;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/
H A Dpipeline_context.cpp347 if (AceType::InstanceOf<NG::CustomNodeBase>(node)) { in FlushDirtyNodeUpdate()
348 auto customNode = AceType::DynamicCast<NG::CustomNodeBase>(node); in FlushDirtyNodeUpdate()