Merge "Merge "Docs: fixed variables" into pi-dev am: 116158689c" into pi-dev-plus-aosp

This commit is contained in:
Android Build Merger (Role)
2018-06-26 16:52:04 +00:00
committed by Android (Google) Code Review

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));
}
}
}