/external/skia/docs/examples/ |
D | Color_Constants_a.cpp | 16 {"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 …]
|
D | Canvas_writePixels_2.cpp | 14 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()
|
D | skpaint_skia.cpp | 11 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()
|
D | ColorSetRGB.cpp | 9 canvas->drawColor(SkColorSetRGB(0x00, 0xFF, 0x00)); in draw() 11 canvas->drawColor(SkColorSetRGB(0x00, 0x00, 0xFF)); in draw()
|
D | shader.cpp | 20 SkColor colors[2] = {SkColorSetRGB(66, 133, 244), SkColorSetRGB(15, 157, 88)}; in draw()
|
D | not_path_gradient.cpp | 22 SkColor colors[2] = {SkColorSetRGB(0xEA, 0xD2, 0xAC), SkColorSetRGB(0x42, 0x81, 0xA4)}; in draw()
|
D | UnicornPoop.cpp | 14 p.setColor(SkColorSetRGB(r, g, b)); in draw()
|
D | skpaint_blur_mask_filter_2.cpp | 7 const SkColor blurColor = SkColorSetRGB(96, 96, 0); in draw()
|
D | Octopus_Generator.cpp | 15 paint.setColor(SkColorSetRGB(std::min(255u, SkColorGetR(color) + 20), in paintOctopus()
|
/external/skia/tests/ |
D | BlendTest.cpp | 143 black_paint.setColor(SkColorSetRGB(0xFF, 0xFF, 0x80)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 149 white_paint.setColor(SkColorSetRGB(0x80, 0xFF, 0xFF)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 163 SkColorSetRGB(0xFF, 0xFF, 0x80)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 165 SkColorSetRGB(0x80, 0xFF, 0x80)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | HSVRoundTripTest.cpp | 17 SkColor color = SkColorSetRGB(r, g, b); in DEF_TEST()
|
/external/skqp/tests/ |
D | BlendTest.cpp | 177 black_paint.setColor(SkColorSetRGB(0xFF, 0xFF, 0x80)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 183 white_paint.setColor(SkColorSetRGB(0x80, 0xFF, 0xFF)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 197 SkColorSetRGB(0xFF, 0xFF, 0x80)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 199 SkColorSetRGB(0x80, 0xFF, 0x80)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | HSVRoundTripTest.cpp | 17 SkColor color = SkColorSetRGB(r, g, b); in DEF_TEST()
|
/external/skqp/gm/ |
D | repeated_bitmap.cpp | 14 sk_tool_utils::draw_checkerboard(canvas, SkColorSetRGB(156, 154, 156), in draw_rotated_image() 21 paint.setColor(SkColorSetRGB(49, 48, 49)); in draw_rotated_image()
|
D | aaclip.cpp | 79 borderPaint.setColor(SkColorSetRGB(0x0, 0xDD, 0x0)); in draw() 82 backgroundPaint.setColor(SkColorSetRGB(0xDD, 0x0, 0x0)); in draw() 85 foregroundPaint.setColor(SkColorSetRGB(0x0, 0x0, 0xDD)); in draw()
|
D | gm.cpp | 126 paint.setColor(SkColorSetRGB(27, 158, 119)); in MarkGMGood() 146 paint.setColor(SkColorSetRGB(231, 41, 138)); in MarkGMBad()
|
D | complexclip2.cpp | 44 this->setBGColor(SkColorSetRGB(0xDD,0xA0,0xDD)); in onOnceBeforeDraw() 146 fillPaint.setColor(SkColorSetRGB(0xA0,0xDD,0xA0)); in onDraw()
|
D | coloremoji.cpp | 49 return SkColorMatrixFilter::MakeLightingFilter(SkColorSetRGB(0x00, 0x80, 0xFF), in make_color_filter() 50 SkColorSetRGB(0xFF, 0x20, 0x00)); in make_color_filter()
|
/external/skia/gm/ |
D | repeated_bitmap.cpp | 23 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()
|
D | aaclip.cpp | 29 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()
|
D | postercircle.cpp | 61 fillPaint.setColor(i % 2 == 0 ? SkColorSetRGB(0x99, 0x5C, 0x7F) in onOnceBeforeDraw() 62 : SkColorSetRGB(0x83, 0x5A, 0x99)); in onOnceBeforeDraw()
|
D | gm.cpp | 43 canvas->drawColor(SkColorSetRGB(200,0,0)); in draw_failure_message() 230 canvas->drawCircle(0, 0, 12, SkPaint(SkColor4f::FromColor(SkColorSetRGB(27, 158, 119)))); in MarkGMGood() 247 canvas->drawCircle(0,0, 12, SkPaint(SkColor4f::FromColor(SkColorSetRGB(231, 41, 138)))); in MarkGMBad()
|
D | coloremoji.cpp | 63 return SkColorMatrixFilter::MakeLightingFilter(SkColorSetRGB(0x00, 0x80, 0xFF), in make_color_filter() 64 SkColorSetRGB(0xFF, 0x20, 0x00)); in make_color_filter()
|
D | complexclip2.cpp | 51 this->setBGColor(SkColorSetRGB(0xDD,0xA0,0xDD)); in onOnceBeforeDraw() 149 fillPaint.setColor(SkColorSetRGB(0xA0,0xDD,0xA0)); in onDraw()
|
/external/skqp/docs/ |
D | SkColor_Reference.bmh | 92 #SeeAlso SkColorSetRGB SkPaint::setARGB SkPaint::setColor SkColorSetA 98 #Define SkColorSetRGB 117 canvas->drawColor(SkColorSetRGB(0x00, 0xFF, 0x00)); 119 canvas->drawColor(SkColorSetRGB(0x00, 0x00, 0xFF)); 448 {"black", SkColorSetRGB( 0, 0, 0), SKIA_COLOR_PAIR(BLACK) }, 449 {"darkgray", SkColorSetRGB(169, 169, 169), SKIA_COLOR_PAIR(DKGRAY) }, 450 {"gray", SkColorSetRGB(128, 128, 128), SKIA_COLOR_PAIR(GRAY) }, 451 {"lightgray", SkColorSetRGB(211, 211, 211), SKIA_COLOR_PAIR(LTGRAY) }, 452 {"white", SkColorSetRGB(255, 255, 255), SKIA_COLOR_PAIR(WHITE) }, 453 {"red", SkColorSetRGB(255, 0, 0), SKIA_COLOR_PAIR(RED) }, [all …]
|