Home
last modified time | relevance | path

Searched refs:Interpolate (Results 1 - 25 of 27) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/animat/
H A Drs_steps_interpolator_animat_test.cpp64 ASSERT_EQ(targetValueFirst, stepsCurveEnd.Interpolate(testValueFirst)); in HWTEST_F()
65 ASSERT_EQ(targetValueSecond, stepsCurveEnd.Interpolate(testValueSecond)); in HWTEST_F()
66 ASSERT_EQ(targetValueThird, stepsCurveEnd.Interpolate(testValueThird)); in HWTEST_F()
97 ASSERT_EQ(targetValueFirst, stepsCurveStart.Interpolate(testValueFirst)); in HWTEST_F()
98 ASSERT_EQ(targetValueSecond, stepsCurveStart.Interpolate(testValueSecond)); in HWTEST_F()
99 ASSERT_EQ(targetValueThird, stepsCurveStart.Interpolate(testValueThird)); in HWTEST_F()
129 * @tc.desc: test results of Interpolate
145 ASSERT_EQ(1.0f, stepsCurveStart.Interpolate(testValueFirst)); in HWTEST_F()
146 ASSERT_EQ(1.0f, stepsCurveStart.Interpolate(testValueSecond)); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/
H A Drs_steps_interpolator_test.cpp64 ASSERT_EQ(targetValueFirst, stepsCurveStart.Interpolate(testValueFirst)); in HWTEST_F()
65 ASSERT_EQ(targetValueSecond, stepsCurveStart.Interpolate(testValueSecond)); in HWTEST_F()
66 ASSERT_EQ(targetValueThird, stepsCurveStart.Interpolate(testValueThird)); in HWTEST_F()
97 ASSERT_EQ(targetValueFirst, stepsCurveEnd.Interpolate(testValueFirst)); in HWTEST_F()
98 ASSERT_EQ(targetValueSecond, stepsCurveEnd.Interpolate(testValueSecond)); in HWTEST_F()
99 ASSERT_EQ(targetValueThird, stepsCurveEnd.Interpolate(testValueThird)); in HWTEST_F()
104 * @tc.desc: test results of Interpolate
120 ASSERT_EQ(1.0f, stepsCurveStart.Interpolate(testValueFirst)); in HWTEST_F()
121 ASSERT_EQ(1.0f, stepsCurveStart.Interpolate(testValueSecond)); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_interpolator_test.cpp116 auto result = interpolator.Interpolate(0.0f); in HWTEST_F()
133 auto result = interpolator2.Interpolate(CUSTOM_DURATION); in HWTEST_F()
135 result = interpolator2.Interpolate(1.0f); in HWTEST_F()
157 * @tc.desc: Verify the Interpolate of RSCustomInterpolator
173 float result = interpolator->Interpolate(input); in HWTEST_F()
176 result = interpolator->Interpolate(input); in HWTEST_F()
179 result = interpolator->Interpolate(input); in HWTEST_F()
187 * @tc.desc: Verify the Interpolate of RSInterpolator Unmarshalling
223 * @tc.desc: Verify the Interpolate of RSInterpolator Unmarshalling
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/
H A Dinterpolator.cpp41 AnyReturnValue Interpolate(IAny& output, const IAny& from, const IAny& to, float t) const override
59 AnyReturnValue Interpolate(IAny& output, const IAny& from, const IAny& to, float t) const override
79 AnyReturnValue Interpolate(IAny& output, const IAny& from, const IAny& to, float t) const override
101 AnyReturnValue Interpolate(IAny& output, const IAny& from, const IAny& to, float t) const override
124 AnyReturnValue Interpolate(IAny& output, const IAny& from, const IAny& to, float t) const override
145 AnyReturnValue Interpolate(IAny& output, const IAny& from, const IAny& to, float t) const override
H A Danimation_state.cpp445 return interpolator_->Interpolate(*data.target, *data.from, *data.to, progress); in EvaluateValue()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/animation/
H A Dintf_interpolator.h33 * In most cases the Interpolate function can be re-entrant, and interpolator
46 virtual AnyReturnValue Interpolate(IAny& output, const IAny& from, const IAny& to, float t) const = 0;
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/animation/
H A Dinterpolator.h31 AnyReturnValue Interpolate(IAny& output, const IAny& from, const IAny& to, float t) const override
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_interpolator.h49 float Interpolate(float input);
H A Drs_value_estimator.h143 float fraction = interpolator->Interpolate(frameFraction);
235 keyframeInterpolator->Interpolate(intervalFraction), preKeyframeValue, keyframeValue); in GetAnimationValue()
267 keyframeInterpolator->Interpolate(intervalFraction), preKeyframeValue, keyframeValue); in GetDurationKeyframeAnimationValue()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_transition.cpp84 float valueFraction = interpolator_->Interpolate(fraction); in OnAnimate()
H A Drs_value_estimator.cpp75 float fraction = interpolator->Interpolate(mid); in EstimateFraction()
H A Drs_render_curve_animation.cpp139 auto interpolatorValue = interpolator->Interpolate(fraction); in OnAnimateInner()
H A Drs_render_path_animation.cpp211 valueEstimator_->UpdateAnimationValue(interpolator_->Interpolate(fraction), GetAdditive()); in OnAnimate()
218 vector4fValueEstimator->GetAnimationValue(interpolator_->Interpolate(fraction), GetAdditive()); in OnAnimate()
H A Drs_render_particle_effector.cpp70 t = (interpolator != nullptr) ? interpolator->Interpolate(t) : t; in UpdateCurveValue()
94 t = (interpolator != nullptr) ? interpolator->Interpolate(t) : t; in UpdateColorCurveValue()
H A Drs_interpolator.cpp50 float RSInterpolator::Interpolate(float input) in Interpolate() function in OHOS::Rosen::RSInterpolator
224 ROSEN_LOGE("RSCustomInterpolator::Interpolate, time between startLocation and endLocation is less than zero."); in InterpolateImpl()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/
H A Dutil.h170 inline AnyReturnValue Interpolate(IInterpolator::ConstPtr inter, const IProperty::Ptr& output, in Interpolate() function
177 auto ret = inter->Interpolate(*iany, *from, *to, t); in Interpolate()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/
H A Dpath.cpp218 bool Path::Interpolate(const Path& ending, scalar weight, Path& out) in Interpolate() function in OHOS::Rosen::Drawing::Path
220 return impl_->Interpolate(ending, weight, out); in Interpolate()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_path_test.cpp76 skiaPath.Interpolate(path, 2, path2); // 2: weight in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dpath_impl.h88 virtual bool Interpolate(const Path& ending, scalar weight, Path& out) = 0;
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_path.h87 bool Interpolate(const Path& ending, scalar weight, Path& out) override;
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Danimation_system.cpp296 void Interpolate(const AnimationSystem::InterpolationData& interpolation, array_view<const uint8_t> frameValues, in Interpolate() function
331 void Interpolate<Math::Quat>(const AnimationSystem::InterpolationData& interpolation, in Interpolate() function
429 Interpolate<float>(interpolationData, outputComponent.data, initialValue, resultValue); in AnimateTrack()
435 Interpolate<Math::Vec2>(interpolationData, outputComponent.data, initialValue, resultValue); in AnimateTrack()
440 Interpolate<Math::Vec3>(interpolationData, outputComponent.data, initialValue, resultValue); in AnimateTrack()
445 Interpolate<Math::Vec4>(interpolationData, outputComponent.data, initialValue, resultValue); in AnimateTrack()
450 Interpolate<Math::Quat>(interpolationData, outputComponent.data, initialValue, resultValue); in AnimateTrack()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/fuzztest/rsanimationbase_fuzzer/
H A Drsanimationbase_fuzzer.cpp244 interpolator->Interpolate(input); in RSCubicBezierInterpolatorFuzzerTest()
285 animation->Interpolate(fraction); in RSSpringInterpolatorFuzzerTest()
300 animation->Interpolate(fraction); in RSStepsInterpolatorFuzzerTest()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/
H A Dpath.h412 bool Interpolate(const Path& ending, scalar weight, Path& out);
/foundation/graphic/graphic_2d/frameworks/bootanimation/src/
H A Dboot_compile_progress.cpp275 float fraction = sharpCurve_->Interpolate(input); in DrawProgressPoint()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/
H A Dpath_test.cpp789 path->Interpolate(ending, 0.5f, out); in HWTEST_F()
805 path->Interpolate(ending, 0.2f, out); in HWTEST_F()

Completed in 15 milliseconds

12