Home
last modified time | relevance | path

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 Dgrid_irregular_filler_test.cpp251 .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 Dwater_flow_layout_algorithm.cpp54 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 Dwater_flow_segmented_layout.cpp262 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 Dgrid_irregular_filler.h43 std::vector<float> crossLens; /**< The column widths of items. */ member
H A Dgrid_irregular_layout_algorithm.cpp648 [crossLens = crossLens_, crossGap = crossGap_, mainGap = mainGap_]( in PreloadItems()
659 … .MeasureItem(GridIrregularFiller::FillParameters { crossLens, crossGap, mainGap }, in PreloadItems()
H A Dgrid_irregular_filler.cpp212 crossLen += params.crossLens[i + col]; in MeasureItem()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/
H A Dgrid_scroll_layout_algorithm.cpp338 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()