Home
last modified time | relevance | path

Searched refs:RSInterpolator (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_interpolator_test.cpp51 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 Drs_render_particle_effector_test.cpp101 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 Drs_render_particle_emitter_test.cpp96 std::shared_ptr<RSInterpolator> interpolator = nullptr; in SetOpacity()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_interpolator.cpp33 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 Drs_render_keyframe_animation.cpp39 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 Drs_render_curve_animation.cpp35 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 Drs_render_path_animation.cpp40 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 Drs_render_transition.cpp74 std::shared_ptr<RSInterpolator> interpolator(RSInterpolator::Unmarshalling(parcel)); in ParseParam()
H A Drs_spring_interpolator.cpp35 : RSSpringModel<float>(response, dampingRatio, -1, initialVelocity, 0.0001), RSInterpolator(id) in RSSpringInterpolator()
H A Drs_steps_interpolator.cpp30 : RSInterpolator(id), steps_(steps <= 0 ? 1 : steps), position_(position) in RSStepsInterpolator()
H A Drs_value_estimator.cpp64 float RSCurveValueEstimator<float>::EstimateFraction(const std::shared_ptr<RSInterpolator>& interpo… in EstimateFraction()
H A Drs_cubic_bezier_interpolator.cpp41 : 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 Drs_interpolator.h41 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 Drs_render_curve_animation.h36 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 Drs_render_keyframe_animation.h24 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 Drs_render_path_animation.h40 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 Drs_render_transition.h33 void SetInterpolator(const std::shared_ptr<RSInterpolator>& interpolator) in SetInterpolator()
48 std::shared_ptr<RSInterpolator> interpolator_ { RSInterpolator::DEFAULT };
H A Drs_value_estimator.h52 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 Drs_spring_interpolator.h25 class RSB_EXPORT RSSpringInterpolator : public RSSpringModel<float>, public RSInterpolator {
H A Drs_cubic_bezier_interpolator.h26 class RSB_EXPORT RSCubicBezierInterpolator : public RSInterpolator {
H A Drs_steps_interpolator.h29 class RSB_EXPORT RSStepsInterpolator : public RSInterpolator {
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_animation_timing_curve.h27 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 Drs_animation_timing_curve.cpp53 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 Drs_render_keyframe_animation_test.cpp60 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 Dboot_compile_progress.h70 std::shared_ptr<Rosen::RSInterpolator> sharpCurve_;

12