Searched refs:UpdateLength (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/irregular/ |
H A D | grid_irregular_filler_test.cpp | 130 EXPECT_TRUE(filler.UpdateLength(len, 50.0f, row, 2, 5.0f)); 135 EXPECT_FALSE(filler.UpdateLength(len, 100.0f, row, 2, 5.0f)); 140 EXPECT_TRUE(filler.UpdateLength(len, 100.0f, row, 3, 10.0f)); 145 EXPECT_FALSE(filler.UpdateLength(len, 200.0f, row, 3, 10.0f));
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/ |
H A D | grid_irregular_filler.cpp | 51 if (UpdateLength(len, targetLen, row, posY_, params.mainGap)) { in Fill() 63 if (UpdateLength(len, targetLen, posY_, lastRow + 1, params.mainGap)) { in Fill() 185 bool GridIrregularFiller::UpdateLength(float& len, float targetLen, int32_t& row, int32_t rowBound,… in UpdateLength() function in OHOS::Ace::NG::GridIrregularFiller
|
H A D | grid_irregular_filler.h | 156 …bool UpdateLength(float& len, float targetLen, int32_t& row, int32_t rowBound, float mainGap) cons…
|