/frameworks/base/libs/hwui/ |
H A D | 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(mMin 115 static float lerp(float start, float stop, float amount) { function in class:android::uirenderer::UvMapper [all...] |
/frameworks/native/opengl/libagl/ |
H A D | 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 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...] |
H A D | context.h | 614 compute_iterators_t lerp; __attribute__((aligned(32))); member in struct:android::gl::ogles_context_t
|
/frameworks/native/opengl/tests/angeles/ |
H A D | 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[ [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | 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);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerSinc.h | 61 int32_t lerp, const int16_t* samples);
|
H A D | AudioResamplerSinc.cpp | 825 int32_t lerp, const int16_t* samples) 829 int32_t sinc = mulAdd(lerp, (c1-c0)<<1, c0); 822 interpolate( int32_t& l, int32_t& r, const int32_t* coefs, size_t offset, int32_t lerp, const int16_t* samples) argument
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | 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/ |
H A D | MathUtils.java | 147 public static float lerp(float start, float stop, float amount) { method in class:MathUtils
|
/frameworks/base/services/java/com/android/server/power/ |
H A D | DisplayPowerController.java | 1153 return lerp(1.0f, TWILIGHT_ADJUSTMENT_MAX_GAMMA, 1158 return lerp(1.0f, TWILIGHT_ADJUSTMENT_MAX_GAMMA, 1165 private static float lerp(float x, float y, float alpha) { method in class:DisplayPowerController
|
/frameworks/native/libs/input/ |
H A D | 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));
|