Home
last modified time | relevance | path

Searched refs:curColor (Results 1 – 4 of 4) sorted by relevance

/external/skia/gm/
Dimagesource2.cpp47 int curColor = 0; in onOnceBeforeDraw() local
53 p.setColor(gColors[curColor]); in onOnceBeforeDraw()
56 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors); in onOnceBeforeDraw()
/external/skqp/gm/
Dimagesource2.cpp47 int curColor = 0; in onOnceBeforeDraw() local
53 p.setColor(gColors[curColor]); in onOnceBeforeDraw()
56 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors); in onOnceBeforeDraw()
/external/skqp/src/pdf/
DSkPDFGradientShader.cpp66 static void interpolate_color_code(SkScalar range, const ColorTuple& curColor, in interpolate_color_code() argument
75 multiplier[i] = kColorScale * (curColor[i] - prevColor[i]) / range; in interpolate_color_code()
/external/skia/src/pdf/
DSkPDFGradientShader.cpp66 static void interpolate_color_code(SkScalar range, const ColorTuple& curColor, in interpolate_color_code() argument
75 multiplier[i] = kColorScale * (curColor[i] - prevColor[i]) / range; in interpolate_color_code()