Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_item_accessibility_property.cpp42 auto gridItemLayoutProperty = frameNode->GetLayoutProperty<GridItemLayoutProperty>(); in GetCollectionItemInfo() local
43 CHECK_NULL_RETURN(gridItemLayoutProperty, aceCollectionItemInfo); in GetCollectionItemInfo()
55 aceCollectionItemInfo.row = gridItemLayoutProperty->GetMainIndex().value_or(-1); in GetCollectionItemInfo()
56 aceCollectionItemInfo.column = gridItemLayoutProperty->GetCrossIndex().value_or(-1); in GetCollectionItemInfo()
57 aceCollectionItemInfo.rowSpan = gridItemLayoutProperty->GetMainSpan(gridAxis); in GetCollectionItemInfo()
58 aceCollectionItemInfo.columnSpan = gridItemLayoutProperty->GetCrossSpan(gridAxis); in GetCollectionItemInfo()
H A Dgrid_layout_base_algorithm.h43 auto gridItemLayoutProperty = in UpdateRealGridItemPositionInfo() local
45 CHECK_NULL_VOID(gridItemLayoutProperty); in UpdateRealGridItemPositionInfo()
47gridItemLayoutProperty->CheckWhetherCurrentItemAtExpectedPosition(gridLayoutInfo_.axis_); in UpdateRealGridItemPositionInfo()
59 itemInfo.mainSpan = gridItemLayoutProperty->GetRealMainSpan(gridLayoutInfo_.axis_); in UpdateRealGridItemPositionInfo()
60 itemInfo.crossSpan = gridItemLayoutProperty->GetRealCrossSpan(gridLayoutInfo_.axis_); in UpdateRealGridItemPositionInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_adaptive/
H A Dgrid_adaptive_layout_algorithm.cpp159 … auto gridItemLayoutProperty = AceType::DynamicCast<GridItemLayoutProperty>(layoutProperty); in Layout() local
160 CHECK_NULL_VOID(gridItemLayoutProperty); in Layout()
161 gridItemLayoutProperty->UpdateMainIndex(mainLine.first); in Layout()
162 gridItemLayoutProperty->UpdateCrossIndex(crossLine.first); in Layout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_layout/
H A Dgrid_layout_algorithm.cpp374 … auto gridItemLayoutProperty = AceType::DynamicCast<GridItemLayoutProperty>(layoutProperty); in Layout() local
375 CHECK_NULL_VOID(gridItemLayoutProperty); in Layout()
376 gridItemLayoutProperty->UpdateMainIndex(mainLine.first); in Layout()
377 gridItemLayoutProperty->UpdateCrossIndex(crossLine.first); in Layout()