/external/chromium_org/third_party/qcms/src/ |
transform_util.h | 39 static inline float lerp(float a, float b, float t) function
|
/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
|
/frameworks/base/libs/hwui/ |
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...] |
/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/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/ |
ImprovedNoise.java | 66 return ImprovedNoise.lerp(
68 ImprovedNoise.lerp(
70 ImprovedNoise.lerp(u, ImprovedNoise.grad3(ImprovedNoise.p[AA], x, y, z),
72 ImprovedNoise.lerp(u, ImprovedNoise.grad3(ImprovedNoise.p[AB], x, y - 1, z), // RESULTS
74 ImprovedNoise.lerp(v,
75 ImprovedNoise.lerp(u, ImprovedNoise.grad3(ImprovedNoise.p[AA + 1], x, y, z - 1), // CORNERS
77 ImprovedNoise.lerp(u, ImprovedNoise.grad3(ImprovedNoise.p[AB + 1], x, y - 1, z - 1),
85 static final float lerp(final float t, final float a, final float b) {
method in class:ImprovedNoise
|
/frameworks/base/core/java/android/util/ |
MathUtils.java | 147 public static float lerp(float start, float stop, float amount) { method in class:MathUtils
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
DeadZone.java | 84 static float lerp(float a, float b, float f) { method in class:DeadZone 96 return (int) lerp(mSizeMax, mSizeMin, (float) (dt - mHold) / mDecay);
|
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/ |
vec2.js | 354 vec2.lerp = function (out, a, b, t) {
|
vec3.js | 377 vec3.lerp = function (out, a, b, t) {
|
vec4.js | 379 vec4.lerp = function (out, a, b, t) {
|
/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); 263 private static final float lerp(float a, float b, float alpha) { method in class:Input
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkLinearGradient.cpp | 109 // Linear interpolation (lerp) is unnecessary if there are no sharp 118 // insufficient (it subsamples the color space) and we need to lerp. 128 SkPMColor lerp = SkFastFourByteInterp(cache[index1], cache[index0], remainder); local 132 sk_memset32_dither(dstC, lerp, dlerp, count);
|
SkTwoPointConicalGradient.cpp | 59 static float lerp(float x, float dx, float t) { function 105 float r = lerp(fRadius, fDRadius, t); 108 r = lerp(fRadius, fDRadius, t);
|
/external/skia/src/effects/gradients/ |
SkLinearGradient.cpp | 109 // Linear interpolation (lerp) is unnecessary if there are no sharp 118 // insufficient (it subsamples the color space) and we need to lerp. 128 SkPMColor lerp = SkFastFourByteInterp(cache[index1], cache[index0], remainder); local 132 sk_memset32_dither(dstC, lerp, dlerp, count);
|
SkTwoPointConicalGradient.cpp | 59 static float lerp(float x, float dx, float t) { function 105 float r = lerp(fRadius, fDRadius, t); 108 r = lerp(fRadius, fDRadius, t);
|
/external/chromium-trace/trace-viewer/third_party/gl-matrix/dist/ |
gl-matrix.js | 456 vec2.lerp = function (out, a, b, t) { 963 vec3.lerp = function (out, a, b, t) { [all...] |
/frameworks/native/libs/input/ |
InputTransport.cpp | 62 inline static float lerp(float a, float b, float alpha) { function in namespace:android 771 lerp(currentCoords.getX(), otherCoords.getX(), alpha)); 773 lerp(currentCoords.getY(), otherCoords.getY(), alpha)); [all...] |
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
demo.c | 704 float lerp[5]; local 724 lerp[a] = (cam->src[a] + cam->dest[a] * trackPos) * 0.01f; 729 cX = lerp[0]; 730 cY = lerp[1]; 731 cZ = lerp[2]; 732 eX = cX - (float)cos(lerp[3]) * dist; 733 eY = cY - (float)sin(lerp[3]) * dist; 734 eZ = cZ - lerp[4]; 738 eX = lerp[0]; 739 eY = lerp[1] [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
NoiseGenerator.java | 655 return NoiseMath.lerp(floorZ, NoiseMath.lerp(floorY, NoiseMath.lerp(floorX, NoiseMath.grad(hash[AA], x, y, z),
657 NoiseMath.lerp(floorX, NoiseMath.grad(hash[AB], x, y - 1, z),
659 NoiseMath.lerp(floorY, NoiseMath.lerp(floorX, NoiseMath.grad(hash[AA + 1], x, y, z - 1),
661 NoiseMath.lerp(floorX, NoiseMath.grad(hash[AB + 1], x, y - 1, z - 1),
700 float a = NoiseMath.lerp(sx, u, v);
706 float b = NoiseMath.lerp(sx, u, v);
708 float c = NoiseMath.lerp(sy, a, b); 816 public static float lerp(float t, float a, float b) { method in class:NoiseGenerator.NoiseMath [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...] |
/frameworks/native/opengl/tests/angeles/ |
demo.c | 704 float lerp[5]; local 724 lerp[a] = (cam->src[a] + cam->dest[a] * trackPos) * 0.01f; 729 cX = lerp[0]; 730 cY = lerp[1]; 731 cZ = lerp[2]; 732 eX = cX - (float)cos(lerp[3]) * dist; 733 eY = cY - (float)sin(lerp[3]) * dist; 734 eZ = cZ - lerp[4]; 738 eX = lerp[0]; 739 eY = lerp[1] [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_tex_sample.c | 70 lerp(float a, float v0, float v1) function 88 const float temp0 = lerp(a, v00, v10); 89 const float temp1 = lerp(a, v01, v11); 90 return lerp(b, temp0, temp1); 104 return lerp(c, temp0, temp1); 1201 rgba[TGSI_NUM_CHANNELS*c] = lerp(xw, tx0[c], tx1[c]); [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_tex_sample.c | 70 lerp(float a, float v0, float v1) function 88 const float temp0 = lerp(a, v00, v10); 89 const float temp1 = lerp(a, v01, v11); 90 return lerp(b, temp0, temp1); 104 return lerp(c, temp0, temp1); 1201 rgba[TGSI_NUM_CHANNELS*c] = lerp(xw, tx0[c], tx1[c]); [all...] |
/frameworks/base/services/java/com/android/server/power/ |
DisplayPowerController.java | 1163 private static float lerp(float x, float y, float alpha) { method in class:DisplayPowerController [all...] |