/external/skia/gm/ |
H A D | matrixconvolution.cpp | 40 SkColor colors[2] = { 0xFFFFFFFF, 0x40404040 }; local 43 pts, colors, pos, 2, SkShader::kClamp_TileMode))->unref();
|
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 | twopointradial.cpp | 30 SkColor colors[] = { SK_ColorGREEN, SK_ColorRED }; local 42 colors, NULL, 2,
|
H A D | vertices.cpp | 14 const SkColor colors[] = { local 20 return SkGradientShader::CreateLinear(pts, colors, NULL, 21 SK_ARRAY_COUNT(colors),
|
H A D | verylargebitmap.cpp | 13 static void make_bm(SkBitmap* bm, int width, int height, SkColor colors[2]) { argument 18 SkShader* shader = SkGradientShader::CreateRadial(center, radius, colors, NULL, 2, 27 static void show_bm(SkCanvas* canvas, int width, int height, SkColor colors[2]) { argument 29 make_bm(&bm, width, height, colors); 77 SkColor colors[2]; variable 80 colors[0] = SK_ColorRED; 81 colors[1] = SK_ColorGREEN; 82 show_bm(canvas, small, small, colors); 85 colors[0] = SK_ColorBLUE; 86 colors[ [all...] |
/external/skia/include/effects/ |
H A D | SkGradientShader.h | 23 /** By default gradients will interpolate their colors in unpremul space 25 * gradients will premultiply their colors first, and then interpolate 38 @param colors The array[count] of colors, to be distributed between the two points 40 each corresponding color in the colors array. If this is NULL, 41 the the colors are distributed evenly between the start and end point. 44 @param count Must be >=2. The number of colors (and pos if not NULL) entries. 48 const SkColor colors[], const SkScalar pos[], int count, 53 const SkColor colors[], const SkScalar pos[], int count, 55 return CreateLinear(pts, colors, po 52 CreateLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode) argument 59 CreateLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode, void* ignored, uint32_t flags, const SkMatrix* localMatrix) argument 88 CreateRadial(const SkPoint& center, SkScalar radius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode) argument 95 CreateRadial(const SkPoint& center, SkScalar radius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode, void* ignored, uint32_t flags, const SkMatrix* localMatrix) argument 128 CreateTwoPointRadial(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode) argument 137 CreateTwoPointRadial(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode, void* ignored, uint32_t flags, const SkMatrix* localMatrix) argument 159 CreateTwoPointConical(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode) argument 168 CreateTwoPointConical(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode, void* ignored, uint32_t flags, const SkMatrix* localMatrix) argument 197 CreateSweep(SkScalar cx, SkScalar cy, const SkColor colors[], const SkScalar pos[], int count) argument 203 CreateSweep(SkScalar cx, SkScalar cy, const SkColor colors[], const SkScalar pos[], int count, void* ignored, uint32_t flags, const SkMatrix* localMatrix) argument [all...] |
/external/skia/samplecode/ |
H A D | SampleAvoid.cpp | 25 SkColor colors[] = { SK_ColorRED, SK_ColorYELLOW, SK_ColorGREEN, SK_ColorCYAN, SK_ColorBLUE }; local 29 fShader = SkGradientShader::CreateLinear(pts, colors, NULL, 30 SK_ARRAY_COUNT(colors), 35 colors, NULL, 36 SK_ARRAY_COUNT(colors),
|
H A D | SampleDegenerateTwoPtRadials.cpp | 15 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorMAGENTA }; local 29 SkShader* s = SkGradientShader::CreateTwoPointConical(c0, r0, c1, r1, colors,
|
H A D | SampleEffects.cpp | 41 SkColor colors[] = { SK_ColorRED, COLOR, SK_ColorBLUE }; local 43 paint->setShader(SkGradientShader::CreateLinear(pts, colors, NULL, SK_ARRAY_COUNT(colors),
|
H A D | SampleFilter.cpp | 26 const SkPMColor colors[] = { local 30 SkColorTable* ctable = new SkColorTable(colors, 4);
|
H A D | SampleLayers.cpp | 31 SkColor colors[] = { 0, SK_ColorWHITE }; local 33 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode,
|
H A D | SampleShaders.cpp | 29 SkColor colors[2]; local 33 colors[0] = SK_ColorBLACK; 34 colors[1] = SkColorSetARGB(0, 0, 0, 0); 35 SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode); 59 SkColor colors[2]; local 63 colors[0] = SK_ColorRED; 64 colors[1] = SK_ColorBLUE; 65 SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode); 69 colors[0] = SK_ColorBLACK; 70 colors[ [all...] |
/external/skia/src/images/ |
H A D | 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/skia/ext/ |
H A D | pixel_ref_utils_unittest.cc | 609 SkColor colors[3]; local 619 colors, 633 colors, 649 colors,
|
/external/chromium_org/third_party/skia/bench/ |
H A D | ChartBench.cpp | 127 SkColor colors[kNumGraphs]; variable 129 colors[i] = colorRand.nextU() | 0xff000000; 162 fillPaint.setColor((colors[i] & 0x00ffffff) | 0x80000000); 165 plotPaint.setColor(colors[i]);
|
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");
|
H A D | PatchGridBench.cpp | 18 * (passing texture coordinates and colors, only textures coordinates, only colors or none). 120 SkColor colors[4]; local 121 colors[0] = cornerColors[i][j]; 122 colors[1] = cornerColors[i][j + 1]; 123 colors[3] = cornerColors[i + 1][j]; 124 colors[2] = cornerColors[i + 1][j + 1]; 137 fGrid.setPatch(j, i, points, colors, NULL); 143 fGrid.setPatch(j, i, points, colors, texs); 154 const SkColor colors[] local [all...] |
H A D | RepeatTileBench.cpp | 54 SkPMColor* colors = storage; local 62 *colors++ = SkPreMultiplyARGB(0xFF, rr, gg, bb);
|
/external/chromium_org/third_party/skia/experimental/DrawingBoard/ |
H A D | SkColorPalette.cpp | 61 SkColor colors[] = { SK_ColorRED, SK_ColorYELLOW, SK_ColorGREEN, local 66 SkShader* shader1 = SkGradientShader::CreateLinear(pts, colors, colorPositions,7,
|
/external/chromium_org/third_party/skia/gm/ |
H A D | arithmode.cpp | 30 SkColor colors[] = { local 34 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, SK_ARRAY_COUNT(colors), 46 SkColor colors[] = { local 49 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, SK_ARRAY_COUNT(colors),
|
H A D | 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]);
|
H A D | bitmaprect.cpp | 25 const SkColor colors[] = { SK_ColorWHITE, SK_ColorBLUE }; local 26 paint.setShader(SkGradientShader::CreateLinear(pts, colors, NULL, 2,
|
H A D | colormatrix.cpp | 88 SkColor colors[] = {0x00000000, 0xFFFFFFFF}; local 90 paint.setShader(SkGradientShader::CreateLinear(pts, colors, NULL, 2,
|
H A D | drawbitmaprect.cpp | 44 SkColor colors[] = { SK_ColorRED, SK_ColorYELLOW, local 63 colors, pos, 64 SK_ARRAY_COUNT(colors),
|