Searched refs:curColor (Results 1 – 4 of 4) 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()
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()