Home
last modified time | relevance | path

Searched refs:getFlex (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/
H A Dflex_layout_algorithm.cpp607 std::function<float(const RefPtr<LayoutWrapper>&)> getFlex; in SecondaryMeasureByProperty() local
646 CheckIsGrowOrShrink(getFlex, remainSpace, spacePerFlex, flexItemProperties, lastChild); in SecondaryMeasureByProperty()
667 float itemFlex = getFlex(child.layoutWrapper); in SecondaryMeasureByProperty()
735 …exLayoutAlgorithm::CheckIsGrowOrShrink(std::function<float(const RefPtr<LayoutWrapper>&)>& getFlex, in CheckIsGrowOrShrink() argument
739 getFlex = [](const RefPtr<LayoutWrapper>& item) -> float { in CheckIsGrowOrShrink()
756getFlex = [isLinearLayoutFeature = isLinearLayoutFeature_](const RefPtr<LayoutWrapper>& item) -> f… in CheckIsGrowOrShrink()
H A Dflex_layout_algorithm.h92 …void CheckIsGrowOrShrink(std::function<float(const RefPtr<LayoutWrapper>&)>& getFlex, float remain…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/flex/
H A Drender_flex.cpp593 double (*getFlex)(const RefPtr<RenderFlexItem>&) = nullptr; in ResizeItems() local
596 getFlex = [](const RefPtr<RenderFlexItem>& item) { return item->GetFlexGrow(); }; in ResizeItems()
600 getFlex = [](const RefPtr<RenderFlexItem>& item) { return item->GetFlexShrink(); }; in ResizeItems()
620 double itemFlex = getFlex(flexItem); in ResizeItems()