/external/skia/src/animator/ |
D | SkDrawColor.cpp | 88 return SkColorSetARGB(SkColorGetA(color), SkScalarRoundToInt(red), in HSV_to_RGB() 154 SkColorGetA(color)/255, SkColorGetR(color), in dump() 181 result = SkIntToScalar(SkColorGetA(color)) / 255; in getProperty() 235 color = SkColorSetARGB(SkColorGetA(color), SkColorGetR(color), in setProperty() 240 color = SkColorSetARGB(SkColorGetA(color), SkColorGetR(color), in setProperty() 249 color = SkColorSetARGB(SkColorGetA(color), SkToU8((U8CPU) scalar), in setProperty()
|
D | SkDrawBitmap.cpp | 71 SkDebugf("erase=\"argb(%d,%d,%d,%d)\" ", SkColorGetA(fColor)/255, SkColorGetR(fColor), in dump()
|
/external/skia/experimental/PdfViewer/ |
D | chop_transparency_main.cpp | 50 if (SkColorGetA(color) != 0) { in opaqueSize() 73 if (SkColorGetA(color) != 0xff) { in write_bitmap() 74 int a = SkColorGetA(color); in write_bitmap()
|
/external/skia/src/effects/ |
D | SkAlphaThresholdFilter.cpp | 353 if (SkColorGetA(source) < innerThreshold) { in onFilterImage() 354 U8CPU alpha = SkColorGetA(source); in onFilterImage() 364 if (SkColorGetA(source) > outerThreshold) { in onFilterImage() 365 float scale = (float)outerThreshold / SkColorGetA(source); in onFilterImage()
|
D | SkBlurDrawLooper.cpp | 125 if (SkColorGetA(blurColor) == 255) { in next()
|
D | SkColorCubeFilter.cpp | 138 uint8_t a = SkColorGetA(inputColor); in filterSpan()
|
/external/skia/src/utils/ |
D | SkPatchUtils.cpp | 281 SkScalar(SkColorGetA(colorsPM[kTopLeft_Corner])), in getVertexData() 282 SkScalar(SkColorGetA(colorsPM[kTopRight_Corner])), in getVertexData() 283 SkScalar(SkColorGetA(colorsPM[kBottomLeft_Corner])), in getVertexData() 284 SkScalar(SkColorGetA(colorsPM[kBottomRight_Corner])))); in getVertexData()
|
D | SkTextureCompressor_ASTC.cpp | 1017 interpolate_channel(SkColorGetA(endpoints[0]), SkColorGetA(endpoints[1]), weight), in interpolate_endpoints() 1033 int a = interpolate_channel(SkColorGetA(endpoints[0]), SkColorGetA(endpoints[1]), weight0); in interpolate_dual_endpoints() 1057 SkColorGetA(endpoints[0]), SkColorGetA(endpoints[1]), weight1); in interpolate_dual_endpoints() 1617 SkColorGetA(result), SkColorGetB(result), SkColorGetG(result), SkColorGetR(result)); in getTexel()
|
D | SkParseColor.cpp | 457 unsigned int oldAlpha = SkColorGetA(*colorPtr); in FindColor()
|
/external/skia/tests/ |
D | PremulAlphaRoundTripTest.cpp | 25 byte[3] = SkColorGetA(c); in pack_unpremul_rgba() 35 byte[3] = SkColorGetA(c); in pack_unpremul_bgra()
|
/external/skia/src/core/ |
D | SkShader.cpp | 262 return SkColorGetA(fColor) == 255; in isOpaque() 290 unsigned a = SkAlphaMul(SkColorGetA(color), SkAlpha255To256(rec.fPaint->getAlpha())); in ColorShaderContext() 353 U8CPU newA = SkMulDiv255Round(SkColorGetA(fColor), paint.getAlpha()); in asFragmentProcessor()
|
D | SkColor.cpp | 18 return SkPremultiplyARGBInline(SkColorGetA(c), SkColorGetR(c), in SkPreMultiplyColor()
|
D | SkBlitMask_D32.cpp | 96 bool isOpaque = (0xFF == SkColorGetA(color)); in D32_LCD16_Proc() 118 } else if (0xFF == SkColorGetA(color)) { in D32_A8_Factory()
|
D | SkRecordOpts.cpp | 113 paint->setAlpha(SkMulDiv255Round(paint->getAlpha(), SkColorGetA(layerColor))); in fold_opacity_layer_color_to_paint()
|
D | SkBlitter_RGB16.cpp | 532 fScale = SkAlpha255To256(SkColorGetA(color)); in SkRGB16_Blitter() 1049 if (0 == SkColorGetA(color)) { in SkBlitter_ChooseD565() 1055 } else if (0xFF == SkColorGetA(color)) { in SkBlitter_ChooseD565()
|
/external/skia/src/effects/gradients/ |
D | SkGradientShader.cpp | 212 colorAlpha &= SkColorGetA(fOrigColors[i]); in initCommon() 347 SkASSERT(SkColorGetA(c0) == 0xFF); in Build16bitCache() 348 SkASSERT(SkColorGetA(c1) == 0xFF); in Build16bitCache() 399 uint32_t a0 = SkMulDiv255Round(SkColorGetA(c0), paintAlpha); in Build32bitCache() 400 uint32_t a1 = SkMulDiv255Round(SkColorGetA(c1), paintAlpha); in Build32bitCache() 928 SkColorGetA(*color) / 255.f); in set_color_uni() 934 float a = SkColorGetA(*color) / 255.f; in set_mul_color_uni()
|
/external/skia/tools/ |
D | filtermain.cpp | 98 int a0 = SkColorGetA(color); in apply_0() 101 int a1 = SkColorGetA(color); in apply_0() 174 SkColorGetA(saveLayerPaint->getColor())); in apply_1() 445 a0 = SkColorGetA(color); in apply_7() 453 a1 = SkColorGetA(color); in apply_7()
|
/external/skia/include/gpu/ |
D | SkGr.h | 65 U8CPU a = SkColorGetA(c); in SkColor2GrColorJustAlpha()
|
D | GrColor.h | 130 a = SkColorGetA(colorUPM); in GrUnPreMulColor()
|
/external/skia/include/core/ |
D | SkColor.h | 62 #define SkColorGetA(color) (((color) >> 24) & 0xFF) macro
|
D | SkBitmap.h | 471 this->eraseARGB(SkColorGetA(c), SkColorGetR(c), SkColorGetG(c), in eraseColor()
|
/external/skia/src/opts/ |
D | SkBlitMask_opts_arm_neon.cpp | 119 } else if (0xFF == SkColorGetA(color)) { in D32_A8_Factory_neon() 199 int colA = SkColorGetA(color); in SkBlitLCD16Row_neon()
|
/external/skia/src/svg/ |
D | SkSVGDevice.cpp | 35 return SkIntToScalar(SkColorGetA(color)) / SK_AlphaOPAQUE; in svg_opacity() 352 if (SK_AlphaOPAQUE != SkColorGetA(paint.getColor())) { in addPaint() 383 if (SK_AlphaOPAQUE != SkColorGetA(paint.getColor())) { in addPaint() 498 if (SK_AlphaOPAQUE != SkColorGetA(color)) { in addLinearGradientDef()
|
/external/skia/samplecode/ |
D | SampleHT.cpp | 20 f[0] = SkIntToScalar(SkColorGetA(c)); in color_to_floats()
|
/external/skia/gm/ |
D | all_bitmap_configs.cpp | 100 return SkPremultiplyARGBInline(SkColorGetA(c), SkColorGetR(c), in premultiply_color()
|