Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_pattern.cpp216 auto oldIndex = GetLoopIndex(oldIndex_); in OnIndexChange()
1453 index = GetLoopIndex(index); in UpdateItemInfoInCustomAnimation()
1691 while (GetLoopIndex(targetIndex) != GetLoopIndex(currentIndex_)) { in CheckTargetIndex()
1727 …auto loopIndex = usePropertyAnimation_ ? GetLoopIndex(propertyAnimationIndex_) : GetLoopIndex(curr… in ShowNext()
1782 …auto loopIndex = usePropertyAnimation_ ? GetLoopIndex(propertyAnimationIndex_) : GetLoopIndex(curr… in ShowPrevious()
3450 swiper->GetLoopIndex(swiper->currentIndex_), swiper->GetLoopIndex(nextIndex), info); in PlayTranslateAnimation()
3480 if (GetLoopIndex(currentIndex_) == GetLoopIndex(nextIndex_)) { in OnSpringAnimationStart()
3490 FireAnimationStartEvent(GetLoopIndex(currentIndex_), GetLoopIndex(nextIndex_), info); in OnSpringAnimationStart()
3517 if (GetLoopIndex(currentIndex_) != GetLoopIndex(nextIndex_)) { in OnSpringAndFadeAnimationFinish()
3551 if (GetLoopIndex(currentIndex_) == GetLoopIndex(nextIndex_)) { in OnFadeAnimationStart()
[all …]
H A Dswiper_layout_algorithm.cpp134 int32_t SwiperLayoutAlgorithm::GetLoopIndex(int32_t originalIndex) const in GetLoopIndex() function in OHOS::Ace::NG::SwiperLayoutAlgorithm
243 int32_t startIndex = GetLoopIndex(GetStartIndex()); in Measure()
244 int32_t endIndex = GetLoopIndex(GetEndIndex()); in Measure()
389 measureIndexSet.insert(GetLoopIndex(pos.first)); in MeasureSwiperCustomAnimation()
462 targetIndex_ = GetLoopIndex(targetIndex_.value()); in MeasureSwiper()
571 auto measureIndex = GetLoopIndex(currentIndex + 1); in LayoutForwardItem()
615 auto measureIndex = GetLoopIndex(currentIndex - 1); in LayoutBackwardItem()
935 layoutIndexSet.insert(GetLoopIndex(pos.first)); in Layout()
989 auto layoutIndex = GetLoopIndex(pos.first); in LayoutItem()
1456 startIndex = GetLoopIndex(startIndex - 1); in CheckCachedItem()
[all …]
H A Dswiper_pattern.h109 return IsLoop() ? currentIndex_ : GetLoopIndex(currentIndex_); in GetCurrentShownIndex()
126 return GetLoopIndex(currentIndex_); in GetCurrentIndex()
430 int32_t GetLoopIndex(int32_t originalIndex) const;
762 int32_t GetLoopIndex(int32_t index, int32_t childrenSize) const;
H A Dswiper_layout_algorithm.h65 int32_t GetLoopIndex(int32_t originalIndex) const;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
H A Dswiper_indicator_pattern.h87 … paintMethod->SetCurrentIndex(swiperPattern->GetLoopIndex(swiperPattern->GetCurrentFirstIndex())); in SetDotIndicatorPaintMethodInfo()
88 … paintMethod->SetCurrentIndexActual(swiperPattern->GetLoopIndex(swiperPattern->GetCurrentIndex())); in SetDotIndicatorPaintMethodInfo()
101 mouseClickIndex_ = swiperPattern->GetLoopIndex(mouseClickIndex_.value()); in SetDotIndicatorPaintMethodInfo()
H A Dswiper_indicator_utils.h117 static int32_t GetLoopIndex(int32_t index, int32_t totalCount) in GetLoopIndex() function
H A Dswiper_indicator_pattern.cpp888 auto animationStartIndex = swiperPattern->GetLoopIndex(swiperPattern->GetCurrentIndex()); in UpdateOverlongPaintMethod()
889 auto animationEndIndex = swiperPattern->GetLoopIndex(swiperPattern->GetCurrentFirstIndex()); in UpdateOverlongPaintMethod()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_test_ng.cpp1957 …EXPECT_TRUE(pattern_->GetLoopIndex(targetIndex) != pattern_->GetLoopIndex(pattern_->currentIndex_)…
1958 auto currentFrameNode = pattern_->GetCurrentFrameNode(pattern_->GetLoopIndex(targetIndex));
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_bar_pattern.h562 int32_t GetLoopIndex(int32_t originalIndex) const;
H A Dtab_bar_pattern.cpp364 targetIndex_ = GetLoopIndex(targetIndex_.value()); in BeforeCreateLayoutWrapper()
3218 int32_t TabBarPattern::GetLoopIndex(int32_t originalIndex) const in GetLoopIndex() function in OHOS::Ace::NG::TabBarPattern
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Doverlength_dot_indicator_modifier.cpp978 … targetSelectedIndex_ = SwiperIndicatorUtils::GetLoopIndex(targetSelectedIndex_, maxDisplayCount_); in AdjustTargetStatus()