Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_pattern.cpp133 CHECK_NULL_RETURN(listLayoutAlgorithm, false); in OnDirtyLayoutWrapperSwap()
137 spaceWidth_ = listLayoutAlgorithm->GetSpaceWidth(); in OnDirtyLayoutWrapperSwap()
154 lanes_ = listLayoutAlgorithm->GetLanes(); in OnDirtyLayoutWrapperSwap()
208 endMainPos_ = listLayoutAlgorithm->GetEndPosition(); in OnDirtyLayoutWrapperSwap()
222 …(startIndex_ != listLayoutAlgorithm->GetStartIndex()) || (endIndex_ != listLayoutAlgorithm->GetEnd… in OnDirtyLayoutWrapperSwap()
228 endIndex_ = listLayoutAlgorithm->GetEndIndex(); in OnDirtyLayoutWrapperSwap()
560 RefPtr<ListLayoutAlgorithm> listLayoutAlgorithm; in CreateLayoutAlgorithm() local
567 listLayoutAlgorithm.Swap(lanesLayoutAlgorithm); in CreateLayoutAlgorithm()
614 listLayoutAlgorithm->SetOverScrollFeature(); in CreateLayoutAlgorithm()
625 return listLayoutAlgorithm; in CreateLayoutAlgorithm()
[all …]
H A Dlist_pattern.h386 … RefPtr<ListLayoutAlgorithm> listLayoutAlgorithm, RefPtr<ListLayoutProperty> listLayoutProperty);
412 float UpdateTotalOffset(const RefPtr<ListLayoutAlgorithm>& listLayoutAlgorithm, bool isJump);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/list/
H A Dlist_group_algorithm_test_ng.cpp1176 ListLayoutAlgorithm listLayoutAlgorithm; variable
1183 listLayoutAlgorithm.contentMainSize_ = 720.0f;
1184 listLayoutAlgorithm.itemPosition_.emplace(std::make_pair(0, listItemInfo1));
1185 …auto wrapper = layoutWrapper->GetOrCreateChildByIndex(listLayoutAlgorithm.itemPosition_.begin()->f…
1189 listLayoutAlgorithm.LayoutItem(
1190 wrapper, 0, listLayoutAlgorithm.itemPosition_.begin()->second, startIndex, crossSize);
1191 float crossOffset = listLayoutAlgorithm.CalculateLaneCrossOffset(crossSize, size.Width());