Searched refs:startValue (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/base/core/java/android/animation/
H A DRectEvaluator.java66 * @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 DFloatEvaluator.java28 * 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 DIntEvaluator.java28 * 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 DPointFEvaluator.java66 * @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 DFloatArrayEvaluator.java58 * @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 DIntArrayEvaluator.java57 * @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 DTypeEvaluator.java33 * 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 DArgbEvaluator.java45 * @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 DPathKeyframes.java146 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/shared/src/com/android/systemui/shared/recents/utilities/
H A DRectFEvaluator.java38 * @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/main/java/androidx/transition/
H A DRectEvaluator.java68 * @param startValue The start 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
[all...]
H A DFloatArrayEvaluator.java50 * @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 DTransitionUtils.java164 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { argument
165 startValue.getValues(mTempStartValues);
/frameworks/base/libs/hwui/
H A DPropertyValuesHolder.h66 PropertyValuesHolderImpl(const T& startValue, const T& endValue) argument
67 : mStartValue(startValue), mEndValue(endValue) {}
90 GroupPropertyValuesHolder(VectorDrawable::Group* ptr, int propertyId, float startValue, argument
92 : PropertyValuesHolderImpl(startValue, endValue), mGroup(ptr), mPropertyId(propertyId) {
105 SkColor startValue, SkColor endValue)
106 : PropertyValuesHolderImpl(startValue, endValue)
121 FullPathPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, float startValue, argument
123 : PropertyValuesHolderImpl(startValue, endValue)
137 PathDataPropertyValuesHolder(VectorDrawable::Path* ptr, PathData* startValue, argument
139 : PropertyValuesHolderImpl(*startValue, *endValu
104 FullPathColorPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, SkColor startValue, SkColor endValue) argument
151 RootAlphaPropertyValuesHolder(VectorDrawable::Tree* tree, float startValue, float endValue) argument
[all...]
/frameworks/av/include/media/
H A DLinearMap.h226 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 DLinearMap.h226 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 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);
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
H A Dandroid_view_RenderNodeAnimator.cpp142 static void setStartValue(JNIEnv* env, jobject clazz, jlong animatorPtr, jfloat startValue) { argument
144 animator->setStartValue(startValue);
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
H A DAnimatedVectorDrawable_Delegate.java91 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/main/java/androidx/vectordrawable/graphics/drawable/
H A DArgbEvaluator.java53 * @param startValue A 32-bit int value representing colors in the
63 public Object evaluate(float fraction, Object startValue, Object endValue) { argument
64 int startInt = (Integer) startValue;
/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/graphics/java/android/graphics/drawable/
H A DAnimatedVectorDrawable.java1370 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue);
1383 long startPathDataPtr = ((PathParser.PathData) mTmpValues.startValue)
1408 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue);
1418 (Integer) mTmpValues.startValue, (Integer) mTmpValues.endValue);
1449 Float startValue = null;
1454 startValue = (Float) mTmpValues.startValue;
1459 if (startValue == null && endValue == null) {
1466 long propertyPtr = nCreateRootAlphaPropertyHolder(nativePtr, startValue, endValue);
1813 float startValue, floa
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/android/view/
H A DRenderNodeAnimator.java298 public void setStartValue(float startValue) { argument
300 nSetStartValue(mNativePtr.get(), startValue);
505 private static native void nSetStartValue(long nativePtr, float startValue); argument
/frameworks/base/core/java/android/transition/
H A DTransitionUtils.java206 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { argument
207 startValue.getValues(mTempStartValues);
/frameworks/support/navigation/ui/src/main/java/androidx/navigation/ui/
H A DNavigationUI.java303 float startValue = mArrowDrawable.getProgress();
308 startValue, endValue);

Completed in 553 milliseconds

12