From b7ffb5fde541185ff6d3495a73e0c4402a4f8b15 Mon Sep 17 00:00:00 2001 From: Laura Davis Date: Mon, 25 Jun 2018 13:05:24 -0700 Subject: [PATCH] Docs: fixed variables Test: make ds-docs Bug: 25134282 Change-Id: Ic91dd3820a409f0f28e23575090e3fd624a0fac0 --- core/java/android/animation/IntEvaluator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/animation/IntEvaluator.java b/core/java/android/animation/IntEvaluator.java index 34fb0dc57bda8..1de2ae7326ed3 100644 --- a/core/java/android/animation/IntEvaluator.java +++ b/core/java/android/animation/IntEvaluator.java @@ -24,7 +24,7 @@ public class IntEvaluator implements TypeEvaluator { /** * This function returns the result of linearly interpolating the start and end values, with * fraction representing the proportion between the start and end values. The - * calculation is a simple parametric calculation: result = x0 + t * (v1 - v0), + * calculation is a simple parametric calculation: result = x0 + t * (x1 - x0), * where x0 is startValue, x1 is endValue, * and t is fraction. * @@ -39,4 +39,4 @@ public class IntEvaluator implements TypeEvaluator { int startInt = startValue; return (int)(startInt + fraction * (endValue - startInt)); } -} \ No newline at end of file +}