Searched refs:curColor (Results 1 – 2 of 2) 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()
54 static void interpolateColorCode(SkScalar range, SkScalar* curColor, in interpolateColorCode() argument62 multiplier[i] = (curColor[i] - prevColor[i]) / range; in interpolateColorCode()