Home
last modified time | relevance | path

Searched refs:longPointLeftCenterMoveRate (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 Ddot_indicator_paint_method.cpp341 float longPointLeftCenterMoveRate = 0.0f; in GetMoveRate() local
344longPointLeftCenterMoveRate = CubicCurve(turnPageRate_ > 0 ? LONG_POINT_LEFT_CENTER_BEZIER_CURVE_V… in GetMoveRate()
353 longPointLeftCenterMoveRate = 1; in GetMoveRate()
358longPointLeftCenterMoveRate = longPointRightCenterMoveRate = CubicCurve(0.33, 0, 0.67, 1).MoveInte… in GetMoveRate()
364 longPointLeftCenterMoveRate =std::abs(turnPageRate_); in GetMoveRate()
366 ((1 - longPointLeftCenterMoveRate) * LONG_POINT_TAIL_RATIO); in GetMoveRate()
369 longPointLeftCenterMoveRate = std::abs(turnPageRate_) * LONG_POINT_TAIL_RATIO; in GetMoveRate()
371 return { blackPointCenterMoveRate, longPointLeftCenterMoveRate, longPointRightCenterMoveRate }; in GetMoveRate()
378 …const auto [blackPointCenterMoveRate, longPointLeftCenterMoveRate, longPointRightCenterMoveRate] =… in CalculatePointCenterX()
389 longPointLeftCenterMoveRate; in CalculatePointCenterX()
[all …]
H A Doverlength_dot_indicator_paint_method.cpp95 … const auto [blackPointCenterMoveRate, longPointLeftCenterMoveRate, longPointRightCenterMoveRate] = in UpdateNormalIndicator()
98 dotIndicatorModifier_->SetLongPointLeftCenterMoveRate(longPointLeftCenterMoveRate); in UpdateNormalIndicator()
184 …const auto [blackPointCenterMoveRate, longPointLeftCenterMoveRate, longPointRightCenterMoveRate] =… in CalculatePointCenterX()
213 longPointLeftCenterMoveRate; in CalculatePointCenterX()
H A Doverlength_dot_indicator_modifier.h139 void SetLongPointLeftCenterMoveRate(float longPointLeftCenterMoveRate) in SetLongPointLeftCenterMoveRate() argument
141 longPointLeftCenterMoveRate_ = longPointLeftCenterMoveRate; in SetLongPointLeftCenterMoveRate()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_overlength_indicator_modifier_test_ng.cpp725 auto [blackPointCenterMoveRate, longPointLeftCenterMoveRate, longPointRightCenterMoveRate] =