Searched refs:currentMainLength (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/wrap/ |
H A D | render_wrap.cpp | 94 double currentMainLength = 0.0; in PerformLayout() local 124 if (mainLengthLimit_ >= currentMainLength + GetMainItemLength(item)) { in PerformLayout() 125 currentMainLength += GetMainItemLength(item); in PerformLayout() 126 currentMainLength += spacing; in PerformLayout() 134 currentMainLength -= spacing; in PerformLayout() 144 totalMainLength_ = std::max(currentMainLength, totalMainLength_); in PerformLayout() 146 currentMainLength = GetMainItemLength(item) + spacing; in PerformLayout() 157 currentMainLength -= spacing; in PerformLayout() 170 totalMainLength_ = std::max(currentMainLength, totalMainLength_); in PerformLayout() 181 double& currentMainLength, double& currentCrossLength, double& baselineDistance) in AddBlock() argument [all …]
|
H A D | render_wrap.h | 128 double& currentMainLength, double& currentCrossLength, double& baselineDistance);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/ |
H A D | wrap_layout_algorithm.cpp | 126 float currentMainLength = 0.0f; in Measure() local 142 …if (GreatOrEqual(mainLengthLimit_, currentMainLength + GetItemMainAxisLength(item->GetGeometryNode… in Measure() 143 currentMainLength += GetItemMainAxisLength(item->GetGeometryNode()); in Measure() 144 currentMainLength += spacing; in Measure() 153 currentMainLength -= spacing; in Measure() 156 … ContentInfo(currentMainLength, currentCrossLength, currentItemCount, currentMainAxisItemsList); in Measure() 164 totalMainLength_ = std::max(currentMainLength, totalMainLength_); in Measure() 166 currentMainLength = GetItemMainAxisLength(item->GetGeometryNode()) + spacing; in Measure() 177 currentMainLength -= spacing; in Measure() 179 … ContentInfo(currentMainLength, currentCrossLength, currentItemCount, currentMainAxisItemsList); in Measure() [all …]
|