Home
last modified time | relevance | path

Searched refs:endValue (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DFlingAnimationUtils.java70 public void apply(Animator animator, float currValue, float endValue, float velocity) { in apply() argument
71 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply()
83 public void apply(ViewPropertyAnimator animator, float currValue, float endValue, in apply() argument
85 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply()
99 public void apply(Animator animator, float currValue, float endValue, float velocity, in apply() argument
101 AnimatorProperties properties = getProperties(currValue, endValue, velocity, in apply()
118 public void apply(ViewPropertyAnimator animator, float currValue, float endValue, in apply() argument
120 AnimatorProperties properties = getProperties(currValue, endValue, velocity, in apply()
127 float endValue, float velocity, float maxDistance) { in getProperties() argument
129 * Math.sqrt(Math.abs(endValue - currValue) / maxDistance)); in getProperties()
[all …]
DStackScrollerDecorView.java80 float endValue = nowVisible ? 1.0f : 0.0f; in animateText() local
89 .alpha(endValue) in animateText()
/frameworks/base/libs/hwui/
DPropertyValuesHolder.h66 PropertyValuesHolderImpl(const T& startValue, const T& endValue) in PropertyValuesHolderImpl() argument
68 , mEndValue(endValue) {} in PropertyValuesHolderImpl()
91 float endValue) in GroupPropertyValuesHolder() argument
92 : PropertyValuesHolderImpl(startValue, endValue) in GroupPropertyValuesHolder()
106 SkColor startValue, SkColor endValue) in FullPathColorPropertyValuesHolder() argument
107 : PropertyValuesHolderImpl(startValue, endValue) in FullPathColorPropertyValuesHolder()
122 float endValue) in FullPathPropertyValuesHolder() argument
123 : PropertyValuesHolderImpl(startValue, endValue) in FullPathPropertyValuesHolder()
137 PathData* endValue) in PathDataPropertyValuesHolder() argument
138 : PropertyValuesHolderImpl(*startValue, *endValue) in PathDataPropertyValuesHolder()
[all …]
/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()
DIntEvaluator.java38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { in evaluate() argument
40 return (int)(startInt + fraction * (endValue - startInt)); in evaluate()
DFloatEvaluator.java38 public Float evaluate(float fraction, Number startValue, Number endValue) { in evaluate() argument
40 return startFloat + fraction * (endValue.floatValue() - startFloat); in evaluate()
DIntArrayEvaluator.java63 public int[] evaluate(float fraction, int[] startValue, int[] endValue) { in evaluate() argument
70 int end = endValue[i]; in evaluate()
DFloatArrayEvaluator.java64 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { in evaluate() argument
72 float end = endValue[i]; in evaluate()
DArgbEvaluator.java54 public Object evaluate(float fraction, Object startValue, Object endValue) { in evaluate() argument
61 int endInt = (Integer) endValue; in evaluate()
DTypeEvaluator.java42 public T evaluate(float fraction, T startValue, T endValue); in evaluate() argument
DPathKeyframes.java150 private static float interpolate(float fraction, float startValue, float endValue) { in interpolate() argument
151 float diff = endValue - startValue; in interpolate()
DPropertyValuesHolder.java1090 values.endValue = mKeyframes.getValue(1); in getPropertyValues()
1091 if (values.endValue instanceof PathParser.PathData) { in getPropertyValues()
1094 values.endValue = new PathParser.PathData((PathParser.PathData) values.endValue); in getPropertyValues()
1702 public Object endValue; field in PropertyValuesHolder.PropertyValues
1709 + startValue.toString() + ", endValue: " + endValue.toString()); in toString()
/frameworks/support/transition/ics/android/support/transition/
DRectEvaluator.java74 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { in evaluate() argument
75 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction); in evaluate()
76 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); in evaluate()
77 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction); in evaluate()
78 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction); in evaluate()
DTransitionPort.java300 Object endValue = end.values.get(key); in createAnimators() local
301 if (startValue != endValue && !startValue.equals(endValue)) { in createAnimators()
303 "), end(" + endValue + ")"); in createAnimators()
/frameworks/support/design/base/android/support/design/widget/
DAnimationUtils.java38 static float lerp(float startValue, float endValue, float fraction) { in lerp() argument
39 return startValue + (fraction * (endValue - startValue)); in lerp()
42 static int lerp(int startValue, int endValue, float fraction) { in lerp() argument
43 return startValue + Math.round(fraction * (endValue - startValue)); in lerp()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DAnimatedVectorDrawable_Delegate.java85 float startValue, float endValue) { in nCreateGroupPropertyHolder() argument
90 endValue)); in nCreateGroupPropertyHolder()
103 int startValue, int endValue) { in nCreatePathColorPropertyHolder() argument
108 endValue)); in nCreatePathColorPropertyHolder()
113 float startValue, float endValue) { in nCreatePathPropertyHolder() argument
118 endValue)); in nCreatePathPropertyHolder()
123 float endValue) { in nCreateRootAlphaPropertyHolder() argument
128 endValue)); in nCreateRootAlphaPropertyHolder()
/frameworks/base/core/jni/
Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp107 jfloat startValue, jfloat endValue) { in createGroupPropertyHolder() argument
110 startValue, endValue); in createGroupPropertyHolder()
125 int startValue, jint endValue) { in createPathColorPropertyHolder() argument
128 propertyId, startValue, endValue); in createPathColorPropertyHolder()
133 float startValue, jfloat endValue) { in createPathPropertyHolder() argument
136 propertyId, startValue, endValue); in createPathPropertyHolder()
141 float endValue) { in createRootAlphaPropertyHolder() argument
144 startValue, endValue); in createRootAlphaPropertyHolder()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java1155 if (mTmpValues.endValue instanceof PathParser.PathData && in createRTAnimator()
1204 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); in createRTAnimatorForGroup()
1219 long endPathDataPtr = ((PathParser.PathData) mTmpValues.endValue) in createRTAnimatorForPath()
1242 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); in createRTAnimatorForFullPath()
1252 (Integer) mTmpValues.startValue, (Integer) mTmpValues.endValue); in createRTAnimatorForFullPath()
1284 Float endValue = null; in createRTAnimatorForRootGroup() local
1289 endValue = (Float) mTmpValues.endValue; in createRTAnimatorForRootGroup()
1293 if (startValue == null && endValue == null) { in createRTAnimatorForRootGroup()
1300 long propertyPtr = nCreateRootAlphaPropertyHolder(nativePtr, startValue, endValue); in createRTAnimatorForRootGroup()
1641 float startValue, float endValue); in nCreateGroupPropertyHolder() argument
[all …]
/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/base/core/java/android/transition/
DTransitionUtils.java182 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { in evaluate() argument
184 endValue.getValues(mTempEndValues); in evaluate()
/frameworks/support/design/src/android/support/design/widget/
DSwipeDismissBehavior.java405 static float fraction(float startValue, float endValue, float value) { in fraction() argument
406 return (value - startValue) / (endValue - startValue); in fraction()
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
DSlideKitkat.java265 float terminalValue, float endValue, int finalVisibility) { in SlideAnimatorListener() argument
269 mEndValue = endValue; in SlideAnimatorListener()
/frameworks/base/services/core/java/com/android/server/display/
DNightDisplayService.java496 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { in evaluate() argument
498 mResultMatrix[i] = MathUtils.lerp(startValue[i], endValue[i], fraction); in evaluate()

12