Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_layout_algorithm.cpp312 LayoutForward(layoutWrapper, GetEndIndex() + 1, GetEndPosition()); in BeginLayoutForward()
322 LayoutForward(layoutWrapper, GetEndIndex() + 1, GetEndPosition()); in BeginLayoutBackward()
391 if (LessNotEqual(GetEndPosition(), endMainPos_)) { in HandleJumpCenter()
392 LayoutForward(layoutWrapper, index + 1, GetEndPosition()); in HandleJumpCenter()
406 LayoutForward(layoutWrapper, GetEndIndex() + 1, GetEndPosition()); in HandleJumpCenter()
421 if (LessNotEqual(GetEndPosition(), endMainPos_)) { in HandleJumpStart()
447 LayoutForward(layoutWrapper, GetEndIndex() + 1, GetEndPosition()); in HandleJumpEnd()
784 itemTotalSize = GetEndPosition() - GetStartPosition(); in MeasureList()
1790 LessNotEqual(GetEndPosition(), contentMainSize_ - contentEndOffset_) && in GetMidIndex()
1792 midPos = GetEndPosition() - contentSize / 2.0f + contentEndOffset_; in GetMidIndex()
[all …]
H A Dlist_item_group_layout_algorithm.cpp698 MeasureJumpToItemForward(layoutWrapper, layoutConstraint, GetEndIndex() + 1, GetEndPosition()); in MeasureCenter()
701 totalMainSize_ = GetEndPosition() - GetStartPosition() + headerMainSize_ + footerMainSize_; in MeasureCenter()
723 totalMainSize_ = GetEndPosition() - GetStartPosition() + headerMainSize_ + footerMainSize_; in MeasureAuto()
778 totalMainSize_ = GetEndPosition() - GetStartPosition() + headerMainSize_ + footerMainSize_; in MeasureStart()
807 totalMainSize_ = GetEndPosition() - GetStartPosition() + headerMainSize_ + footerMainSize_; in MeasureEnd()
985 totalMainSize_ = std::max(totalMainSize_ + delta, GetEndPosition() + footerMainSize_); in AdjustItemPosition()
1001 totalMainSize_ = GetEndPosition() + footerMainSize_; in AdjustItemPosition()
1003 … float endPos = GetCacheEndIndex() > GetEndIndex() ? GetCacheEndPosition() : GetEndPosition(); in AdjustItemPosition()
1321 float startPos = itemPosition_.empty() ? headerMainSize_ : GetEndPosition(); in MeasureCacheForward()
1420 std::max(GetCacheEndPosition(), GetEndPosition()) + footerMainSize_); in MeasureCacheItem()
[all …]
H A Dlist_item_group_layout_algorithm.h234 float GetEndPosition() const in GetEndPosition() function
H A Dlist_layout_algorithm.h289 float GetEndPosition() const in GetEndPosition() function
H A Dlist_pattern.cpp208 endMainPos_ = listLayoutAlgorithm->GetEndPosition(); in OnDirtyLayoutWrapperSwap()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_layout_algorithm.cpp507 … LayoutForward(layoutWrapper, layoutConstraint, axis, GetEndIndex() + 1, GetEndPosition()); in MeasureSwiper()
531 if (LessNotEqualCustomPrecision(GetEndPosition(), endMainPos_, -0.01f)) { in MeasureSwiper()
532 … LayoutForward(layoutWrapper, layoutConstraint, axis, GetEndIndex() + 1, GetEndPosition()); in MeasureSwiper()
556 … if (GetEndIndex() < (totalItemCount_ - 1) && LessNotEqual(GetEndPosition(), endMainPos_)) { in MeasureSwiper()
557 … LayoutForward(layoutWrapper, layoutConstraint, axis, GetEndIndex() + 1, GetEndPosition()); in MeasureSwiper()
874 auto itemTotalSize = GetEndPosition() - currentStartPos; in LayoutBackward()
H A Dswiper_layout_algorithm.h165 float GetEndPosition() const in GetEndPosition() function
H A Dswiper_pattern.cpp972 endMainPos_ = algo->GetEndPosition(); in OnDirtyLayoutWrapperSwap()