Home
last modified time | relevance | path

Searched refs:lerp (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/libs/hwui/
DUvMapper.h72 if (!mIdentity) u = lerp(mMinU, mMaxU, u); in mapU()
79 if (!mIdentity) v = lerp(mMinV, mMaxV, v); in mapV()
91 texCoords.left = lerp(mMinU, mMaxU, texCoords.left); in map()
92 texCoords.right = lerp(mMinU, mMaxU, texCoords.right); in map()
93 texCoords.top = lerp(mMinV, mMaxV, texCoords.top); in map()
94 texCoords.bottom = lerp(mMinV, mMaxV, texCoords.bottom); in map()
103 u1 = lerp(mMinU, mMaxU, u1); in map()
104 u2 = lerp(mMinU, mMaxU, u2); in map()
105 v1 = lerp(mMinV, mMaxV, v1); in map()
106 v2 = lerp(mMinV, mMaxV, v2); in map()
[all …]
/frameworks/native/opengl/tests/angeles/
Ddemo.c704 float lerp[5]; in camTrack() local
724 lerp[a] = (cam->src[a] + cam->dest[a] * trackPos) * 0.01f; in camTrack()
729 cX = lerp[0]; in camTrack()
730 cY = lerp[1]; in camTrack()
731 cZ = lerp[2]; in camTrack()
732 eX = cX - (float)cos(lerp[3]) * dist; in camTrack()
733 eY = cY - (float)sin(lerp[3]) * dist; in camTrack()
734 eZ = cZ - lerp[4]; in camTrack()
738 eX = lerp[0]; in camTrack()
739 eY = lerp[1]; in camTrack()
[all …]
/frameworks/native/opengl/libagl/
Dprimitives.cpp556 c->lerp.initLine(v0, v1); in primitive_line()
584 c->lerp.initTriangle(v0, v1, v2); in primitive_clip_triangle()
635 c->lerp.initLerp(v0, enables); in lerp_triangle()
647 const compute_iterators_t& lerp = c->lerp; in lerp_triangle() local
654 lerp.iterators1616(&itc[i*3], c0, c1, c2); in lerp_triangle()
669 lerp.iterators0032(itz64, v0z, v1z, v2z); in lerp_triangle()
676 lerp.iterators0032(itz, v0z, v1z, v2z); in lerp_triangle()
680 lerp.iterators0032(itz, v0z, v1z, v2z); in lerp_triangle()
687 lerp.iterators1616(itf, v0->fog, v1->fog, v2->fog); in lerp_triangle()
702 const compute_iterators_t& lerp = c->lerp; in compute_lod() local
[all …]
Dcontext.h614 compute_iterators_t lerp; __attribute__((aligned(32))); member
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeadZone.java84 static float lerp(float a, float b, float f) { in lerp() method in DeadZone
96 return (int) lerp(mSizeMax, mSizeMin, (float) (dt - mHold) / mDecay); in getSize()
/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java212 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, lerp(x1, x2, alpha), in sendSwipe()
213 lerp(y1, y2, alpha), 1.0f); in sendSwipe()
263 private static final float lerp(float a, float b, float alpha) { in lerp() method in Input
/frameworks/av/services/audioflinger/
DAudioResamplerSinc.h61 int32_t lerp, const int16_t* samples);
DAudioResamplerSinc.cpp825 int32_t lerp, const int16_t* samples) in interpolate() argument
829 int32_t sinc = mulAdd(lerp, (c1-c0)<<1, c0); in interpolate()
/frameworks/base/core/java/android/util/
DMathUtils.java147 public static float lerp(float start, float stop, float amount) { in lerp() method in MathUtils
/frameworks/base/services/java/com/android/server/power/
DDisplayPowerController.java1153 return lerp(1.0f, TWILIGHT_ADJUSTMENT_MAX_GAMMA, in getTwilightGamma()
1158 return lerp(1.0f, TWILIGHT_ADJUSTMENT_MAX_GAMMA, in getTwilightGamma()
1165 private static float lerp(float x, float y, float alpha) { in lerp() method in DisplayPowerController
/frameworks/native/libs/input/
DInputTransport.cpp62 inline static float lerp(float a, float b, float alpha) { in lerp() function
771 lerp(currentCoords.getX(), otherCoords.getX(), alpha)); in resampleTouchState()
773 lerp(currentCoords.getY(), otherCoords.getY(), alpha)); in resampleTouchState()