Home
last modified time | relevance | path

Searched refs:GridLayoutAlgorithm (Results 1 – 6 of 6) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_layout/
Dgrid_layout_algorithm.h30 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);
Dgrid_layout_algorithm.cpp33 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/
Dgrid_layout_test_ng.cpp181 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);
Dgrid_option_layout_test_ng.cpp566 auto algorithm = AceType::MakeRefPtr<GridLayoutAlgorithm>(GridLayoutInfo {}, 2, 5);
735 auto algorithm = AceType::MakeRefPtr<GridLayoutAlgorithm>(GridLayoutInfo {}, 2, 5);
Dgrid_scroll_layout_test_ng.cpp472 auto algorithm = AceType::MakeRefPtr<GridLayoutAlgorithm>(GridLayoutInfo {}, 2, 5);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
Dgrid_pattern.cpp68 return MakeRefPtr<GridLayoutAlgorithm>(info_, crossCount, mainCount); in CreateLayoutAlgorithm()