/external/skia/gm/ |
gradient_matrix.cpp | 22 static const SkColor gColors[] = { 65 return SkGradientShader::CreateLinear(pts, gColors, nullptr, SK_ARRAY_COUNT(gColors), 74 return SkGradientShader::CreateRadial(center, radius, gColors, nullptr, SK_ARRAY_COUNT(gColors),
|
imagesource2.cpp | 34 static const SkPMColor gColors[] = { 53 p.setColor(gColors[curColor]); 56 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors);
|
megalooper.cpp | 78 static const SkColor gColors[4]; 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] = {
|
gradientDirtyLaundry.cpp | 19 static const SkColor gColors[] = { 33 { 40, gColors, nullptr }, 34 // { 2, gColors, gPos },
|
drawatlascolor.cpp | 114 SkColor gColors[] = { 123 const int numColors = SK_ARRAY_COUNT(gColors); 135 quadColors[i] = gColors[i];
|
shadertext.cpp | 40 static const SkColor gColors[] = { 45 { 2, gColors, nullptr }, 46 { 5, gColors, nullptr },
|
gradients_no_texture.cpp | 18 static const SkColor gColors[] = { 23 { 1, gColors, nullptr }, 24 { 2, gColors, nullptr }, 25 { 3, gColors, nullptr }, 26 { 4, gColors, nullptr },
|
gradients.cpp | 20 static const SkColor gColors[] = { 35 { 2, gColors, nullptr }, 36 { 2, gColors, gPos0 }, 37 { 2, gColors, gPos1 }, 38 { 5, gColors, nullptr }, 39 { 5, gColors, gPos2 }, 337 SkIntToScalar(200), gColors, nullptr, 5, 485 const SkColor gColors[] = { 0xFFFFFFFF, 0xFF000000 }; 486 fShader.reset(SkGradientShader::CreateRadial(center, kRadius, gColors, nullptr, 2, 524 SK_ARRAY_COUNT(gColors), SkShader::kClamp_TileMode)) [all...] |
gradients_2pt_conical.cpp | 19 static const SkColor gColors[] = { 34 { 2, gColors, gPos0 }, 35 { 2, gColors, gPos1 }, 36 { 5, gColors, gPos2 },
|
dashing.cpp | 427 static const SkColor gColors[kIntervalLength] = { 454 paint.setColor(gColors[phase]); 465 paint.setColor(gColors[phase]);
|
/external/skia/samplecode/ |
SampleGradients.cpp | 49 static const SkColor gColors[] = { 59 { 2, gColors, nullptr }, 60 { 2, gColors, gPos0 }, 61 { 2, gColors, gPos1 }, 62 { 5, gColors, nullptr }, 63 { 5, gColors, gPos2 }
|
SampleChart.cpp | 124 static SkColor gColors[kNumGraphs] = { 0x0 }; 125 if (0 == gColors[0]) { 127 gColors[i] = colorRand.nextU() | 0xff000000; 157 fillPaint.setColor((gColors[i] & 0x00ffffff) | 0x80000000); 160 plotPaint.setColor(gColors[i]);
|
SampleColorFilter.cpp | 177 static const SkColor gColors[] = { 189 for (size_t y = 0; y < SK_ARRAY_COUNT(gColors); y++) { 191 SkColorFilter* cf = SkColorFilter::CreateModeFilter(gColors[y], gModes[x]);
|
SampleShaderText.cpp | 48 static const SkColor gColors[] = { 53 { 2, gColors, nullptr }, 54 { 5, gColors, nullptr },
|
SampleSlides.cpp | 164 static const SkColor gColors[] = { 174 { 2, gColors, nullptr }, 175 { 2, gColors, gPos0 }, 176 { 2, gColors, gPos1 }, 177 { 5, gColors, nullptr }, 178 { 5, gColors, gPos2 }
|
/external/skia/tests/ |
GradientTest.cpp | 170 static const SkColor gColors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; 179 rec.fColorCount = SK_ARRAY_COUNT(gColors); 180 rec.fColors = gColors;
|
/external/skia/bench/ |
GradientBench.cpp | 25 static const SkColor gColors[] = { 43 { 2, gColors, nullptr, "" }, 44 { 50, gColors, nullptr, "_hicolor" }, // many color gradient 45 { 3, gColors, nullptr, "_3color" },
|