/external/skia/gm/ |
H A D | bitmapsource2.cpp | 32 static const SkPMColor gColors[] = { variable 52 p.setColor(gColors[curColor]); 55 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors);
|
H A D | gradient_matrix.cpp | 22 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 D | megalooper.cpp | 78 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 D | gradients_no_texture.cpp | 18 static const SkColor gColors[] = { variable 23 { 1, gColors, NULL }, 24 { 2, gColors, NULL }, 25 { 3, gColors, NULL }, 26 { 4, gColors, NULL },
|
H A D | gradients.cpp | 19 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 D | gradientDirtyLaundry.cpp | 19 static const SkColor gColors[] = { variable 33 { 40, gColors, NULL }, 34 // { 2, gColors, gPos },
|
H A D | shadertext.cpp | 39 static const SkColor gColors[] = { member in namespace:skiagm 44 { 2, gColors, NULL }, 45 { 5, gColors, NULL },
|
H A D | dashing.cpp | 423 static const SkColor gColors[kIntervalLength] = { variable 450 paint.setColor(gColors[phase]); 461 paint.setColor(gColors[phase]);
|
H A D | gradients_2pt_conical.cpp | 19 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 D | SampleGradients.cpp | 49 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 D | SampleChart.cpp | 123 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 D | SampleColorFilter.cpp | 177 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 D | SampleShaderText.cpp | 47 static const SkColor gColors[] = { variable 52 { 2, gColors, NULL }, 53 { 5, gColors, NULL },
|
H A D | SampleSlides.cpp | 164 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 D | GradientTest.cpp | 169 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 D | GradientBench.cpp | 24 static const SkColor gColors[] = { variable 42 { 2, gColors, NULL, "" }, 43 { 50, gColors, NULL, "_hicolor" }, // many color gradient 44 { 3, gColors, NULL, "_3color" },
|