Searched defs:endValue (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/base/core/java/android/animation/
H A DFloatEvaluator.java28 * 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 DIntEvaluator.java28 * 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 DTypeEvaluator.java33 * 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 DArgbEvaluator.java47 * @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 DFloatArrayEvaluator.java59 * @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 DIntArrayEvaluator.java58 * @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 DPointFEvaluator.java67 * @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 DRectEvaluator.java67 * @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 DPathKeyframes.java146 private static float interpolate(float fraction, float startValue, float endValue) { argument
147 float diff = endValue - startValue;
/frameworks/support/transition/src/android/support/transition/
H A DFloatArrayEvaluator.java51 * @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 DRectEvaluator.java71 * @param endValue The end 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.bottom) * fraction);
H A DTransitionUtils.java120 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { argument
122 endValue.getValues(mTempEndValues);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DRectFEvaluator.java39 * @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 DAnimationUtils.java35 * 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/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DArgbEvaluator.java54 * @param endValue A 32-bit int value representing colors in the
62 public Object evaluate(float fraction, Object startValue, Object endValue) { argument
69 int endInt = (Integer) endValue;
/frameworks/base/core/java/android/transition/
H A DTransitionUtils.java182 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { argument
184 endValue.getValues(mTempEndValues);
/frameworks/base/core/java/com/android/internal/transition/
H A DEpicenterTranslateClipReveal.java265 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 DPropertyValuesHolder.h66 PropertyValuesHolderImpl(const T& startValue, const T& endValue) argument
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)
90 GroupPropertyValuesHolder(VectorDrawable::Group* ptr, int propertyId, float startValue, float endValue) argument
105 FullPathColorPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, SkColor startValue, SkColor endValue) argument
121 FullPathPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, float startValue, float endValue) argument
136 PathDataPropertyValuesHolder(VectorDrawable::Path* ptr, PathData* startValue, PathData* endValue) argument
150 RootAlphaPropertyValuesHolder(VectorDrawable::Tree* tree, float startValue, float endValue) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java103 * @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/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DAnimatedVectorDrawable_Delegate.java91 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/design/src/android/support/design/widget/
H A DSwipeDismissBehavior.java406 * 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/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
H A DSlideKitkat.java267 float terminalValue, float endValue, int finalVisibility) {
271 mEndValue = endValue;
266 SlideAnimatorListener(View view, Property<View, Float> prop, float terminalValue, float endValue, int finalVisibility) argument
/frameworks/base/core/jni/
H A Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp108 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 DViewState.java407 float endValue) {
408 PropertyAnimator.startAnimation(view, property, endValue, NO_NEW_ANIMATIONS);
406 updateAnimation(View view, PropertyAnimator.AnimatableProperty property, float endValue) argument
/frameworks/base/services/core/java/com/android/server/display/
H A DNightDisplayService.java617 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { argument
619 mResultMatrix[i] = MathUtils.lerp(startValue[i], endValue[i], fraction);

Completed in 351 milliseconds

12