Home
last modified time | relevance | path

Searched refs:childLayoutWeight (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.cpp273 float childLayoutWeight = 0.0f; in TravelChildrenFlexProps() local
289 if (GreatNotEqual(childLayoutWeight, 0.0f)) { in TravelChildrenFlexProps()
294 if (GreatNotEqual(childLayoutWeight, 0.0f)) { in TravelChildrenFlexProps()
295 magicNodeWeights_[childDisplayPriority] += childLayoutWeight; in TravelChildrenFlexProps()
299 totalFlexWeight_ += GreatNotEqual(childLayoutWeight, 0.0f) ? childLayoutWeight : 0.0f; in TravelChildrenFlexProps()
344 float childLayoutWeight = 0.0f; in MeasureAndCleanMagicNodes() local
348 if (LessOrEqual(childLayoutWeight, 0.0f)) { in MeasureAndCleanMagicNodes()
398 float childLayoutWeight = 0.0f; in MeasureAndCleanMagicNodes() local
401 if (LessOrEqual(childLayoutWeight, 0.0)) { in MeasureAndCleanMagicNodes()
440 float childLayoutWeight = 0.0f; in MeasureAndCleanMagicNodes() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/relative_container/
H A Drelative_container_layout_algorithm.cpp379 float childLayoutWeight = DEFAULT_WEIGHT; in CheckNodeInHorizontalChain() local
381 childLayoutWeight = nextNodeFlexItem->GetChainWeight()->first.value_or(0.0f); in CheckNodeInHorizontalChain()
382 if (GreatNotEqual(childLayoutWeight, 0.0f)) { in CheckNodeInHorizontalChain()
384 totalChainWeight += childLayoutWeight; in CheckNodeInHorizontalChain()
420 isChainWeightMode_ += GreatNotEqual(childLayoutWeight, DEFAULT_WEIGHT); in CheckHorizontalChain()
421 totalChainWeight += std::max(childLayoutWeight, DEFAULT_WEIGHT); in CheckHorizontalChain()
469 float childLayoutWeight = DEFAULT_WEIGHT; in CheckNodeInVerticalChain() local
472 if (GreatNotEqual(childLayoutWeight, 0.0f)) { in CheckNodeInVerticalChain()
474 totalChainWeight += childLayoutWeight; in CheckNodeInVerticalChain()
510 isChainWeightMode_ += GreatNotEqual(childLayoutWeight, DEFAULT_WEIGHT); in CheckVerticalChain()
[all …]