Home
last modified time | relevance | path

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

123

/external/skia/docs/examples/
DXor.cpp10 SkColor colors[] = { color, SkColorSetA(color, 192), SkColorSetA(color, 128), in draw()
11 SkColorSetA(color, 0) }; in draw()
DPlus.cpp11 SkColor colors[] = { color, SkColorSetA(color, 192), SkColorSetA(color, 128), in draw()
12 SkColorSetA(color, 0) }; in draw()
DSrc.cpp14 transRed.setColor(SkColorSetA(SK_ColorRED, 127)); in draw()
DColorSetA.cpp12 paint.setColor(SkColorSetA(color, x + y)); in draw()
DCanvas_drawOval.cpp9 SkColor g1Colors[] = { kColor1, SkColorSetA(kColor1, 0x20) }; in draw()
DClear.cpp11 SkColor colors[] = { color, SkColorSetA(color, 0) }; in draw()
DDst_Over.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kDstOver); in draw()
DScreen.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kScreen); in draw()
DSrc_Atop.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcATop); in draw()
DSrc_Out.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcOut); in draw()
DDst_Out.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kDstOut); in draw()
DSrc_In.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcIn); in draw()
DOverlay.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kOverlay); in draw()
DDst_Atop.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcATop); in draw()
DDst_In.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kDstIn); in draw()
DSrc_Over.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcOver); in draw()
/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()
/external/skia/gm/
Dlumafilter.cpp67 paint.setColor(s1 ? SK_ColorBLACK : SkColorSetA(kColor1, 0x80)); in draw_scene()
84 paint.setColor(s2 ? SK_ColorBLACK : SkColorSetA(kColor2, 0x80)); in draw_scene()
102 SkColor g1Colors[] = { kColor1, SkColorSetA(kColor1, 0x20) }; in onOnceBeforeDraw()
103 SkColor g2Colors[] = { kColor2, SkColorSetA(kColor2, 0x20) }; in onOnceBeforeDraw()
Dhighcontrastfilter.cpp109 SkColor g1Colors[] = { kColor1, SkColorSetA(kColor1, 0x20) }; in onOnceBeforeDraw()
110 SkColor g2Colors[] = { kColor2, SkColorSetA(kColor2, 0x20) }; in onOnceBeforeDraw()
/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/modules/skottie/src/effects/
DVenetianBlindsEffect.cpp120 const SkColor c01 = SkColorSetA(SK_ColorWHITE, SkScalarRoundToInt(g01 * 0xff)), in onMakeMask()
121 c23 = SkColorSetA(SK_ColorWHITE, SkScalarRoundToInt(g23 * 0xff)), in onMakeMask()
DFillEffect.cpp61 fColorNode->setColor(SkColorSetA(c, a)); in onSync()
/external/skia/modules/svg/src/
DSkSVGFeFlood.cpp24 return SkColorSetA(color, SkScalarRoundToInt(*floodOpacity * 255)); in resolveFloodColor()
/external/skqp/modules/skottie/src/
DSkottieLayerEffect.cpp59 color_node->setColor(SkColorSetA(c, a)); in AttachFillLayerEffect()

123