Home
last modified time | relevance | path

Searched refs:renderFunction (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dview_partial_update_model_impl.cpp43 …auto renderFunction = [renderFunc = std::move(info.renderFunc), updateFunc = std::move(info.update… in CreateNode() local
52 auto elementFunction = [renderFunction = std::move(renderFunction), nodeInfo = std::move(info)]( in CreateNode()
64 element->SetRenderFunction(std::move(renderFunction)); in CreateNode()
H A Dview_full_update_model_impl.cpp46 auto renderFunction = [renderFunc = nodeInfo.renderFunc]( in CreateNode() local
54 element->SetRenderFunction(std::move(renderFunction)); in CreateNode()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/custom/
H A Dcustom_test_ng.cpp111 customNode->SetRenderFunction(std::move(renderFunction));
158 customNode->SetRenderFunction(std::move(renderFunction));
206 customNode->SetRenderFunction(std::move(renderFunction));
324 customNode->SetRenderFunction(std::move(renderFunction));
381 customNode->SetRenderFunction(std::move(renderFunction));
793 auto renderFunction = [&]() -> RefPtr<UINode> { in __anon71f9752b2002() variable
798 customNode->renderFunction_ = renderFunction;
819 auto renderFunction = [&]() -> RefPtr<UINode> { in __anon71f9752b2102() variable
824 customNode->completeReloadFunc_ = renderFunction;
1155 auto renderFunction = []() -> RefPtr<UINode> { in __anon71f9752b2a02() variable
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/custom/
H A Dcustom_node_pattern.h39 void SetRenderFunction(const RenderFunction& renderFunction) in SetRenderFunction() argument
41 renderFunction_ = renderFunction; in SetRenderFunction()
H A Dcustom_node_layout_algorithm.h38 …cit CustomNodeLayoutAlgorithm(const RenderFunction& renderFunction) : renderFunction_(renderFuncti… in CustomNodeLayoutAlgorithm() argument
H A Dcustom_node.cpp54 RenderFunction renderFunction = nullptr; in Render() local
55 std::swap(renderFunction, renderFunction_); in Render()
69 auto child = renderFunction(); in Render()
H A Dcustom_measure_layout_node.h41 void SetRenderFunction(const RenderFunction& renderFunction) override in SetRenderFunction() argument
45 pattern->SetRenderFunction(renderFunction); in SetRenderFunction()
H A Dcustom_node.h50 void SetRenderFunction(const RenderFunction& renderFunction) override in SetRenderFunction() argument
52 renderFunction_ = renderFunction; in SetRenderFunction()
H A Dcustom_node_base.h61 virtual void SetRenderFunction(const RenderFunction& renderFunction) {} in SetRenderFunction() argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dview_full_update_model_ng.cpp37 auto renderFunction = [internalRender = std::move(info.renderFunc)]() -> RefPtr<UINode> { in CreateNode() local
41 composedNode->SetRenderFunction(std::move(renderFunction)); in CreateNode()
H A Dview_partial_update_model_ng.cpp64 auto renderFunc = [renderFunction = std::move(info.renderFunc)]() -> RefPtr<UINode> { in CreateNode()
65 auto node = renderFunction(); in CreateNode()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/base/
H A Dview_full_update_model_ng_test.cpp133 auto renderFunction = [&view]() -> RefPtr<AceType> { in __anon349f73a20602() variable
142 .renderFunc = std::move(renderFunction),
H A Dview_partial_update_model_test_ng.cpp259 auto renderFunction = [&testRenderfunc]() -> RefPtr<AceType> { in __anon5736251c1002() variable
264 .renderFunc = renderFunction,
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/context/
H A Djs_app_context.cpp189 jerry_value_t renderFunction = jerryx_get_property_str(viewModel, ATTR_RENDER); in Render() local
190 if (jerry_value_is_undefined(renderFunction)) { in Render()
194 jerry_value_t nativeElement = CallJSFunction(renderFunction, viewModel, nullptr, 0); in Render()
198 jerry_release_value(renderFunction); in Render()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view.cpp195 auto renderFunction = [weak = AceType::WeakClaim(this)]() -> RefPtr<AceType> { in CreateViewNode() local
231 .renderFunc = std::move(renderFunction), in CreateViewNode()
559 auto renderFunction = [weak = AceType::WeakClaim(this)]() -> RefPtr<AceType> { in CreateViewNode() local
695 .renderFunc = std::move(renderFunction), in CreateViewNode()