/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/ |
H A D | rs_steps_interpolator_test.cpp | 64 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 D | rs_interpolator_test.cpp | 116 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 D | interpolator.cpp | 41 … 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 D | animation_state.cpp | 445 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 D | rsanimationbase_fuzzer.cpp | 166 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 D | intf_interpolator.h | 46 …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 D | interpolator.h | 31 … 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 D | util.h | 170 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 D | rs_render_path_animation.cpp | 210 valueEstimator_->UpdateAnimationValue(interpolator_->Interpolate(fraction), GetAdditive()); in OnAnimate() 217 … vector4fValueEstimator->GetAnimationValue(interpolator_->Interpolate(fraction), GetAdditive()); in OnAnimate()
|
H A D | rs_value_estimator.cpp | 75 float fraction = interpolator->Interpolate(mid); in EstimateFraction()
|
H A D | rs_render_transition.cpp | 84 float valueFraction = interpolator_->Interpolate(fraction); in OnAnimate()
|
H A D | rs_render_curve_animation.cpp | 129 auto interpolatorValue = interpolator->Interpolate(fraction); in OnAnimateInner()
|
H A D | rs_render_particle_effector.cpp | 70 t = (interpolator != nullptr) ? interpolator->Interpolate(t) : t; in UpdateCurveValue() 94 t = (interpolator != nullptr) ? interpolator->Interpolate(t) : t; in UpdateColorCurveValue()
|
H A D | rs_interpolator.cpp | 59 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 D | rs_interpolator.h | 49 float Interpolate(float input);
|
H A D | rs_value_estimator.h | 143 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 D | animation_system.cpp | 296 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() 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()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/ |
H A D | path.cpp | 218 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 D | skia_path_test.cpp | 76 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 D | path_impl.h | 88 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 D | skia_path.h | 87 bool Interpolate(const Path& ending, scalar weight, Path& out) override;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/ |
H A D | path_test.cpp | 790 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 D | path.h | 412 bool Interpolate(const Path& ending, scalar weight, Path& out);
|
/ohos5.0/foundation/graphic/graphic_2d/frameworks/bootanimation/src/ |
H A D | boot_compile_progress.cpp | 278 float fraction = sharpCurve_->Interpolate(input); in DrawProgressPoint()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/path_fuzzer/ |
H A D | path_fuzzer.cpp | 70 path1.Interpolate(ending, weight, out); in PathOpFuzzTest()
|