Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_layout/
H A 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;
70 ACE_DISALLOW_COPY_AND_MOVE(GridLayoutAlgorithm);
H A Dgrid_layout_algorithm.cpp41 LayoutConstraintF GridLayoutAlgorithm::CreateChildConstraint(const SizeF& idealSize, in CreateChildConstraint()
67 void GridLayoutAlgorithm::InitGridCeils(LayoutWrapper* layoutWrapper, const SizeF& idealSize) in InitGridCeils()
110 bool GridLayoutAlgorithm::CheckGridPlaced(int32_t index, int32_t row, int32_t col, int32_t& rowSpan… in CheckGridPlaced()
161 void GridLayoutAlgorithm::GetNextGrid(int32_t& curRow, int32_t& curCol) const in GetNextGrid()
178 OffsetF GridLayoutAlgorithm::ComputeItemPosition(LayoutWrapper* layoutWrapper, int32_t row, int32_t… in ComputeItemPosition()
222 float GridLayoutAlgorithm::GetItemSize(int32_t row, int32_t col, bool height) const in GetItemSize()
235 GridItemRect GridLayoutAlgorithm::GetItemRect(const RefPtr<GridLayoutProperty>& gridLayoutProperty, in GetItemRect()
257 void GridLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure()
337 void GridLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout()
383 void GridLayoutAlgorithm::PrintConflictingPositionLog( in PrintConflictingPositionLog()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/
H A Dgrid_layout_test_ng.cpp654 auto algorithm = AceType::MakeRefPtr<GridLayoutAlgorithm>(GridLayoutInfo {}, 4, 4);
680 auto algorithm = AceType::MakeRefPtr<GridLayoutAlgorithm>(GridLayoutInfo {}, 4, 4);
707 auto algorithm = AceType::MakeRefPtr<GridLayoutAlgorithm>(GridLayoutInfo {}, 4, 4);
736 auto algorithm = AceType::MakeRefPtr<GridLayoutAlgorithm>(GridLayoutInfo {}, 2, 5);
H A Dgrid_option_layout_test_ng.cpp522 auto algorithm = AceType::MakeRefPtr<GridLayoutAlgorithm>(GridLayoutInfo {}, 2, 5);
667 auto algorithm = AceType::MakeRefPtr<GridLayoutAlgorithm>(GridLayoutInfo {}, 2, 5);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_pattern.cpp72 return MakeRefPtr<GridLayoutAlgorithm>(gridLayoutInfo_, crossCount, mainCount); in CreateLayoutAlgorithm()