/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/custom/ |
H A D | custom_node_base.cpp | 26 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 D | custom_node_base.h | 32 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 D | custom_measure_layout_node.h | 32 class ACE_EXPORT CustomMeasureLayoutNode : public FrameNode, public CustomNodeBase { 33 DECLARE_ACE_TYPE(CustomMeasureLayoutNode, FrameNode, CustomNodeBase);
|
H A D | custom_node.h | 32 class ACE_EXPORT CustomNode : public UINode, public CustomNodeBase { 33 DECLARE_ACE_TYPE(CustomNode, UINode, CustomNodeBase);
|
H A D | custom_node_layout_algorithm.cpp | 69 auto customNode = DynamicCast<CustomNodeBase>(layoutWrapper->GetHostNode()); in Measure()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/recycle_view/ |
H A D | recycle_manager.h | 28 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 D | recycle_manager.cpp | 32 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 D | recycle_dummy_node.cpp | 53 auto customNode = AceType::DynamicCast<CustomNodeBase>(child); in ~RecycleDummyNode()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navrouter/ |
H A D | navdestination_group_node.h | 31 class CustomNodeBase; variable 77 RefPtr<CustomNodeBase> GetNavDestinationCustomNode(); 79 void SetNavDestinationCustomNode(WeakPtr<CustomNodeBase> customNode) in SetNavDestinationCustomNode() 208 WeakPtr<CustomNodeBase> customNode_; // nearest parent customNode
|
H A D | navdestination_group_node.cpp | 155 RefPtr<CustomNodeBase> NavDestinationGroupNode::GetNavDestinationCustomNode() in GetNavDestinationCustomNode()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | state_style_manager.cpp | 138 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 D | state_style_manager.h | 31 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 D | recycle_node_test_ng.cpp | 59 …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 D | js_view.h | 381 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 D | js_view.cpp | 645 …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 D | view_partial_update_model_ng.cpp | 38 RefPtr<NG::CustomNodeBase> customNode; in CreateNode() 91 auto weakNode = AceType::DynamicCast<NG::CustomNodeBase>(node); in MarkNeedUpdate()
|
H A D | view_partial_update_model.h | 49 std::function<void(RefPtr<NG::CustomNodeBase>)> recycleCustomNodeFunc;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_view_register_impl_ng.cpp | 372 auto customNode = AceType::DynamicCast<NG::CustomNodeBase>(pageRootNode); in UpdateRootComponent() 374 …[weakCustom = WeakPtr<NG::CustomNodeBase>(customNode), weakPage = WeakPtr<NG::FrameNode>(pageNode)… in UpdateRootComponent()
|
H A D | jsi_view_register_impl.cpp | 426 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 D | navrouter_pattern_test_ng.cpp | 680 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 D | page_pattern.cpp | 361 auto customNode = DynamicCast<CustomNodeBase>(host->GetFirstChild()); in ReloadPage()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/plugin/ |
H A D | plugin_pattern.cpp | 545 auto customNode = DynamicCast<CustomNodeBase>(host->GetFirstChild()); in FlushReload()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/custom/ |
H A D | custom_test_ng.cpp | 577 …customNode->SetRecycleFunction([&recycleCustomNodeFunc](RefPtr<CustomNodeBase>) { recycleCustomNod… in __anon71f9752b1402() argument 941 RefPtr<CustomNodeBase> customNode =
|
/ohos5.0/foundation/arkui/ace_engine/build/ |
H A D | libace.map | 217 OHOS::Ace::NG::CustomNodeBase::*;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/ |
H A D | pipeline_context.cpp | 347 if (AceType::InstanceOf<NG::CustomNodeBase>(node)) { in FlushDirtyNodeUpdate() 348 auto customNode = AceType::DynamicCast<NG::CustomNodeBase>(node); in FlushDirtyNodeUpdate()
|