/external/skia/gm/ |
H A D | drawbitmaprect.cpp | 44 SkColor colors[] = { SK_ColorRED, SK_ColorYELLOW, local 63 colors, pos, 64 SK_ARRAY_COUNT(colors),
|
H A D | gammatext.cpp | 16 const SkColor colors[] = { 131 const SkColor colors[] = { SK_ColorBLACK, SK_ColorWHITE }; 132 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode);
|
H A D | ovals.cpp | 250 SkColor colors[] = { SK_ColorBLUE, SK_ColorRED, SK_ColorGREEN }; variable 254 colors, 256 SK_ARRAY_COUNT(colors),
|
H A D | rects.cpp | 84 SkColor colors[] = { SK_ColorBLUE, SK_ColorRED, SK_ColorGREEN }; local 88 colors, 90 SK_ARRAY_COUNT(colors),
|
H A D | shadertext.cpp | 21 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local 26 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos, 27 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode))->unref();
|
/external/skia/samplecode/ |
H A D | SampleDither.cpp | 35 // SkColor colors[] = { SK_ColorRED, SK_ColorBLUE, SK_ColorGREEN, SK_ColorCYAN }; 36 SkColor colors[] = { 0x4c737373, 0x4c737373, 0xffffd300 }; local 38 colors, NULL, SK_ARRAY_COUNT(colors));
|
H A D | SampleShaderText.cpp | 20 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local 25 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos, 26 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode))->unref();
|
H A D | SampleTiling.cpp | 33 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local 38 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos, 39 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode))->unref();
|
H A D | SampleVertices.cpp | 48 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorRED }; local 49 return SkGradientShader::CreateLinear(pts, colors, NULL, 50 SK_ARRAY_COUNT(colors), SkShader::kMirror_TileMode);
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
H A D | SkTwoPointConicalGradient_gpu.cpp | 202 SkColor colors[kMaxRandomGradientColors]; local 206 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 209 colors, stops, colorCount, 481 SkColor colors[kMaxRandomGradientColors]; local 485 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 488 colors, stops, colorCount, 690 SkColor colors[kMaxRandomGradientColors]; local 694 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 697 colors, stops, colorCount, 939 SkColor colors[kMaxRandomGradientColor local 1175 SkColor colors[kMaxRandomGradientColors]; local [all...] |
/external/skia/src/effects/gradients/ |
H A D | SkTwoPointConicalGradient_gpu.cpp | 196 SkColor colors[kMaxRandomGradientColors]; local 200 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 203 colors, stops, colorCount, 470 SkColor colors[kMaxRandomGradientColors]; local 474 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 477 colors, stops, colorCount, 682 SkColor colors[kMaxRandomGradientColors]; local 686 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 689 colors, stops, colorCount, 927 SkColor colors[kMaxRandomGradientColor local 1158 SkColor colors[kMaxRandomGradientColors]; local [all...] |
/external/chromium_org/third_party/skia/bench/ |
H A D | PatchBench.cpp | 18 * (passing texture coordinates and colors, only textures coordinates, only colors or none). 58 const SkColor colors[SkPatchUtils::kNumCorners] = { local 61 memcpy(fColors, colors, SkPatchUtils::kNumCorners * sizeof(SkColor)); 73 const SkColor colors[] = { local 79 return SkGradientShader::CreateLinear(pts, colors, NULL, 80 SK_ARRAY_COUNT(colors), 92 vertexMode.set("colors");
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkRecords.h | 275 PODArray<SkColor>, colors, 288 SkColor* colors, 297 , colors(colors) 307 PODArray<SkColor> colors; member in struct:SkRecords::DrawVertices 283 DrawVertices(const SkPaint& paint, SkCanvas::VertexMode vmode, int vertexCount, SkPoint* vertices, SkPoint* texs, SkColor* colors, SkXfermode* xmode, uint16_t* indices, int indexCount) argument
|
H A D | SkPicturePlayback.cpp | 314 const SkColor* colors = NULL; local 316 colors = (const SkColor*)reader->skip(SkPatchUtils::kNumCorners * sizeof(SkColor)); 331 canvas->drawPatch(cubics, colors, texCoords, xfer, paint); 458 const SkColor* colors = NULL; local 465 colors = (const SkColor*)reader->skip(vCount * sizeof(SkColor)); 478 canvas->drawVertices(vmode, vCount, verts, texs, colors, xfer, indices, iCount, paint);
|
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
H A D | SDL_nxvideo.c | 45 static int NX_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color * colors) ; 398 int NX_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color * colors) argument 409 pal.palette [i].r = colors [i].r ; 410 pal.palette [i].g = colors [i].g ; 411 pal.palette [i].b = colors [i].b ;
|
/external/qemu/distrib/sdl-1.2.15/src/video/xbios/ |
H A D | SDL_xbios.c | 77 static int XBIOS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors); 975 static int XBIOS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument 986 r = colors[i].r; 987 v = colors[i].g; 988 b = colors[i].b; 997 r = colors[i].r; 998 v = colors[i].g; 999 b = colors[i].b; 1009 r = colors[i].r; 1010 v = colors[ [all...] |
/external/chromium_org/third_party/skia/tests/ |
H A D | BitmapCopyTest.cpp | 65 static const SkColor colors[] = { local 68 return new SkColorTable(colors, SK_ARRAY_COUNT(colors), alphaType); 555 static void fill_4x4_pixels(SkPMColor colors[16]) { 558 colors[y*4+x] = SkPackARGB32(0xFF, x, y, 0x80); 574 static void clear_4x4_pixels(SkPMColor colors[16]) { 575 sk_memset32(colors, 0, 16);
|
/external/chromium_org/ui/views/controls/button/ |
H A D | label_button.cc | 29 // Default text and shadow colors for STYLE_BUTTON. 85 // Initialize the colors, border, and layout. 380 SkColor colors[STATE_COUNT] = { local 389 // Use hardcoded colors for inverted color scheme support and STYLE_BUTTON. 392 colors[STATE_NORMAL] = SK_ColorWHITE; 404 colors[STATE_NORMAL] = kStyleButtonTextColor; 417 colors[STATE_HOVERED] = colors[STATE_PRESSED] = colors[STATE_NORMAL]; 421 SetTextColor(static_cast<ButtonState>(state), colors[stat local [all...] |
/external/chromium_org/ui/gfx/ |
H A D | color_analysis_unittest.cc | 93 // Creates a 1-dimensional png of the pixel colors found in |colors|. 95 const std::vector<SkColor>& colors) { 97 bitmap.allocN32Pixels(colors.size(), 1); 100 for (size_t i = 0; i < colors.size(); ++i) { 101 bitmap.eraseArea(SkIRect::MakeXYWH(i, 0, 1, 1), colors[i]); local 227 std::vector<SkColor> colors(4, SK_ColorRED); 228 colors[1] = SK_ColorBLUE; 230 scoped_refptr<base::RefCountedMemory> png = CreateTestPNG(colors); 246 std::vector<SkColor> colors( 94 CreateTestPNG( const std::vector<SkColor>& colors) argument [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fFboTestUtil.cpp | 377 tcu::Vec4 colors[4]; local 390 colors[fragNdx] = tcu::Vec4(0.0f); 403 colors[fragNdx] += tmpColors[fragNdx] * scale + bias; 409 const tcu::Vec4 color = colors[fragNdx] * outScale + outBias; 531 tcu::Vec4 colors[4]; local 543 tex->sample4(colors, texCoords); 547 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias; 639 tcu::Vec4 colors[4]; local 651 tex->sample4(colors, texCoords); 655 const tcu::Vec4 color = colors[fragNd 747 tcu::Vec4 colors[4]; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
H A D | nv50_ir_ra.cpp | 633 return ((1 << colors) - 1) << (reg & 7); 644 uint16_t colors; member in class:nv50_ir::GCRA::RIG_Node 715 colors = 0; 722 if (!nodes[i].colors) 724 INFO("RIG_Node[%%%i]($[%u]%i): %u colors, weight %f, deg %u/%u\n X", 726 nodes[i].f,nodes[i].reg,nodes[i].colors, 745 colors = regs.units(lval->reg.file, lval->reg.size); 879 const unsigned int size = getNode(rep)->colors; 892 val->compMask &= makeCompMask(size, base, getNode(val)->colors); 898 base += getNode(val)->colors; [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkDumpCanvas.cpp | 450 const SkColor colors[], SkXfermode* xmode, 458 void SkDumpCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], argument 461 //dumps corner points and colors in clockwise order starting on upper-left corner 473 colors[0], colors[1], colors[2], colors[3], 448 drawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
H A D | nv50_ir_ra.cpp | 633 return ((1 << colors) - 1) << (reg & 7); 644 uint16_t colors; member in class:nv50_ir::GCRA::RIG_Node 715 colors = 0; 722 if (!nodes[i].colors) 724 INFO("RIG_Node[%%%i]($[%u]%i): %u colors, weight %f, deg %u/%u\n X", 726 nodes[i].f,nodes[i].reg,nodes[i].colors, 745 colors = regs.units(lval->reg.file, lval->reg.size); 879 const unsigned int size = getNode(rep)->colors; 892 val->compMask &= makeCompMask(size, base, getNode(val)->colors); 898 base += getNode(val)->colors; [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
H A D | SDL_riscosFullScreenVideo.c | 65 static int FULLSCREEN_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors); 533 int FULLSCREEN_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument 547 palette[firstcolor] = ((colors->b) << 24) | ((colors->g) << 16) | ((colors->r) << 8); 549 colors++;
|
/external/qemu/distrib/sdl-1.2.15/src/video/svga/ |
H A D | SDL_svgavideo.c | 58 SDL_Color *colors); 382 if ( (bpp == 16) && (modeinfo->colors == 32768) ) { 538 int SVGA_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument 544 colors[i].r>>2, 545 colors[i].g>>2, 546 colors[i].b>>2);
|