/frameworks/base/core/java/android/animation/ |
H A D | RectEvaluator.java | 66 * @param startValue The start 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 [all...] |
H A D | FloatEvaluator.java | 28 * where <code>x0</code> is <code>startValue</code>, <code>x1</code> is <code>endValue</code>, 32 * @param startValue The start value; should be of type <code>float</code> or 38 public Float evaluate(float fraction, Number startValue, Number endValue) { argument 39 float startFloat = startValue.floatValue();
|
H A D | IntEvaluator.java | 28 * where <code>x0</code> is <code>startValue</code>, <code>x1</code> is <code>endValue</code>, 32 * @param startValue The start value; should be of type <code>int</code> or 38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { argument 39 int startInt = startValue;
|
H A D | PointFEvaluator.java | 66 * @param startValue The start 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 | 58 * @param startValue The start value. 61 * the same index in startValue and endValue. 64 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { argument 67 array = new float[startValue.length]; 71 float start = startValue[i];
|
H A D | IntArrayEvaluator.java | 57 * @param startValue The start value. 60 * the same index in startValue and endValue. 63 public int[] evaluate(float fraction, int[] startValue, int[] endValue) { argument 66 array = new int[startValue.length]; 69 int start = startValue[i];
|
H A D | TypeEvaluator.java | 33 * where <code>x0</code> is <code>startValue</code>, <code>x1</code> is <code>endValue</code>, 37 * @param startValue The start value. 42 public T evaluate(float fraction, T startValue, T endValue); argument
|
H A D | ArgbEvaluator.java | 45 * @param startValue A 32-bit int value representing colors in the 54 public Object evaluate(float fraction, Object startValue, Object endValue) { argument 55 int startInt = (Integer) startValue;
|
H A D | PathKeyframes.java | 146 private static float interpolate(float fraction, float startValue, float endValue) { argument 147 float diff = endValue - startValue; 148 return startValue + (diff * fraction);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | RectFEvaluator.java | 38 * @param startValue The start 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 [all...] |
/frameworks/support/transition/src/android/support/transition/ |
H A D | RectEvaluator.java | 70 * @param startValue The start Rect 76 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { argument 77 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction); 78 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); 79 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction); 80 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue [all...] |
H A D | FloatArrayEvaluator.java | 50 * @param startValue The start value. 53 * the same index in startValue and endValue. 56 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { argument 59 array = new float[startValue.length]; 63 float start = startValue[i];
|
H A D | TransitionUtils.java | 120 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { argument 121 startValue.getValues(mTempStartValues);
|
/frameworks/support/design/base/android/support/design/widget/ |
H A D | AnimationUtils.java | 35 * Linear interpolation between {@code startValue} and {@code endValue} by {@code fraction}. 37 static float lerp(float startValue, float endValue, float fraction) { argument 38 return startValue + (fraction * (endValue - startValue)); 41 static int lerp(int startValue, int endValue, float fraction) { argument 42 return startValue + Math.round(fraction * (endValue - startValue));
|
/frameworks/base/libs/hwui/ |
H A D | PropertyValuesHolder.h | 66 PropertyValuesHolderImpl(const T& startValue, const T& endValue) argument 67 : mStartValue(startValue) 90 GroupPropertyValuesHolder(VectorDrawable::Group* ptr, int propertyId, float startValue, argument 92 : PropertyValuesHolderImpl(startValue, endValue) 106 SkColor startValue, SkColor endValue) 107 : PropertyValuesHolderImpl(startValue, endValue) 121 FullPathPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, float startValue, argument 123 : PropertyValuesHolderImpl(startValue, endValue) 136 PathDataPropertyValuesHolder(VectorDrawable::Path* ptr, PathData* startValue, argument 138 : PropertyValuesHolderImpl(*startValue, *endValu 105 FullPathColorPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, SkColor startValue, SkColor endValue) argument 150 RootAlphaPropertyValuesHolder(VectorDrawable::Tree* tree, float startValue, float endValue) argument [all...] |
/frameworks/av/include/media/ |
H A D | LinearMap.h | 226 T findX(T y, FindMethod *method = NULL, double extrapolation = 0.0, T startValue = 0) const { 227 return findU(y, mX, mY, method, extrapolation, startValue); 233 T findY(T x, FindMethod *method = NULL, double extrapolation = 0.0, T startValue = 0) const { 234 return findU(x, mY, mX, method, extrapolation, startValue); 297 // startValue: used only when there are no samples in history. One can detect 302 double extrapolation, T startValue) const { 307 return startValue; // nothing yet
|
/frameworks/av/media/libmedia/include/media/ |
H A D | LinearMap.h | 226 T findX(T y, FindMethod *method = NULL, double extrapolation = 0.0, T startValue = 0) const { 227 return findU(y, mX, mY, method, extrapolation, startValue); 233 T findY(T x, FindMethod *method = NULL, double extrapolation = 0.0, T startValue = 0) const { 234 return findU(x, mY, mX, method, extrapolation, startValue); 297 // startValue: used only when there are no samples in history. One can detect 302 double extrapolation, T startValue) const { 307 return startValue; // nothing yet
|
/frameworks/base/core/jni/ |
H A D | android_graphics_drawable_AnimatedVectorDrawable.cpp | 108 jfloat startValue, jfloat endValue) { 111 startValue, endValue); 126 int startValue, jint endValue) { 129 propertyId, startValue, endValue); 134 float startValue, jfloat endValue) { 137 propertyId, startValue, endValue); 141 static jlong createRootAlphaPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jfloat startValue, argument 145 startValue, endValue); 107 createGroupPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, jfloat startValue, jfloat endValue) argument 125 createPathColorPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, int startValue, jint endValue) argument 133 createPathPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, float startValue, jfloat endValue) argument
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
H A D | AnimatedVectorDrawable_Delegate.java | 91 float startValue, float endValue) { 95 return sHolders.addNewDelegate(FloatPropertySetter.of(setter, startValue, 109 int startValue, int endValue) { 113 return sHolders.addNewDelegate(IntPropertySetter.of(setter, startValue, 119 float startValue, float endValue) { 123 return sHolders.addNewDelegate(FloatPropertySetter.of(setter, startValue, 128 /*package*/ static long nCreateRootAlphaPropertyHolder(long nativePtr, float startValue, argument 133 startValue, 90 nCreateGroupPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) argument 108 nCreatePathColorPropertyHolder(long nativePtr, int propertyId, int startValue, int endValue) argument 118 nCreatePathPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) argument
|
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
H A D | ArgbEvaluator.java | 52 * @param startValue A 32-bit int value representing colors in the 62 public Object evaluate(float fraction, Object startValue, Object endValue) { argument 63 int startInt = (Integer) startValue;
|
/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/graphics/java/android/graphics/drawable/ |
H A D | AnimatedVectorDrawable.java | 1366 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); 1379 long startPathDataPtr = ((PathParser.PathData) mTmpValues.startValue) 1404 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); 1414 (Integer) mTmpValues.startValue, (Integer) mTmpValues.endValue); 1445 Float startValue = null; 1450 startValue = (Float) mTmpValues.startValue; 1455 if (startValue == null && endValue == null) { 1462 long propertyPtr = nCreateRootAlphaPropertyHolder(nativePtr, startValue, endValue); 1809 float startValue, floa 1808 nCreateGroupPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) argument 1814 nCreatePathColorPropertyHolder(long nativePtr, int propertyId, int startValue, int endValue) argument 1817 nCreatePathPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) argument 1820 nCreateRootAlphaPropertyHolder(long nativePtr, float startValue, float endValue) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | RenderNodeAnimator.java | 302 public void setStartValue(float startValue) { argument 304 nSetStartValue(mNativePtr.get(), startValue); 509 private static native void nSetStartValue(long nativePtr, float startValue); argument
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | SwipeDismissBehavior.java | 406 * The fraction that {@code value} is between {@code startValue} and {@code endValue}. 408 static float fraction(float startValue, float endValue, float value) { argument 409 return (value - startValue) / (endValue - startValue);
|
/frameworks/base/core/java/android/transition/ |
H A D | TransitionUtils.java | 206 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { argument 207 startValue.getValues(mTempStartValues);
|