Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DFlingAnimationUtils.java75 public void apply(Animator animator, float currValue, float endValue, float velocity) { in apply() argument
76 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply()
88 public void apply(ViewPropertyAnimator animator, float currValue, float endValue, in apply() argument
90 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply()
104 public void apply(Animator animator, float currValue, float endValue, float velocity, in apply() argument
106 AnimatorProperties properties = getProperties(currValue, endValue, velocity, in apply()
123 public void apply(ViewPropertyAnimator animator, float currValue, float endValue, in apply() argument
125 AnimatorProperties properties = getProperties(currValue, endValue, velocity, in apply()
132 float endValue, float velocity, float maxDistance) { in getProperties() argument
134 * Math.sqrt(Math.abs(endValue - currValue) / maxDistance)); in getProperties()
[all …]
DSpeedBumpView.java94 float endValue = nowVisible ? 1.0f : 0.0f; in animateDivider() local
96 .alpha(endValue) in animateDivider()
98 .scaleX(endValue) in animateDivider()
99 .scaleY(endValue) in animateDivider()
DStackScrollerDecorView.java80 float endValue = nowVisible ? 1.0f : 0.0f; in animateText() local
89 .alpha(endValue) in animateText()
/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.java149 private static float interpolate(float fraction, float startValue, float endValue) { in interpolate() argument
150 float diff = endValue - startValue; in interpolate()
/frameworks/support/design/base/android/support/design/widget/
DAnimationUtils.java34 static float lerp(float startValue, float endValue, float fraction) { in lerp() argument
35 return startValue + (fraction * (endValue - startValue)); in lerp()
38 static int lerp(int startValue, int endValue, float fraction) { in lerp() argument
39 return startValue + Math.round(fraction * (endValue - startValue)); in lerp()
/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()
DChangeImageTransform.java55 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) {
DTransition.java723 Object endValue = end.values.get(key); in createAnimators() local
724 if (startValue != endValue && !startValue.equals(endValue)) { in createAnimators()
726 "), end(" + endValue + ")"); in createAnimators()
/frameworks/support/design/src/android/support/design/widget/
DSwipeDismissBehavior.java375 static float fraction(float startValue, float endValue, float value) { in fraction() argument
376 return (value - startValue) / (endValue - startValue); in fraction()
DCollapsingTextHelper.java567 private static float lerp(float startValue, float endValue, float fraction, in lerp() argument
572 return AnimationUtils.lerp(startValue, endValue, fraction); in lerp()
/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/support/v4/java/android/support/v4/widget/
DMaterialProgressDrawable.java309 private int evaluateColorChange(float fraction, int startValue, int endValue) { in evaluateColorChange() argument
316 int endInt = (Integer) endValue; in evaluateColorChange()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java521 private void startRtFloatAnimation(CanvasProperty<Float> property, float endValue, in startRtFloatAnimation() argument
523 RenderNodeAnimator animator = new RenderNodeAnimator(property, endValue); in startRtFloatAnimation()
/frameworks/base/tools/aapt/
DResourceTable.cpp1062 Res_value endValue; in compileResourceFile() local
1063 if (!ResTable::stringToInt(endStr, len, &endValue)) { in compileResourceFile()
1068 end = endValue.data; in compileResourceFile()
/frameworks/base/docs/html/guide/topics/graphics/
Dprop-animation.jd680 public Object evaluate(float fraction, Object startValue, Object endValue) {
682 return startFloat + fraction * (((Number) endValue).floatValue() - startFloat);