Home
last modified time | relevance | path

Searched refs:customMeasureLayoutNode (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dview_partial_update_model_ng.cpp43 … auto customMeasureLayoutNode = AceType::DynamicCast<NG::CustomMeasureLayoutNode>(customNode); in CreateNode() local
44 if (info.measureSizeFunc && customMeasureLayoutNode) { in CreateNode()
45 customMeasureLayoutNode->SetMeasureFunction(std::move(info.measureSizeFunc)); in CreateNode()
46 } else if (info.measureFunc && customMeasureLayoutNode) { in CreateNode()
47 customMeasureLayoutNode->SetMeasureFunction(std::move(info.measureFunc)); in CreateNode()
49 if (info.placeChildrenFunc && customMeasureLayoutNode) { in CreateNode()
50 customMeasureLayoutNode->SetLayoutFunction(std::move(info.placeChildrenFunc)); in CreateNode()
51 } else if (info.layoutFunc && customMeasureLayoutNode) { in CreateNode()
52 customMeasureLayoutNode->SetLayoutFunction(std::move(info.layoutFunc)); in CreateNode()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view.cpp769 auto customMeasureLayoutNode = DynamicCast<NG::CustomMeasureLayoutNode>(node); in CreateViewNode() local
770 if (customMeasureLayoutNode) { in CreateViewNode()
777 customMeasureLayoutNode->SetUpdateParamFunc(updateParamFunc); in CreateViewNode()