/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 | 146 private static float interpolate(float fraction, float startValue, float endValue) { argument 147 float diff = endValue - startValue;
|
H A D | PropertyValuesHolder.java | 1089 values.endValue = mKeyframes.getValue(1); 1090 if (values.endValue instanceof PathParser.PathData) { 1093 values.endValue = new PathParser.PathData((PathParser.PathData) values.endValue); 1701 public Object endValue; field in class:PropertyValuesHolder.PropertyValues 1708 + startValue.toString() + ", endValue: " + endValue.toString());
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
H A D | FloatArrayEvaluator.java | 51 * @param endValue The end value. 53 * the same index in startValue and endValue. 56 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { argument 64 float end = endValue[i];
|
H A D | RectEvaluator.java | 69 * @param endValue The end Rect 74 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { argument 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);
|
H A D | TransitionUtils.java | 164 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { argument 166 endValue.getValues(mTempEndValues);
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
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/graphics/drawable/animated/src/main/java/androidx/vectordrawable/graphics/drawable/ |
H A D | ArgbEvaluator.java | 55 * @param endValue A 32-bit int value representing colors in the 63 public Object evaluate(float fraction, Object startValue, Object endValue) { argument 70 int endInt = (Integer) endValue;
|
/frameworks/base/core/java/android/transition/ |
H A D | TransitionUtils.java | 206 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { argument 208 endValue.getValues(mTempEndValues);
|
/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/libs/hwui/ |
H A D | PropertyValuesHolder.h | 66 PropertyValuesHolderImpl(const T& startValue, const T& endValue) argument 67 : mStartValue(startValue), mEndValue(endValue) {} 91 float endValue) 92 : PropertyValuesHolderImpl(startValue, endValue), mGroup(ptr), mPropertyId(propertyId) { 105 SkColor startValue, SkColor endValue) 106 : PropertyValuesHolderImpl(startValue, endValue) 122 float endValue) 123 : PropertyValuesHolderImpl(startValue, endValue) 138 PathData* endValue) 139 : PropertyValuesHolderImpl(*startValue, *endValue), mPat 90 GroupPropertyValuesHolder(VectorDrawable::Group* ptr, int propertyId, float startValue, float endValue) argument 104 FullPathColorPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, SkColor startValue, SkColor endValue) argument 121 FullPathPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, float startValue, float endValue) argument 137 PathDataPropertyValuesHolder(VectorDrawable::Path* ptr, PathData* startValue, PathData* endValue) argument 151 RootAlphaPropertyValuesHolder(VectorDrawable::Tree* tree, float startValue, float endValue) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | FlingAnimationUtils.java | 103 * @param endValue the end value of the animator 106 public void apply(Animator animator, float currValue, float endValue, float velocity) { argument 107 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); 116 * @param endValue the end value of the animator 119 public void apply(ViewPropertyAnimator animator, float currValue, float endValue, argument 121 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); 130 * @param endValue the end value of the animator 135 public void apply(Animator animator, float currValue, float endValue, floa argument 154 apply(ViewPropertyAnimator animator, float currValue, float endValue, float velocity, float maxDistance) argument 162 getProperties(float currValue, float endValue, float velocity, float maxDistance) argument 220 applyDismissing(Animator animator, float currValue, float endValue, float velocity, float maxDistance) argument 240 applyDismissing(ViewPropertyAnimator animator, float currValue, float endValue, float velocity, float maxDistance) argument 248 getDismissingProperties(float currValue, float endValue, float velocity, float maxDistance) argument [all...] |
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
H A D | AnimatedVectorDrawable_Delegate.java | 91 float startValue, float endValue) { 96 endValue)); 109 int startValue, int endValue) { 114 endValue)); 119 float startValue, float endValue) { 124 endValue)); 129 float endValue) { 134 endValue)); 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 128 nCreateRootAlphaPropertyHolder(long nativePtr, float startValue, float endValue) argument
|
/frameworks/support/leanback/kitkat/androidx/leanback/transition/ |
H A D | SlideKitkat.java | 268 float terminalValue, float endValue, int finalVisibility) { 272 mEndValue = endValue; 267 SlideAnimatorListener(View view, Property<View, Float> prop, float terminalValue, float endValue, int finalVisibility) argument
|
/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); 142 float endValue) { 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 141 createRootAlphaPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jfloat startValue, float endValue) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | ViewState.java | 406 float endValue) { 407 PropertyAnimator.startAnimation(view, property, endValue, NO_NEW_ANIMATIONS); 405 updateAnimation(View view, AnimatableProperty property, float endValue) argument
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorDisplayService.java | 612 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { argument 614 mResultMatrix[i] = MathUtils.lerp(startValue[i], endValue[i], fraction);
|
/frameworks/support/swiperefreshlayout/src/main/java/androidx/swiperefreshlayout/widget/ |
H A D | CircularProgressDrawable.java | 473 private int evaluateColorChange(float fraction, int startValue, int endValue) { argument 479 int endA = (endValue >> 24) & 0xff; 480 int endR = (endValue >> 16) & 0xff; 481 int endG = (endValue >> 8) & 0xff; 482 int endB = endValue & 0xff;
|