Home
last modified time | relevance | path

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

12

/external/skia/tests/
DShaderOpacityTest.cpp65 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient()
66 colors[1] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient()
74 colors[0] = SkColorSetARGB(0, 0, 0, 0); in test_gradient()
75 colors[1] = SkColorSetARGB(0, 0, 0, 0); in test_gradient()
82 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient()
83 colors[1] = SkColorSetARGB(0x40, 0, 0, 0); in test_gradient()
90 colors[0] = SkColorSetARGB(0x40, 0, 0, 0); in test_gradient()
91 colors[1] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient()
100 SkColorShader colorShader1(SkColorSetARGB(0,0,0,0)); in test_color()
102 SkColorShader colorShader2(SkColorSetARGB(0xFF,0,0,0)); in test_color()
[all …]
DGpuColorFilterTest.cpp62 const SkColor c1 = SkColorSetARGB(200, 200, 200, 200); in test_getConstantColorComponents()
63 const SkColor c2 = SkColorSetARGB(60, 60, 60, 60); in test_getConstantColorComponents()
82 …{ kRGBA, gr_whiteTrans, SkColorSetARGB(128, 200, 200, 200), SkXfermode::kSrcOver_Mode, kRGBA, GrCo… in test_getConstantColorComponents()
84 …{ kA , gr_whiteTrans, SkColorSetARGB(128, 200, 200, 200), SkXfermode::kSrcOver_Mode, kA , GrCo… in test_getConstantColorComponents()
86 …{ kRGB , gr_whiteTrans, SkColorSetARGB(128, 200, 200, 200), SkXfermode::kSrcOver_Mode, kRGB, GrCol… in test_getConstantColorComponents()
89 …{ kRGBA, gr_whiteTrans, SkColorSetARGB(128, 200, 200, 200), SkXfermode::kDstOver_Mode, kRGBA, GrCo… in test_getConstantColorComponents()
91 …{ kA , gr_whiteTrans, SkColorSetARGB(128, 200, 200, 200), SkXfermode::kDstOver_Mode, kA , GrCo… in test_getConstantColorComponents()
93 …{ kRGB , gr_whiteTrans, SkColorSetARGB(128, 200, 200, 200), SkXfermode::kDstOver_Mode, 0 , gr_b… in test_getConstantColorComponents()
96 …{ kR|kA , gr_whiteTrans, SkColorSetARGB(128, 200, 200, 200), SkXfermode::kModulate_Mode, kR|kA, Gr… in test_getConstantColorComponents()
DColorTest.cpp22 SkColor c0 = SkColorSetARGB(a, x, x, x); in test_premul()
DPremulAlphaRoundTripTest.cpp57 pixels[r] = proc(SkColorSetARGB(a, r, 0, 0)); in fillCanvas()
/external/skia/gm/
Dmodecolorfilters.cpp27 return make_color_shader(SkColorSetARGB(0xFF, 0x40, 0x80, 0x20)); in make_solid_shader()
31 return make_color_shader(SkColorSetARGB(0x80, 0x10, 0x70, 0x20)); in make_transparent_shader()
94 SkColorSetARGB(0xFF, 0xFF, 0xFF, 0xFF), in onDraw()
95 SkColorSetARGB(0xFF, 0x00, 0x00, 0x00), in onDraw()
96 SkColorSetARGB(0x00, 0x00, 0x00, 0x00), in onDraw()
97 SkColorSetARGB(0xFF, 0x10, 0x20, 0x40), in onDraw()
98 SkColorSetARGB(0xA0, 0x20, 0x30, 0x90), in onDraw()
Drecordopts.cpp61 layerPaint.setColor(SkColorSetARGB(128, 0, 0, 0)); in draw_save_layer_draw_rect_restore_sequence()
89 layerPaint.setColor(SkColorSetARGB(129, 0, 0, 0)); in draw_save_layer_draw_bitmap_restore_sequence()
115 layerPaint.setColor(SkColorSetARGB(130, 0, 0, 0)); in draw_svg_opacity_and_filter_layer_sequence()
151 SkColor shapeColor = SkColorSetARGB(255, 0, 255, 0);
182 SkColorSetARGB(255, 0, kDetectorGreenValue, 0),
183 SkColorSetARGB(255, 0, (kDetectorGreenValue + 1), 0) // This tests that detectors work.
Ddstreadshuffle.cpp22 this->setBGColor(SkColorSetARGB(0xff, 0xff, 0, 0xff)); in DstReadShuffle()
112 color = SkColorSetARGB(0xff, in GetColor()
119 color = SkColorSetARGB(alpha, in GetColor()
Dlumafilter.cpp15 static SkColor kColor1 = SkColorSetARGB(0xff, 0xff, 0xff, 0);
16 static SkColor kColor2 = SkColorSetARGB(0xff, 0x80, 0xff, 0);
Dcomposeshader.cpp32 colors[1] = SkColorSetARGB(0x80, 0, 0, 0); in make_shader()
Dcolorcube.cpp88 pixels[(size * ((size * b) + g)) + r] = SkColorSetARGB(0xFF, in make_3Dlut()
Dcolormatrix.cpp72 paint.setColor(SkColorSetARGB(255, x * 255 / width, y * 255 / height, 0)); in createSolidBitmap()
/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/src/utils/
DSkTextureCompressor_ASTC.cpp411 return SkColorSetARGB(a, (r + b) >> 1, (g + b) >> 1, b); in blue_contract()
433 endpoints[0] = SkColorSetARGB(v6, v[0], v[2], v[4]); in decode_rgba_direct()
434 endpoints[1] = SkColorSetARGB(v7, v[1], v[3], v[5]); in decode_rgba_direct()
456 endpoints[0] = SkColorSetARGB(v4, in decode_rgba_basescale()
460 endpoints[1] = SkColorSetARGB(v5, v[0], v[1], v[2]); in decode_rgba_basescale()
512 endpoints[0] = SkColorSetARGB(clamp_byte(c[0][0]), in decode_rgba_baseoffset()
517 endpoints[1] = SkColorSetARGB(clamp_byte(c[1][0]), in decode_rgba_baseoffset()
1016 return SkColorSetARGB( in interpolate_endpoints()
1065 return SkColorSetARGB(a, r, g, b); in interpolate_dual_endpoints()
1238 endpoints[i][0] = SkColorSetARGB(0xFF, v[0], v[0], v[0]); in colorEndpoints()
[all …]
/external/skia/src/animator/
DSkDrawColor.cpp88 return SkColorSetARGB(SkColorGetA(color), SkScalarRoundToInt(red), in HSV_to_RGB()
230 color = SkColorSetARGB(alpha, SkColorGetR(color), in setProperty()
235 color = SkColorSetARGB(SkColorGetA(color), SkColorGetR(color), in setProperty()
240 color = SkColorSetARGB(SkColorGetA(color), SkColorGetR(color), in setProperty()
249 color = SkColorSetARGB(SkColorGetA(color), SkToU8((U8CPU) scalar), in setProperty()
/external/skia/src/core/
DSkColor.cpp91 return SkColorSetARGB(a, v, v, v); in SkHSVToColor()
112 return SkColorSetARGB(a, r, g, b); in SkHSVToColor()
DSkUnPreMultiply.cpp14 return SkColorSetARGB(a, in PMColorToColor()
/external/skia/samplecode/
DSampleShaders.cpp34 colors[1] = SkColorSetARGB(0, 0, 0, 0); in make_bitmapfade()
70 colors[1] = SkColorSetARGB(0x80, 0, 0, 0); in ShaderView()
DSamplePatch.cpp125 return SkColorSetARGB(0xFF, cs, 0, 0) + SkColorSetARGB(0, 0, ct, 0); in make_color()
/external/skia/bench/
DPremulAndUnpremulAlphaOpsBench.cpp39 *fBmp1.getAddr32(w, h) = SkColorSetARGB(h & 0xFF, w & 0xFF, w & 0xFF, w & 0xFF); in onPreDraw()
DColorCubeBench.cpp90 SkColorSetARGB(0xFF, lut[r], lut[g], lut[b]); in makeCubeData()
/external/skia/src/gpu/
DGrSWMaskHelper.h72 fBM.eraseColor(SkColorSetARGB(alpha, alpha, alpha, alpha)); in clear()
DGrSWMaskHelper.cpp114 paint.setColor(SkColorSetARGB(alpha, alpha, alpha, alpha)); in draw()
156 paint.setColor(SkColorSetARGB(alpha, alpha, alpha, alpha)); in draw()
/external/skia/src/effects/
DSkAlphaThresholdFilter.cpp358 output_color = SkColorSetARGB(innerThreshold, in onFilterImage()
366 output_color = SkColorSetARGB(outerThreshold, in onFilterImage()
/external/skia/experimental/PdfViewer/
Dchop_transparency_main.cpp86 color = SkColorSetARGB((U8CPU)a, (U8CPU)r, (U8CPU)g, (U8CPU)b); in write_bitmap()
/external/skia/src/images/
DSkMovie_gif.cpp395 bgColor = SkColorSetARGB(0xFF, col.Red, col.Green, col.Blue); in onGetBitmap()
409 paintingColor = SkColorSetARGB(0, 0, 0, 0); in onGetBitmap()

12