Searched refs:curColor (Results 1 – 5 of 5) sorted by relevance
47 int curColor = 0; in onOnceBeforeDraw() local53 p.setColor(gColors[curColor]); in onOnceBeforeDraw()56 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors); in onOnceBeforeDraw()
59 int curColor = 0; in onOnceBeforeDraw() local65 p.setColor(gColors[curColor]); in onOnceBeforeDraw()68 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors); in onOnceBeforeDraw()
35 static float getExpected(bool blendMin, float curColor, float prevColor) in getExpected() argument37 return blendMin ? std::min(curColor, prevColor) : std::max(curColor, prevColor); in getExpected()
66 static void interpolate_color_code(SkScalar range, const ColorTuple& curColor, in interpolate_color_code() argument75 multiplier[i] = kColorScale * (curColor[i] - prevColor[i]) / range; in interpolate_color_code()