Searched refs:crossLens (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/irregular/ |
H A D | grid_irregular_filler_test.cpp | 251 .crossLens = { 50.0f, 50.0f, 100.0f, 100.0f }, .crossGap = 5.0f, .mainGap = 1.0f 290 .crossLens = { 50.0f, 50.0f, 100.0f, 100.0f }, .crossGap = 5.0f, .mainGap = 1.0f 322 …auto res = filler.Fill({ .crossLens = { 50.0f, 50.0f, 100.0f }, .crossGap = 5.0f, .mainGap = 1.0f … 360 …res = filler.Fill({ .crossLens = { 50.0f, 50.0f, 100.0f }, .crossGap = 5.0f, .mainGap = 1.0f }, 10… 388 …auto res = filler.Fill({ .crossLens = { 50.0f, 50.0f }, .crossGap = 5.0f, .mainGap = 1.0f }, 600.0… 395 …res = filler.Fill({ .crossLens = { 50.0f, 50.0f }, .crossGap = 5.0f, .mainGap = 1.0f }, 1000.0f, 2… 402 …res = filler.Fill({ .crossLens = { 50.0f, 50.0f }, .crossGap = 5.0f, .mainGap = 1.0f }, 1000.0f, 7… 429 …auto res = filler.Fill({ .crossLens = { 50.0f, 50.0f }, .crossGap = 5.0f, .mainGap = 1.0f }, 300.0… 437 …res = filler.Fill({ .crossLens = { 50.0f, 50.0f }, .crossGap = 5.0f, .mainGap = 1.0f }, 500.0f, 2); 465 …auto res = filler.Fill({ .crossLens = { 50.0f, 50.0f }, .crossGap = 5.0f, .mainGap = 1.0f }, 1500.… [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/ |
H A D | water_flow_layout_algorithm.cpp | 54 std::vector<double> crossLens; in InitialItemsCrossSize() local 63 crossLens = cross.first; in InitialItemsCrossSize() 64 if (crossLens.empty()) { in InitialItemsCrossSize() 65 crossLens.push_back(crossSize); in InitialItemsCrossSize() 70 if (!layoutInfo_->items_[0].empty() && crossLens.size() != layoutInfo_->items_[0].size()) { in InitialItemsCrossSize() 75 for (const auto& len : crossLens) { in InitialItemsCrossSize()
|
H A D | water_flow_segmented_layout.cpp | 262 std::vector<double> crossLens; in RegularInit() local 271 crossLens = cross.first; in RegularInit() 272 if (crossLens.empty()) { in RegularInit() 273 crossLens.push_back(crossSize); in RegularInit() 279 if (crossLens.size() < info_->items_[0].size()) { in RegularInit() 280 auto it = info_->items_[0].find(crossLens.size()); in RegularInit() 284 for (const auto& len : crossLens) { in RegularInit()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/ |
H A D | grid_irregular_filler.h | 43 std::vector<float> crossLens; /**< The column widths of items. */ member
|
H A D | grid_irregular_layout_algorithm.cpp | 648 [crossLens = crossLens_, crossGap = crossGap_, mainGap = mainGap_]( in PreloadItems() 659 … .MeasureItem(GridIrregularFiller::FillParameters { crossLens, crossGap, mainGap }, in PreloadItems()
|
H A D | grid_irregular_filler.cpp | 212 crossLen += params.crossLens[i + col]; in MeasureItem()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/ |
H A D | grid_scroll_layout_algorithm.cpp | 338 std::vector<double> crossLens; in InitialItemsCrossSize() local 345 crossLens = cross.first; in InitialItemsCrossSize() 348 if (crossLens.empty()) { in InitialItemsCrossSize() 349 crossLens.push_back(crossSize); in InitialItemsCrossSize() 352 if (crossCount_ != crossLens.size()) { in InitialItemsCrossSize() 353 crossCount_ = crossLens.size(); in InitialItemsCrossSize() 358 for (const auto& len : crossLens) { in InitialItemsCrossSize()
|