Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_overlength_indicator_modifier_test_ng.cpp204 auto animationEndIndex = dotIndicatorModifier.CalcTargetIndexOnDrag(); variable
205 EXPECT_EQ(animationEndIndex, 1);
208 animationEndIndex = dotIndicatorModifier.CalcTargetIndexOnDrag();
209 EXPECT_EQ(animationEndIndex, 1);
213 animationEndIndex = dotIndicatorModifier.CalcTargetIndexOnDrag();
214 EXPECT_EQ(animationEndIndex, 0);
217 animationEndIndex = dotIndicatorModifier.CalcTargetIndexOnDrag();
218 EXPECT_EQ(animationEndIndex, 1);
221 animationEndIndex = dotIndicatorModifier.CalcTargetIndexOnDrag();
222 EXPECT_EQ(animationEndIndex, 2);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Doverlength_dot_indicator_paint_method.h59 void SetAnimationEndIndex(int32_t animationEndIndex) in SetAnimationEndIndex() argument
61 animationEndIndex_ = animationEndIndex; in SetAnimationEndIndex()
H A Doverlength_dot_indicator_modifier.h119 void SetAnimationEndIndex(int32_t animationEndIndex) in SetAnimationEndIndex() argument
121 animationEndIndex_ = animationEndIndex; in SetAnimationEndIndex()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
H A Dswiper_indicator_pattern.cpp889 auto animationEndIndex = swiperPattern->GetLoopIndex(swiperPattern->GetCurrentFirstIndex()); in UpdateOverlongPaintMethod() local
909 …us = !isSwiperTouchDown && !isSwiperAnimationRunning && animationStartIndex != animationEndIndex && in UpdateOverlongPaintMethod()
919 …auto loopDrag = (animationStartIndex == 0 && animationEndIndex == totalCount - 1 && turnPageRateAb… in UpdateOverlongPaintMethod()
921 … (animationStartIndex == animationEndIndex && animationEndIndex == totalCount - 1 && in UpdateOverlongPaintMethod()
935 overlongPaintMethod->SetAnimationEndIndex(animationEndIndex); in UpdateOverlongPaintMethod()