Home
last modified time | relevance | path

Searched refs:layoutFunc (Results 1 - 6 of 6) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/custom/
H A Dcustom_measure_layout_node.h53 void SetLayoutFunction(std::function<void(LayoutWrapper* layoutWrapper)>&& layoutFunc) in SetLayoutFunction() argument
55 layoutFunc_ = std::move(layoutFunc); in SetLayoutFunction()
/foundation/arkui/ace_engine/test/unittest/core/base/
H A Dview_partial_update_model_test_ng.cpp145 * @tc.steps: step1. call the CreateNode function and set info.layoutFunc. in HWTEST_F()
146 * @tc.expected: step1. info.layoutFunc is not null and return expect value. in HWTEST_F()
163 .layoutFunc = std::move(layoutFuncation), in HWTEST_F()
168 EXPECT_NE(info.layoutFunc, nullptr); in HWTEST_F()
202 .layoutFunc = std::move(layoutFuncation), in HWTEST_F()
244 .layoutFunc = std::move(layoutFuncation), in HWTEST_F()
333 .layoutFunc = std::move(layoutFuncation), in HWTEST_F()
375 .layoutFunc = std::move(layoutFuncation), in HWTEST_F()
418 .layoutFunc = std::move(layoutFuncation), in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dview_partial_update_model_ng.cpp46 } else if (info.layoutFunc && customMeasureLayoutNode) { in CreateNode()
47 customMeasureLayoutNode->SetLayoutFunction(std::move(info.layoutFunc)); in CreateNode()
H A Dview_partial_update_model.h43 std::function<void(NG::LayoutWrapper*)> layoutFunc; member
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view_measure_layout.cpp279 JSRef<JSFunc> layoutFunc = JSRef<JSFunc>::New<FunctionCallback>(ViewMeasureLayout::JSLayout); in GenChildArray() local
286 info->SetPropertyObject("layout", layoutFunc); in GenChildArray()
354 JSRef<JSFunc> layoutFunc = JSRef<JSFunc>::New<FunctionCallback>(ViewMeasureLayout::JSPlaceChildren); in GenChildArray() local
364 info->SetPropertyObject("layout", layoutFunc); in GenChildArray()
H A Djs_view.cpp722 auto layoutFunc = [weak = AceType::WeakClaim(this)](NG::LayoutWrapper* layoutWrapper) -> void { in CreateViewNode() local
729 info.layoutFunc = std::move(layoutFunc); in CreateViewNode()

Completed in 9 milliseconds