Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_layout_algorithm.h226 int32_t GetMidIndex(LayoutWrapper* layoutWrapper, bool usePreContentMainSize = false);
H A Dlist_layout_algorithm.cpp796 midIndex = GetMidIndex(layoutWrapper, true); in MeasureList()
1782 int32_t ListLayoutAlgorithm::GetMidIndex(LayoutWrapper* layoutWrapper, bool usePreContentMainSize) in GetMidIndex() function in OHOS::Ace::NG::ListLayoutAlgorithm
H A Dlist_pattern.cpp218 … (centerIndex_ != listLayoutAlgorithm->GetMidIndex(AceType::RawPtr(dirty))); in OnDirtyLayoutWrapperSwap()
229 centerIndex_ = listLayoutAlgorithm->GetMidIndex(AceType::RawPtr(dirty)); in OnDirtyLayoutWrapperSwap()