/packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/ |
D | FlingAnimationUtils.java | 64 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/ |
D | RectEvaluatorCompat.java | 38 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/ |
D | TvViewUiManager.java | 398 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/ |
D | TemperatureColorStore.java | 111 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()
|
D | AnimatedTemperatureView.java | 212 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/ |
D | LauncherSwipeHandlerV2.java | 330 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/ |
D | MaterialProgressDrawable.java | 324 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/ |
D | SetupAnimationHelper.java | 196 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { in createFrameAnimatorWithDelay()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AutoInstallsLayout.java | 677 private static String convertToDistanceFromEnd(String value, int endValue) { in convertToDistanceFromEnd() argument 681 return Integer.toString(endValue + x); in convertToDistanceFromEnd()
|