Merge "Docs: fixed variables" into pi-dev

am: 116158689c

Change-Id: Ia4219c6d6502b9348ed30453b46801d107dd2a2c
This commit is contained in:
Laura Davis
2018-06-26 09:51:30 -07:00
committed by android-build-merger

View File

@@ -24,7 +24,7 @@ public class IntEvaluator implements TypeEvaluator<Integer> {
/**
* This function returns the result of linearly interpolating the start and end values, with
* <code>fraction</code> representing the proportion between the start and end values. The
* calculation is a simple parametric calculation: <code>result = x0 + t * (v1 - v0)</code>,
* calculation is a simple parametric calculation: <code>result = x0 + t * (x1 - x0)</code>,
* where <code>x0</code> is <code>startValue</code>, <code>x1</code> is <code>endValue</code>,
* and <code>t</code> is <code>fraction</code>.
*
@@ -39,4 +39,4 @@ public class IntEvaluator implements TypeEvaluator<Integer> {
int startInt = startValue;
return (int)(startInt + fraction * (endValue - startInt));
}
}
}