/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
|
/frameworks/base/libs/hwui/ |
PropertyValuesHolder.cpp | 59 inline U8CPU lerp(U8CPU fromValue, U8CPU toValue, float fraction) { function in namespace:android::uirenderer 66 U8CPU alpha = lerp(SkColorGetA(fromColor), SkColorGetA(toColor), fraction); 67 U8CPU red = lerp(SkColorGetR(fromColor), SkColorGetR(toColor), fraction); 68 U8CPU green = lerp(SkColorGetG(fromColor), SkColorGetG(toColor), fraction); 69 U8CPU blue = lerp(SkColorGetB(fromColor), 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 | 38 static float lerp(float startValue, float endValue, float fraction) { method in class:AnimationUtils 42 static int lerp(int startValue, int endValue, float fraction) { method in class:AnimationUtils
|
/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);
|
/external/opencv3/3rdparty/openexr/Imath/ |
ImathFun.h | 69 lerp (T a, T b, Q t) function in namespace:Imath 92 // m = lerp(a, b, t);
|
/external/opencv3/samples/cpp/tutorial_code/HighGUI/GDAL_IO/ |
gdal-image.cpp | 34 cv::Point2d lerp( const cv::Point2d&, const cv::Point2d&, const double& ); 52 cv::Point2d lerp( cv::Point2d const& p1, cv::Point2d const& p2, const double& t ){ function 61 cv::Vec<DATATYPE,N> lerp( cv::Vec<DATATYPE,N> const& minColor, function 103 return lerp( color_range[idx].first, color_range[idx+1].first, t); 134 // compute LERP of each coordinate 135 cv::Point2d rightSide = lerp(tr, br, ry); 136 cv::Point2d leftSide = lerp(tl, bl, ry); 139 return lerp( leftSide, rightSide, rx );
|
/frameworks/base/core/java/android/util/ |
MathUtils.java | 155 public static float lerp(float start, float stop, float amount) { method in class:MathUtils 163 * Unlike {@link #lerp(float, float, float)}, the direction and distance of
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
DeadZone.java | 91 static float lerp(float a, float b, float f) { method in class:DeadZone 103 return (int) lerp(mSizeMax, mSizeMin, (float) (dt - mHold) / mDecay);
|
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/ |
vec2.js | 382 vec2.lerp = function (out, a, b, t) {
|
vec4.js | 411 vec4.lerp = function (out, a, b, t) {
|
vec3.js | 407 vec3.lerp = function (out, a, b, t) {
|
/external/skia/src/core/ |
SkXfermode4f.cpp | 21 static Sk4f lerp(const Sk4f& src, const Sk4f& dst, uint8_t srcCoverage) { function 52 dst[i] = store_dst<D>(lerp(r4, d4, aa[i])); 72 dst[i] = store_dst<D>(lerp(r4, d4, aa[i])); 147 r4 = lerp(r4, d4, a); 153 static Sk4f lerp(const Sk4f& src, const Sk4f& dst, const Sk4f& src_scale) { function 167 Sk4f r0 = lerp(s4_255, to_4f(dst[0]), Sk4f(aa4[0])) + Sk4f(0.5f); 168 Sk4f r1 = lerp(s4_255, to_4f(dst[1]), Sk4f(aa4[1])) + Sk4f(0.5f); 169 Sk4f r2 = lerp(s4_255, to_4f(dst[2]), Sk4f(aa4[2])) + Sk4f(0.5f); 170 Sk4f r3 = lerp(s4_255, to_4f(dst[3]), Sk4f(aa4[3])) + Sk4f(0.5f); 185 Sk4f r0 = lerp(s4, load_dst<D>(dst[0]), Sk4f(aa4[0])) [all...] |
/external/skia/src/effects/gradients/ |
SkTwoPointConicalGradient.cpp | 74 static float lerp(float x, float dx, float t) { function 124 float r = lerp(fRec.fRadius, fRec.fDRadius, t); 127 r = lerp(fRec.fRadius, fRec.fDRadius, t);
|
SkLinearGradient.cpp | 194 // Linear interpolation (lerp) is unnecessary if there are no sharp 203 // insufficient (it subsamples the color space) and we need to lerp. 213 SkPMColor lerp = SkFastFourByteInterp(cache[index1], cache[index0], remainder); local 217 sk_memset32_dither(dstC, lerp, dlerp, count);
|
/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 | 212 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, lerp(x1, x2, alpha), 213 lerp(y1, y2, alpha), 1.0f); 274 private static final float lerp(float a, float b, float alpha) { method in class:Input
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
DrawerArrowDrawable.java | 117 final float arrowSize = lerp(mBarSize, mTopBottomArrowSize, mProgress); 118 final float middleBarSize = lerp(mBarSize, mMiddleArrowSize, mProgress); 120 final float middleBarCut = Math.round(lerp(0, mMaxCutForBarSize, mProgress)); 122 final float rotation = lerp(0, ARROW_HEAD_ANGLE, mProgress); 125 final float canvasRotate = lerp(isRtl ? 0 : -180, isRtl ? 180 : 0, mProgress); 131 final float topBottomBarOffset = lerp(mBarGap + mBarThickness, -mMaxCutForBarSize, 211 private static float lerp(float a, float b, float t) { method in class:DrawerArrowDrawable
|
/frameworks/support/design/src/android/support/design/widget/ |
CollapsingTextHelper.java | 331 mCurrentDrawX = lerp(mExpandedDrawX, mCollapsedDrawX, fraction, 333 mCurrentDrawY = lerp(mExpandedDrawY, mCollapsedDrawY, fraction, 336 setInterpolatedTextSize(lerp(mExpandedTextSize, mCollapsedTextSize, method 348 lerp(mExpandedShadowRadius, mCollapsedShadowRadius, fraction, null), method 349 lerp(mExpandedShadowDx, mCollapsedShadowDx, fraction, null), method 350 lerp(mExpandedShadowDy, mCollapsedShadowDy, fraction, null), method 431 mCurrentBounds.left = lerp(mExpandedBounds.left, mCollapsedBounds.left, 433 mCurrentBounds.top = lerp(mExpandedDrawY, mCollapsedDrawY, 435 mCurrentBounds.right = lerp(mExpandedBounds.right, mCollapsedBounds.right, 437 mCurrentBounds.bottom = lerp(mExpandedBounds.bottom, mCollapsedBounds.bottom 654 private static float lerp(float startValue, float endValue, float fraction, method [all...] |
/frameworks/native/libs/input/ |
InputTransport.cpp | 67 inline static float lerp(float a, float b, float alpha) { function in namespace:android 784 lerp(currentCoords.getX(), otherCoords.getX(), alpha)); 786 lerp(currentCoords.getY(), otherCoords.getY(), alpha)); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
DrawerArrowDrawable.java | 345 arrowHeadBarLength = lerp(mBarLength, arrowHeadBarLength, mProgress); 346 final float arrowShaftLength = lerp(mBarLength, mArrowShaftLength, mProgress); 348 final float arrowShaftCut = Math.round(lerp(0, mMaxCutForBarSize, mProgress)); 350 final float rotation = lerp(0, ARROW_HEAD_ANGLE, mProgress); 353 final float canvasRotate = lerp(flipToPointRight ? 0 : -180, 360 final float topBottomBarOffset = lerp(mBarGap + mPaint.getStrokeWidth(), -mMaxCutForBarSize, 459 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 | 427 private static double lerp(double a, double b, double f) { method in class:RawConverter 439 private static void lerp(float[] a, float[] b, double f, /*out*/float[] result) { method in class:RawConverter 441 result[i] = (float) lerp(a[i], b[i], f); 525 lerp(XYZToCamera1, XYZToCamera2, interpFactor, interpXYZToCamera); method 598 lerp(calibrationTransform1, calibrationTransform2, interpolationFactor, method 621 lerp(forwardTransform1, forwardTransform2, interpolationFactor, /*out*/intermediate); method [all...] |