Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_pattern.cpp141 …auto lanesLayoutAlgorithm = DynamicCast<ListLanesLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayou… in OnDirtyLayoutWrapperSwap() local
142 if (lanesLayoutAlgorithm) { in OnDirtyLayoutWrapperSwap()
143 lanesLayoutAlgorithm->SwapLanesItemRange(lanesItemRange_); in OnDirtyLayoutWrapperSwap()
144 if (lanesLayoutAlgorithm->GetLanes() != lanes_) { in OnDirtyLayoutWrapperSwap()
151 lanes_ = lanesLayoutAlgorithm->GetLanes(); in OnDirtyLayoutWrapperSwap()
152 laneGutter_ = lanesLayoutAlgorithm->GetLaneGutter(); in OnDirtyLayoutWrapperSwap()
563 auto lanesLayoutAlgorithm = MakeRefPtr<ListLanesLayoutAlgorithm>(); in CreateLayoutAlgorithm() local
565 lanesLayoutAlgorithm->SwapLanesItemRange(lanesItemRange_); in CreateLayoutAlgorithm()
566 lanesLayoutAlgorithm->SetLanes(lanes_); in CreateLayoutAlgorithm()
567 listLayoutAlgorithm.Swap(lanesLayoutAlgorithm); in CreateLayoutAlgorithm()