Home
last modified time | relevance | path

Searched refs:SkColorSetARGB (Results 1 – 25 of 51) sorted by relevance

123

/external/skia/tests/
DShaderOpacityTest.cpp59 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 …]
DColorTest.cpp22 SkColor c0 = SkColorSetARGB(a, x, x, x); in test_premul()
DBitmapTest.cpp190 bm.eraseColor(SkColorSetARGB(255, 10, 20, 30)); in DEF_TEST()
193 bm.eraseColor(SkColorSetARGB(128, 255, 255, 255)); in DEF_TEST()
DVerticesTest.cpp71 builder.colors()[i] = SkColorSetARGB(0xFF, i, 0x80, 0); in DEF_TEST()
DColorMatrixTest.cpp78 assert_color(reporter, SkColorSetARGB(128, 255, 0, 64), bitmap.getColor(0, 0), 2); in test_colorMatrixCTS()
DPremulAlphaRoundTripTest.cpp55 pixels[r] = proc(SkColorSetARGB(a, r, 0, 0)); in fill_canvas()
/external/skia/gm/
Dmodecolorfilters.cpp27 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()
Drecordopts.cpp59 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.
Dgaussianedge.cpp122 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()
Dhighcontrastfilter.cpp17 static SkColor kColor1 = SkColorSetARGB(0xff, 0xff, 0xff, 0);
18 static SkColor kColor2 = SkColorSetARGB(0xff, 0x82, 0xff, 0);
Dlumafilter.cpp17 static SkColor kColor1 = SkColorSetARGB(0xff, 0xff, 0xff, 0);
18 static SkColor kColor2 = SkColorSetARGB(0xff, 0x82, 0xff, 0);
Dlightingshader2.cpp83 SkColorSetARGB(0x55, 0x00, 0x00, 0x00), in onOnceBeforeDraw()
84 SkColorSetARGB(0x55, 0x80, 0x40, 0x20), in onOnceBeforeDraw()
Dcomposeshader.cpp30 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/
DSkColor.h51 #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/
DSampleShaders.cpp30 colors[1] = SkColorSetARGB(0, 0, 0, 0); in make_bitmapfade()
59 colors[1] = SkColorSetARGB(0x80, 0, 0, 0); in ShaderView()
DSampleAndroidShadows.cpp172 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/
DGrSWMaskHelper.cpp49 paint.setColor(SkColorSetARGB(alpha, alpha, alpha, alpha)); in drawRect()
70 paint.setColor(SkColorSetARGB(alpha, alpha, alpha, alpha)); in drawShape()
DGrSWMaskHelper.h65 fPixels.erase(SkColorSetARGB(alpha, 0xFF, 0xFF, 0xFF)); in clear()
/external/skia/tools/skiaserve/urlhandlers/
DClipAlphaHandler.cpp35 request->fDebugCanvas->setClipVizColor(SkColorSetARGB(alpha, 0, 0, 0)); in handle()
/external/skia/src/utils/
DSkShadowTessellator.cpp344 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/
DSkColor.cpp82 return SkColorSetARGB(a, v_byte, v_byte, v_byte); in SkHSVToColor()
103 return SkColorSetARGB(a, r, g, b); in SkHSVToColor()
DSkUnPreMultiply.cpp13 return SkColorSetARGB(a, in PMColorToColor()
/external/skia/bench/
DPremulAndUnpremulAlphaOpsBench.cpp38 *fBmp1.getAddr32(w, h) = SkColorSetARGB(h & 0xFF, w & 0xFF, w & 0xFF, w & 0xFF); in onDelayedSetup()
/external/skia/tools/
Dcolorspaceinfo.cpp36 SkColorSetARGB(164, 255, 32, 32),
37 SkColorSetARGB(164, 32, 255, 32),
38 SkColorSetARGB(164, 32, 32, 255)
/external/skia/src/effects/
DSkAlphaThresholdFilter.cpp241 outputColor = SkColorSetARGB(innerThreshold, in onFilterImage()
249 outputColor = SkColorSetARGB(outerThreshold, in onFilterImage()

123