Searched refs:ScrollSpringMotion (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | scroll_motion.h | 62 RefPtr<ScrollSpringMotion> MakeUnderScrollMotion(double position, double velocity) in MakeUnderScrollMotion() 64 return AceType::MakeRefPtr<ScrollSpringMotion>(position, leadingExtent_, velocity, spring_); in MakeUnderScrollMotion() 67 RefPtr<ScrollSpringMotion> MakeOverScrollMotion(double position, double velocity) in MakeOverScrollMotion() 69 … return AceType::MakeRefPtr<ScrollSpringMotion>(position, trailingExtent_, velocity, spring_); in MakeOverScrollMotion() 79 RefPtr<ScrollSpringMotion> springMotion_;
|
H A D | spring_motion.cpp | 98 ScrollSpringMotion::ScrollSpringMotion(double start, double end, double velocity, const RefPtr<Spri… in ScrollSpringMotion() function in OHOS::Ace::ScrollSpringMotion 102 bool ScrollSpringMotion::IsCompleted() in IsCompleted() 107 double ScrollSpringMotion::GetCurrentPosition() in GetCurrentPosition() 112 void ScrollSpringMotion::Move(float offsetTime) in Move()
|
H A D | spring_motion.h | 70 class ScrollSpringMotion : public SpringMotion { 71 DECLARE_ACE_TYPE(ScrollSpringMotion, SpringMotion); 74 …ScrollSpringMotion(double start, double end, double velocity, const RefPtr<SpringProperty>& spring… 76 ~ScrollSpringMotion() override = default;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/test/unittest/framework/ |
H A D | animation_framework_test.cpp | 2130 …auto scrollSpringMotion = AceType::MakeRefPtr<ScrollSpringMotion>(0.0, 500.0, 0.0, springDescripti…
|