Home
last modified time | relevance | path

Searched refs:totalFlexWeight_ (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/flex/
H A Drender_flex.cpp299 auto spacePerWeight = maxMainSize / totalFlexWeight_; in PerformLayoutInWeightMode()
328 totalFlexWeight_ -= magicWeightMaps_[(*magicNodes_.begin()).first]; in PerformLayoutInWeightMode()
329 spacePerWeight = maxMainSize / totalFlexWeight_; in PerformLayoutInWeightMode()
909 totalFlexWeight_ = 0.0; in InitFlexProperties()
946 totalFlexWeight_ += child->GetFlexWeight(); in TravelChildrenFlexProps()
949 …LessOrEqual(totalFlexWeight_, 0.0) ? FlexLayoutMode::FLEX_ITEM_MODE : FlexLayoutMode::FLEX_WEIGHT_… in TravelChildrenFlexProps()
1146 totalFlexWeight_ = 0.0; in ClearRenderObject()
H A Drender_flex.h247 double totalFlexWeight_ = 0.0; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/
H A Dflex_layout_algorithm.h107 float totalFlexWeight_ = 0.0f; variable
H A Dflex_layout_algorithm.cpp249 totalFlexWeight_ = 0.0f; in TravelChildrenFlexProps()
299 totalFlexWeight_ += GreatNotEqual(childLayoutWeight, 0.0f) ? childLayoutWeight : 0.0f; in TravelChildrenFlexProps()
327 if (GreatNotEqual(totalFlexWeight_, 0.0f)) { in MeasureAndCleanMagicNodes()
328 auto newTotalFlexWeight = totalFlexWeight_; in MeasureAndCleanMagicNodes()
658 if (LessOrEqual(totalFlexWeight_, 0.0f) && in SecondaryMeasureByProperty()