Searched refs:customMeasureLayoutNode (Results 1 – 2 of 2) sorted by relevance
43 … auto customMeasureLayoutNode = AceType::DynamicCast<NG::CustomMeasureLayoutNode>(customNode); in CreateNode() local44 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()
769 auto customMeasureLayoutNode = DynamicCast<NG::CustomMeasureLayoutNode>(node); in CreateViewNode() local770 if (customMeasureLayoutNode) { in CreateViewNode()777 customMeasureLayoutNode->SetUpdateParamFunc(updateParamFunc); in CreateViewNode()