Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DRectFEvaluator.java44 public RectF evaluate(float fraction, RectF startValue, RectF endValue) { in evaluate() argument
45 float left = startValue.left + ((endValue.left - startValue.left) * fraction); in evaluate()
46 float top = startValue.top + ((endValue.top - startValue.top) * fraction); in evaluate()
47 float right = startValue.right + ((endValue.right - startValue.right) * fraction); in evaluate()
48 float bottom = startValue.bottom + ((endValue.bottom - startValue.bottom) * fraction); in evaluate()
/frameworks/base/core/java/android/animation/
DRectEvaluator.java72 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { in evaluate() argument
73 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction); in evaluate()
74 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); in evaluate()
75 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction); in evaluate()
76 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction); in evaluate()
DPointFEvaluator.java72 public PointF evaluate(float fraction, PointF startValue, PointF endValue) { in evaluate() argument
73 float x = startValue.x + (fraction * (endValue.x - startValue.x)); in evaluate()
74 float y = startValue.y + (fraction * (endValue.y - startValue.y)); in evaluate()
DFloatArrayEvaluator.java64 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { in evaluate() argument
67 array = new float[startValue.length]; in evaluate()
71 float start = startValue[i]; in evaluate()
DIntArrayEvaluator.java63 public int[] evaluate(float fraction, int[] startValue, int[] endValue) { in evaluate() argument
66 array = new int[startValue.length]; in evaluate()
69 int start = startValue[i]; in evaluate()
DIntEvaluator.java38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { in evaluate() argument
39 int startInt = startValue; in evaluate()
DFloatEvaluator.java38 public Float evaluate(float fraction, Number startValue, Number endValue) { in evaluate() argument
39 float startFloat = startValue.floatValue(); in evaluate()
DArgbEvaluator.java54 public Object evaluate(float fraction, Object startValue, Object endValue) { in evaluate() argument
55 int startInt = (Integer) startValue; in evaluate()
DPathKeyframes.java146 private static float interpolate(float fraction, float startValue, float endValue) { in interpolate() argument
147 float diff = endValue - startValue; in interpolate()
148 return startValue + (diff * fraction); in interpolate()
DTypeEvaluator.java42 public T evaluate(float fraction, T startValue, T endValue); in evaluate() argument
/frameworks/support/transition/src/android/support/transition/
DRectEvaluator.java76 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { in evaluate() argument
77 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction); in evaluate()
78 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); in evaluate()
79 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction); in evaluate()
80 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction); in evaluate()
DFloatArrayEvaluator.java56 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { in evaluate() argument
59 array = new float[startValue.length]; in evaluate()
63 float start = startValue[i]; in evaluate()
DTransitionUtils.java120 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { in evaluate() argument
121 startValue.getValues(mTempStartValues); in evaluate()
/frameworks/base/libs/hwui/
DPropertyValuesHolder.h66 PropertyValuesHolderImpl(const T& startValue, const T& endValue) in PropertyValuesHolderImpl() argument
67 : mStartValue(startValue) in PropertyValuesHolderImpl()
90 GroupPropertyValuesHolder(VectorDrawable::Group* ptr, int propertyId, float startValue, in GroupPropertyValuesHolder() argument
92 : PropertyValuesHolderImpl(startValue, endValue) in GroupPropertyValuesHolder()
106 SkColor startValue, SkColor endValue) in FullPathColorPropertyValuesHolder() argument
107 : PropertyValuesHolderImpl(startValue, endValue) in FullPathColorPropertyValuesHolder()
121 FullPathPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, float startValue, in FullPathPropertyValuesHolder() argument
123 : PropertyValuesHolderImpl(startValue, endValue) in FullPathPropertyValuesHolder()
136 PathDataPropertyValuesHolder(VectorDrawable::Path* ptr, PathData* startValue, in PathDataPropertyValuesHolder() argument
138 : PropertyValuesHolderImpl(*startValue, *endValue) in PathDataPropertyValuesHolder()
[all …]
/frameworks/support/design/base/android/support/design/widget/
DAnimationUtils.java37 static float lerp(float startValue, float endValue, float fraction) { in lerp() argument
38 return startValue + (fraction * (endValue - startValue)); in lerp()
41 static int lerp(int startValue, int endValue, float fraction) { in lerp() argument
42 return startValue + Math.round(fraction * (endValue - startValue)); in lerp()
/frameworks/base/core/jni/
Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp108 jfloat startValue, jfloat endValue) { in createGroupPropertyHolder() argument
111 startValue, endValue); in createGroupPropertyHolder()
126 int startValue, jint endValue) { in createPathColorPropertyHolder() argument
129 propertyId, startValue, endValue); in createPathColorPropertyHolder()
134 float startValue, jfloat endValue) { in createPathPropertyHolder() argument
137 propertyId, startValue, endValue); in createPathPropertyHolder()
141 static jlong createRootAlphaPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jfloat startValue, in createRootAlphaPropertyHolder() argument
145 startValue, endValue); in createRootAlphaPropertyHolder()
Dandroid_view_RenderNodeAnimator.cpp142 static void setStartValue(JNIEnv* env, jobject clazz, jlong animatorPtr, jfloat startValue) { in setStartValue() argument
144 animator->setStartValue(startValue); in setStartValue()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DAnimatedVectorDrawable_Delegate.java91 float startValue, float endValue) { in nCreateGroupPropertyHolder() argument
95 return sHolders.addNewDelegate(FloatPropertySetter.of(setter, startValue, in nCreateGroupPropertyHolder()
109 int startValue, int endValue) { in nCreatePathColorPropertyHolder() argument
113 return sHolders.addNewDelegate(IntPropertySetter.of(setter, startValue, in nCreatePathColorPropertyHolder()
119 float startValue, float endValue) { in nCreatePathPropertyHolder() argument
123 return sHolders.addNewDelegate(FloatPropertySetter.of(setter, startValue, in nCreatePathPropertyHolder()
128 /*package*/ static long nCreateRootAlphaPropertyHolder(long nativePtr, float startValue, in nCreateRootAlphaPropertyHolder() argument
133 startValue, in nCreateRootAlphaPropertyHolder()
/frameworks/av/media/libmedia/include/media/
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);
302 double extrapolation, T startValue) const { in findU() argument
307 return startValue; // nothing yet in findU()
/frameworks/av/include/media/
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);
302 double extrapolation, T startValue) const { in findU() argument
307 return startValue; // nothing yet in findU()
/frameworks/base/core/java/com/android/internal/transition/
DEpicenterTranslateClipReveal.java265 public State evaluate(float fraction, State startValue, State endValue) { in evaluate() argument
266 mTemp.upper = startValue.upper + (int) ((endValue.upper - startValue.upper) * fraction); in evaluate()
267 mTemp.lower = startValue.lower + (int) ((endValue.lower - startValue.lower) * fraction); in evaluate()
268 mTemp.trans = startValue.trans + (int) ((endValue.trans - startValue.trans) * fraction); in evaluate()
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
DArgbEvaluator.java62 public Object evaluate(float fraction, Object startValue, Object endValue) { in evaluate() argument
63 int startInt = (Integer) startValue; in evaluate()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java1366 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); in createRTAnimatorForGroup()
1379 long startPathDataPtr = ((PathParser.PathData) mTmpValues.startValue) in createRTAnimatorForPath()
1404 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); in createRTAnimatorForFullPath()
1414 (Integer) mTmpValues.startValue, (Integer) mTmpValues.endValue); in createRTAnimatorForFullPath()
1445 Float startValue = null; in createRTAnimatorForRootGroup() local
1450 startValue = (Float) mTmpValues.startValue; in createRTAnimatorForRootGroup()
1455 if (startValue == null && endValue == null) { in createRTAnimatorForRootGroup()
1462 long propertyPtr = nCreateRootAlphaPropertyHolder(nativePtr, startValue, endValue); in createRTAnimatorForRootGroup()
1809 float startValue, float endValue); in nCreateGroupPropertyHolder() argument
1815 int startValue, int endValue); in nCreatePathColorPropertyHolder() argument
[all …]
/frameworks/support/design/src/android/support/design/widget/
DSwipeDismissBehavior.java408 static float fraction(float startValue, float endValue, float value) { in fraction() argument
409 return (value - startValue) / (endValue - startValue); in fraction()
/frameworks/support/core-ui/java/android/support/v4/widget/
DCircularProgressDrawable.java470 private int evaluateColorChange(float fraction, int startValue, int endValue) { in evaluateColorChange() argument
471 int startA = (startValue >> 24) & 0xff; in evaluateColorChange()
472 int startR = (startValue >> 16) & 0xff; in evaluateColorChange()
473 int startG = (startValue >> 8) & 0xff; in evaluateColorChange()
474 int startB = startValue & 0xff; in evaluateColorChange()

12