Searched refs:endValue (Results 1 - 25 of 37) 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.java146 private static float interpolate(float fraction, float startValue, float endValue) { argument
147 float diff = endValue - startValue;
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
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/src/main/java/androidx/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);
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 DTransitionUtils.java164 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { argument
166 endValue.getValues(mTempEndValues);
/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...]
H A DStackScrollerDecorView.java174 float endValue = nowVisible ? 1.0f : 0.0f;
176 view.setAlpha(endValue);
186 .alpha(endValue)
/frameworks/base/libs/hwui/
H A DPropertyValuesHolder.h66 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/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/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/graphics/drawable/animated/src/main/java/androidx/vectordrawable/graphics/drawable/
H A DArgbEvaluator.java55 * @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/support/navigation/ui/src/main/java/androidx/navigation/ui/
H A DNavigationUI.java301 float endValue = showAsDrawerIndicator ? 0f : 1f;
308 startValue, endValue);
311 mArrowDrawable.setProgress(endValue);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedVectorDrawable.java1327 if (mTmpValues.endValue instanceof PathParser.PathData &&
1370 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue);
1385 long endPathDataPtr = ((PathParser.PathData) mTmpValues.endValue)
1408 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue);
1418 (Integer) mTmpValues.startValue, (Integer) mTmpValues.endValue);
1450 Float endValue = null;
1455 endValue = (Float) mTmpValues.endValue;
1459 if (startValue == null && endValue == null) {
1466 long propertyPtr = nCreateRootAlphaPropertyHolder(nativePtr, startValue, endValue);
1812 nCreateGroupPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) argument
1818 nCreatePathColorPropertyHolder(long nativePtr, int propertyId, int startValue, int endValue) argument
1821 nCreatePathPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) argument
1824 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.java206 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { argument
208 endValue.getValues(mTempEndValues);
/frameworks/support/swiperefreshlayout/src/main/java/androidx/swiperefreshlayout/widget/
H A DCircularProgressDrawable.java473 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;
/frameworks/support/leanback/kitkat/androidx/leanback/transition/
H A DSlideKitkat.java268 float terminalValue, float endValue, int finalVisibility) {
272 mEndValue = endValue;
267 SlideAnimatorListener(View view, Property<View, Float> prop, float terminalValue, float endValue, int finalVisibility) argument

Completed in 497 milliseconds

12