Home
last modified time | relevance | path

Searched refs:Lerp (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/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()
/ohos5.0/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)), in Noise()
222 Lerp(u, Grad(p[AB], x, y - 1), Grad(p[BB], x - 1, y - 1))); in Noise()
H A Drs_render_particle_effector.cpp95 color = RSRenderParticle::Lerp(startValue, endValue, t); in UpdateColorCurveValue()
H A Drs_render_particle.cpp721 …color_ = Lerp(particleParams_->GetColorStartValue(), particleParams_->GetColorEndValue(), colorRan… in SetColor()
/ohos5.0/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 BASE_BEGIN_NAMESPACE()
161 static inline constexpr Vec3 Lerp(const Vec3& v1, const Vec3& v2, float t) in BASE_BEGIN_NAMESPACE()
228 static inline constexpr Vec4 Lerp(const Vec4& v1, const Vec4& v2, float t) in BASE_BEGIN_NAMESPACE()
/ohos5.0/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()
/ohos5.0/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
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_render_particle_test.cpp262 Color color = particle->Lerp(start, end, t);
/ohos5.0/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()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/
H A Drs_render_particle_test.cpp841 rsRenderParticle.Lerp(start, end, t); in HWTEST_F()