Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Doverlength_dot_indicator_modifier.cpp183 unselectedIndicatorWidth_->Set(animationEndIndicatorWidth_); in UpdateShrinkPaintProperty()
260 unselectedIndicatorWidth_->Set(animationEndIndicatorWidth_); in PlayBlackPointsAnimation()
421 for (size_t i = 0; i < animationEndIndicatorWidth_.size(); i++) { in UpdateUnselectedCenterXOnDrag()
422 animationEndIndicatorWidth_[i] = animationStartIndicatorWidth_[i] + in UpdateUnselectedCenterXOnDrag()
468 animationEndIndicatorWidth_ = CalcIndicatorSize(itemHalfSizes, targetOverlongType_, true); in CalcTargetStatusOnLongPointMove()
476 animationEndIndicatorWidth_.resize(maxDisplayCount_); in CalcTargetStatusOnLongPointMove()
505 animationEndIndicatorWidth_[maxDisplayCount_] = targetIndicatorWidth[0]; in CalcTargetStatusOnAllPointMoveForward()
510 animationEndIndicatorWidth_[i] = targetIndicatorWidth[i + 1]; in CalcTargetStatusOnAllPointMoveForward()
552 animationEndIndicatorWidth_[0] = targetIndicatorWidth[0]; in CalcTargetStatusOnAllPointMoveBackward()
557 animationEndIndicatorWidth_[i] = targetIndicatorWidth[i - 1]; in CalcTargetStatusOnAllPointMoveBackward()
[all …]
H A Doverlength_dot_indicator_modifier.h91 animationEndIndicatorWidth_ = animationEndIndicatorWidth; in SetAnimationEndIndicatorWidth()
223 LinearVector<float> animationEndIndicatorWidth_ = {}; variable
H A Doverlength_dot_indicator_paint_method.h86 LinearVector<float> animationEndIndicatorWidth_ = {}; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_overlength_indicator_modifier_test_ng.cpp132 EXPECT_EQ(dotIndicatorModifier.animationEndIndicatorWidth_.size(), 1);
149 EXPECT_EQ(dotIndicatorModifier.animationEndIndicatorWidth_.size(), 8);
150 EXPECT_DOUBLE_EQ(dotIndicatorModifier.animationEndIndicatorWidth_[0], 2.f);
445 indicatorModifier->animationEndIndicatorWidth_ = { 2.0f };
455 auto widthEnd = indicatorModifier->animationEndIndicatorWidth_[0];
465 EXPECT_NEAR(expectWidth, indicatorModifier->animationEndIndicatorWidth_[0], 0.001f);
491 indicatorModifier->animationEndIndicatorWidth_ = {60.0f, 90.0f, 110.0f, 140.0f, 170.0f};