/frameworks/base/core/java/android/animation/ |
H A D | 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) { argument 40 return startFloat + fraction * (endValue.floatValue() - startFloat);
|
H A D | 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) { argument 40 return (int)(startInt + fraction * (endValue - startInt));
|
H A D | 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); argument
|
H A D | RectEvaluator.java | 67 * @param endValue The end Rect 72 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { argument 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);
|
H A D | PointFEvaluator.java | 67 * @param endValue The end PointF 72 public PointF evaluate(float fraction, PointF startValue, PointF endValue) { argument 73 float x = startValue.x + (fraction * (endValue.x - startValue.x)); 74 float y = startValue.y + (fraction * (endValue.y - startValue.y));
|
H A D | 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) { argument 72 float end = endValue[i];
|
H A D | 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) { argument 70 int end = endValue[i];
|
H A D | ArgbEvaluator.java | 47 * @param endValue A 32-bit int value representing colors in the 54 public Object evaluate(float fraction, Object startValue, Object endValue) { argument 61 int endInt = (Integer) endValue;
|
H A D | PathKeyframes.java | 149 private static float interpolate(float fraction, float startValue, float endValue) { argument 150 float diff = endValue - startValue;
|
/frameworks/support/design/base/android/support/design/widget/ |
H A D | AnimationUtils.java | 32 * Linear interpolation between {@code startValue} and {@code endValue} by {@code fraction}. 34 static float lerp(float startValue, float endValue, float fraction) { argument 35 return startValue + (fraction * (endValue - startValue)); 38 static int lerp(int startValue, int endValue, float fraction) { argument 39 return startValue + Math.round(fraction * (endValue - startValue));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | FlingAnimationUtils.java | 72 * @param endValue the end value of the animator 75 public void apply(Animator animator, float currValue, float endValue, float velocity) { argument 76 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); 85 * @param endValue the end value of the animator 88 public void apply(ViewPropertyAnimator animator, float currValue, float endValue, argument 90 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); 99 * @param endValue the end value of the animator 104 public void apply(Animator animator, float currValue, float endValue, floa argument 123 apply(ViewPropertyAnimator animator, float currValue, float endValue, float velocity, float maxDistance) argument 131 getProperties(float currValue, float endValue, float velocity, float maxDistance) argument 171 applyDismissing(Animator animator, float currValue, float endValue, float velocity, float maxDistance) argument 191 applyDismissing(ViewPropertyAnimator animator, float currValue, float endValue, float velocity, float maxDistance) argument 199 getDismissingProperties(float currValue, float endValue, float velocity, float maxDistance) argument [all...] |
H A D | SpeedBumpView.java | 94 float endValue = nowVisible ? 1.0f : 0.0f; 96 .alpha(endValue) 98 .scaleX(endValue) 99 .scaleY(endValue)
|
H A D | StackScrollerDecorView.java | 80 float endValue = nowVisible ? 1.0f : 0.0f; 89 .alpha(endValue)
|
/frameworks/base/core/java/com/android/internal/transition/ |
H A D | EpicenterTranslateClipReveal.java | 265 public State evaluate(float fraction, State startValue, State endValue) { argument 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);
|
/frameworks/base/core/java/android/transition/ |
H A D | TransitionUtils.java | 182 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { argument 184 endValue.getValues(mTempEndValues);
|
H A D | ChangeImageTransform.java | 55 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) {
|
H A D | Transition.java | 723 Object endValue = end.values.get(key); 724 if (startValue != endValue && !startValue.equals(endValue)) { 726 "), end(" + endValue + ")");
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | SwipeDismissBehavior.java | 373 * The fraction that {@code value} is between {@code startValue} and {@code endValue}. 375 static float fraction(float startValue, float endValue, float value) { argument 376 return (value - startValue) / (endValue - startValue);
|
H A D | CollapsingTextHelper.java | 567 private static float lerp(float startValue, float endValue, float fraction, argument 572 return AnimationUtils.lerp(startValue, endValue, fraction);
|
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/ |
H A D | SlideKitkat.java | 265 float terminalValue, float endValue, int finalVisibility) { 269 mEndValue = endValue; 264 SlideAnimatorListener(View view, Property<View, Float> prop, float terminalValue, float endValue, int finalVisibility) argument
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | MaterialProgressDrawable.java | 309 private int evaluateColorChange(float fraction, int startValue, int endValue) { argument 316 int endInt = (Integer) endValue;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 521 private void startRtFloatAnimation(CanvasProperty<Float> property, float endValue, argument 523 RenderNodeAnimator animator = new RenderNodeAnimator(property, endValue);
|
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 1062 Res_value endValue; local 1063 if (!ResTable::stringToInt(endStr, len, &endValue)) { 1068 end = endValue.data;
|