/external/skia/docs/examples/ |
D | Xor.cpp | 10 SkColor colors[] = { color, SkColorSetA(color, 192), SkColorSetA(color, 128), in draw() 11 SkColorSetA(color, 0) }; in draw()
|
D | Plus.cpp | 11 SkColor colors[] = { color, SkColorSetA(color, 192), SkColorSetA(color, 128), in draw() 12 SkColorSetA(color, 0) }; in draw()
|
D | Src.cpp | 14 transRed.setColor(SkColorSetA(SK_ColorRED, 127)); in draw()
|
D | ColorSetA.cpp | 12 paint.setColor(SkColorSetA(color, x + y)); in draw()
|
D | Canvas_drawOval.cpp | 9 SkColor g1Colors[] = { kColor1, SkColorSetA(kColor1, 0x20) }; in draw()
|
D | Clear.cpp | 11 SkColor colors[] = { color, SkColorSetA(color, 0) }; in draw()
|
D | Dst_Atop.cpp | 20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcATop); in draw()
|
D | Dst_Over.cpp | 20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kDstOver); in draw()
|
D | Src_In.cpp | 20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcIn); in draw()
|
D | Src_Out.cpp | 20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcOut); in draw()
|
D | Dst_In.cpp | 20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kDstIn); in draw()
|
D | Overlay.cpp | 20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kOverlay); in draw()
|
D | Screen.cpp | 20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kScreen); in draw()
|
D | Src_Over.cpp | 20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcOver); in draw()
|
D | Dst_Out.cpp | 20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kDstOut); in draw()
|
D | Src_Atop.cpp | 20 canvas->drawColor(SkColorSetA(SK_ColorGREEN, 128), SkBlendMode::kSrcATop); in draw()
|
/external/skia/gm/ |
D | lumafilter.cpp | 69 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()
|
D | highcontrastfilter.cpp | 109 SkColor g1Colors[] = { kColor1, SkColorSetA(kColor1, 0x20) }; in onOnceBeforeDraw() 110 SkColor g2Colors[] = { kColor2, SkColorSetA(kColor2, 0x20) }; in onOnceBeforeDraw()
|
D | patheffects.cpp | 387 paint.setColor(SkColorSetA(SK_ColorBLUE, 0xff)); in onDraw() 401 paint.setColor(SkColorSetA(SK_ColorGREEN, 0xff)); in onDraw()
|
/external/skia/modules/skottie/src/effects/ |
D | VenetianBlindsEffect.cpp | 120 const SkColor c01 = SkColorSetA(SK_ColorWHITE, SkScalarRoundToInt(g01 * 0xff)), in onMakeMask() 121 c23 = SkColorSetA(SK_ColorWHITE, SkScalarRoundToInt(g23 * 0xff)), in onMakeMask()
|
D | DropShadowEffect.cpp | 57 fDropShadow->setColor(SkColorSetA(color, SkTPin(SkScalarRoundToInt(fOpacity), 0, 255))); in onSync()
|
/external/skia/modules/svg/src/ |
D | SkSVGFeFlood.cpp | 24 return SkColorSetA(color, SkScalarRoundToInt(*floodOpacity * 255)); in resolveFloodColor()
|
/external/skia/modules/skottie/src/text/ |
D | TextAnimator.cpp | 163 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/ |
D | SkPixmap.cpp | 196 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/ |
D | ColorFilterTest.cpp | 68 color = SkColorSetA(color, 0x7F); in DEF_TEST()
|