Home
last modified time | relevance | path

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

12

/external/libchrome/ui/gfx/geometry/
Dquaternion_unittest.cc115 TEST(QuatTest, Lerp) { in TEST() argument
120 Quaternion interpolated = a.Lerp(b, t); in TEST()
127 CompareQuaternions(a.Normalized(), a.Lerp(b, 0)); in TEST()
128 CompareQuaternions(b.Normalized(), a.Lerp(b, 1)); in TEST()
129 CompareQuaternions(Quaternion(1, 1, 1, 1).Normalized(), a.Lerp(b, 0.5)); in TEST()
Dquaternion.h60 Quaternion Lerp(const Quaternion& q, double t) const;
Dquaternion.cc80 Quaternion Quaternion::Lerp(const Quaternion& q, double t) const { in Lerp() function in gfx::Quaternion
/external/replicaisland/src/com/replica/replicaisland/
DTimeSystem.java75 scale = Lerp.ease(1.0f, mTargetScale, EASE_DURATION, scaleTime); in update()
79 scale = Lerp.ease(mTargetScale, 1.0f, EASE_DURATION, easeOutTime); in update()
DFadeDrawableComponent.java102 opacity = Lerp.lerp(mInitialOpacity, mTargetOpacity, mDuration, elapsed); in update()
104 opacity = Lerp.ease(mInitialOpacity, mTargetOpacity, mDuration, elapsed); in update()
DCameraSystem.java116 mCurrentCameraPosition.x = Lerp.ease(mPreInterpolateCameraPosition.x, in update()
119 mCurrentCameraPosition.y = Lerp.ease(mPreInterpolateCameraPosition.y, in update()
DLerp.java19 public final class Lerp { class
/external/skqp/modules/skottie/src/
DSkottieValue.cpp31 void ValueTraits<ScalarValue>::Lerp(const ScalarValue& v0, const ScalarValue& v1, float t, in Lerp() function in skottie::ValueTraits
55 void ValueTraits<VectorValue>::Lerp(const VectorValue& v0, const VectorValue& v1, float t, in Lerp() function in skottie::ValueTraits
62 ValueTraits<ScalarValue>::Lerp(v0[i], v1[i], t, &(*result)[i]); in Lerp()
184 void ValueTraits<ShapeValue>::Lerp(const ShapeValue& v0, const ShapeValue& v1, float t, in Lerp() function in skottie::ValueTraits
307 void ValueTraits<TextValue>::Lerp(const TextValue& v0, const TextValue&, float, TextValue* result) { in Lerp() function in skottie::ValueTraits
DSkottieValue.h36 static void Lerp(const T&, const T&, float, T*);
DSkottieAnimator.cpp240 ValueTraits<T>::Lerp(v0, v1, lt, v); in eval()
/external/skia/modules/skottie/src/animator/
DVectorKeyframeAnimator.cpp114 new_val = Lerp(Sk4f::Load(v0), Sk4f::Load(v1), lerp_info.weight); in onSeek()
126 const auto new_val = Lerp(*v0++, *v1++, lerp_info.weight); in onSeek()
DScalarKeyframeAnimator.cpp61 *fTarget = Lerp(lerp_info.vrec0.flt, lerp_info.vrec1.flt, lerp_info.weight); in onSeek()
DKeyframeAnimator.h135 T Lerp(const T& a, const T& b, float t) { return a + (b - a) * t; } in Lerp() function
DVec2KeyframeAnimator.cpp200 return this->update(Lerp(v0.v2, v1.v2, lerp_info.weight), tan); in onSeek()
/external/skia/include/core/
DSkColorFilter.h85 static sk_sp<SkColorFilter> Lerp(float t, sk_sp<SkColorFilter> dst, sk_sp<SkColorFilter> src);
DSkShader.h141 static sk_sp<SkShader> Lerp(float t, sk_sp<SkShader> dst, sk_sp<SkShader> src);
/external/skia/samplecode/
DSampleMixer.cpp45 paint.setColorFilter(SkColorFilters::Lerp(fWeight, cf0, cf1)); in dodraw()
/external/skia/gm/
Dmixercolorfilter.cpp121 paint.setColorFilter(SkColorFilters::Lerp(t, cf0, cf1)); in mixRow()
Dcolorfilterimagefilter.cpp268 return SkShaders::Lerp(t, a, sh); in __anone7f6f8310102()
274 return SkShaders::Lerp(t, a, SkShaders::Blend(mode, a, b)); in __anone7f6f8310202()
/external/skia/bench/
DColorFilterBench.cpp183 []() { return SkColorFilters::Lerp(0.3f, in __anonb80003540a02()
/external/skia/src/shaders/
DSkComposeShader.cpp54 sk_sp<SkShader> SkShaders::Lerp(float weight, sk_sp<SkShader> dst, sk_sp<SkShader> src) { in Lerp() function in SkShaders
/external/toolchain-utils/cros_utils/
Dtabulator_test.py78 c3 = tabulator.Color.Lerp(0.5, c1, c2)
Dtabulator.py790 def Lerp(cls, ratio, a, b): member in Color
854 ret = Color.Lerp(value, high_color, mid_color)
858 ret = Color.Lerp(value, low_color, mid_color)
/external/skia/modules/sksg/src/
DSkSGColorFilter.cpp220 return SkColorFilters::Lerp(fWeight, nullptr, std::move(gradientCF)); in onRevalidateFilter()
/external/walt/ios/WALT/
DDragLatencyController.mm45 static T Lerp(const T& x0, const T& x1, double alpha) { function
78 y.push_back(Lerp(yp[ip - 1], yp[ip], alpha));

12