/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/ |
PathEvaluator.java | 23 * on the operation specified by the endValue (the operation for the interval between 28 public PathPoint evaluate(float t, PathPoint startValue, PathPoint endValue) { 30 if (endValue.mOperation == PathPoint.CURVE) { 33 3 * oneMinusT * oneMinusT * t * endValue.mControl0X + 34 3 * oneMinusT * t * t * endValue.mControl1X + 35 t * t * t * endValue.mX; 37 3 * oneMinusT * oneMinusT * t * endValue.mControl0Y + 38 3 * oneMinusT * t * t * endValue.mControl1Y + 39 t * t * t * endValue.mY; 40 } else if (endValue.mOperation == PathPoint.LINE) [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
DexBuffer.java | 79 int endValue = 0; 84 endValue |= ((value & 0x7F) << 7 * nr);// cut away left most bit 87 return endValue; 94 int endValue = 0; 98 endValue |= (tmp << i * 8); 100 return endValue; 107 short endValue = 0; 111 endValue |= (tmp << i * 8); 113 return endValue; 120 char endValue = 0 [all...] |
/frameworks/support/design/base/android/support/design/widget/ |
AnimationUtils.java | 36 * Linear interpolation between {@code startValue} and {@code endValue} by {@code fraction}. 38 static float lerp(float startValue, float endValue, float fraction) { 39 return startValue + (fraction * (endValue - startValue)); 42 static int lerp(int startValue, int endValue, float fraction) { 43 return startValue + Math.round(fraction * (endValue - startValue));
|
/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
RectEvaluatorCompat.java | 38 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { 39 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction); 40 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); 41 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction); 42 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
FlingAnimationUtils.java | 67 * @param endValue the end value of the animator 70 public void apply(Animator animator, float currValue, float endValue, float velocity) { 71 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); 80 * @param endValue the end value of the animator 83 public void apply(ViewPropertyAnimator animator, float currValue, float endValue, 85 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); 94 * @param endValue the end value of the animator 99 public void apply(Animator animator, float currValue, float endValue, float velocity [all...] |
StackScrollerDecorView.java | 80 float endValue = nowVisible ? 1.0f : 0.0f; 89 .alpha(endValue)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
RectFEvaluator.java | 39 * @param endValue The end Rect 44 public RectF evaluate(float fraction, RectF startValue, RectF endValue) { 45 float left = startValue.left + ((endValue.left - startValue.left) * fraction); 46 float top = startValue.top + ((endValue.top - startValue.top) * fraction); 47 float right = startValue.right + ((endValue.right - startValue.right) * fraction); 48 float bottom = startValue.bottom + ((endValue.bottom - startValue.bottom) * fraction);
|
/frameworks/base/core/java/android/animation/ |
FloatEvaluator.java | 28 * where <code>x0</code> is <code>startValue</code>, <code>x1</code> is <code>endValue</code>, 34 * @param endValue The end value; should be of type <code>float</code> or <code>Float</code> 38 public Float evaluate(float fraction, Number startValue, Number endValue) { 40 return startFloat + fraction * (endValue.floatValue() - startFloat);
|
IntEvaluator.java | 28 * where <code>x0</code> is <code>startValue</code>, <code>x1</code> is <code>endValue</code>, 34 * @param endValue The end value; should be of type <code>int</code> or <code>Integer</code> 38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { 40 return (int)(startInt + fraction * (endValue - startInt));
|
RectEvaluator.java | 67 * @param endValue The end Rect 72 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { 73 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction); 74 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); 75 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction); 76 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction);
|
TypeEvaluator.java | 33 * where <code>x0</code> is <code>startValue</code>, <code>x1</code> is <code>endValue</code>, 38 * @param endValue The end value. 42 public T evaluate(float fraction, T startValue, T endValue);
|
FloatArrayEvaluator.java | 59 * @param endValue The end value. 61 * the same index in startValue and endValue. 64 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { 72 float end = endValue[i];
|
IntArrayEvaluator.java | 58 * @param endValue The end value. 60 * the same index in startValue and endValue. 63 public int[] evaluate(float fraction, int[] startValue, int[] endValue) { 70 int end = endValue[i];
|
ArgbEvaluator.java | 47 * @param endValue A 32-bit int value representing colors in the 54 public Object evaluate(float fraction, Object startValue, Object endValue) { 61 int endInt = (Integer) endValue;
|
PointFEvaluator.java | 67 * @param endValue The end PointF 72 public PointF evaluate(float fraction, PointF startValue, PointF endValue) { 73 float x = startValue.x + (fraction * (endValue.x - startValue.x)); 74 float y = startValue.y + (fraction * (endValue.y - startValue.y));
|
/frameworks/base/libs/hwui/ |
PropertyValuesHolder.h | 66 PropertyValuesHolderImpl(const T& startValue, const T& endValue) 68 , mEndValue(endValue) {} 91 float endValue) 92 : PropertyValuesHolderImpl(startValue, endValue) 106 SkColor startValue, SkColor endValue) 107 : PropertyValuesHolderImpl(startValue, endValue) 122 float endValue) 123 : PropertyValuesHolderImpl(startValue, endValue) 137 PathData* endValue) 138 : PropertyValuesHolderImpl(*startValue, *endValue) [all...] |
/frameworks/support/transition/ics/android/support/transition/ |
RectEvaluator.java | 69 * @param endValue The end Rect 74 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { 75 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction); 76 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); 77 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction); 78 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction);
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/string/ |
SliceFunction.java | 40 Value endValue = args[2]; 43 int end = endValue.asNumber(); 65 || startValue.isPartiallyEscaped() || endValue.isPartiallyEscaped());
|
/frameworks/base/core/jni/ |
android_graphics_drawable_AnimatedVectorDrawable.cpp | 107 jfloat startValue, jfloat endValue) { 110 startValue, endValue); 125 int startValue, jint endValue) { 128 propertyId, startValue, endValue); 133 float startValue, jfloat endValue) { 136 propertyId, startValue, endValue); 141 float endValue) { 144 startValue, endValue);
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/ |
effect.js | 81 var endValue = group[i + 1].value; 84 startValue = endValue; 86 endValue = startValue; 94 interpolation: scope.propertyInterpolation(groupName, startValue, endValue)
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
AnimatedVectorDrawable_Delegate.java | 85 float startValue, float endValue) { 90 endValue)); 103 int startValue, int endValue) { 108 endValue)); 113 float startValue, float endValue) { 118 endValue)); 123 float endValue) { 128 endValue));
|
/cts/tests/tests/animation/src/android/animation/cts/ |
ObjectAnimatorTest.java | 251 final float startValue = 100, endValue = 500; 256 target.setTestValue(endValue); 264 assertEquals(endValue, (Float) anim1.getAnimatedValue()); 274 target.setTestValue(endValue); 296 target.setTestValue(endValue);
|
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
InsertionListView.java | 364 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { 365 return new Rect(interpolate(startValue.left, endValue.left, fraction), 366 interpolate(startValue.top, endValue.top, fraction), 367 interpolate(startValue.right, endValue.right, fraction), 368 interpolate(startValue.bottom, endValue.bottom, fraction));
|
/frameworks/base/core/java/com/android/internal/transition/ |
EpicenterTranslateClipReveal.java | 265 public State evaluate(float fraction, State startValue, State endValue) { 266 mTemp.upper = startValue.upper + (int) ((endValue.upper - startValue.upper) * fraction); 267 mTemp.lower = startValue.lower + (int) ((endValue.lower - startValue.lower) * fraction); 268 mTemp.trans = startValue.trans + (int) ((endValue.trans - startValue.trans) * fraction);
|
/packages/apps/TV/src/com/android/tv/ui/ |
TvViewUiManager.java | 496 FrameLayout.LayoutParams startValue, FrameLayout.LayoutParams endValue) { 501 interpolateMarginsRelative(lp, startValue, endValue, fraction); [all...] |