Home
last modified time | relevance | path

Searched refs:Lerp (Results 1 - 12 of 12) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_particle_noise_field.cpp158 float PerlinNoise2D::Lerp(float t, float a, float b) in Lerp() function in OHOS::Rosen::PerlinNoise2D
221 float res = Lerp(v, Lerp(u, Grad(p[AA], x, y), Grad(p[BA], x - 1, y)),
222 Lerp(u, Grad(p[AB], x, y - 1), Grad(p[BB], x - 1, y - 1)));
H A Drs_render_particle_effector.cpp95 color = RSRenderParticle::Lerp(startValue, endValue, t); in UpdateColorCurveValue()
H A Drs_render_particle.cpp722 color_ = Lerp(particleParams_->GetColorStartValue(), particleParams_->GetColorEndValue(), colorRandomValue); in SetColor()
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/
H A Dcolor.h622 static inline uint8_t Lerp(uint8_t valueP, uint8_t valueQ, uint8_t valueA) in Lerp() function
670 ret.red = Lerp(red, color.red, increaseK); in Gradient()
671 ret.green = Lerp(green, color.green, increaseK); in Gradient()
672 ret.blue = Lerp(blue, color.blue, increaseK); in Gradient()
673 ret.alpha = Lerp(alpha, color.alpha, increaseK); in Gradient()
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/
H A Dvector_util.h42 static inline constexpr Vec2 Lerp(Vec2 v1, Vec2 v2, float t) in Lerp() function
161 static inline constexpr Vec3 Lerp(const Vec3& v1, const Vec3& v2, float t) in Lerp() function
228 static inline constexpr Vec4 Lerp(const Vec4& v1, const Vec4& v2, float t) in Lerp() function
/foundation/arkui/ui_lite/frameworks/render/
H A Drender_pixfmt_rgba_blend.h101 color[OrderBgra::RED] = Rgba8T::Lerp(color[OrderBgra::RED], red, alpha); in BlendPix()
102 color[OrderBgra::GREEN] = Rgba8T::Lerp(color[OrderBgra::GREEN], green, alpha); in BlendPix()
103 color[OrderBgra::BLUE] = Rgba8T::Lerp(color[OrderBgra::BLUE], blue, alpha); in BlendPix()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_particle_noise_field.h71 float Lerp(float t, float a, float b);
H A Drs_render_particle.h381 static Color Lerp(const Color& start, const Color& end, float t) in Lerp() function in OHOS::Rosen::RSRenderParticle
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_render_particle_test.cpp273 * @tc.desc: Verify the Color Lerp
284 Color color = particle->Lerp(start, end, t); in HWTEST_F()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Danimation_system.cpp175 constexpr float Lerp(const float& v1, const float& v2, float t) in Lerp() function
309 result = Lerp(values[interpolation.startIndex], values[interpolation.endIndex], interpolation.t); in Interpolate()
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/animat/
H A Drs_particle_animate_test.cpp622 * @tc.desc: test results of Lerp
632 rsRenderParticle.Lerp(start, end, t); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/
H A Drs_render_particle_test.cpp831 * @tc.desc: test results of Lerp
841 rsRenderParticle.Lerp(start, end, t); in HWTEST_F()

Completed in 23 milliseconds