Home
last modified time | relevance | path

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

/external/skia/gm/
Dlumafilter.cpp46 paint.setColor(s1 ? SK_ColorBLACK : SkColorSetA(kColor1, 0x80)); in draw_scene()
63 paint.setColor(s2 ? SK_ColorBLACK : SkColorSetA(kColor2, 0x80)); in draw_scene()
81 SkColor g1Colors[] = { kColor1, SkColorSetA(kColor1, 0x20) }; in LumaFilterGM()
82 SkColor g2Colors[] = { kColor2, SkColorSetA(kColor2, 0x20) }; in LumaFilterGM()
Dgammatext.cpp106 colors[1] = SkColorSetA(c, 0);
/external/skia/src/effects/
DSkBlurDrawLooper.cpp45 SkColor opaqueColor = SkColorSetA(fBlurColor, 255); in initEffects()
126 blurColor = SkColorSetA(blurColor, paint->getAlpha()); in next()
/external/skia/experimental/PdfViewer/
DSkPdfGraphicsState.h75 paint->setColor(SkColorSetA(fColor, (U8CPU)(fOpacity * 255))); in applyGraphicsState()
/external/skia/include/core/
DSkColor.h70 static inline SkColor SkColorSetA(SkColor c, U8CPU a) { in SkColorSetA() function
/external/skia/tools/
Dfiltermain.cpp106 SkColor newColor = SkColorSetA(color, newA); in apply_0()
173 SkColor newColor = SkColorSetA(dbmrPaint->getColor(), in apply_1()
464 SkColor newColor = SkColorSetA(dbmrPaint->getColor(), newA); in apply_7()
467 SkColor newColor = SkColorSetA(color, newA); in apply_7()
/external/skia/src/core/
DSkShader.cpp82 *colorPtr = SkColorSetA(*colorPtr, 0xFF); // we only return opaque in asLuminanceColor()
354 *paintColor = SkColor2GrColor(SkColorSetA(skColor, newA)); in asFragmentProcessor()
DSkRecordOpts.cpp97 if (SK_ColorTRANSPARENT != SkColorSetA(layerColor, SK_AlphaTRANSPARENT)) { in fold_opacity_layer_color_to_paint()
DSkBitmap.cpp542 return SkColorSetA(0, addr[0]); in getColor()
/external/skia/tests/
DColorFilterTest.cpp63 color = SkColorSetA(color, 0x7F); in DEF_TEST()
/external/skia/src/pdf/
DSkPDFDevice.cpp1929 entry->fColor = SkColorSetA(paint.getColor(), 0xFF); in populateGraphicStateEntryFromPaint()
1978 entry->fColor = SkColorSetA(gradientColor, 0xFF); in populateGraphicStateEntryFromPaint()
DSkPDFShader.cpp1213 newState->fInfo.fColors[i] = SkColorSetA(fInfo.fColors[i], in CreateOpaqueState()
/external/skia/src/gpu/
DSkGpuDevice.cpp1865 color = SkColorSetA(color, SkMulDiv255Round(SkColorGetA(color), paint.getAlpha())); in drawVertices()