Home
last modified time | relevance | path

Searched refs:mainLen (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_lanes_layout_algorithm.cpp55 float mainLen = 0.0f; in GetChildHeight() local
58 mainLen = std::max(mainLen, childrenSize_->GetChildSize(index)); in GetChildHeight()
60 return mainLen; in GetChildHeight()
69 float mainLen = 0.0f; in MeasureAndGetChildHeight() local
85 return mainLen; in MeasureAndGetChildHeight()
121 float mainLen = 0.0f; in LayoutALineForward() local
171 float mainLen = 0.0f; in LayoutALineBackward() local
458 float mainLen = 0.0f; in LayoutCachedALineForward() local
506 float mainLen = 0.0f; in LayoutCachedALineBackward() local
601 float mainLen = 0.0f; in LayoutCachedForward() local
[all …]
H A Dlist_item_group_layout_algorithm.cpp604 float mainLen = 0; in MeasureALineCenter() local
616mainLen = std::max(mainLen, GetMainAxisSize(wrapper->GetGeometryNode()->GetMarginFrameSize(), axis… in MeasureALineCenter()
634 float mainLen = 0.0f; in MeasureALineForward() local
648mainLen = std::max(mainLen, GetMainAxisSize(wrapper->GetGeometryNode()->GetMarginFrameSize(), axis… in MeasureALineForward()
651 endPos = startPos + mainLen; in MeasureALineForward()
664 float mainLen = 0.0f; in MeasureALineBackward() local
678mainLen = std::max(mainLen, GetMainAxisSize(wrapper->GetGeometryNode()->GetMarginFrameSize(), axis… in MeasureALineBackward()
684 startPos = endPos - mainLen; in MeasureALineBackward()
1327 float mainLen = 0.0f; in MeasureCacheForward() local
1340mainLen = std::max(mainLen, GetMainAxisSize(wrapper->GetGeometryNode()->GetMarginFrameSize(), axis… in MeasureCacheForward()
[all …]
H A Dlist_layout_algorithm.cpp349 float mainLen = childrenSize_ ? in HandleJumpAuto() local
363 float mainLen = childrenSize_ ? in HandleJumpAuto() local
395 float mainLen = childrenSize_ ? in HandleJumpCenter() local
397 float startPos = (contentMainSize_ - mainLen) / 2.0f; in HandleJumpCenter()
622 return mainLen; in MeasureAndGetChildHeight()
979 float mainLen = childrenSize_ ? childrenSize_->GetChildSize(currentIndex) : in LayoutALineForward() local
981 endPos = startPos + mainLen; in LayoutALineForward()
1016 float mainLen = childrenSize_ ? childrenSize_->GetChildSize(currentIndex) : in LayoutALineBackward() local
1018 startPos = endPos - mainLen; in LayoutALineBackward()
1759 pos.startPos = pos.endPos - mainLen; in AdjustPostionForListItemGroup()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/
H A Dwater_flow_layout_sw.cpp358 const float mainLen = MeasureChild(props, idx, laneIdx); in FillBackSection() local
359 float endPos = FillBackHelper(mainLen, idx++, laneIdx); in FillBackSection()
399 const float mainLen = MeasureChild(props, idx, laneIdx); in FillFrontSection() local
400 float startPos = FillFrontHelper(mainLen, idx--, laneIdx); in FillFrontSection()
455 const float mainLen = MeasureChild(props, idx, laneIdx); in RecoverBack() local
456 float endPos = FillBackHelper(mainLen, idx++, laneIdx); in RecoverBack()
480 const float mainLen = MeasureChild(props, idx, laneIdx); in RecoverFront() local
481 float startPos = FillFrontHelper(mainLen, idx--, laneIdx); in RecoverFront()
843 const float mainLen = child->GetGeometryNode()->GetMarginFrameSize().MainSize(info_->axis_); in RecoverCachedHelper() local
845 front ? FillFrontHelper(mainLen, idx, it->second) : FillBackHelper(mainLen, idx, it->second); in RecoverCachedHelper()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Dlist_watch_layout_manager.cpp86 double mainLen = renderList_.GetMainSize(viewPort_); in SetChildPosition() local
116 mainAxis = mainLen - renderList_.GetMainSize(child->GetLayoutSize()) - mainAxis; in SetChildPosition()
125 mainAxis = mainLen - renderList_.GetMainSize(child->GetLayoutSize()) - mainAxis; in SetChildPosition()
H A Dlist_layout_manager.cpp636 double mainLen = renderList_.GetMainSize(viewPort_); in SetChildPosition() local
677 mainAxis = mainLen - renderList_.GetMainSize(child->GetLayoutSize()) - mainAxis; in SetChildPosition()
682 mainAxis = mainLen - renderList_.GetMainSize(child->GetLayoutSize()) - mainAxis; in SetChildPosition()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/
H A Drender_grid_scroll.cpp282 double mainLen = 0.0; in SetChildPosition() local
285 mainLen += GetSize(gridCells_.at(main + i).at(0)); in SetChildPosition()
288 mainLen += (mainSpan - 1) * (*mainGap_); in SetChildPosition()
299 positionMain = colSize_ - positionMain - mainLen; in SetChildPosition()
303 double mainOffset = (mainLen - GetSize(child->GetLayoutSize())) / 2.0; in SetChildPosition()
608 double mainLen = 0.0; in MakeInnerLayoutParam() local
612 mainLen += Size::IsValueInfinite(maxMainSize) ? GetSize(viewPort_) : maxMainSize; in MakeInnerLayoutParam()
617 mainLen += GetSize(gridCells_.at(main + i).at(cross)); in MakeInnerLayoutParam()
620 mainLen += (mainSpan - 1) * (*mainGap_); in MakeInnerLayoutParam()
632 size = Size(mainLen, crossLen); in MakeInnerLayoutParam()
[all …]