HomeSort by relevance Sort by last modified time
    Searched defs:lerp (Results 1 - 25 of 74) sorted by null

1 2 3

  /packages/apps/Dialer/java/com/android/dialer/common/
MathUtil.java 30 public static int lerp(int begin, int end, float percent) { method in class:MathUtil
42 public static float lerp(float begin, float end, float percent) { method in class:MathUtil
  /external/replicaisland/src/com/replica/replicaisland/
Lerp.java 19 public final class Lerp {
21 public static float lerp(float start, float target, float duration, float timeSinceStart) method in class:Lerp
  /packages/apps/Camera2/src/com/android/camera/ui/motion/
InterpolateUtils.java 35 public static float lerp(float v0, float v1, float t) { method in class:InterpolateUtils
  /external/skia/src/shaders/
SkComposeShader.cpp 47 float lerp = 1; local
49 lerp = buffer.readScalar();
57 return MakeCompose(std::move(dst), std::move(src), static_cast<SkBlendMode>(mode), lerp);
106 // We now have our logical 'dst' in r,g,b,a, but we need it in dr,dg,db,da for the mode/lerp
  /frameworks/base/libs/hwui/
PropertyValuesHolder.cpp 29 inline constexpr float lerp(float fromValue, float toValue, float fraction) { function in namespace:android::uirenderer
40 float a = lerp(SkColorGetA(fromColor) / 255.0f, SkColorGetA(toColor) / 255.0f, fraction);
41 float r = lerp(linearize(SkColorGetR(fromColor)), linearize(SkColorGetR(toColor)), fraction);
42 float g = lerp(linearize(SkColorGetG(fromColor)), linearize(SkColorGetG(toColor)), fraction);
43 float b = lerp(linearize(SkColorGetB(fromColor)), linearize(SkColorGetB(toColor)), fraction);
UvMapper.h 72 if (!mIdentity) u = lerp(mMinU, mMaxU, u);
79 if (!mIdentity) v = lerp(mMinV, mMaxV, v);
91 texCoords.left = lerp(mMinU, mMaxU, texCoords.left);
92 texCoords.right = lerp(mMinU, mMaxU, texCoords.right);
93 texCoords.top = lerp(mMinV, mMaxV, texCoords.top);
94 texCoords.bottom = lerp(mMinV, mMaxV, texCoords.bottom);
103 u1 = lerp(mMinU, mMaxU, u1);
104 u2 = lerp(mMinU, mMaxU, u2);
105 v1 = lerp(mMinV, mMaxV, v1);
106 v2 = lerp(mMinV, mMaxV, v2)
115 static float lerp(float start, float stop, float amount) { function in class:android::uirenderer::UvMapper
    [all...]
  /frameworks/support/design/base/android/support/design/widget/
AnimationUtils.java 37 static float lerp(float startValue, float endValue, float fraction) { method in class:AnimationUtils
41 static int lerp(int startValue, int endValue, float fraction) { method in class:AnimationUtils
  /external/swiftshader/src/Renderer/
Vector.cpp 169 Vector lerp(const Vector &u, const Vector &v, float t) function in namespace:sw
  /frameworks/base/libs/hwui/utils/
MathUtils.h 90 inline static float lerp(float v1, float v2, float t) { function in class:android::uirenderer::MathUtils
  /external/eigen/demos/opengl/
camera.h 26 Frame lerp(float alpha, const Frame& other) const function in class:Frame
quaternion_demo.cpp 117 template<typename T> T lerp(float t, const T& a, const T& b) function
123 template<> Quaternionf lerp(float t, const Quaternionf& a, const Quaternionf& b) function
131 return Frame(lerp(alpha,a.position,b.position),
132 Quaternionf(lerp(alpha,OrientationType(a.orientation),OrientationType(b.orientation))));
189 template<> EulerAngles<float> lerp(float t, const EulerAngles<float>& a, const EulerAngles<float>& b) function
192 res.coeffs() = lerp(t, a.coeffs(), b.coeffs());
531 aux1 = aux0.lerp(duration/2,mInitFrame);
  /frameworks/base/packages/EasterEgg/src/com/android/egg/octo/
TaperedPathStroke.java 30 static float lerp(float t, float a, float b) { method in class:TaperedPathStroke
49 float r = len > 0 ? lerp(t/len, r1, r2) : r1;
  /external/skia/src/jumper/
SkJumper_stages_lowp.cpp 60 SI F lerp(F from, F to, F t) { return to*t + from*inv(t); } function
347 r = lerp(dr, r, c);
348 g = lerp(dg, g, c);
349 b = lerp(db, b, c);
350 a = lerp(da, a, c);
358 r = lerp(dr, r, c);
359 g = lerp(dg, g, c);
360 b = lerp(db, b, c);
361 a = lerp(da, a, c);
  /frameworks/base/core/java/android/util/
MathUtils.java 152 public static float lerp(float start, float stop, float amount) { method in class:MathUtils
160 * Unlike {@link #lerp(float, float, float)}, the direction and distance of
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DeadZone.java 97 static float lerp(float a, float b, float f) { method in class:DeadZone
109 return (int) lerp(mSizeMax, mSizeMin, (float) (dt - mHold) / mDecay);
  /frameworks/native/libs/math/include/math/
TQuatHelpers.h 260 constexpr QUATERNION<T> PURE lerp(const QUATERNION<T>& p, const QUATERNION<T>& q, T t) { function in class:android::details::TQuatFunctions
266 return normalize(lerp(p, q, t));
  /external/vulkan-validation-layers/libs/glm/gtx/
compatibility.hpp 64 template <typename T> GLM_FUNC_QUALIFIER T lerp(T x, T y, T a){return mix(x, y, a);} //!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) function in namespace:glm
65 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec2<T, P> lerp(const detail::tvec2<T, P>& x, const detail::tvec2<T, P>& y, T a){return mix(x, y, a);} //!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) function in namespace:glm
67 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec3<T, P> lerp(const detail::tvec3<T, P>& x, const detail::tvec3<T, P>& y, T a){return mix(x, y, a);} //!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) function in namespace:glm
68 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec4<T, P> lerp(const detail::tvec4<T, P>& x, const detail::tvec4<T, P>& y, T a){return mix(x, y, a);} //!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) function in namespace:glm
69 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec2<T, P> lerp(const detail::tvec2<T, P>& x, const detail::tvec2<T, P>& y, const detail::tvec2<T, P>& a){return mix(x, y, a);} //!< \brief Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) function in namespace:glm
70 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec3<T, P> lerp(const detail::tvec3<T, P>& x, const detail::tvec3<T, P>& y, const detail::tvec3<T, P>& a){return mix(x, y, a);} //!< \brief Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) function in namespace:glm
71 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec4<T, P> lerp(const detail::tvec4<T, P>& x, const detail::tvec4<T, P>& y, const detail::tvec4<T, P>& a){return mix(x, y, a);} //!< \brief Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) function in namespace:glm
  /frameworks/base/cmds/input/src/com/android/commands/input/
Input.java 226 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, lerp(x1, x2, alpha),
227 lerp(y1, y2, alpha), 1.0f);
251 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, lerp(x1, x2, alpha),
252 lerp(y1, y2, alpha), 1.0f);
313 private static final float lerp(float a, float b, float alpha) { method in class:Input
  /external/skia/src/shaders/gradients/
SkLinearGradient.cpp 191 // Linear interpolation (lerp) is unnecessary if there are no sharp
200 // insufficient (it subsamples the color space) and we need to lerp.
210 SkPMColor lerp = SkFastFourByteInterp(cache[index1], cache[index0], remainder); local
214 sk_memset32_dither(dstC, lerp, dlerp, count);
  /frameworks/native/libs/input/
InputTransport.cpp 66 inline static float lerp(float a, float b, float alpha) { function in namespace:android
799 lerp(currentCoords.getX(), otherCoords.getX(), alpha));
801 lerp(currentCoords.getY(), otherCoords.getY(), alpha));
    [all...]
  /frameworks/support/design/src/android/support/design/widget/
CollapsingTextHelper.java 350 mCurrentDrawX = lerp(mExpandedDrawX, mCollapsedDrawX, fraction,
352 mCurrentDrawY = lerp(mExpandedDrawY, mCollapsedDrawY, fraction,
355 setInterpolatedTextSize(lerp(mExpandedTextSize, mCollapsedTextSize, method
368 lerp(mExpandedShadowRadius, mCollapsedShadowRadius, fraction, null), method
369 lerp(mExpandedShadowDx, mCollapsedShadowDx, fraction, null), method
370 lerp(mExpandedShadowDy, mCollapsedShadowDy, fraction, null), method
469 mCurrentBounds.left = lerp(mExpandedBounds.left, mCollapsedBounds.left,
471 mCurrentBounds.top = lerp(mExpandedDrawY, mCollapsedDrawY,
473 mCurrentBounds.right = lerp(mExpandedBounds.right, mCollapsedBounds.right,
475 mCurrentBounds.bottom = lerp(mExpandedBounds.bottom, mCollapsedBounds.bottom
712 private static float lerp(float startValue, float endValue, float fraction, method
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
DrawerArrowDrawable.java 349 arrowHeadBarLength = lerp(mBarLength, arrowHeadBarLength, mProgress);
350 final float arrowShaftLength = lerp(mBarLength, mArrowShaftLength, mProgress);
352 final float arrowShaftCut = Math.round(lerp(0, mMaxCutForBarSize, mProgress));
354 final float rotation = lerp(0, ARROW_HEAD_ANGLE, mProgress);
357 final float canvasRotate = lerp(flipToPointRight ? 0 : -180,
364 final float topBottomBarOffset = lerp(mBarGap + mPaint.getStrokeWidth(), -mMaxCutForBarSize,
463 private static float lerp(float a, float b, float t) { method in class:DrawerArrowDrawable
  /cts/tests/camera/src/android/hardware/camera2/cts/rs/
RawConverter.java 451 private static double lerp(double a, double b, double f) { method in class:RawConverter
463 private static void lerp(float[] a, float[] b, double f, /*out*/float[] result) { method in class:RawConverter
465 result[i] = (float) lerp(a[i], b[i], f);
549 lerp(XYZToCamera1, XYZToCamera2, interpFactor, interpXYZToCamera); method
622 lerp(calibrationTransform1, calibrationTransform2, interpolationFactor, method
645 lerp(forwardTransform1, forwardTransform2, interpolationFactor, /*out*/intermediate); method
    [all...]
  /external/autotest/client/site_tests/graphics_SanAngeles/src/
demo.c 971 float lerp[5]; local
991 lerp[a] = (cam->src[a] + cam->dest[a] * trackPos) * 0.01f;
996 cX = lerp[0];
997 cY = lerp[1];
998 cZ = lerp[2];
999 eX = cX - (float)cos(lerp[3]) * dist;
1000 eY = cY - (float)sin(lerp[3]) * dist;
1001 eZ = cZ - lerp[4];
1005 eX = lerp[0];
1006 eY = lerp[1]
    [all...]
  /frameworks/native/opengl/libagl/
primitives.cpp 556 c->lerp.initLine(v0, v1);
584 c->lerp.initTriangle(v0, v1, v2);
635 c->lerp.initLerp(v0, enables);
647 const compute_iterators_t& lerp = c->lerp; local
654 lerp.iterators1616(&itc[i*3], c0, c1, c2);
669 lerp.iterators0032(itz64, v0z, v1z, v2z);
676 lerp.iterators0032(itz, v0z, v1z, v2z);
680 lerp.iterators0032(itz, v0z, v1z, v2z);
687 lerp.iterators1616(itf, v0->fog, v1->fog, v2->fog)
702 const compute_iterators_t& lerp = c->lerp; local
718 const compute_iterators_t& lerp = c->lerp; local
762 const compute_iterators_t& lerp = c->lerp; local
    [all...]

Completed in 1685 milliseconds

1 2 3