Home
last modified time | relevance | path

Searched refs:SkColorSetRGB (Results 1 – 25 of 33) sorted by relevance

12

/external/skia/docs/examples/
DColor_Constants_a.cpp16 {"black", SkColorSetRGB( 0, 0, 0), SKIA_COLOR_PAIR(BLACK) },
17 {"darkgray", SkColorSetRGB(169, 169, 169), SKIA_COLOR_PAIR(DKGRAY) },
18 {"gray", SkColorSetRGB(128, 128, 128), SKIA_COLOR_PAIR(GRAY) },
19 {"lightgray", SkColorSetRGB(211, 211, 211), SKIA_COLOR_PAIR(LTGRAY) },
20 {"white", SkColorSetRGB(255, 255, 255), SKIA_COLOR_PAIR(WHITE) },
21 {"red", SkColorSetRGB(255, 0, 0), SKIA_COLOR_PAIR(RED) },
22 {"green", SkColorSetRGB( 0, 128, 0), SKIA_COLOR_PAIR(GREEN) },
23 {"blue", SkColorSetRGB( 0, 0, 255), SKIA_COLOR_PAIR(BLUE) },
24 {"yellow", SkColorSetRGB(255, 255, 0), SKIA_COLOR_PAIR(YELLOW) },
25 {"aqua", SkColorSetRGB( 0, 255, 255), SKIA_COLOR_PAIR(CYAN) },
[all …]
DCanvas_writePixels_2.cpp14 pixels[0] = SkColorSetRGB(x, y, x | y); in draw()
15 pixels[1] = SkColorSetRGB(x ^ y, y, x); in draw()
16 pixels[2] = SkColorSetRGB(x, x & y, y); in draw()
17 pixels[3] = SkColorSetRGB((~x) & 0xFF, (~y) & 0xFF, x); in draw()
Dskpaint_skia.cpp11 paint1.setColor(SkColorSetRGB(255, 0, 0)); in draw()
15 paint2.setColor(SkColorSetRGB(0, 136, 0)); in draw()
20 paint3.setColor(SkColorSetRGB(136, 136, 136)); in draw()
DColorSetRGB.cpp9 canvas->drawColor(SkColorSetRGB(0x00, 0xFF, 0x00)); in draw()
11 canvas->drawColor(SkColorSetRGB(0x00, 0x00, 0xFF)); in draw()
Dshader.cpp20 SkColor colors[2] = {SkColorSetRGB(66, 133, 244), SkColorSetRGB(15, 157, 88)}; in draw()
Dnot_path_gradient.cpp22 SkColor colors[2] = {SkColorSetRGB(0xEA, 0xD2, 0xAC), SkColorSetRGB(0x42, 0x81, 0xA4)}; in draw()
DUnicornPoop.cpp14 p.setColor(SkColorSetRGB(r, g, b)); in draw()
Dskpaint_blur_mask_filter_2.cpp7 const SkColor blurColor = SkColorSetRGB(96, 96, 0); in draw()
DOctopus_Generator.cpp18 paint.setColor(SkColorSetRGB(std::min(255u, SkColorGetR(color) + 20), in paintOctopus()
DOctopus_Generator_Animated.cpp18 paint.setColor(SkColorSetRGB(std::min(255u, SkColorGetR(color) + 20), in paintOctopus()
/external/skia/tests/
DBlendTest.cpp151 black_paint.setColor(SkColorSetRGB(0xFF, 0xFF, 0x80)); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS()
157 white_paint.setColor(SkColorSetRGB(0x80, 0xFF, 0xFF)); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS()
171 SkColorSetRGB(0xFF, 0xFF, 0x80)); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS()
173 SkColorSetRGB(0x80, 0xFF, 0x80)); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS()
DHSVRoundTripTest.cpp19 SkColor color = SkColorSetRGB(r, g, b); in DEF_TEST()
/external/skia/gm/
Drepeated_bitmap.cpp23 ToolUtils::draw_checkerboard(canvas, SkColorSetRGB(156, 154, 156), SK_ColorWHITE, 12); in draw_rotated_image()
30 paint.setColor(SkColorSetRGB(49, 48, 49)); in draw_rotated_image()
Daaclip.cpp29 borderPaint.setColor(SkColorSetRGB(0x0, 0xDD, 0x0)); in draw()
32 backgroundPaint.setColor(SkColorSetRGB(0xDD, 0x0, 0x0)); in draw()
35 foregroundPaint.setColor(SkColorSetRGB(0x0, 0x0, 0xDD)); in draw()
Dpostercircle.cpp60 fillPaint.setColor(i % 2 == 0 ? SkColorSetRGB(0x99, 0x5C, 0x7F) in onOnceBeforeDraw()
61 : SkColorSetRGB(0x83, 0x5A, 0x99)); in onOnceBeforeDraw()
Dgm.cpp41 canvas->drawColor(SkColorSetRGB(200,0,0)); in draw_failure_message()
225 canvas->drawCircle(0, 0, 12, SkPaint(SkColor4f::FromColor(SkColorSetRGB(27, 158, 119)))); in MarkGMGood()
242 canvas->drawCircle(0,0, 12, SkPaint(SkColor4f::FromColor(SkColorSetRGB(231, 41, 138)))); in MarkGMBad()
Dcoloremoji.cpp62 return SkColorFilters::Lighting(SkColorSetRGB(0x00, 0x80, 0xFF), in make_color_filter()
63 SkColorSetRGB(0xFF, 0x20, 0x00)); in make_color_filter()
Dcomplexclip2.cpp50 this->setBGColor(SkColorSetRGB(0xDD,0xA0,0xDD)); in onOnceBeforeDraw()
148 fillPaint.setColor(SkColorSetRGB(0xA0,0xDD,0xA0)); in onDraw()
Dsurface.cpp43 SkColor colors[] = { SkColorSetRGB(a, a, a), SkColorSetRGB(b, b, b) }; in make_shader()
/external/skia/src/utils/
DSkParseColor.cpp320 *color = SkColorSetRGB(gColors[index].r, gColors[index].g, gColors[index].b); in FindNamedColor()
/external/skia/bench/
DTileBench.cpp22 *bm->getAddr32(0, y) = SkColorSetRGB(0, 0, (U8CPU) blue); in create_gradient()
/external/skia/src/core/
DSkMaskGamma.h124 return SkColorSetRGB( in CanonicalColor()
DSkPaintPriv.cpp95 c = SkColorSetRGB(0x7F, 0x80, 0x7F); in ComputeLuminanceColor()
DSkPixmap.cpp189 return SkColorSetRGB(value, value, value); in getColor()
193 return SkColorSetRGB(value, 0, 0); in getColor()
/external/skia/include/core/
DSkColor.h57 #define SkColorSetRGB(r, g, b) SkColorSetARGB(0xFF, r, g, b) macro

12