/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/ |
H A D | rs_interpolator_test.cpp | 51 std::shared_ptr<RSInterpolator> interpolator(RSStepsInterpolator::Unmarshalling(parcel1)); 80 std::shared_ptr<RSInterpolator> interpolator(RSSpringInterpolator::Unmarshalling(parcel1)); 169 std::shared_ptr<RSInterpolator> interpolator(RSCustomInterpolator::Unmarshalling(parcel)); 195 std::shared_ptr<RSInterpolator> interpolator1(RSInterpolator::Unmarshalling(parcel1)); 200 std::shared_ptr<RSInterpolator> interpolator2(RSInterpolator::Unmarshalling(parcel2)); 205 std::shared_ptr<RSInterpolator> interpolator3(RSInterpolator::Unmarshalling(parcel3)); 210 std::shared_ptr<RSInterpolator> interpolator4(RSInterpolator::Unmarshalling(parcel4)); 215 std::shared_ptr<RSInterpolator> interpolator5(RSInterpolator::Unmarshalling(parcel5)); 230 std::shared_ptr<RSInterpolator> interpolator(RSInterpolator::Unmarshalling(parcel));
|
H A D | rs_render_particle_effector_test.cpp | 101 std::shared_ptr<RSInterpolator> interpolator = nullptr; in SetOpacity() 221 std::shared_ptr<RSInterpolator> interpolator = 292 std::shared_ptr<RSInterpolator> interpolator = 385 std::shared_ptr<RSInterpolator> interpolator = nullptr;
|
H A D | rs_render_particle_emitter_test.cpp | 96 std::shared_ptr<RSInterpolator> interpolator = nullptr; in SetOpacity()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_interpolator.cpp | 33 const std::shared_ptr<RSInterpolator> RSInterpolator::DEFAULT = 36 RSInterpolator::RSInterpolator() : id_(GenerateId()) {} in RSInterpolator() function in OHOS::Rosen::RSInterpolator 38 void RSInterpolator::Init() in Init() 43 uint64_t RSInterpolator::GenerateId() in GenerateId() 59 float RSInterpolator::Interpolate(float input) in Interpolate() 69 std::shared_ptr<RSInterpolator> RSInterpolator::Unmarshalling(Parcel& parcel) in Unmarshalling() 76 RSInterpolator* ret = nullptr; in Unmarshalling() 101 static std::unordered_map<uint64_t, std::weak_ptr<RSInterpolator>> cachedInterpolators_; in Unmarshalling() 102 static const auto Destructor = [](RSInterpolator* ptr) { in Unmarshalling() 127 std::shared_ptr<RSInterpolator> sharedPtr(ret, Destructor); in Unmarshalling() [all …]
|
H A D | rs_render_keyframe_animation.cpp | 39 const std::shared_ptr<RSInterpolator>& interpolator) in AddKeyframe() 55 std::shared_ptr<RSInterpolator>>>& keyframes) in AddKeyframes() 66 …const std::shared_ptr<RSRenderPropertyBase>& value, const std::shared_ptr<RSInterpolator>& interpo… in AddKeyframe() 178 std::shared_ptr<RSInterpolator> interpolator(RSInterpolator::Unmarshalling(parcel)); in ParseParam() 201 std::shared_ptr<RSInterpolator> interpolator(RSInterpolator::Unmarshalling(parcel)); in ParseDurationKeyframesParam()
|
H A D | rs_render_curve_animation.cpp | 35 void RSRenderCurveAnimation::SetInterpolator(const std::shared_ptr<RSInterpolator>& interpolator) in SetInterpolator() 40 const std::shared_ptr<RSInterpolator>& RSRenderCurveAnimation::GetInterpolator() const in GetInterpolator() 84 std::shared_ptr<RSInterpolator> interpolator(RSInterpolator::Unmarshalling(parcel)); in ParseParam() 118 void RSRenderCurveAnimation::OnAnimateInner(float fraction, const std::shared_ptr<RSInterpolator>& … in OnAnimateInner()
|
H A D | rs_render_path_animation.cpp | 40 void RSRenderPathAnimation::SetInterpolator(const std::shared_ptr<RSInterpolator>& interpolator) in SetInterpolator() 45 const std::shared_ptr<RSInterpolator>& RSRenderPathAnimation::GetInterpolator() const in GetInterpolator() 171 std::shared_ptr<RSInterpolator> interpolator(RSInterpolator::Unmarshalling(parcel)); in ParseParam()
|
H A D | rs_render_transition.cpp | 74 std::shared_ptr<RSInterpolator> interpolator(RSInterpolator::Unmarshalling(parcel)); in ParseParam()
|
H A D | rs_spring_interpolator.cpp | 35 : RSSpringModel<float>(response, dampingRatio, -1, initialVelocity, 0.0001), RSInterpolator(id) in RSSpringInterpolator()
|
H A D | rs_steps_interpolator.cpp | 30 : RSInterpolator(id), steps_(steps <= 0 ? 1 : steps), position_(position) in RSStepsInterpolator()
|
H A D | rs_value_estimator.cpp | 64 float RSCurveValueEstimator<float>::EstimateFraction(const std::shared_ptr<RSInterpolator>& interpo… in EstimateFraction()
|
H A D | rs_cubic_bezier_interpolator.cpp | 41 : RSInterpolator(id), controlX1_(ctlX1), controlY1_(ctlY1), controlX2_(ctlX2), controlY2_(ctlY2) in RSCubicBezierInterpolator()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_interpolator.h | 41 class RSB_EXPORT RSInterpolator : public Parcelable { 43 static RSB_EXPORT const std::shared_ptr<RSInterpolator> DEFAULT; 44 ~RSInterpolator() override = default; 47 [[nodiscard]] static RSB_EXPORT std::shared_ptr<RSInterpolator> Unmarshalling(Parcel& parcel); 53 RSInterpolator(); 54 RSInterpolator(uint64_t id) : id_(id) {}; in RSInterpolator() function 64 class RSB_EXPORT LinearInterpolator : public RSInterpolator { 74 LinearInterpolator(uint64_t id) : RSInterpolator(id) {} in LinearInterpolator() 81 class RSB_EXPORT RSCustomInterpolator : public RSInterpolator {
|
H A D | rs_render_curve_animation.h | 36 void SetInterpolator(const std::shared_ptr<RSInterpolator>& interpolator); 38 const std::shared_ptr<RSInterpolator>& GetInterpolator() const; 56 void OnAnimateInner(float fraction, const std::shared_ptr<RSInterpolator>& interpolator); 60 std::shared_ptr<RSInterpolator> interpolator_ { RSInterpolator::DEFAULT }; 61 …inline static std::shared_ptr<RSInterpolator> linearInterpolator_ { std::make_shared<LinearInterpo…
|
H A D | rs_render_keyframe_animation.h | 24 class RSInterpolator; variable 35 const std::shared_ptr<RSInterpolator>& interpolator); 38 std::shared_ptr<RSInterpolator>>>& keyframes); 41 const std::shared_ptr<RSInterpolator>& interpolator); 54 …::tuple<float, std::shared_ptr<RSRenderPropertyBase>, std::shared_ptr<RSInterpolator>>> keyframes_; 56 std::shared_ptr<RSInterpolator>>> durationKeyframes_;
|
H A D | rs_render_path_animation.h | 40 void SetInterpolator(const std::shared_ptr<RSInterpolator>& interpolator); 42 const std::shared_ptr<RSInterpolator>& GetInterpolator() const; 101 std::shared_ptr<RSInterpolator> interpolator_ { RSInterpolator::DEFAULT };
|
H A D | rs_render_transition.h | 33 void SetInterpolator(const std::shared_ptr<RSInterpolator>& interpolator) in SetInterpolator() 48 std::shared_ptr<RSInterpolator> interpolator_ { RSInterpolator::DEFAULT };
|
H A D | rs_value_estimator.h | 52 virtual float EstimateFraction(const std::shared_ptr<RSInterpolator>& interpolator) in EstimateFraction() 57 virtual float EstimateFraction(const std::shared_ptr<RSInterpolator>& interpolator, in EstimateFraction() 70 std::shared_ptr<RSInterpolator>>>& keyframes, in InitKeyframeAnimationValue() 75 std::shared_ptr<RSInterpolator>>>& keyframes, in InitDurationKeyframeAnimationValue() 123 float EstimateFraction(const std::shared_ptr<RSInterpolator>& interpolator) override in EstimateFraction() 128 float EstimateFraction(const std::shared_ptr<RSInterpolator>& interpolator, in EstimateFraction() 159 float RSCurveValueEstimator<float>::EstimateFraction(const std::shared_ptr<RSInterpolator>& interpo… 171 std::shared_ptr<RSInterpolator>>>& keyframes, in InitKeyframeAnimationValue() 190 std::shared_ptr<RSInterpolator>>>& keyframes, in InitDurationKeyframeAnimationValue() 293 std::vector<std::tuple<float, T, std::shared_ptr<RSInterpolator>>> keyframes_; [all …]
|
H A D | rs_spring_interpolator.h | 25 class RSB_EXPORT RSSpringInterpolator : public RSSpringModel<float>, public RSInterpolator {
|
H A D | rs_cubic_bezier_interpolator.h | 26 class RSB_EXPORT RSCubicBezierInterpolator : public RSInterpolator {
|
H A D | rs_steps_interpolator.h | 29 class RSB_EXPORT RSStepsInterpolator : public RSInterpolator {
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_animation_timing_curve.h | 27 class RSInterpolator; variable 72 RSAnimationTimingCurve(const std::shared_ptr<RSInterpolator>& interpolator); 84 std::shared_ptr<RSInterpolator> GetInterpolator(int duration) const; 86 std::shared_ptr<RSInterpolator> interpolator_;
|
H A D | rs_animation_timing_curve.cpp | 53 RSAnimationTimingCurve::RSAnimationTimingCurve(const std::shared_ptr<RSInterpolator>& interpolator) in RSAnimationTimingCurve() 122 std::shared_ptr<RSInterpolator> RSAnimationTimingCurve::GetInterpolator(int duration) const in GetInterpolator()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/ |
H A D | rs_render_keyframe_animation_test.cpp | 60 auto interpolator = std::shared_ptr<RSInterpolator>(); in HWTEST_F() 74 std::shared_ptr<RSInterpolator>>>(); in HWTEST_F() 94 auto interpolator = std::shared_ptr<RSInterpolator>(); in HWTEST_F()
|
/ohos5.0/foundation/graphic/graphic_2d/frameworks/bootanimation/include/ |
H A D | boot_compile_progress.h | 70 std::shared_ptr<Rosen::RSInterpolator> sharpCurve_;
|