/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/include/gpu/ |
D | SkGr.h | 39 unsigned a = SkColorGetA(c); in SkColorToUnpremulGrColor() 52 U8CPU a = SkColorGetA(c); in SkColorAlphaToGrColor()
|
D | GrColor.h | 167 a = SkColorGetA(colorUPM); in GrUnpremulColor()
|
/external/skia/tests/ |
D | ColorMatrixTest.cpp | 20 REPORTER_ASSERT(reporter, abs((int)(SkColorGetA(expected) - SkColorGetA(actual))) <= tolerance); in assert_color()
|
D | PremulAlphaRoundTripTest.cpp | 25 byte[3] = SkColorGetA(c); in pack_unpremul_rgba() 35 byte[3] = SkColorGetA(c); in pack_unpremul_bgra()
|
/external/skia/src/utils/ |
D | SkPatchUtils.cpp | 261 SkScalar(SkColorGetA(colorsPM[kTopLeft_Corner])), in getVertexData() 262 SkScalar(SkColorGetA(colorsPM[kTopRight_Corner])), in getVertexData() 263 SkScalar(SkColorGetA(colorsPM[kBottomLeft_Corner])), in getVertexData() 264 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/src/effects/ |
D | SkAlphaThresholdFilter.cpp | 380 if (SkColorGetA(source) < innerThreshold) { in onFilterImageDeprecated() 381 U8CPU alpha = SkColorGetA(source); in onFilterImageDeprecated() 391 if (SkColorGetA(source) > outerThreshold) { in onFilterImageDeprecated() 392 float scale = (float)outerThreshold / SkColorGetA(source); in onFilterImageDeprecated()
|
D | SkBlurDrawLooper.cpp | 125 if (SkColorGetA(blurColor) == 255) { in next()
|
/external/skia/tools/skiaserve/urlhandlers/ |
D | BreakHandler.cpp | 68 startColor.append(Json::Value(SkColorGetA(target))); in handle() 87 endColor.append(Json::Value(SkColorGetA(current))); in handle()
|
/external/skia/src/effects/gradients/ |
D | SkGradientShader.cpp | 213 colorAlpha &= SkColorGetA(fOrigColors[i]); in initCommon() 349 SkASSERT(SkColorGetA(c0) == 0xFF); in Build16bitCache() 350 SkASSERT(SkColorGetA(c1) == 0xFF); in Build16bitCache() 415 uint32_t a0 = SkMulDiv255Round(SkColorGetA(c0), paintAlpha); in Build32bitCache() 416 uint32_t a1 = SkMulDiv255Round(SkColorGetA(c1), paintAlpha); in Build32bitCache() 953 SkColorGetA(*color) / 255.f); in set_color_uni() 959 float a = SkColorGetA(*color) / 255.f; in set_mul_color_uni()
|
/external/skia/src/opts/ |
D | SkBlitMask_opts.h | 156 SkASSERT(SkColorGetA(color) == 0xFF); 197 } else if (SkColorGetA(color) == 0xFF) { in blit_mask_d32_a8()
|
D | SkOpts_sse41.cpp | 186 if (SkColorGetA(color) == 0xFF) { in blit_mask_d32_a8()
|
/external/skia/gm/ |
D | aaxfermodes.cpp | 206 int maxSum = SkTMax(SkTMax(SkColorGetA(kBGColor) + SkColorGetA(color), in setupShapePaint()
|
D | SkLinearBitmapPipelineGM.cpp | 29 w = SkPackARGB32NoCheck(SkColorGetA(c), SkColorGetR(c), SkColorGetG(c), SkColorGetB(c)); in fill_in_bits()
|
/external/skia/src/core/ |
D | SkShader.cpp | 260 return SkColorGetA(fColor) == 255; in isOpaque() 284 unsigned a = SkAlphaMul(SkColorGetA(color), SkAlpha255To256(rec.fPaint->getAlpha())); in ColorShaderContext()
|
D | SkModeColorFilter.cpp | 156 unsigned alpha = SkColorGetA(color); in CreateModeFilter()
|
D | SkRecordOpts.cpp | 141 paint->setAlpha(SkMulDiv255Round(paint->getAlpha(), SkColorGetA(layerColor))); in fold_opacity_layer_color_to_paint()
|
D | SkColor.cpp | 17 return SkPremultiplyARGBInline(SkColorGetA(c), SkColorGetR(c), in SkPreMultiplyColor()
|
D | SkBlitter_RGB16.cpp | 520 fScale = SkAlpha255To256(SkColorGetA(color)); in SkRGB16_Blitter() 916 if (0 == SkColorGetA(color)) { in SkBlitter_ChooseD565() 922 } else if (0xFF == SkColorGetA(color)) { in SkBlitter_ChooseD565()
|
/external/skia/include/core/ |
D | SkColor.h | 61 #define SkColorGetA(color) (((color) >> 24) & 0xFF) macro
|
/external/skia/src/svg/ |
D | SkSVGDevice.cpp | 36 return SkIntToScalar(SkColorGetA(color)) / SK_AlphaOPAQUE; in svg_opacity() 353 if (SK_AlphaOPAQUE != SkColorGetA(paint.getColor())) { in addPaint() 384 if (SK_AlphaOPAQUE != SkColorGetA(paint.getColor())) { in addPaint() 499 if (SK_AlphaOPAQUE != SkColorGetA(color)) { in addLinearGradientDef()
|
/external/skia/samplecode/ |
D | SampleHT.cpp | 20 f[0] = SkIntToScalar(SkColorGetA(c)); in color_to_floats()
|