/external/skqp/include/core/ |
D | SkColor.h | 55 static constexpr inline SkColor SkColorSetARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b) { in SkColorSetARGB() function 63 #define SkColorSetRGB(r, g, b) SkColorSetARGB(0xFF, r, g, b) 105 constexpr SkColor SK_ColorTRANSPARENT = SkColorSetARGB(0x00, 0x00, 0x00, 0x00); 109 constexpr SkColor SK_ColorBLACK = SkColorSetARGB(0xFF, 0x00, 0x00, 0x00); 114 constexpr SkColor SK_ColorDKGRAY = SkColorSetARGB(0xFF, 0x44, 0x44, 0x44); 119 constexpr SkColor SK_ColorGRAY = SkColorSetARGB(0xFF, 0x88, 0x88, 0x88); 124 constexpr SkColor SK_ColorLTGRAY = SkColorSetARGB(0xFF, 0xCC, 0xCC, 0xCC); 128 constexpr SkColor SK_ColorWHITE = SkColorSetARGB(0xFF, 0xFF, 0xFF, 0xFF); 132 constexpr SkColor SK_ColorRED = SkColorSetARGB(0xFF, 0xFF, 0x00, 0x00); 137 constexpr SkColor SK_ColorGREEN = SkColorSetARGB(0xFF, 0x00, 0xFF, 0x00); [all …]
|
/external/skia/include/core/ |
D | SkColor.h | 55 static constexpr inline SkColor SkColorSetARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b) { in SkColorSetARGB() function 63 #define SkColorSetRGB(r, g, b) SkColorSetARGB(0xFF, r, g, b) 105 constexpr SkColor SK_ColorTRANSPARENT = SkColorSetARGB(0x00, 0x00, 0x00, 0x00); 109 constexpr SkColor SK_ColorBLACK = SkColorSetARGB(0xFF, 0x00, 0x00, 0x00); 114 constexpr SkColor SK_ColorDKGRAY = SkColorSetARGB(0xFF, 0x44, 0x44, 0x44); 119 constexpr SkColor SK_ColorGRAY = SkColorSetARGB(0xFF, 0x88, 0x88, 0x88); 124 constexpr SkColor SK_ColorLTGRAY = SkColorSetARGB(0xFF, 0xCC, 0xCC, 0xCC); 128 constexpr SkColor SK_ColorWHITE = SkColorSetARGB(0xFF, 0xFF, 0xFF, 0xFF); 132 constexpr SkColor SK_ColorRED = SkColorSetARGB(0xFF, 0xFF, 0x00, 0x00); 137 constexpr SkColor SK_ColorGREEN = SkColorSetARGB(0xFF, 0x00, 0xFF, 0x00); [all …]
|
/external/skqp/tests/ |
D | ShaderOpacityTest.cpp | 60 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient() 61 colors[1] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient() 67 colors[0] = SkColorSetARGB(0, 0, 0, 0); in test_gradient() 68 colors[1] = SkColorSetARGB(0, 0, 0, 0); in test_gradient() 74 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient() 75 colors[1] = SkColorSetARGB(0x40, 0, 0, 0); in test_gradient() 81 colors[0] = SkColorSetARGB(0x40, 0, 0, 0); in test_gradient() 82 colors[1] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient() 89 SkColorShader colorShader1(SkColorSetARGB(0,0,0,0)); in test_color() 91 SkColorShader colorShader2(SkColorSetARGB(0xFF,0,0,0)); in test_color() [all …]
|
/external/skia/tests/ |
D | ShaderOpacityTest.cpp | 60 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient() 61 colors[1] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient() 67 colors[0] = SkColorSetARGB(0, 0, 0, 0); in test_gradient() 68 colors[1] = SkColorSetARGB(0, 0, 0, 0); in test_gradient() 74 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient() 75 colors[1] = SkColorSetARGB(0x40, 0, 0, 0); in test_gradient() 81 colors[0] = SkColorSetARGB(0x40, 0, 0, 0); in test_gradient() 82 colors[1] = SkColorSetARGB(0xFF, 0, 0, 0); in test_gradient() 89 SkColorShader colorShader1(SkColorSetARGB(0,0,0,0)); in test_color() 91 SkColorShader colorShader2(SkColorSetARGB(0xFF,0,0,0)); in test_color() [all …]
|
/external/skqp/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 | androidblendmodes.cpp | 113 static const SkColor kBlue = SkColorSetARGB(255, 22, 150, 243); 114 static const SkColor kRed = SkColorSetARGB(255, 233, 30, 99); 115 static const SkColor kWhite = SkColorSetARGB(255, 243, 243, 243); 116 static const SkColor kGrey = SkColorSetARGB(255, 222, 222, 222);
|
D | shadowutils.cpp | 18 SkColor ambientColor = SkColorSetARGB(ambientAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow() 20 SkColor spotColor = SkColorSetARGB(spotAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow() 108 SkColor ambientColor = SkColorSetARGB(0.1f * 255, 0, 0, 0); in draw_paths() 109 SkColor spotColor = SkColorSetARGB(0.25f * 255, 0, 0, 0); in draw_paths() 165 SkColor ambientColor = SkColorSetARGB(0.1f * 255, 0, 0, 0); in draw_paths() 166 SkColor spotColor = SkColorSetARGB(0.25f * 255, 0, 0, 0); in draw_paths()
|
D | highcontrastfilter.cpp | 18 static SkColor kColor1 = SkColorSetARGB(0xff, 0xff, 0xff, 0); 19 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);
|
/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 | 60 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() 150 SkColor shapeColor = SkColorSetARGB(255, 0, 255, 0); 184 SkColorSetARGB(255, 0, kDetectorGreenValue, 0), 185 SkColorSetARGB(255, 0, (kDetectorGreenValue + 1), 0) // This tests that detectors work.
|
D | androidblendmodes.cpp | 113 static const SkColor kBlue = SkColorSetARGB(255, 22, 150, 243); 114 static const SkColor kRed = SkColorSetARGB(255, 233, 30, 99); 115 static const SkColor kWhite = SkColorSetARGB(255, 243, 243, 243); 116 static const SkColor kGrey = SkColorSetARGB(255, 222, 222, 222);
|
D | shadowutils.cpp | 18 SkColor ambientColor = SkColorSetARGB(ambientAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow() 20 SkColor spotColor = SkColorSetARGB(spotAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow() 108 SkColor ambientColor = SkColorSetARGB(0.1f * 255, 0, 0, 0); in draw_paths() 109 SkColor spotColor = SkColorSetARGB(0.25f * 255, 0, 0, 0); in draw_paths() 165 SkColor ambientColor = SkColorSetARGB(0.1f * 255, 0, 0, 0); in draw_paths() 166 SkColor spotColor = SkColorSetARGB(0.25f * 255, 0, 0, 0); in draw_paths()
|
D | highcontrastfilter.cpp | 18 static SkColor kColor1 = SkColorSetARGB(0xff, 0xff, 0xff, 0); 19 static SkColor kColor2 = SkColorSetARGB(0xff, 0x82, 0xff, 0);
|
/external/skqp/samplecode/ |
D | SampleShadowColor.cpp | 115 SkColor ambientColor = SkColorSetARGB(ambientAlpha*255, 0, 0, 0); in drawShadowedPath() 130 SkColor spotColor = SkColorSetARGB(alpha*SkColorGetA(color), SkColorGetR(color), in drawShadowedPath() 138 SkColor spotGreyscale = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath() 144 SkColor baseAmbient = SkColorSetARGB(ambientAlpha*SkColorGetA(color), in drawShadowedPath() 147 SkColor baseSpot = SkColorSetARGB(spotAlpha*SkColorGetA(color), in drawShadowedPath()
|
D | SampleShaders.cpp | 29 colors[1] = SkColorSetARGB(0, 0, 0, 0); in make_bitmapfade() 58 colors[1] = SkColorSetARGB(0x80, 0, 0, 0); in ShaderView()
|
/external/skia/samplecode/ |
D | SampleShadowColor.cpp | 115 SkColor ambientColor = SkColorSetARGB(ambientAlpha*255, 0, 0, 0); in drawShadowedPath() 130 SkColor spotColor = SkColorSetARGB(alpha*SkColorGetA(color), SkColorGetR(color), in drawShadowedPath() 138 SkColor spotGreyscale = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath() 144 SkColor baseAmbient = SkColorSetARGB(ambientAlpha*SkColorGetA(color), in drawShadowedPath() 147 SkColor baseSpot = SkColorSetARGB(spotAlpha*SkColorGetA(color), in drawShadowedPath()
|
D | SampleShaders.cpp | 29 colors[1] = SkColorSetARGB(0, 0, 0, 0); in make_bitmapfade() 58 colors[1] = SkColorSetARGB(0x80, 0, 0, 0); in ShaderView()
|
/external/skia/site/user/api/ |
D | SkColor_Reference.md | 9 …or_Reference#SkColor'>SkColor</a> <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(<a… 10 …etRGB'>SkColorSetRGB</a>(r, g, b) <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… 19 …PARENT'>SK_ColorTRANSPARENT</a> = <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… 20 …K_ColorBLACK'>SK_ColorBLACK</a> = <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… 21 …ColorDKGRAY'>SK_ColorDKGRAY</a> = <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… 22 …#SK_ColorGRAY'>SK_ColorGRAY</a> = <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… 23 …ColorLTGRAY'>SK_ColorLTGRAY</a> = <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… 24 …K_ColorWHITE'>SK_ColorWHITE</a> = <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… 25 …ce#SK_ColorRED'>SK_ColorRED</a> = <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… 26 …K_ColorGREEN'>SK_ColorGREEN</a> = <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… [all …]
|
/external/skqp/site/user/api/ |
D | SkColor_Reference.md | 9 …or_Reference#SkColor'>SkColor</a> <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(<a… 10 …etRGB'>SkColorSetRGB</a>(r, g, b) <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… 19 …PARENT'>SK_ColorTRANSPARENT</a> = <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… 20 …K_ColorBLACK'>SK_ColorBLACK</a> = <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… 21 …ColorDKGRAY'>SK_ColorDKGRAY</a> = <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… 22 …#SK_ColorGRAY'>SK_ColorGRAY</a> = <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… 23 …ColorLTGRAY'>SK_ColorLTGRAY</a> = <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… 24 …K_ColorWHITE'>SK_ColorWHITE</a> = <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… 25 …ce#SK_ColorRED'>SK_ColorRED</a> = <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… 26 …K_ColorGREEN'>SK_ColorGREEN</a> = <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB</a>(0x… [all …]
|
/external/skqp/src/gpu/ |
D | GrSWMaskHelper.cpp | 42 paint.setColor(SkColorSetARGB(alpha, alpha, alpha, alpha)); in drawRect() 72 paint.setColor(SkColorSetARGB(alpha, alpha, alpha, alpha)); in drawShape()
|
/external/skia/src/gpu/ |
D | GrSWMaskHelper.cpp | 42 paint.setColor(SkColorSetARGB(alpha, alpha, alpha, alpha)); in drawRect() 72 paint.setColor(SkColorSetARGB(alpha, alpha, alpha, alpha)); in drawShape()
|
/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()
|
/external/skqp/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()
|