Home
last modified time | relevance | path

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

/external/skia/gm/
Dlumafilter.cpp47 paint.setColor(s1 ? SK_ColorBLACK : SkColorSetA(kColor1, 0x80)); in draw_scene()
64 paint.setColor(s2 ? SK_ColorBLACK : SkColorSetA(kColor2, 0x80)); in draw_scene()
82 SkColor g1Colors[] = { kColor1, SkColorSetA(kColor1, 0x20) }; in LumaFilterGM()
83 SkColor g2Colors[] = { kColor2, SkColorSetA(kColor2, 0x20) }; in LumaFilterGM()
Dhighcontrastfilter.cpp87 SkColor g1Colors[] = { kColor1, SkColorSetA(kColor1, 0x20) }; in HighContrastFilterGM()
88 SkColor g2Colors[] = { kColor2, SkColorSetA(kColor2, 0x20) }; in HighContrastFilterGM()
Dgammatext.cpp103 colors[1] = SkColorSetA(c, 0);
Ddstreadshuffle.cpp97 return SkColorSetA(color, 0x80); in GetColor()
/external/skia/samplecode/
DSampleXfer.cpp90 fColor = SkColorSetA(fColor, 0x99); in onClick()
92 fColor = SkColorSetA(fColor, 0xFF); in onClick()
/external/skia/tests/
DColorFilterTest.cpp64 color = SkColorSetA(color, 0x7F); in DEF_TEST()
/external/skia/include/core/
DSkColor.h70 static constexpr inline SkColor SkColorSetA(SkColor c, U8CPU a) { in SkColorSetA() function
/external/skia/experimental/svg/model/
DSkSVGLinearGradient.cpp99 colors->push_back(SkColorSetA(stop.stopColor(), in collectColorStops()
DSkSVGRenderContext.cpp106 p->setColor(SkColorSetA(svgPaint.color(), p->getAlpha())); in applySvgPaint()
/external/skia/src/core/
DSkRecordOpts.cpp126 if (SK_ColorTRANSPARENT != SkColorSetA(layerColor, SK_AlphaTRANSPARENT)) { in fold_opacity_layer_color_to_paint()
DSkPixmap.cpp271 return SkColorSetA(0, *this->addr8(x, y)); in getColor()
/external/skia/src/gpu/ops/
DGrDrawAtlasOp.cpp69 color = SkColorSetA(color, SkMulDiv255Round(SkColorGetA(color), paintAlpha)); in GrDrawAtlasOp()
/external/skia/src/shaders/
DSkShader.cpp87 *colorPtr = SkColorSetA(*colorPtr, 0xFF); // we only return opaque in asLuminanceColor()
/external/skia/src/effects/
DSkLayerDrawLooper.cpp73 srcColor = SkColorSetA(srcColor, dst->getAlpha()); in ApplyInfo()
/external/skia/src/pdf/
DSkPDFGradientShader.cpp875 opaqueState.fInfo.fColors[i] = SkColorSetA(opaqueState.fInfo.fColors[i], SK_AlphaOPAQUE); in make_alpha_function_shader()
DSkPDFDevice.cpp2149 entry->fColor = SkColorSetA(paint.getColor(), 0xFF); in populateGraphicStateEntryFromPaint()
2165 entry->fColor = SkColorSetA(gradientColor, 0xFF); in populateGraphicStateEntryFromPaint()