Home
last modified time | relevance | path

Searched refs:Interpolate (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/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));
65 ASSERT_EQ(targetValueSecond, stepsCurveStart.Interpolate(testValueSecond));
66 ASSERT_EQ(targetValueThird, stepsCurveStart.Interpolate(testValueThird));
97 ASSERT_EQ(targetValueFirst, stepsCurveEnd.Interpolate(testValueFirst));
98 ASSERT_EQ(targetValueSecond, stepsCurveEnd.Interpolate(testValueSecond));
99 ASSERT_EQ(targetValueThird, stepsCurveEnd.Interpolate(testValueThird));
120 ASSERT_EQ(1.0f, stepsCurveStart.Interpolate(testValueFirst));
121 ASSERT_EQ(1.0f, stepsCurveStart.Interpolate(testValueSecond));
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_interpolator_test.cpp116 auto result = interpolator.Interpolate(0.0f);
133 auto result = interpolator2.Interpolate(CUSTOM_DURATION);
135 result = interpolator2.Interpolate(1.0f);
173 float result = interpolator->Interpolate(input);
176 result = interpolator->Interpolate(input);
179 result = interpolator->Interpolate(input);
/ohos5.0/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 in Interpolate() function in QuatInterpolator
59 … AnyReturnValue Interpolate(IAny& output, const IAny& from, const IAny& to, float t) const override in Interpolate() function in DefaultInterpolator
79 … AnyReturnValue Interpolate(IAny& output, const IAny& from, const IAny& to, float t) const override in Interpolate() function in UVec3Interpolator
101 … AnyReturnValue Interpolate(IAny& output, const IAny& from, const IAny& to, float t) const override in Interpolate() function in UVec4Interpolator
124 … AnyReturnValue Interpolate(IAny& output, const IAny& from, const IAny& to, float t) const override in Interpolate() function in IVec3Interpolator
145 … AnyReturnValue Interpolate(IAny& output, const IAny& from, const IAny& to, float t) const override in Interpolate() function in IVec4Interpolator
H A Danimation_state.cpp445 return interpolator_->Interpolate(*data.target, *data.from, *data.to, progress); in EvaluateValue()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/fuzztest/rsanimationbase_fuzzer/
H A Drsanimationbase_fuzzer.cpp166 interpolator->Interpolate(input); in RSCubicBezierInterpolatorFuzzerTest()
185 animation->Interpolate(fraction); in RSSpringInterpolatorFuzzerTest()
200 animation->Interpolate(fraction); in RSStepsInterpolatorFuzzerTest()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/animation/
H A Dintf_interpolator.h46 …virtual AnyReturnValue Interpolate(IAny& output, const IAny& from, const IAny& to, float t) const …
/ohos5.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 in META_BEGIN_NAMESPACE()
/ohos5.0/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()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_path_animation.cpp210 valueEstimator_->UpdateAnimationValue(interpolator_->Interpolate(fraction), GetAdditive()); in OnAnimate()
217 … vector4fValueEstimator->GetAnimationValue(interpolator_->Interpolate(fraction), GetAdditive()); in OnAnimate()
H A Drs_value_estimator.cpp75 float fraction = interpolator->Interpolate(mid); in EstimateFraction()
H A Drs_render_transition.cpp84 float valueFraction = interpolator_->Interpolate(fraction); in OnAnimate()
H A Drs_render_curve_animation.cpp129 auto interpolatorValue = interpolator->Interpolate(fraction); in OnAnimateInner()
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.cpp59 float RSInterpolator::Interpolate(float input) in Interpolate() function in OHOS::Rosen::RSInterpolator
/ohos5.0/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); in EstimateFraction()
235 … keyframeInterpolator->Interpolate(intervalFraction), preKeyframeValue, keyframeValue); in GetAnimationValue()
267 … keyframeInterpolator->Interpolate(intervalFraction), preKeyframeValue, keyframeValue); in GetDurationKeyframeAnimationValue()
/ohos5.0/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>… in Interpolate() function
331 void Interpolate<Math::Quat>(const AnimationSystem::InterpolationData& interpolation,
429 Interpolate<float>(interpolationData, outputComponent.data, initialValue, resultValue); in AnimateTrack()
435Interpolate<Math::Vec2>(interpolationData, outputComponent.data, initialValue, resultValue); in AnimateTrack()
440Interpolate<Math::Vec3>(interpolationData, outputComponent.data, initialValue, resultValue); in AnimateTrack()
445Interpolate<Math::Vec4>(interpolationData, outputComponent.data, initialValue, resultValue); in AnimateTrack()
450Interpolate<Math::Quat>(interpolationData, outputComponent.data, initialValue, resultValue); in AnimateTrack()
/ohos5.0/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()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_path_test.cpp76 skiaPath.Interpolate(path, 2, path2); // 2: weight
/ohos5.0/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;
/ohos5.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;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/
H A Dpath_test.cpp790 path->Interpolate(ending, 0.5f, out);
806 path->Interpolate(ending, 0.2f, out);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/
H A Dpath.h412 bool Interpolate(const Path& ending, scalar weight, Path& out);
/ohos5.0/foundation/graphic/graphic_2d/frameworks/bootanimation/src/
H A Dboot_compile_progress.cpp278 float fraction = sharpCurve_->Interpolate(input); in DrawProgressPoint()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/path_fuzzer/
H A Dpath_fuzzer.cpp70 path1.Interpolate(ending, weight, out); in PathOpFuzzTest()

12