Lines Matching refs:right
22 int right = 0;
23 while (right < length && keys[right] < searchKey) {
24 ++right;
28 if (right == length) {
31 if (right == 0) {
34 // Otherwise, interpolate between right - 1 and right.
35 SkScalar leftKey = keys[right-1];
36 SkScalar rightKey = keys[right];
38 return SkScalarInterp(values[right-1], values[right], fract);