Searched refs:endValue (Results 1 - 25 of 33) 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 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 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 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 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 DPathKeyframes.java150 private static float interpolate(float fraction, float startValue, float endValue) { argument
151 float diff = endValue - startValue;
H A DPropertyValuesHolder.java1090 values.endValue = mKeyframes.getValue(1);
1091 if (values.endValue instanceof PathParser.PathData) {
1094 values.endValue = new PathParser.PathData((PathParser.PathData) values.endValue);
1702 public Object endValue; field in class:PropertyValuesHolder.PropertyValues
1709 + startValue.toString() + ", endValue: " + endValue.toString());
/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/transition/ics/android/support/transition/
H A DRectEvaluator.java69 * @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);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java67 * @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...]
H A DStackScrollerDecorView.java80 float endValue = nowVisible ? 1.0f : 0.0f;
89 .alpha(endValue)
/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/support/design/base/android/support/design/widget/
H A DAnimationUtils.java36 * 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/jni/
H A Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp107 jfloat startValue, jfloat endValue) {
110 startValue, endValue);
125 int startValue, jint endValue) {
128 propertyId, startValue, endValue);
133 float startValue, jfloat endValue) {
136 propertyId, startValue, endValue);
141 float endValue) {
144 startValue, endValue);
106 createGroupPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, jfloat startValue, jfloat endValue) argument
124 createPathColorPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, int startValue, jint endValue) argument
132 createPathPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, float startValue, jfloat endValue) argument
140 createRootAlphaPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jfloat startValue, float endValue) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DAnimatedVectorDrawable_Delegate.java85 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/base/graphics/java/android/graphics/drawable/
H A DAnimatedVectorDrawable.java1243 if (mTmpValues.endValue instanceof PathParser.PathData &&
1292 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue);
1307 long endPathDataPtr = ((PathParser.PathData) mTmpValues.endValue)
1330 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue);
1340 (Integer) mTmpValues.startValue, (Integer) mTmpValues.endValue);
1372 Float endValue = null;
1377 endValue = (Float) mTmpValues.endValue;
1381 if (startValue == null && endValue == null) {
1388 long propertyPtr = nCreateRootAlphaPropertyHolder(nativePtr, startValue, endValue);
1727 nCreateGroupPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) argument
1732 nCreatePathColorPropertyHolder(long nativePtr, int propertyId, int startValue, int endValue) argument
1734 nCreatePathPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) argument
1736 nCreateRootAlphaPropertyHolder(long nativePtr, float startValue, float endValue) argument
[all...]
/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/core/java/android/transition/
H A DTransitionUtils.java182 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { argument
184 endValue.getValues(mTempEndValues);
H A DChangeImageTransform.java55 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) {
/frameworks/support/design/src/android/support/design/widget/
H A DSwipeDismissBehavior.java407 * The fraction that {@code value} is between {@code startValue} and {@code endValue}.
409 static float fraction(float startValue, float endValue, float value) { argument
410 return (value - startValue) / (endValue - startValue);
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
H A DSlideKitkat.java270 float terminalValue, float endValue, int finalVisibility) {
274 mEndValue = endValue;
269 SlideAnimatorListener(View view, Property<View, Float> prop, float terminalValue, float endValue, int finalVisibility) argument
/frameworks/base/services/core/java/com/android/server/display/
H A DNightDisplayService.java552 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { argument
554 mResultMatrix[i] = MathUtils.lerp(startValue[i], endValue[i], fraction);

Completed in 535 milliseconds

12