Searched defs:colors (Results 1 - 25 of 392) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/
H A Dbackground.js8 var colors = {
42 ((seg % 2) == 0) ? colors.progressColor : colors.background);
48 ctx.fillStyle = ctx.strokeStyle = colors.progressColor;
57 ctx.strokeStyle = ctx.fillStyle = colors.arrow;
77 ctx.fillStyle = colors.danger;
78 ctx.strokeStyle = colors.background;
94 ctx.strokeStyle = colors.background;
97 ctx.fillStyle = colors.paused;
109 ctx.fillStyle = colors
[all...]
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebColorName.cpp109 void setNamedColors(const WebColorName* colorNames, const WebColor* colors, size_t length) argument
113 WebColor color = colors[i];
123 // TODO(jeremy): Tell RenderTheme to update colors.
/external/chromium_org/third_party/skia/gm/
H A Dblurquickreject.cpp44 SkColor colors[] = { variable
50 SkASSERT(SK_ARRAY_COUNT(colors) == SK_ARRAY_COUNT(blurRects));
69 blurPaint.setColor(colors[i]);
H A Dcolortype.cpp16 const SkColor colors[] = { local
22 SkShader* s = SkGradientShader::CreateSweep(0,0, colors, NULL,
23 SK_ARRAY_COUNT(colors), 0, &local);
H A Dcomposeshader.cpp20 SkColor colors[2]; local
24 colors[0] = SK_ColorRED;
25 colors[1] = SK_ColorBLUE;
26 SkAutoTUnref<SkShader> shaderA(SkGradientShader::CreateLinear(pts, colors, NULL, 2,
31 colors[0] = SK_ColorBLACK;
32 colors[1] = SkColorSetARGB(0x80, 0, 0, 0);
33 SkAutoTUnref<SkShader> shaderB(SkGradientShader::CreateLinear(pts, colors, NULL, 2,
/external/chromium_org/third_party/skia/samplecode/
H A DSample2PtRadial.cpp31 SkColor colors[] = { SK_ColorRED, SK_ColorBLUE }; local
36 SkShader* s = SkGradientShader::CreateTwoPointRadial(c0, r0, c1, r1, colors,
H A DSampleBigGradient.cpp14 SkColor colors[] = { 0xFF000000, 0xFF333333 }; local
16 return SkGradientShader::CreateLinear(pts, colors, NULL, 2,
H A DSampleClamp.cpp18 SkColor colors[] = { SK_ColorRED, SK_ColorBLUE }; local
19 return SkGradientShader::CreateLinear(pts, colors, NULL, 2,
/external/chromium_org/third_party/skia/src/core/
H A DSkColorTable.cpp31 SkColorTable::SkColorTable(const SkPMColor colors[], int count, SkAlphaType at) argument
34 SkASSERT(0 == count || colors);
46 memcpy(fColors, colors, count * sizeof(SkPMColor));
/external/chromium_org/third_party/skia/src/views/
H A DSkParsePaint.cpp23 SkColor colors[2]; local
26 colors[0] = colors[1] = SK_ColorBLACK; // need to initialized the alpha to opaque, since FindColor doesn't set it
28 SkParse::FindColor(str, &colors[0]) &&
30 SkParse::FindColor(str, &colors[1]) &&
39 return SkGradientShader::CreateLinear(pts, colors, NULL, 2, mode);
/external/chromium_org/third_party/skia/tests/
H A DFlatDataTest.cpp55 SkColor colors[2]; local
56 colors[0] = SK_ColorRED;
57 colors[1] = SK_ColorBLUE;
59 SkAutoTUnref<SkShader> shader(SkGradientShader::CreateLinear(points, colors, NULL, 2,
H A DShaderImageFilterTest.cpp29 SkColor colors[] = {SK_ColorBLUE, SK_ColorRED, SK_ColorGREEN}; local
36 center, radius, colors, pos, SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode);
47 center, radius, colors, pos, SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode);
H A DShaderOpacityTest.cpp59 SkColor colors[2]; local
65 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0);
66 colors[1] = SkColorSetARGB(0xFF, 0, 0, 0);
67 SkShader* grad = SkGradientShader::CreateLinear(pts, colors, pos, count,
74 colors[0] = SkColorSetARGB(0, 0, 0, 0);
75 colors[1] = SkColorSetARGB(0, 0, 0, 0);
76 grad = SkGradientShader::CreateLinear(pts, colors, pos, count, mode);
82 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0);
83 colors[1] = SkColorSetARGB(0x40, 0, 0, 0);
84 grad = SkGradientShader::CreateLinear(pts, colors, po
[all...]
/external/skia/gm/
H A Dblurquickreject.cpp44 SkColor colors[] = { variable
50 SkASSERT(SK_ARRAY_COUNT(colors) == SK_ARRAY_COUNT(blurRects));
69 blurPaint.setColor(colors[i]);
H A Dcolortype.cpp16 const SkColor colors[] = { local
22 SkShader* s = SkGradientShader::CreateSweep(0,0, colors, NULL,
23 SK_ARRAY_COUNT(colors), 0, &local);
H A Dcomposeshader.cpp20 SkColor colors[2]; local
24 colors[0] = SK_ColorRED;
25 colors[1] = SK_ColorBLUE;
26 SkAutoTUnref<SkShader> shaderA(SkGradientShader::CreateLinear(pts, colors, NULL, 2,
31 colors[0] = SK_ColorBLACK;
32 colors[1] = SkColorSetARGB(0x80, 0, 0, 0);
33 SkAutoTUnref<SkShader> shaderB(SkGradientShader::CreateLinear(pts, colors, NULL, 2,
/external/skia/samplecode/
H A DSample2PtRadial.cpp31 SkColor colors[] = { SK_ColorRED, SK_ColorBLUE }; local
36 SkShader* s = SkGradientShader::CreateTwoPointRadial(c0, r0, c1, r1, colors,
H A DSampleBigGradient.cpp14 SkColor colors[] = { 0xFF000000, 0xFF333333 }; local
16 return SkGradientShader::CreateLinear(pts, colors, NULL, 2,
H A DSampleClamp.cpp18 SkColor colors[] = { SK_ColorRED, SK_ColorBLUE }; local
19 return SkGradientShader::CreateLinear(pts, colors, NULL, 2,
/external/skia/src/core/
H A DSkColorTable.cpp31 SkColorTable::SkColorTable(const SkPMColor colors[], int count, SkAlphaType at) argument
34 SkASSERT(0 == count || NULL != colors);
46 memcpy(fColors, colors, count * sizeof(SkPMColor));
/external/skia/src/views/
H A DSkParsePaint.cpp23 SkColor colors[2]; local
26 colors[0] = colors[1] = SK_ColorBLACK; // need to initialized the alpha to opaque, since FindColor doesn't set it
28 SkParse::FindColor(str, &colors[0]) &&
30 SkParse::FindColor(str, &colors[1]) &&
39 return SkGradientShader::CreateLinear(pts, colors, NULL, 2, mode);
/external/skia/tests/
H A DFlatDataTest.cpp55 SkColor colors[2]; local
56 colors[0] = SK_ColorRED;
57 colors[1] = SK_ColorBLUE;
59 SkAutoTUnref<SkShader> shader(SkGradientShader::CreateLinear(points, colors, NULL, 2,
H A DShaderImageFilterTest.cpp29 SkColor colors[] = {SK_ColorBLUE, SK_ColorRED, SK_ColorGREEN}; local
36 center, radius, colors, pos, SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode);
47 center, radius, colors, pos, SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode);
H A DShaderOpacityTest.cpp59 SkColor colors[2]; local
65 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0);
66 colors[1] = SkColorSetARGB(0xFF, 0, 0, 0);
67 SkShader* grad = SkGradientShader::CreateLinear(pts, colors, pos, count,
74 colors[0] = SkColorSetARGB(0, 0, 0, 0);
75 colors[1] = SkColorSetARGB(0, 0, 0, 0);
76 grad = SkGradientShader::CreateLinear(pts, colors, pos, count, mode);
82 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0);
83 colors[1] = SkColorSetARGB(0x40, 0, 0, 0);
84 grad = SkGradientShader::CreateLinear(pts, colors, po
[all...]
/external/chromium_org/third_party/angle/samples/angle/stencil_operations/
H A DStencilOperations.cpp117 GLfloat colors[testCount][4] = local
219 glUniform4fv(mColorLoc, 1, colors[i]);

Completed in 598 milliseconds

1234567891011>>