Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/
H A Dwrap_layout_algorithm.cpp110 auto realMaxSize = GetLeftSize(0.0f, mainLengthLimit_, crossLengthLimit_); in Measure()
114 mainLengthLimit_ = GetMainAxisLengthOfSize(realMaxSize); in Measure()
278 mainLengthLimit_ = hasIdealWidth_ ? widthValue.value() : constraint->maxSize.Width(); in PerformLayoutInitialize()
281 mainLengthLimit_ = hasIdealHeight_ ? heightValue.value() : constraint->maxSize.Height(); in PerformLayoutInitialize()
296 mainLengthLimit_ = constraint->maxSize.Width(); in PerformLayoutInitialize()
299 mainLengthLimit_ = constraint->maxSize.Height(); in PerformLayoutInitialize()
451 return SizeF(mainLengthLimit_ - totalMainLength, 0.0f); in GetMainAxisRemainSpace()
453 return SizeF(0.0f, mainLengthLimit_ - totalMainLength); in GetMainAxisRemainSpace()
555 float spaceLeftOnMainAxis = mainLengthLimit_ - content.mainLength; in CalcItemMainAxisStartAndSpaceBetween()
604 float remainSpace = mainLengthLimit_ - currentMainLength_; in LayoutContent()
[all …]
H A Dwrap_layout_algorithm.h139 float mainLengthLimit_ = 0.0f; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/wrap/
H A Drender_wrap.cpp87 layoutParam.SetMaxSize(GetLeftSize(0.0, mainLengthLimit_, crossLengthLimit_)); in PerformLayout()
124 if (mainLengthLimit_ >= currentMainLength + GetMainItemLength(item)) { in PerformLayout()
176 SetWrapLayoutSize(mainLengthLimit_, totalCrossLength_); in PerformLayout()
300 if (totalLength - spacing > mainLengthLimit_) { in HandleDialogStretch()
309 double buttonSize = (mainLengthLimit_ - spacing * (dialogButtonNum - 1)) / dialogButtonNum; in HandleDialogStretch()
314 … double stretchSize = dialogDirection_ == WrapDirection::VERTICAL ? mainLengthLimit_ : buttonSize; in HandleDialogStretch()
320 totalMainLength_ = mainLengthLimit_; in HandleDialogStretch()
370 mainLengthLimit_ = GetLayoutParam().GetMaxSize().Width(); in PerformLayoutInitialize()
373 mainLengthLimit_ = in PerformLayoutInitialize()
474 currentMainSpaceLength = mainLengthLimit_ - content.mainLength_; in TraverseContent()
[all …]
H A Drender_wrap.h136 double mainLengthLimit_ = 0.0; variable