Home
last modified time | relevance | path

Searched refs:spacePerWeight (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/
H A Dflex_layout_algorithm.cpp390 auto spacePerWeight = remainedMainAxisSize / newTotalFlexWeight; in MeasureAndCleanMagicNodes() local
404 float childCalcSize = std::max(spacePerWeight * childLayoutWeight, 0.0f); in MeasureAndCleanMagicNodes()
424 spacePerWeight = remainedMainAxisSize / newTotalFlexWeight; in MeasureAndCleanMagicNodes()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/flex/
H A Drender_flex.cpp299 auto spacePerWeight = maxMainSize / totalFlexWeight_; in PerformLayoutInWeightMode() local
310 auto childFlexSize = spacePerWeight * child->GetFlexWeight(); in PerformLayoutInWeightMode()
329 spacePerWeight = maxMainSize / totalFlexWeight_; in PerformLayoutInWeightMode()