HomeSort by relevance Sort by last modified time
    Searched refs:lerp (Results 1 - 22 of 22) sorted by null

  /sdk/chimpchat/test/com/android/chimpchat/adb/
LinearInterpolatorTest.java 56 LinearInterpolator lerp = new LinearInterpolator(10); local
58 lerp.interpolate(new LinearInterpolator.Point(0, 100),
70 LinearInterpolator lerp = new LinearInterpolator(10); local
72 lerp.interpolate(new LinearInterpolator.Point(1000, 100),
84 LinearInterpolator lerp = new LinearInterpolator(10); local
86 lerp.interpolate(new LinearInterpolator.Point(100, 1000),
98 LinearInterpolator lerp = new LinearInterpolator(10); local
100 lerp.interpolate(new LinearInterpolator.Point(100, 0),
112 LinearInterpolator lerp = new LinearInterpolator(10); local
114 lerp.interpolate(new LinearInterpolator.Point(0, 0)
126 LinearInterpolator lerp = new LinearInterpolator(10); local
    [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
  /sdk/chimpchat/src/com/android/chimpchat/adb/
LinearInterpolator.java 101 private static float lerp(float start, float stop, float amount) { method in class:LinearInterpolator
120 float newX = lerp(start.getX(), end.getX(), amount * i);
121 float newY = lerp(start.getY(), end.getY(), amount * i);
AdbChimpDevice.java 534 LinearInterpolator lerp = new LinearInterpolator(steps); local
537 lerp.interpolate(start, end, new LinearInterpolator.Callback() {
  /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/base/cmds/input/src/com/android/commands/input/
Input.java 143 lerp(x1, x2, alpha), lerp(y1, y2, alpha), 0));
161 private static final float lerp(float a, float b, float alpha) { method in class:Input
  /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...]
context.h 614 compute_iterators_t lerp; __attribute__((aligned(32))); member in struct:android::gl::ogles_context_t
  /frameworks/av/services/audioflinger/
AudioResamplerSinc.h 52 const int32_t* coefs, int16_t lerp, const int16_t* samples);
AudioResamplerSinc.cpp 342 const int32_t* coefs, int16_t lerp, const int16_t* samples)
346 int32_t sinc = mulAdd(lerp, (c1-c0)<<1, c0);
  /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...]
  /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...]
  /packages/apps/Launcher2/src/com/android/launcher2/
RocketLauncher.java 67 static float lerp(float a, float b, float f) { method in class:RocketLauncher.Board
72 return lerp(a, b, sRNG.nextFloat());
210 float scale = lerp(0, endscale, (float) Math.sqrt(dist / fuse));
211 setScaleX(scale * lerp(1f, 0.75f, (float) Math.pow((v-VMIN)/(VMAX-VMIN),3)));
212 setScaleY(scale * lerp(1f, 1.5f, (float) Math.pow((v-VMIN)/(VMAX-VMIN),3)));
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
BeanBag.java 64 static float lerp(float a, float b, float f) { method in class:BeanBag.Board
69 return lerp(a, b, sRNG.nextFloat());
197 final float scale = lerp(MIN_SCALE,MAX_SCALE,z);
  /frameworks/base/core/java/android/util/
MathUtils.java 147 public static float lerp(float start, float stop, float amount) { method in class:MathUtils
  /external/skia/src/core/
SkScalerContext.cpp 373 static int lerp(int start, int end) { function
382 r = lerp(r, ave);
383 g = lerp(g, ave);
384 b = lerp(b, ave);
  /external/mesa3d/src/pixelflinger2/
texture.cpp 62 static inline void Lerp(Vec4<int> * a, Vec4<int> * b, int x, Vec4<int> * d)
111 unsigned * lerp)
124 *lerp = tc & ((1 << shift) - 1);
169 Lerp(samples + 0, samples + 1, xLerp, samples + 0);
170 Lerp(samples + 3, samples + 2, xLerp, samples + 3);
171 Lerp(samples + 0, samples + 3, yLerp, (Vec4<int> *)sample);
278 Lerp(samples + 0, samples + 1, xLerp, samples + 0);
279 Lerp(samples + 3, samples + 2, xLerp, samples + 3);
280 Lerp(samples + 0, samples + 3, yLerp, (Vec4<int> *)sample);
  /frameworks/base/libs/androidfw/
InputTransport.cpp 61 inline static float lerp(float a, float b, float alpha) { function in namespace:android
762 lerp(currentCoords.getX(), otherCoords.getX(), alpha));
764 lerp(currentCoords.getY(), otherCoords.getY(), alpha));
    [all...]
  /packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/
PolarClockWallpaper.java 486 c.translate(s + MathUtils.lerp(s, -s, mOffsetX), t);
  /external/skia/src/effects/
SkGradientShader.cpp 922 // insufficient (it subsamples the color space) and we need to lerp.
931 // Linear interpolation (lerp) is unnecessary if there are no sharp
940 // insufficient (it subsamples the color space) and we need to lerp.
    [all...]

Completed in 726 milliseconds