Home
last modified time | relevance | path

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

/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/skia/gm/
Dimagesource2.cpp59 int curColor = 0; in onOnceBeforeDraw() local
65 p.setColor(gColors[curColor]); in onOnceBeforeDraw()
68 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors); in onOnceBeforeDraw()
/external/angle/src/tests/gl_tests/
DBlendMinMaxTest.cpp35 static float getExpected(bool blendMin, float curColor, float prevColor) in getExpected() argument
37 return blendMin ? std::min(curColor, prevColor) : std::max(curColor, prevColor); in getExpected()
/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()
/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()