Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Dgrid_layout_manager.cpp290 double childMainSize = 0.0; in PerformLayout() local
303childMainSize = std::max(renderList_.GetMainSize(itemChild->GetLayoutSize()), childMainSize); in PerformLayout()
308 childMainSize = 0.0; in PerformLayout()
315 curMainSize += childMainSize; in PerformLayout()
384 double childMainSize = 0.0; in LayoutToItem() local
397childMainSize = std::max(renderList_.GetMainSize(itemChild->GetLayoutSize()), childMainSize); in LayoutToItem()
402 childMainSize = 0.0; in LayoutToItem()
410 curMainSize += childMainSize; in LayoutToItem()
422 double childMainSize = 0.0; in LayoutMore() local
442 childMainSize = 0.0; in LayoutMore()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Drender_list.cpp804 double childMainSize = 0.0; in SetItemsPositionForLaneList() local
816childMainSize = std::max(childMainSize, singleChildSize); // get max item height in a row as row h… in SetItemsPositionForLaneList()
871 double limit = curMainPos + childMainSize; in SetItemsPositionForLaneList()
893 childMainSize += spaceWidth_; in SetItemsPositionForLaneList()
900 curMainPos += childMainSize; in SetItemsPositionForLaneList()
971 double childMainSize = GetMainSize(childLayoutSize); in SetItemsPosition() local
990 double limit = curMainPos + childMainSize; in SetItemsPosition()
1031 childMainSize += spaceWidth_; in SetItemsPosition()
1041 curMainPos += childMainSize; in SetItemsPosition()
1382 mainSize = std::max(mainSize, childMainSize); in LayoutOrRecycleCurrentItemsForLaneList()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_layout/
H A Dlinear_layout_utils.cpp174 auto childMainSize = remainSize * in Measure() local
177 SetIdealMainSize(childConstraint, childMainSize, isVertical); in Measure()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/grid/
H A Drender_grid.cpp466 double childMainSize = GetMainSize(child->GetLayoutSize()); in MoveChildToViewPort() local
475 if (childMainPos + childMainSize > gridMainSize) { in MoveChildToViewPort()
477 JumpTo(childMainPos + curOffset + childMainSize - gridMainSize); in MoveChildToViewPort()