Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/
DFlingAnimationUtils.java64 public void apply(Animator animator, float currValue, float endValue, float velocity) { in apply() argument
65 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply()
78 ViewPropertyAnimator animator, float currValue, float endValue, float velocity) { in apply() argument
79 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply()
94 Animator animator, float currValue, float endValue, float velocity, float maxDistance) { in apply() argument
95 AnimatorProperties properties = getProperties(currValue, endValue, velocity, maxDistance); in apply()
114 float endValue, in apply() argument
117 AnimatorProperties properties = getProperties(currValue, endValue, velocity, maxDistance); in apply()
123 float currValue, float endValue, float velocity, float maxDistance) { in getProperties() argument
125 (float) (this.maxLengthSeconds * Math.sqrt(Math.abs(endValue - currValue) / maxDistance)); in getProperties()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/animation/
DRectEvaluatorCompat.java38 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { in evaluate() argument
39 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction); in evaluate()
40 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); in evaluate()
41 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction); in evaluate()
42 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction); in evaluate()
/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java398 FrameLayout.LayoutParams endValue) { in setTvViewPosition()
403 interpolateMargins(lp, startValue, endValue, fraction); in setTvViewPosition()
596 MarginLayoutParams endValue, in interpolateMargins() argument
598 out.topMargin = interpolate(startValue.topMargin, endValue.topMargin, fraction); in interpolateMargins()
599 out.bottomMargin = interpolate(startValue.bottomMargin, endValue.bottomMargin, fraction); in interpolateMargins()
601 interpolate(startValue.getMarginStart(), endValue.getMarginStart(), fraction)); in interpolateMargins()
602 out.setMarginEnd(interpolate(startValue.getMarginEnd(), endValue.getMarginEnd(), fraction)); in interpolateMargins()
603 out.width = interpolate(startValue.width, endValue.width, fraction); in interpolateMargins()
604 out.height = interpolate(startValue.height, endValue.height, fraction); in interpolateMargins()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DSpringObjectAnimator.java143 float endValue = end == 0 ? mValues[0] : mValues[1]; in startSpring() local
146 mSpring.animateToFinalPosition(endValue); in startSpring()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DMaterialProgressDrawable.java324 private int evaluateColorChange(float fraction, int startValue, int endValue) { in evaluateColorChange() argument
331 int endInt = (Integer) endValue; in evaluateColorChange()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DSetupAnimationHelper.java196 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { in createFrameAnimatorWithDelay()
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java673 private static String convertToDistanceFromEnd(String value, int endValue) { in convertToDistanceFromEnd() argument
677 return Integer.toString(endValue + x); in convertToDistanceFromEnd()