/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/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
|
/external/chromium_org/third_party/qcms/src/ |
chain.c | 151 float r_x1 = lerp(CLU(r_table,x,y,z), CLU(r_table,x_n,y,z), x_d); 152 float r_x2 = lerp(CLU(r_table,x,y_n,z), CLU(r_table,x_n,y_n,z), x_d); 153 float r_y1 = lerp(r_x1, r_x2, y_d); 154 float r_x3 = lerp(CLU(r_table,x,y,z_n), CLU(r_table,x_n,y,z_n), x_d); 155 float r_x4 = lerp(CLU(r_table,x,y_n,z_n), CLU(r_table,x_n,y_n,z_n), x_d); 156 float r_y2 = lerp(r_x3, r_x4, y_d); 157 float clut_r = lerp(r_y1, r_y2, z_d); 159 float g_x1 = lerp(CLU(g_table,x,y,z), CLU(g_table,x_n,y,z), x_d); 160 float g_x2 = lerp(CLU(g_table,x,y_n,z), CLU(g_table,x_n,y_n,z), x_d); 161 float g_y1 = lerp(g_x1, g_x2, y_d) [all...] |
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
|
FadeDrawableComponent.java | 102 opacity = Lerp.lerp(mInitialOpacity, mTargetOpacity, mDuration, elapsed); 104 opacity = Lerp.ease(mInitialOpacity, mTargetOpacity, mDuration, elapsed);
|
/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/av/services/audioflinger/ |
AudioResamplerSinc.h | 61 int32_t lerp, const int16_t* samples);
|
/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...] |
/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...] |
/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/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...] |
/external/eigen/demos/opengl/ |
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);
|
camera.h | 26 Frame lerp(float alpha, const Frame& other) const function in class:Frame
|
/external/chromium-trace/trace-viewer/third_party/gl-matrix/spec/gl-matrix/ |
quat-spec.js | 175 describe("lerp", function() { 177 beforeEach(function() { result = quat.lerp(out, quatA, quatB, 0.5); }); 186 beforeEach(function() { result = quat.lerp(quatA, quatA, quatB, 0.5); }); 194 beforeEach(function() { result = quat.lerp(quatB, quatA, quatB, 0.5); });
|
vec2-spec.js | 334 describe("lerp", function() { 336 beforeEach(function() { result = vec2.lerp(out, vecA, vecB, 0.5); }); 345 beforeEach(function() { result = vec2.lerp(vecA, vecA, vecB, 0.5); }); 353 beforeEach(function() { result = vec2.lerp(vecB, vecA, vecB, 0.5); });
|
vec3-spec.js | 347 describe("lerp", function() { 349 beforeEach(function() { result = vec3.lerp(out, vecA, vecB, 0.5); }); 358 beforeEach(function() { result = vec3.lerp(vecA, vecA, vecB, 0.5); }); 366 beforeEach(function() { result = vec3.lerp(vecB, vecA, vecB, 0.5); });
|
vec4-spec.js | 320 describe("lerp", function() { 322 beforeEach(function() { result = vec4.lerp(out, vecA, vecB, 0.5); }); 331 beforeEach(function() { result = vec4.lerp(vecA, vecA, vecB, 0.5); }); 339 beforeEach(function() { result = vec4.lerp(vecB, vecA, vecB, 0.5); });
|
/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
|
/frameworks/base/core/java/android/util/ |
MathUtils.java | 147 public static float lerp(float start, float stop, float amount) { method in class:MathUtils
|
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/ |
quat.js | 269 quat.lerp = vec4.lerp;
|
vec2.js | 354 vec2.lerp = function (out, a, b, t) {
|
/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...] |
/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);
|