/external/chromium_org/third_party/skia/gm/ |
circles.cpp | 71 SkColor colors[] = { SK_ColorBLUE, SK_ColorRED, SK_ColorGREEN }; local 75 colors, 77 SK_ARRAY_COUNT(colors),
|
giantbitmap.cpp | 33 const SkColor colors[] = { local 45 paint.setColor(colors[y/50 & 0x3]); 51 paint.setColor(colors[x/60 & 0x3]);
|
srcmode.cpp | 27 const SkColor colors[] = { SK_ColorGREEN, SK_ColorBLUE }; local 29 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 30 SK_ARRAY_COUNT(colors),
|
vertices.cpp | 14 const SkColor colors[] = { local 20 return SkGradientShader::CreateLinear(pts, colors, NULL, 21 SK_ARRAY_COUNT(colors),
|
/external/chromium_org/ui/views/examples/ |
bubble_example.cc | 21 SkColor colors[] = { SK_ColorWHITE, SK_ColorGRAY, SK_ColorCYAN, 0xFFC1B1E1 }; member in namespace:views::examples::__anon20929 99 bubble->set_color(colors[(color_index++) % arraysize(colors)]);
|
/external/skia/gm/ |
bitmapfilters.cpp | 14 const SkColor colors[4] = { local 19 for (size_t i = 0; i < SK_ARRAY_COUNT(colors); ++i) { 20 colorsPM[i] = SkPreMultiplyColor(colors[i]);
|
circles.cpp | 71 SkColor colors[] = { SK_ColorBLUE, SK_ColorRED, SK_ColorGREEN }; local 75 colors, 77 SK_ARRAY_COUNT(colors),
|
giantbitmap.cpp | 33 const SkColor colors[] = { local 45 paint.setColor(colors[y/50 & 0x3]); 51 paint.setColor(colors[x/60 & 0x3]);
|
srcmode.cpp | 27 const SkColor colors[] = { SK_ColorGREEN, SK_ColorBLUE }; local 29 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 30 SK_ARRAY_COUNT(colors),
|
vertices.cpp | 14 const SkColor colors[] = { local 20 return SkGradientShader::CreateLinear(pts, colors, NULL, 21 SK_ARRAY_COUNT(colors),
|
/frameworks/native/cmds/flatland/ |
Renderers.cpp | 22 static float colors[][4] = { member in namespace:android 33 float* color = colors[g_colorIndex]; 34 g_colorIndex = (g_colorIndex + 1) % NELEMS(colors);
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
ColorPickerPalette.java | 84 public void drawPalette(int[] colors, int selectedColor) { 85 if (colors == null) { 94 // Fills the table with swatches based on the array of colors. 96 for (int color : colors) { 136 * Add a content description to the specified swatch view. Because the colors get added in a 137 * snaking form, every other row will need to compensate for the fact that the colors are added
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkGradientShader.cpp | 39 // check if we need to add in dummy start and/or end position/colors 57 // Now copy over the colors, adding the dummies as needed 209 SkGradientShaderBase::GpuColorType SkGradientShaderBase::getGpuColorType(SkColor colors[3]) const { 211 memcpy(colors, fOrigColors, fColorCount * sizeof(SkColor)); 266 // now convert our colors in to PMColors 273 // we can do span16 as long as our individual colors are opaque, 301 /** We take the original colors, not our premultiplied PMColors, since we can 302 build a 16bit table as long as the original colors are opaque, even if the 578 * colors and positions. Note: we don't try to flatten the fMapper, so if one 586 // build our key: [numColors + colors[] + {positions[]} + flags [all...] |
/external/skia/src/effects/gradients/ |
SkGradientShader.cpp | 39 // check if we need to add in dummy start and/or end position/colors 57 // Now copy over the colors, adding the dummies as needed 209 SkGradientShaderBase::GpuColorType SkGradientShaderBase::getGpuColorType(SkColor colors[3]) const { 211 memcpy(colors, fOrigColors, fColorCount * sizeof(SkColor)); 266 // now convert our colors in to PMColors 273 // we can do span16 as long as our individual colors are opaque, 301 /** We take the original colors, not our premultiplied PMColors, since we can 302 build a 16bit table as long as the original colors are opaque, even if the 578 * colors and positions. Note: we don't try to flatten the fMapper, so if one 586 // build our key: [numColors + colors[] + {positions[]} + flags [all...] |
/external/chromium_org/pdf/ |
draw_utils.cc | 88 std::vector<uint32> colors; local 89 colors.resize(horizontal ? rc.width() : rc.height()); 90 for (size_t i = 0; i < colors.size(); ++i) { 91 double ratio = static_cast<double>(i) / colors.size(); 92 colors[i] = MakePixel( 100 const void* data = &(colors[0]); 101 size_t size = colors.size() * 4; 113 *pixel = colors[y];
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_compositor.h | 72 struct vertex4f colors[4]; member in struct:vl_compositor_layer 216 struct vertex4f *colors);
|
/external/chromium_org/third_party/skia/samplecode/ |
SampleDegenerateTwoPtRadials.cpp | 15 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorMAGENTA }; local 29 SkShader* s = SkGradientShader::CreateTwoPointConical(c0, r0, c1, r1, colors,
|
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder_wbmp.cpp | 121 const SkPMColor colors[] = { SK_ColorBLACK, SK_ColorWHITE }; local 122 SkColorTable* ct = SkNEW_ARGS(SkColorTable, (colors, 2));
|
SkImageEncoder_argb.cpp | 102 const SkPMColor* colors = ctLocker.lockColors(bitmap); local 108 scanline_import(src + y * bitmap.rowBytes(), argb, bitmap.width(), colors);
|
/external/chromium_org/third_party/skia/src/utils/ |
SkMeshUtils.cpp | 90 const SkColor colors[], const SkPaint& paint) { 99 rows * cols, verts, idx.tex(), colors, NULL,
|
/external/fonttools/Lib/fontTools/pens/ |
reportLabPen.py | 45 from reportlab.lib import colors namespace 56 pen = ReportLabPen(gs, Path(fillColor=colors.red, strokeWidth=5))
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_compositor.h | 72 struct vertex4f colors[4]; member in struct:vl_compositor_layer 216 struct vertex4f *colors);
|
/external/skia/samplecode/ |
SampleDegenerateTwoPtRadials.cpp | 15 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorMAGENTA }; local 29 SkShader* s = SkGradientShader::CreateTwoPointConical(c0, r0, c1, r1, colors,
|
/external/skia/src/images/ |
SkImageDecoder_wbmp.cpp | 121 const SkPMColor colors[] = { SK_ColorBLACK, SK_ColorWHITE }; local 122 SkColorTable* ct = SkNEW_ARGS(SkColorTable, (colors, 2));
|
SkImageEncoder_argb.cpp | 102 const SkPMColor* colors = ctLocker.lockColors(bitmap); local 108 scanline_import(src + y * bitmap.rowBytes(), argb, bitmap.width(), colors);
|