/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | FlingAnimationUtils.java | 70 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 …]
|
D | StackScrollerDecorView.java | 80 float endValue = nowVisible ? 1.0f : 0.0f; in animateText() local 89 .alpha(endValue) in animateText()
|
/frameworks/base/libs/hwui/ |
D | PropertyValuesHolder.h | 66 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/ |
D | RectFEvaluator.java | 44 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/ |
D | RectEvaluator.java | 72 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()
|
D | PointFEvaluator.java | 72 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()
|
D | IntEvaluator.java | 38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { in evaluate() argument 40 return (int)(startInt + fraction * (endValue - startInt)); in evaluate()
|
D | FloatEvaluator.java | 38 public Float evaluate(float fraction, Number startValue, Number endValue) { in evaluate() argument 40 return startFloat + fraction * (endValue.floatValue() - startFloat); in evaluate()
|
D | IntArrayEvaluator.java | 63 public int[] evaluate(float fraction, int[] startValue, int[] endValue) { in evaluate() argument 70 int end = endValue[i]; in evaluate()
|
D | FloatArrayEvaluator.java | 64 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { in evaluate() argument 72 float end = endValue[i]; in evaluate()
|
D | ArgbEvaluator.java | 54 public Object evaluate(float fraction, Object startValue, Object endValue) { in evaluate() argument 61 int endInt = (Integer) endValue; in evaluate()
|
D | TypeEvaluator.java | 42 public T evaluate(float fraction, T startValue, T endValue); in evaluate() argument
|
D | PathKeyframes.java | 150 private static float interpolate(float fraction, float startValue, float endValue) { in interpolate() argument 151 float diff = endValue - startValue; in interpolate()
|
D | PropertyValuesHolder.java | 1090 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/ |
D | RectEvaluator.java | 74 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()
|
D | TransitionPort.java | 304 Object endValue = end.values.get(key); in createAnimators() local 305 if (startValue != endValue && !startValue.equals(endValue)) { in createAnimators() 307 "), end(" + endValue + ")"); in createAnimators()
|
/frameworks/support/design/base/android/support/design/widget/ |
D | AnimationUtils.java | 38 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/ |
D | AnimatedVectorDrawable_Delegate.java | 85 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/ |
D | android_graphics_drawable_AnimatedVectorDrawable.cpp | 107 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/ |
D | AnimatedVectorDrawable.java | 1311 if (mTmpValues.endValue instanceof PathParser.PathData && in createRTAnimator() 1360 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); in createRTAnimatorForGroup() 1375 long endPathDataPtr = ((PathParser.PathData) mTmpValues.endValue) in createRTAnimatorForPath() 1398 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); in createRTAnimatorForFullPath() 1408 (Integer) mTmpValues.startValue, (Integer) mTmpValues.endValue); in createRTAnimatorForFullPath() 1440 Float endValue = null; in createRTAnimatorForRootGroup() local 1445 endValue = (Float) mTmpValues.endValue; in createRTAnimatorForRootGroup() 1449 if (startValue == null && endValue == null) { in createRTAnimatorForRootGroup() 1456 long propertyPtr = nCreateRootAlphaPropertyHolder(nativePtr, startValue, endValue); in createRTAnimatorForRootGroup() 1796 float startValue, float endValue); in nCreateGroupPropertyHolder() argument [all …]
|
/frameworks/base/core/java/com/android/internal/transition/ |
D | EpicenterTranslateClipReveal.java | 265 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/ |
D | TransitionUtils.java | 182 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/ |
D | SwipeDismissBehavior.java | 409 static float fraction(float startValue, float endValue, float value) { in fraction() argument 410 return (value - startValue) / (endValue - startValue); in fraction()
|
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/ |
D | SlideKitkat.java | 270 float terminalValue, float endValue, int finalVisibility) { in SlideAnimatorListener() argument 274 mEndValue = endValue; in SlideAnimatorListener()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | NightDisplayService.java | 552 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { in evaluate() argument 554 mResultMatrix[i] = MathUtils.lerp(startValue[i], endValue[i], fraction); in evaluate()
|