/external/skia/gm/ |
D | gradient_matrix.cpp | 22 static const SkColor gColors[] = { variable 65 return SkGradientShader::CreateLinear(pts, gColors, NULL, SK_ARRAY_COUNT(gColors), in make_linear_gradient() 74 return SkGradientShader::CreateRadial(center, radius, gColors, NULL, SK_ARRAY_COUNT(gColors), in make_radial_gradient()
|
D | gradients.cpp | 19 static const SkColor gColors[] = { variable 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, in onDraw() 447 const SkColor gColors[] = { 0xFFFFFFFF, 0xFF000000 }; in onOnceBeforeDraw() local 448 fShader.reset(SkGradientShader::CreateRadial(center, kRadius, gColors, NULL, 2, in onOnceBeforeDraw()
|
D | bitmapsource2.cpp | 32 static const SkPMColor gColors[] = { in onOnceBeforeDraw() local 52 p.setColor(gColors[curColor]); in onOnceBeforeDraw() 55 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors); in onOnceBeforeDraw()
|
D | megalooper.cpp | 78 static const SkColor gColors[4]; member in MegaLooperGM 102 paint.setColor(gColors[i]); in draw0x0() 134 loopPaint.setLooper(create1Looper(-kOffsetToOutsideClip, 0, gColors[i]))->unref(); in draw4x1() 225 … SkColorFilter* cf = SkColorFilter::CreateModeFilter(gColors[i], SkXfermode::kSrcIn_Mode); in create4Looper() 242 const SkColor MegaLooperGM::gColors[4] = { member in MegaLooperGM
|
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 },
|
D | shadertext.cpp | 39 static const SkColor gColors[] = { variable 44 { 2, gColors, NULL }, 45 { 5, gColors, NULL },
|
D | gradientDirtyLaundry.cpp | 19 static const SkColor gColors[] = { variable 33 { 40, gColors, NULL },
|
D | dashing.cpp | 423 static const SkColor gColors[kIntervalLength] = { in onDraw() local 450 paint.setColor(gColors[phase]); in onDraw() 461 paint.setColor(gColors[phase]); in onDraw()
|
D | gradients_2pt_conical.cpp | 19 static const SkColor gColors[] = { variable 34 { 2, gColors, gPos0 }, 35 { 2, gColors, gPos1 }, 36 { 5, gColors, gPos2 },
|
/external/skia/samplecode/ |
D | SampleChart.cpp | 123 static SkColor gColors[kNumGraphs] = { 0x0 }; in onDrawContent() local 124 if (0 == gColors[0]) { in onDrawContent() 126 gColors[i] = colorRand.nextU() | 0xff000000; in onDrawContent() 156 fillPaint.setColor((gColors[i] & 0x00ffffff) | 0x80000000); in onDrawContent() 159 plotPaint.setColor(gColors[i]); in onDrawContent()
|
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 }
|
D | SampleColorFilter.cpp | 177 static const SkColor gColors[] = { in onDrawContent() local 189 for (size_t y = 0; y < SK_ARRAY_COUNT(gColors); y++) { in onDrawContent() 191 SkColorFilter* cf = SkColorFilter::CreateModeFilter(gColors[y], gModes[x]); in onDrawContent()
|
D | SampleShaderText.cpp | 47 static const SkColor gColors[] = { variable 52 { 2, gColors, NULL }, 53 { 5, gColors, NULL },
|
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/ |
D | GradientTest.cpp | 169 static const SkColor gColors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; in TestGradientShaders() local 178 rec.fColorCount = SK_ARRAY_COUNT(gColors); in TestGradientShaders() 179 rec.fColors = gColors; in TestGradientShaders()
|
/external/skia/bench/ |
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" },
|