Home
last modified time | relevance | path

Searched refs:itemMainSize (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/
H A Dgrid_scroll_with_options_layout_algorithm.cpp70 auto itemMainSize = GetMainAxisSize(itemSize, gridLayoutInfo_.axis_); in LargeItemLineHeight() local
71 if (LessNotEqual(itemMainSize, 0.0f)) { in LargeItemLineHeight()
74 itemMainSize = 0.0f; in LargeItemLineHeight()
76 cellAveLength_ = std::max(itemMainSize, cellAveLength_); in LargeItemLineHeight()
H A Dgrid_scroll_layout_algorithm.cpp1522 float itemMainSize = in CreateChildConstraint() local
1535 …gridLayoutProperty->IsVertical() ? SizeF(itemCrossSize, itemMainSize) : SizeF(itemMainSize, itemCr… in CreateChildConstraint()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/
H A Dwater_flow_layout_utils.cpp71 auto itemMainSize = params.mainSize; in CreateChildConstraint() local
73 …params.axis == Axis::VERTICAL ? SizeF(params.crossSize, itemMainSize) : SizeF(itemMainSize, params… in CreateChildConstraint()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/
H A Drender_grid_scroll.cpp564 Dimension itemMainSize; in LayoutChild() local
566 itemMainSize = gridLayoutItem->GetGridItemWidth(); in LayoutChild()
568 itemMainSize = gridLayoutItem->GetGridItemHeight(); in LayoutChild()
570 bool itemMainIsPercent = itemMainSize.Unit() == DimensionUnit::PERCENT; in LayoutChild()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_pattern.cpp5604 auto itemMainSize = CalculateVisibleSize(); in CalcCurrentPageStatusOnRTL() local
5606 auto startPos = itemMainSize - iter->second.endPos; in CalcCurrentPageStatusOnRTL()
5607 auto endPos = itemMainSize - iter->second.startPos; in CalcCurrentPageStatusOnRTL()