Searched refs:GridLayoutAlgorithm (Results 1 – 6 of 6) sorted by relevance
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_layout/ |
| D | grid_layout_algorithm.h | 30 class ACE_EXPORT GridLayoutAlgorithm : public GridLayoutBaseAlgorithm { 31 DECLARE_ACE_TYPE(GridLayoutAlgorithm, GridLayoutBaseAlgorithm); 34 GridLayoutAlgorithm(GridLayoutInfo gridLayoutInfo, int32_t crossCount, int32_t mainCount) in GridLayoutAlgorithm() function 36 ~GridLayoutAlgorithm() override = default; 71 ACE_DISALLOW_COPY_AND_MOVE(GridLayoutAlgorithm);
|
| D | grid_layout_algorithm.cpp | 33 LayoutConstraintF GridLayoutAlgorithm::CreateChildConstraint(const SizeF& idealSize, in CreateChildConstraint() 60 void GridLayoutAlgorithm::InitGridCeils(LayoutWrapper* layoutWrapper, const SizeF& idealSize) in InitGridCeils() 103 bool GridLayoutAlgorithm::CheckGridPlaced(int32_t index, int32_t row, int32_t col, int32_t& rowSpan… in CheckGridPlaced() 154 void GridLayoutAlgorithm::GetNextGrid(int32_t& curRow, int32_t& curCol) const in GetNextGrid() 171 OffsetF GridLayoutAlgorithm::ComputeItemPosition(LayoutWrapper* layoutWrapper, int32_t row, int32_t… in ComputeItemPosition() 215 float GridLayoutAlgorithm::GetItemSize(int32_t row, int32_t col, bool height) const in GetItemSize() 228 GridItemRect GridLayoutAlgorithm::GetItemRect(const RefPtr<GridLayoutProperty>& gridLayoutProperty, in GetItemRect() 250 void GridLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 329 void GridLayoutAlgorithm::UpdateGridLayoutInfo() in UpdateGridLayoutInfo() 337 void GridLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout() [all …]
|
| /foundation/arkui/ace_engine/test/unittest/core/pattern/grid/ |
| D | grid_layout_test_ng.cpp | 181 auto algorithm = AceType::MakeRefPtr<GridLayoutAlgorithm>(GridLayoutInfo {}, 4, 4); 207 auto algorithm = AceType::MakeRefPtr<GridLayoutAlgorithm>(GridLayoutInfo {}, 4, 4); 234 auto algorithm = AceType::MakeRefPtr<GridLayoutAlgorithm>(GridLayoutInfo {}, 4, 4);
|
| D | grid_option_layout_test_ng.cpp | 566 auto algorithm = AceType::MakeRefPtr<GridLayoutAlgorithm>(GridLayoutInfo {}, 2, 5); 735 auto algorithm = AceType::MakeRefPtr<GridLayoutAlgorithm>(GridLayoutInfo {}, 2, 5);
|
| D | grid_scroll_layout_test_ng.cpp | 472 auto algorithm = AceType::MakeRefPtr<GridLayoutAlgorithm>(GridLayoutInfo {}, 2, 5);
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
| D | grid_pattern.cpp | 68 return MakeRefPtr<GridLayoutAlgorithm>(info_, crossCount, mainCount); in CreateLayoutAlgorithm()
|