Home
last modified time | relevance | path

Searched refs:SkColorSetA (Results 1 – 25 of 41) sorted by relevance

12

/external/skqp/gm/
Dlumafilter.cpp48 paint.setColor(s1 ? SK_ColorBLACK : SkColorSetA(kColor1, 0x80)); in draw_scene()
65 paint.setColor(s2 ? SK_ColorBLACK : SkColorSetA(kColor2, 0x80)); in draw_scene()
83 SkColor g1Colors[] = { kColor1, SkColorSetA(kColor1, 0x20) }; in LumaFilterGM()
84 SkColor g2Colors[] = { kColor2, SkColorSetA(kColor2, 0x20) }; in LumaFilterGM()
Dhighcontrastfilter.cpp92 SkColor g1Colors[] = { kColor1, SkColorSetA(kColor1, 0x20) }; in HighContrastFilterGM()
93 SkColor g2Colors[] = { kColor2, SkColorSetA(kColor2, 0x20) }; in HighContrastFilterGM()
Dgammatext.cpp95 colors[1] = SkColorSetA(c, 0);
Ddstreadshuffle.cpp96 return SkColorSetA(color, 0x80); in GetColor()
/external/skia/gm/
Dlumafilter.cpp48 paint.setColor(s1 ? SK_ColorBLACK : SkColorSetA(kColor1, 0x80)); in draw_scene()
65 paint.setColor(s2 ? SK_ColorBLACK : SkColorSetA(kColor2, 0x80)); in draw_scene()
83 SkColor g1Colors[] = { kColor1, SkColorSetA(kColor1, 0x20) }; in LumaFilterGM()
84 SkColor g2Colors[] = { kColor2, SkColorSetA(kColor2, 0x20) }; in LumaFilterGM()
Dhighcontrastfilter.cpp92 SkColor g1Colors[] = { kColor1, SkColorSetA(kColor1, 0x20) }; in HighContrastFilterGM()
93 SkColor g2Colors[] = { kColor2, SkColorSetA(kColor2, 0x20) }; in HighContrastFilterGM()
Dgammatext.cpp93 colors[1] = SkColorSetA(c, 0);
Ddstreadshuffle.cpp96 return SkColorSetA(color, 0x80); in GetColor()
/external/skqp/docs/
DSkBlendMode_Reference.bmh244 SkColor colors[] = { color, SkColorSetA(color, 0) };
275 transRed.setColor(SkColorSetA(SK_ColorRED, 127));
323 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcOver);
347 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kDstOver);
371 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcIn);
396 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kDstIn);
421 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcOut);
447 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kDstOut);
472 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcATop);
496 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcATop);
[all …]
/external/skia/docs/
DSkBlendMode_Reference.bmh244 SkColor colors[] = { color, SkColorSetA(color, 0) };
275 transRed.setColor(SkColorSetA(SK_ColorRED, 127));
323 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcOver);
347 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kDstOver);
371 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcIn);
396 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kDstIn);
421 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcOut);
447 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kDstOut);
472 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcATop);
496 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcATop);
[all …]
/external/skqp/modules/skottie/src/
DSkottieLayerEffect.cpp59 color_node->setColor(SkColorSetA(c, a)); in AttachFillLayerEffect()
/external/skia/tests/
DColorFilterTest.cpp66 color = SkColorSetA(color, 0x7F); in DEF_TEST()
/external/skqp/tests/
DColorFilterTest.cpp66 color = SkColorSetA(color, 0x7F); in DEF_TEST()
/external/skia/experimental/svg/model/
DSkSVGGradient.cpp60 colors->push_back(SkColorSetA(stop.stopColor(), in collectColorStops()
/external/skqp/experimental/svg/model/
DSkSVGGradient.cpp60 colors->push_back(SkColorSetA(stop.stopColor(), in collectColorStops()
/external/skqp/include/core/
DSkColor.h88 static constexpr inline SkColor SkColorSetA(SkColor c, U8CPU a) { in SkColorSetA() function
/external/skia/include/core/
DSkColor.h88 static constexpr inline SkColor SkColorSetA(SkColor c, U8CPU a) { in SkColorSetA() function
/external/skia/src/core/
DSkRecordOpts.cpp127 if (SK_ColorTRANSPARENT != SkColorSetA(layerColor, SK_AlphaTRANSPARENT)) { in fold_opacity_layer_color_to_paint()
DSkPicturePlayback.cpp482 rec.fAmbientColor = SkColorSetA(color, SkColorGetA(color)*ambientAlpha); in handleOp()
483 rec.fSpotColor = SkColorSetA(color, SkColorGetA(color)*spotAlpha); in handleOp()
/external/skqp/src/core/
DSkRecordOpts.cpp127 if (SK_ColorTRANSPARENT != SkColorSetA(layerColor, SK_AlphaTRANSPARENT)) { in fold_opacity_layer_color_to_paint()
DSkPicturePlayback.cpp474 rec.fAmbientColor = SkColorSetA(color, SkColorGetA(color)*ambientAlpha); in handleOp()
475 rec.fSpotColor = SkColorSetA(color, SkColorGetA(color)*spotAlpha); in handleOp()
/external/skqp/src/shaders/
DSkShader.cpp73 *colorPtr = SkColorSetA(*colorPtr, 0xFF); // we only return opaque in asLuminanceColor()
/external/skia/src/shaders/
DSkShader.cpp74 *colorPtr = SkColorSetA(*colorPtr, 0xFF); // we only return opaque in asLuminanceColor()
/external/skia/site/user/api/
DSkColor_Reference.md16 …Color_Reference#SkColor'>SkColor</a> <a href='SkColor_Reference#SkColorSetA'>SkColorSetA</a>(<a hr…
136 …>::<a href='#SkPaint_setColor'>setColor</a> <a href='SkColor_Reference#SkColorSetA'>SkColorSetA</a>
291 <a name='SkColorSetA'></a>
296 …Color_Reference#SkColor'>SkColor</a> <a href='SkColor_Reference#SkColorSetA'>SkColorSetA</a>(<a hr…
/external/skqp/site/user/api/
DSkColor_Reference.md16 …Color_Reference#SkColor'>SkColor</a> <a href='SkColor_Reference#SkColorSetA'>SkColorSetA</a>(<a hr…
136 …>::<a href='#SkPaint_setColor'>setColor</a> <a href='SkColor_Reference#SkColorSetA'>SkColorSetA</a>
291 <a name='SkColorSetA'></a>
296 …Color_Reference#SkColor'>SkColor</a> <a href='SkColor_Reference#SkColorSetA'>SkColorSetA</a>(<a hr…

12