Home
last modified time | relevance | path

Searched refs:moveRate (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Doverlength_dot_indicator_modifier.cpp411 auto moveRate = blackPointCenterMoveRate_; in UpdateUnselectedCenterXOnDrag() local
413 moveRate = GetMoveRateOnAllMove(); in UpdateUnselectedCenterXOnDrag()
418 moveRate = 1.0f - moveRate; in UpdateUnselectedCenterXOnDrag()
423 … (animationEndIndicatorWidth_[i] - animationStartIndicatorWidth_[i]) * moveRate; in UpdateUnselectedCenterXOnDrag()
429 (animationEndIndicatorHeight_[i] - animationStartIndicatorHeight_[i]) * moveRate; in UpdateUnselectedCenterXOnDrag()
434 … animationStartCenterX_[i] + (animationEndCenterX_[i] - animationStartCenterX_[i]) * moveRate; in UpdateUnselectedCenterXOnDrag()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/swiper/
H A Drender_swiper.cpp1125 double moveRate = Curves::EASE_OUT->MoveInternal((value - start) / (end - start)); in MoveItems() local
1126 value = start + (end - start) * moveRate; in MoveItems()