Home
last modified time | relevance | path

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

12

/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_Atop.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcATop); in draw()
DDst_Over.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kDstOver); in draw()
DSrc_In.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcIn); in draw()
DSrc_Out.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcOut); in draw()
DDst_In.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kDstIn); in draw()
DOverlay.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kOverlay); in draw()
DScreen.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kScreen); in draw()
DSrc_Over.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcOver); in draw()
DDst_Out.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kDstOut); in draw()
DSrc_Atop.cpp20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcATop); in draw()
/external/skia/gm/
Dlumafilter.cpp69 paint.setColor(s1 ? SK_ColorBLACK : SkColorSetA(kColor1, 0x80)); in draw_scene()
86 paint.setColor(s2 ? SK_ColorBLACK : SkColorSetA(kColor2, 0x80)); in draw_scene()
104 SkColor g1Colors[] = { kColor1, SkColorSetA(kColor1, 0x20) }; in onOnceBeforeDraw()
105 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()
Dpatheffects.cpp387 paint.setColor(SkColorSetA(SK_ColorBLUE, 0xff)); in onDraw()
401 paint.setColor(SkColorSetA(SK_ColorGREEN, 0xff)); in onDraw()
/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()
DDropShadowEffect.cpp57 fDropShadow->setColor(SkColorSetA(color, SkTPin(SkScalarRoundToInt(fOpacity), 0, 255))); in onSync()
/external/skia/modules/svg/src/
DSkSVGFeFlood.cpp24 return SkColorSetA(color, SkScalarRoundToInt(*floodOpacity * 255)); in resolveFloodColor()
/external/skia/modules/skottie/src/text/
DTextAnimator.cpp163 modulated_props.fill_color = SkColorSetA(modulated_props.fill_color, in modulateProps()
171 modulated_props.stroke_color = SkColorSetA(modulated_props.stroke_color, in modulateProps()
/external/skia/src/core/
DSkPixmap.cpp196 return SkColorSetA(0, *this->addr8(x, y)); in getColor()
200 return SkColorSetA(0, value * (255 / 65535.0f)); in getColor()
204 return SkColorSetA(0, 255 * SkHalfToFloat(value)); in getColor()
/external/skia/tests/
DColorFilterTest.cpp68 color = SkColorSetA(color, 0x7F); in DEF_TEST()

12