/external/skia/tests/ |
D | ShaderOpacityTest.cpp | 59 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient() 60 colors[1] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient() 66 colors[0] = SkColorSetARGB(0, 0, 0, 0); in test_gradient() 67 colors[1] = SkColorSetARGB(0, 0, 0, 0); in test_gradient() 73 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient() 74 colors[1] = SkColorSetARGB(0x40, 0, 0, 0); in test_gradient() 80 colors[0] = SkColorSetARGB(0x40, 0, 0, 0); in test_gradient() 81 colors[1] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient() 88 SkColorShader colorShader1(SkColorSetARGB(0,0,0,0)); in test_color() 90 SkColorShader colorShader2(SkColorSetARGB(0xFF,0,0,0)); in test_color() [all …]
|
D | ColorTest.cpp | 22 SkColor c0 = SkColorSetARGB(a, x, x, x); in test_premul()
|
D | BitmapTest.cpp | 190 bm.eraseColor(SkColorSetARGB(255, 10, 20, 30)); in DEF_TEST() 193 bm.eraseColor(SkColorSetARGB(128, 255, 255, 255)); in DEF_TEST()
|
D | VerticesTest.cpp | 71 builder.colors()[i] = SkColorSetARGB(0xFF, i, 0x80, 0); in DEF_TEST()
|
D | ColorMatrixTest.cpp | 78 assert_color(reporter, SkColorSetARGB(128, 255, 0, 64), bitmap.getColor(0, 0), 2); in test_colorMatrixCTS()
|
D | PremulAlphaRoundTripTest.cpp | 55 pixels[r] = proc(SkColorSetARGB(a, r, 0, 0)); in fill_canvas()
|
/external/skia/gm/ |
D | modecolorfilters.cpp | 27 return make_color_shader(SkColorSetARGB(0xFF, 0x42, 0x82, 0x21)); in make_solid_shader() 31 return make_color_shader(SkColorSetARGB(0x80, 0x10, 0x70, 0x20)); in make_transparent_shader() 93 SkColorSetARGB(0xFF, 0xFF, 0xFF, 0xFF), in onDraw() 94 SkColorSetARGB(0xFF, 0x00, 0x00, 0x00), in onDraw() 95 SkColorSetARGB(0x00, 0x00, 0x00, 0x00), in onDraw() 96 SkColorSetARGB(0xFF, 0x10, 0x20, 0x42), in onDraw() 97 SkColorSetARGB(0xA0, 0x20, 0x30, 0x90), in onDraw()
|
D | recordopts.cpp | 59 layerPaint.setColor(SkColorSetARGB(128, 0, 0, 0)); in draw_save_layer_draw_rect_restore_sequence() 87 layerPaint.setColor(SkColorSetARGB(129, 0, 0, 0)); in draw_save_layer_draw_bitmap_restore_sequence() 113 layerPaint.setColor(SkColorSetARGB(130, 0, 0, 0)); in draw_svg_opacity_and_filter_layer_sequence() 149 SkColor shapeColor = SkColorSetARGB(255, 0, 255, 0); 179 SkColorSetARGB(255, 0, kDetectorGreenValue, 0), 180 SkColorSetARGB(255, 0, (kDetectorGreenValue + 1), 0) // This tests that detectors work.
|
D | gaussianedge.cpp | 122 basePaint.setColor(SkColorSetARGB(255, (4 * blurRad) >> 8, (4 * blurRad) & 0xff, 0)); in DrawRow() 141 paints[1].setColor(SkColorSetARGB(255, (4 * blurRad) >> 8, (4 * blurRad) & 0xff, in DrawRow() 158 paints[2].setColor(SkColorSetARGB(255, (4 * blurRad) >> 8, (4 * blurRad) & 0xff, in DrawRow()
|
D | highcontrastfilter.cpp | 17 static SkColor kColor1 = SkColorSetARGB(0xff, 0xff, 0xff, 0); 18 static SkColor kColor2 = SkColorSetARGB(0xff, 0x82, 0xff, 0);
|
D | lumafilter.cpp | 17 static SkColor kColor1 = SkColorSetARGB(0xff, 0xff, 0xff, 0); 18 static SkColor kColor2 = SkColorSetARGB(0xff, 0x82, 0xff, 0);
|
D | lightingshader2.cpp | 83 SkColorSetARGB(0x55, 0x00, 0x00, 0x00), in onOnceBeforeDraw() 84 SkColorSetARGB(0x55, 0x80, 0x40, 0x20), in onOnceBeforeDraw()
|
D | composeshader.cpp | 30 colors[1] = SkColorSetARGB(0x80, 0, 0, 0); in make_shader() 146 colors[1] = SkColorSetARGB(0, 0, 0, 0xFF); in make_linear_gradient_shader()
|
/external/skia/include/core/ |
D | SkColor.h | 51 #define SkColorSetARGB(a, r, g, b) SkColorSetARGBMacro(a, r, g, b) macro 53 #define SkColorSetARGB(a, r, g, b) SkColorSetARGBInline(a, r, g, b) macro 59 #define SkColorSetRGB(r, g, b) SkColorSetARGB(0xFF, r, g, b)
|
/external/skia/samplecode/ |
D | SampleShaders.cpp | 30 colors[1] = SkColorSetARGB(0, 0, 0, 0); in make_bitmapfade() 59 colors[1] = SkColorSetARGB(0x80, 0, 0, 0); in ShaderView()
|
D | SampleAndroidShadows.cpp | 172 paint.setColor(SkColorSetARGB(fIgnoreShadowAlpha in drawAmbientShadow() 246 paint.setColor(SkColorSetARGB(fIgnoreShadowAlpha ? 255 : alpha, in drawAmbientShadowAlt() 290 paint.setColor(SkColorSetARGB(fIgnoreShadowAlpha in drawSpotShadow() 399 paint.setColor(SkColorSetARGB(fIgnoreShadowAlpha ? 255 : alpha, in drawSpotShadowAlt()
|
/external/skia/src/gpu/ |
D | GrSWMaskHelper.cpp | 49 paint.setColor(SkColorSetARGB(alpha, alpha, alpha, alpha)); in drawRect() 70 paint.setColor(SkColorSetARGB(alpha, alpha, alpha, alpha)); in drawShape()
|
D | GrSWMaskHelper.h | 65 fPixels.erase(SkColorSetARGB(alpha, 0xFF, 0xFF, 0xFF)); in clear()
|
/external/skia/tools/skiaserve/urlhandlers/ |
D | ClipAlphaHandler.cpp | 35 request->fDebugCanvas->setClipVizColor(SkColorSetARGB(alpha, 0, 0, 0)); in handle()
|
/external/skia/src/utils/ |
D | SkShadowTessellator.cpp | 344 return SkColorSetARGB(255, 0, fAmbientAlpha * 255.9999f, umbraAlpha * 255.9999f); in umbraColor() 367 fUmbraColor = SkColorSetARGB(255, 0, ambientAlpha * 255.9999f, umbraAlpha * 255.9999f); in SkAmbientShadowTessellator() 368 fPenumbraColor = SkColorSetARGB(255, 0, ambientAlpha * 255.9999f, 0); in SkAmbientShadowTessellator() 720 fUmbraColor = SkColorSetARGB(255, 0, spotAlpha * 255.9999f, 255); in SkSpotShadowTessellator() 721 fPenumbraColor = SkColorSetARGB(255, 0, spotAlpha * 255.9999f, 0); in SkSpotShadowTessellator() 888 *fColors.push() = SkColorSetARGB(255, 0, 255, 255); in SkSpotShadowTessellator() 890 *fColors.push() = SkColorSetARGB(255, 0, 255, 255); in SkSpotShadowTessellator() 892 *fColors.push() = SkColorSetARGB(255, 0, 255, 255); in SkSpotShadowTessellator() 894 *fColors.push() = SkColorSetARGB(255, 0, 255, 255); in SkSpotShadowTessellator()
|
/external/skia/src/core/ |
D | SkColor.cpp | 82 return SkColorSetARGB(a, v_byte, v_byte, v_byte); in SkHSVToColor() 103 return SkColorSetARGB(a, r, g, b); in SkHSVToColor()
|
D | SkUnPreMultiply.cpp | 13 return SkColorSetARGB(a, in PMColorToColor()
|
/external/skia/bench/ |
D | PremulAndUnpremulAlphaOpsBench.cpp | 38 *fBmp1.getAddr32(w, h) = SkColorSetARGB(h & 0xFF, w & 0xFF, w & 0xFF, w & 0xFF); in onDelayedSetup()
|
/external/skia/tools/ |
D | colorspaceinfo.cpp | 36 SkColorSetARGB(164, 255, 32, 32), 37 SkColorSetARGB(164, 32, 255, 32), 38 SkColorSetARGB(164, 32, 32, 255)
|
/external/skia/src/effects/ |
D | SkAlphaThresholdFilter.cpp | 241 outputColor = SkColorSetARGB(innerThreshold, in onFilterImage() 249 outputColor = SkColorSetARGB(outerThreshold, in onFilterImage()
|