Home
last modified time | relevance | path

Searched refs:RSCustomInterpolator (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_interpolator.cpp82 ret = RSCustomInterpolator::Unmarshalling(parcel); in Unmarshalling()
154 RSCustomInterpolator::RSCustomInterpolator( in RSCustomInterpolator() function in OHOS::Rosen::RSCustomInterpolator
159 RSCustomInterpolator::RSCustomInterpolator(const std::function<float(float)>& func, int duration) in RSCustomInterpolator() function in OHOS::Rosen::RSCustomInterpolator
165 bool RSCustomInterpolator::Marshalling(Parcel& parcel) const in Marshalling()
182 RSCustomInterpolator* RSCustomInterpolator::Unmarshalling(Parcel& parcel) in Unmarshalling()
190 return new RSCustomInterpolator(id, std::move(times), std::move(values)); in Unmarshalling()
193 void RSCustomInterpolator::Convert(int duration) in Convert()
217 float RSCustomInterpolator::InterpolateImpl(float input) const in InterpolateImpl()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/
H A Drs_interpolator_test.cpp101 RSCustomInterpolator rsCustomInterpolator(func, duration);
116 RSCustomInterpolator rsCustomInterpolator(func, duration);
118 RSCustomInterpolator* rsCustom;
132 RSCustomInterpolator rsCustomInterpolator(func, duration);
138 RSCustomInterpolator rsCustomInterpolator1(func, duration);
157 RSCustomInterpolator rsCustomInterpolator(func, duration);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_interpolator.h81 class RSB_EXPORT RSCustomInterpolator : public RSInterpolator {
83 RSCustomInterpolator(const std::function<float(float)>& func, int duration);
84 ~RSCustomInterpolator() override = default;
87 [[nodiscard]] static RSCustomInterpolator* Unmarshalling(Parcel& parcel);
91RSCustomInterpolator(uint64_t id, const std::vector<float>&& times, const std::vector<float>&& val…
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_interpolator_test.cpp132 RSCustomInterpolator interpolator2(lambda, CUSTOM_DURATION);
150 auto interpolator = std::make_shared<RSCustomInterpolator>(func, CUSTOM_DURATION);
169 std::shared_ptr<RSInterpolator> interpolator(RSCustomInterpolator::Unmarshalling(parcel));
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_animation_timing_curve.cpp125 return std::make_shared<RSCustomInterpolator>(customCurveFunc_, duration); in GetInterpolator()