Home
last modified time | relevance | path

Searched refs:startValue (Results 1 – 9 of 9) sorted by relevance

/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.java397 FrameLayout.LayoutParams startValue, in setTvViewPosition()
401 lp.gravity = startValue.gravity; in setTvViewPosition()
403 interpolateMargins(lp, startValue, endValue, fraction); in setTvViewPosition()
595 MarginLayoutParams startValue, 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.java110 TemperatureColorValue startValue = sTemperatureColorValues[index - 1]; in getColorForTemperature() local
112 float fraction = (temperature - startValue.getTemperature()) / (endValue.getTemperature() in getColorForTemperature()
113 - startValue.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/src/com/android/launcher3/
DInterruptibleInOutAnimator.java85 final float startValue = mFirstRun ? mOriginalFromValue : mValue; in animate() local
98 mAnimator.setFloatValues(startValue, toValue); in animate()
/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()
197 return startValue; in createFrameAnimatorWithDelay()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherSwipeHandlerV2.java329 final float startValue = mTransY;
343 .setStartValue(startValue)
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DMaterialProgressDrawable.java324 private int evaluateColorChange(float fraction, int startValue, int endValue) { in evaluateColorChange() argument
325 int startInt = (Integer) startValue; in evaluateColorChange()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java378 private void runAnimation(final ValueAnimator animator, final float startValue, in runAnimation() argument
381 if (startValue == targetValue) { in runAnimation()
386 animator.setFloatValues(startValue, targetValue); in runAnimation()