/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 | 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 | 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 | 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 | 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 | PathKeyframes.java | 150 private static float interpolate(float fraction, float startValue, float endValue) { argument 151 float diff = endValue - startValue;
|
H A D | PropertyValuesHolder.java | 1090 values.endValue = mKeyframes.getValue(1); 1091 if (values.endValue instanceof PathParser.PathData) { 1094 values.endValue = new PathParser.PathData((PathParser.PathData) values.endValue); 1673 public Object endValue; field in class:PropertyValuesHolder.PropertyValues 1680 + startValue.toString() + ", endValue: " + endValue.toString());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | RectFEvaluator.java | 39 * @param endValue The end Rect 44 public RectF evaluate(float fraction, RectF startValue, RectF endValue) { argument 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/support/design/base/android/support/design/widget/ |
H A D | AnimationUtils.java | 36 * Linear interpolation between {@code startValue} and {@code endValue} by {@code fraction}. 38 static float lerp(float startValue, float endValue, float fraction) { argument 39 return startValue + (fraction * (endValue - startValue)); 42 static int lerp(int startValue, int endValue, float fraction) { argument 43 return startValue + Math.round(fraction * (endValue - startValue));
|
/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);
|
/frameworks/base/libs/hwui/ |
H A D | PropertyValuesHolder.h | 46 float endValue) 50 , mEndValue(endValue){ 63 int32_t endValue) 67 , mEndValue(endValue) {}; 80 float endValue) 84 , mEndValue(endValue) {}; 96 PathData* endValue) 99 , mEndValue(*endValue) {}; 110 RootAlphaPropertyValuesHolder(VectorDrawable::Tree* tree, float startValue, float endValue) argument 113 , mEndValue(endValue) {} 45 GroupPropertyValuesHolder(VectorDrawable::Group* ptr, int propertyId, float startValue, float endValue) argument 62 FullPathColorPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, int32_t startValue, int32_t endValue) argument 79 FullPathPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, float startValue, float endValue) argument 95 PathDataPropertyValuesHolder(VectorDrawable::Path* ptr, PathData* startValue, PathData* endValue) argument [all...] |
/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/jni/ |
H A D | android_graphics_drawable_AnimatedVectorDrawable.cpp | 99 jfloat startValue, jfloat endValue) { 102 startValue, endValue); 117 int startValue, jint endValue) { 120 propertyId, startValue, endValue); 125 float startValue, jfloat endValue) { 128 propertyId, startValue, endValue); 133 float endValue) { 136 startValue, endValue); 98 createGroupPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, jfloat startValue, jfloat endValue) argument 116 createPathColorPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, int startValue, jint endValue) argument 124 createPathPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, float startValue, jfloat endValue) argument 132 createRootAlphaPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jfloat startValue, float endValue) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | FlingAnimationUtils.java | 67 * @param endValue the end value of the animator 70 public void apply(Animator animator, float currValue, float endValue, float velocity) { argument 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, argument 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, floa argument 118 apply(ViewPropertyAnimator animator, float currValue, float endValue, float velocity, float maxDistance) argument 126 getProperties(float currValue, float endValue, float velocity, float maxDistance) argument 166 applyDismissing(Animator animator, float currValue, float endValue, float velocity, float maxDistance) argument 186 applyDismissing(ViewPropertyAnimator animator, float currValue, float endValue, float velocity, float maxDistance) argument 194 getDismissingProperties(float currValue, float endValue, float velocity, float maxDistance) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
H A D | 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)); 84 nCreateGroupPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) argument 102 nCreatePathColorPropertyHolder(long nativePtr, int propertyId, int startValue, int endValue) argument 112 nCreatePathPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) argument 122 nCreateRootAlphaPropertyHolder(long nativePtr, float startValue, float endValue) argument
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CollapsingTextHelper.java | 654 private static float lerp(float startValue, float endValue, float fraction, argument 659 return AnimationUtils.lerp(startValue, endValue, fraction);
|
H A D | SwipeDismissBehavior.java | 404 * The fraction that {@code value} is between {@code startValue} and {@code endValue}. 406 static float fraction(float startValue, float endValue, float value) { argument 407 return (value - startValue) / (endValue - startValue);
|
/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 | 522 private void startRtFloatAnimation(CanvasProperty<Float> property, float endValue, argument 524 RenderNodeAnimator animator = new RenderNodeAnimator(property, endValue);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedVectorDrawable.java | 1073 if (mTmpValues.endValue instanceof PathParser.PathData && 1122 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); 1137 long endPathDataPtr = ((PathParser.PathData) mTmpValues.endValue) 1160 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); 1164 (Integer) mTmpValues.startValue, (Integer) mTmpValues.endValue); 1195 Float endValue = null; 1200 endValue = (Float) mTmpValues.endValue; 1204 if (startValue == null && endValue == null) { 1211 long propertyPtr = nCreateRootAlphaPropertyHolder(nativePtr, startValue, endValue); 1489 nCreateGroupPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) argument 1494 nCreatePathColorPropertyHolder(long nativePtr, int propertyId, int startValue, int endValue) argument 1496 nCreatePathPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) argument 1498 nCreateRootAlphaPropertyHolder(long nativePtr, float startValue, float endValue) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 1049 Res_value endValue; local 1050 if (!ResTable::stringToInt(endStr, len, &endValue)) { 1055 end = endValue.data;
|