Searched refs:gColors (Results 1 - 16 of 16) sorted by relevance

/external/skia/gm/
H A Dbitmapsource2.cpp32 static const SkPMColor gColors[] = { variable
52 p.setColor(gColors[curColor]);
55 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors);
H A Dgradient_matrix.cpp22 static const SkColor gColors[] = { variable
65 return SkGradientShader::CreateLinear(pts, gColors, NULL, SK_ARRAY_COUNT(gColors),
74 return SkGradientShader::CreateRadial(center, radius, gColors, NULL, SK_ARRAY_COUNT(gColors),
H A Dmegalooper.cpp78 static const SkColor gColors[4]; member in class:MegaLooperGM
102 paint.setColor(gColors[i]);
134 loopPaint.setLooper(create1Looper(-kOffsetToOutsideClip, 0, gColors[i]))->unref();
225 SkColorFilter* cf = SkColorFilter::CreateModeFilter(gColors[i], SkXfermode::kSrcIn_Mode);
242 const SkColor MegaLooperGM::gColors[4] = { member in class:MegaLooperGM
H A Dgradients_no_texture.cpp18 static const SkColor gColors[] = { variable
23 { 1, gColors, NULL },
24 { 2, gColors, NULL },
25 { 3, gColors, NULL },
26 { 4, gColors, NULL },
H A Dgradients.cpp19 static const SkColor gColors[] = { member in namespace:skiagm
34 { 2, gColors, NULL },
35 { 2, gColors, gPos0 },
36 { 2, gColors, gPos1 },
37 { 5, gColors, NULL },
38 { 5, gColors, gPos2 },
314 SkIntToScalar(200), gColors, NULL, 5,
447 const SkColor gColors[] = { 0xFFFFFFFF, 0xFF000000 }; variable
448 fShader.reset(SkGradientShader::CreateRadial(center, kRadius, gColors, NULL, 2,
H A DgradientDirtyLaundry.cpp19 static const SkColor gColors[] = { variable
33 { 40, gColors, NULL },
34 // { 2, gColors, gPos },
H A Dshadertext.cpp39 static const SkColor gColors[] = { member in namespace:skiagm
44 { 2, gColors, NULL },
45 { 5, gColors, NULL },
H A Ddashing.cpp423 static const SkColor gColors[kIntervalLength] = { variable
450 paint.setColor(gColors[phase]);
461 paint.setColor(gColors[phase]);
H A Dgradients_2pt_conical.cpp19 static const SkColor gColors[] = { member in namespace:skiagm
34 { 2, gColors, gPos0 },
35 { 2, gColors, gPos1 },
36 { 5, gColors, gPos2 },
/external/skia/samplecode/
H A DSampleGradients.cpp49 static const SkColor gColors[] = { variable
59 { 2, gColors, NULL },
60 { 2, gColors, gPos0 },
61 { 2, gColors, gPos1 },
62 { 5, gColors, NULL },
63 { 5, gColors, gPos2 }
H A DSampleChart.cpp123 static SkColor gColors[kNumGraphs] = { 0x0 }; variable
124 if (0 == gColors[0]) {
126 gColors[i] = colorRand.nextU() | 0xff000000;
156 fillPaint.setColor((gColors[i] & 0x00ffffff) | 0x80000000);
159 plotPaint.setColor(gColors[i]);
H A DSampleColorFilter.cpp177 static const SkColor gColors[] = { local
189 for (size_t y = 0; y < SK_ARRAY_COUNT(gColors); y++) {
191 SkColorFilter* cf = SkColorFilter::CreateModeFilter(gColors[y], gModes[x]);
H A DSampleShaderText.cpp47 static const SkColor gColors[] = { variable
52 { 2, gColors, NULL },
53 { 5, gColors, NULL },
H A DSampleSlides.cpp164 static const SkColor gColors[] = { variable
174 { 2, gColors, NULL },
175 { 2, gColors, gPos0 },
176 { 2, gColors, gPos1 },
177 { 5, gColors, NULL },
178 { 5, gColors, gPos2 }
/external/skia/tests/
H A DGradientTest.cpp169 static const SkColor gColors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local
178 rec.fColorCount = SK_ARRAY_COUNT(gColors);
179 rec.fColors = gColors;
/external/skia/bench/
H A DGradientBench.cpp24 static const SkColor gColors[] = { variable
42 { 2, gColors, NULL, "" },
43 { 50, gColors, NULL, "_hicolor" }, // many color gradient
44 { 3, gColors, NULL, "_3color" },

Completed in 225 milliseconds