Home
last modified time | relevance | path

Searched refs:endValue (Results 1 – 9 of 9) 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/Car/SystemUI/src/com/android/systemui/car/hvac/
DTemperatureColorStore.java111 TemperatureColorValue endValue = sTemperatureColorValues[index]; in getColorForTemperature() local
112 float fraction = (temperature - startValue.getTemperature()) / (endValue.getTemperature() in getColorForTemperature()
114 return lerpColor(fraction, startValue.getColor(), endValue.getColor()); in getColorForTemperature()
DAnimatedTemperatureView.java212 colorAnimator.setEvaluator((fraction, startValue, endValue) -> mColorStore in setTemp()
213 .lerpColor(fraction, (int) startValue, (int) endValue)); in setTemp()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherSwipeHandlerV2.java330 final float endValue = 0;
332 float pixelPerSecond = Math.abs(mSwipeVelocity) * Math.signum(endValue - mTransY);
344 .setEndValue(endValue)
/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.java677 private static String convertToDistanceFromEnd(String value, int endValue) { in convertToDistanceFromEnd() argument
681 return Integer.toString(endValue + x); in convertToDistanceFromEnd()