Merge "Merge "Docs: fixed variables" into pi-dev am: 116158689c" into pi-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
bd935bf41a
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user