/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | view_full_update_model_ng.cpp | 35 auto renderFunction = [internalRender = std::move(info.renderFunc)]() -> RefPtr<UINode> { in CreateNode() local 39 composedNode->SetRenderFunction(std::move(renderFunction)); in CreateNode()
|
H A D | view_partial_update_model_ng.cpp | 59 auto renderFunc = [renderFunction = std::move(info.renderFunc)]() -> RefPtr<UINode> { in CreateNode() 60 auto node = renderFunction(); in CreateNode()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/custom/ |
H A D | custom_node_pattern.h | 39 void SetRenderFunction(const RenderFunction& renderFunction) in SetRenderFunction() argument 41 renderFunction_ = renderFunction; in SetRenderFunction()
|
H A D | custom_node_layout_algorithm.h | 38 explicit CustomNodeLayoutAlgorithm(const RenderFunction& renderFunction) : renderFunction_(renderFunction) {} in CustomNodeLayoutAlgorithm() argument
|
H A D | custom_measure_layout_node.h | 41 void SetRenderFunction(const RenderFunction& renderFunction) override 45 pattern->SetRenderFunction(renderFunction);
|
H A D | custom_node.cpp | 48 RenderFunction renderFunction = nullptr; in Render() local 49 std::swap(renderFunction, renderFunction_); in Render() 63 auto child = renderFunction(); in Render()
|
H A D | custom_node.h | 50 void SetRenderFunction(const RenderFunction& renderFunction) override 52 renderFunction_ = renderFunction;
|
H A D | custom_node_base.h | 61 virtual void SetRenderFunction(const RenderFunction& renderFunction) {} in SetRenderFunction() argument
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | view_partial_update_model_impl.cpp | 38 auto renderFunction = [renderFunc = std::move(info.renderFunc), updateFunc = std::move(info.updateFunc)]( in CreateNode() local 47 auto elementFunction = [renderFunction = std::move(renderFunction), nodeInfo = std::move(info)]( in CreateNode() 59 element->SetRenderFunction(std::move(renderFunction)); in CreateNode()
|
H A D | view_full_update_model_impl.cpp | 41 auto renderFunction = [renderFunc = nodeInfo.renderFunc]( in CreateNode() 49 element->SetRenderFunction(std::move(renderFunction)); in CreateNode()
|
/foundation/arkui/ace_engine/test/unittest/core/base/ |
H A D | view_partial_update_model_test_ng.cpp | 237 auto renderFunction = [&testRenderfunc]() -> RefPtr<AceType> { return nullptr; }; in HWTEST_F() local 240 .renderFunc = renderFunction, in HWTEST_F() 326 auto renderFunction = [&testRenderfunc]() -> RefPtr<AceType> { return nullptr; }; in HWTEST_F() local 329 .renderFunc = renderFunction, in HWTEST_F() 367 auto renderFunction = [&testRenderfunc]() -> RefPtr<AceType> { return nullptr; }; in HWTEST_F() local 372 .renderFunc = renderFunction, in HWTEST_F() 410 auto renderFunction = [&testRenderfunc]() -> RefPtr<AceType> { return nullptr; }; in HWTEST_F() local 415 .renderFunc = renderFunction, in HWTEST_F()
|
H A D | view_full_update_model_ng_test.cpp | 133 auto renderFunction = [&view]() -> RefPtr<AceType> { in HWTEST_F() local 142 .renderFunc = std::move(renderFunction), in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/custom/ |
H A D | custom_test_ng.cpp | 107 auto renderFunction = [internalRender = std::move(renderFunc)]() -> RefPtr<UINode> { in HWTEST_F() local 111 customNode->SetRenderFunction(std::move(renderFunction)); in HWTEST_F() 154 auto renderFunction = [internalRender = std::move(renderFunc)]() -> RefPtr<UINode> { in HWTEST_F() local 158 customNode->SetRenderFunction(std::move(renderFunction)); in HWTEST_F() 202 auto renderFunction = [internalRender = std::move(renderFunc)]() -> RefPtr<UINode> { in HWTEST_F() local 206 customNode->SetRenderFunction(std::move(renderFunction)); in HWTEST_F() 315 * @tc.steps: step4. set renderFunction, add child to customNode and invoke Measure function. in HWTEST_F() 320 auto renderFunction = [internalRender = std::move(renderFunc)]() -> RefPtr<UINode> { in HWTEST_F() local 324 customNode->SetRenderFunction(std::move(renderFunction)); in HWTEST_F() 372 * @tc.steps: step4. set renderFunction, ad in HWTEST_F() 377 auto renderFunction = [internalRender = std::move(renderFunc)]() -> RefPtr<UINode> { HWTEST_F() local 439 auto renderFunction = [internalRender = std::move(renderFunc)]() -> RefPtr<UINode> { HWTEST_F() local 495 auto renderFunction = [internalRender = std::move(renderFunc)]() -> RefPtr<UINode> { HWTEST_F() local 793 auto renderFunction = [&]() -> RefPtr<UINode> { HWTEST_F() local 819 auto renderFunction = [&]() -> RefPtr<UINode> { HWTEST_F() local 864 auto renderFunction = [internalRender = std::move(renderFunc)]() -> RefPtr<UINode> { HWTEST_F() local 1157 auto renderFunction = []() -> RefPtr<UINode> { HWTEST_F() local [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/context/ |
H A D | js_app_context.cpp | 189 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()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_view.cpp | 192 auto renderFunction = [weak = AceType::WeakClaim(this)]() -> RefPtr<AceType> { in CreateViewNode() local 228 .renderFunc = std::move(renderFunction), in CreateViewNode() 556 auto renderFunction = [weak = AceType::WeakClaim(this)]() -> RefPtr<AceType> { in CreateViewNode() local 692 .renderFunc = std::move(renderFunction), in CreateViewNode()
|