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 D | dot_indicator_paint_method.cpp | 341 float longPointLeftCenterMoveRate = 0.0f; in GetMoveRate() local 344 …longPointLeftCenterMoveRate = CubicCurve(turnPageRate_ > 0 ? LONG_POINT_LEFT_CENTER_BEZIER_CURVE_V… in GetMoveRate() 353 longPointLeftCenterMoveRate = 1; in GetMoveRate() 358 …longPointLeftCenterMoveRate = 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 D | overlength_dot_indicator_paint_method.cpp | 95 … 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 D | overlength_dot_indicator_modifier.h | 139 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 D | swiper_overlength_indicator_modifier_test_ng.cpp | 725 auto [blackPointCenterMoveRate, longPointLeftCenterMoveRate, longPointRightCenterMoveRate] =
|