/external/skqp/tests/ |
D | ColorMatrixTest.cpp | 22 REPORTER_ASSERT(reporter, abs((int)(SkColorGetA(expected) - SkColorGetA(actual))) <= tolerance); in assert_color() 119 REPORTER_ASSERT(r, SkColorGetA(filtered) == 0xff); in DEF_TEST()
|
D | PremulAlphaRoundTripTest.cpp | 21 byte[3] = SkColorGetA(c); in pack_unpremul_rgba() 31 byte[3] = SkColorGetA(c); in pack_unpremul_bgra()
|
/external/skia/tests/ |
D | ColorMatrixTest.cpp | 22 REPORTER_ASSERT(reporter, abs((int)(SkColorGetA(expected) - SkColorGetA(actual))) <= tolerance); in assert_color() 119 REPORTER_ASSERT(r, SkColorGetA(filtered) == 0xff); in DEF_TEST()
|
D | PremulAlphaRoundTripTest.cpp | 21 byte[3] = SkColorGetA(c); in pack_unpremul_rgba() 31 byte[3] = SkColorGetA(c); in pack_unpremul_bgra()
|
/external/skia/gm/ |
D | unpremul.cpp | 37 close(SkColorGetA(pixel), SkColorGetA(color))) { in __anon5f72f5b40102()
|
D | mixercolorfilter.cpp | 81 a_lo = SkColorGetA(lo), in MakeTintColorFilter() 85 a_hi = SkColorGetA(hi); in MakeTintColorFilter()
|
D | hsl.cpp | 135 SkASSERT(SkColorGetA(dst) == 0xff in blend() 136 && SkColorGetA(src) == 0xff); // Not fundamental, just simplifying for this GM. in blend()
|
D | aaxfermodes.cpp | 207 int maxSum = SkTMax(SkTMax(SkColorGetA(kBGColor) + SkColorGetA(color), in setupShapePaint()
|
D | shadowutils.cpp | 18 SkColor ambientColor = SkColorSetARGB(ambientAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow() 20 SkColor spotColor = SkColorSetARGB(spotAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow()
|
/external/skqp/gm/ |
D | unpremul.cpp | 37 close(SkColorGetA(pixel), SkColorGetA(color))) { in __anon6ae844cb0102()
|
D | hsl.cpp | 135 SkASSERT(SkColorGetA(dst) == 0xff in blend() 136 && SkColorGetA(src) == 0xff); // Not fundamental, just simplifying for this GM. in blend()
|
D | aaxfermodes.cpp | 207 int maxSum = SkTMax(SkTMax(SkColorGetA(kBGColor) + SkColorGetA(color), in setupShapePaint()
|
D | shadowutils.cpp | 18 SkColor ambientColor = SkColorSetARGB(ambientAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow() 20 SkColor spotColor = SkColorSetARGB(spotAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow()
|
D | shapes_as_paths.cpp | 54 SkTAbs((int)(SkColorGetA(pixelA) - SkColorGetA(pixelB))); in draw_diff()
|
/external/skqp/samplecode/ |
D | SampleShadowColor.cpp | 130 SkColor spotColor = SkColorSetARGB(alpha*SkColorGetA(color), SkColorGetR(color), in drawShadowedPath() 144 SkColor baseAmbient = SkColorSetARGB(ambientAlpha*SkColorGetA(color), in drawShadowedPath() 147 SkColor baseSpot = SkColorSetARGB(spotAlpha*SkColorGetA(color), in drawShadowedPath()
|
/external/skia/samplecode/ |
D | SampleShadowColor.cpp | 130 SkColor spotColor = SkColorSetARGB(alpha*SkColorGetA(color), SkColorGetR(color), in drawShadowedPath() 144 SkColor baseAmbient = SkColorSetARGB(ambientAlpha*SkColorGetA(color), in drawShadowedPath() 147 SkColor baseSpot = SkColorSetARGB(spotAlpha*SkColorGetA(color), in drawShadowedPath()
|
/external/skqp/src/effects/imagefilters/ |
D | SkAlphaThresholdFilter.cpp | 248 if (SkColorGetA(source) < innerThreshold) { in onFilterImage() 249 U8CPU alpha = SkColorGetA(source); in onFilterImage() 260 if (SkColorGetA(source) > outerThreshold) { in onFilterImage() 261 float scale = (float)outerThreshold / SkColorGetA(source); in onFilterImage()
|
/external/skia/src/effects/imagefilters/ |
D | SkAlphaThresholdFilter.cpp | 251 if (SkColorGetA(source) < innerThreshold) { in onFilterImage() 252 U8CPU alpha = SkColorGetA(source); in onFilterImage() 263 if (SkColorGetA(source) > outerThreshold) { in onFilterImage() 264 float scale = (float)outerThreshold / SkColorGetA(source); in onFilterImage()
|
/external/skqp/docs/ |
D | SkColor_Reference.bmh | 128 #Define SkColorGetA 146 SkAlpha alphaInPaint = SkColorGetA(paint.getColor()); 317 transparentCount += SkColorGetA(color) == SK_AlphaTRANSPARENT; 355 if (SkColorGetA(color) == SK_AlphaOPAQUE) { 756 std::string str = "alpha=" + std::to_string(SkColorGetA(premultiplied)); 786 std::string str = "alpha=" + std::to_string(SkColorGetA(unpremultiplied)); 792 str = "alpha=" + std::to_string(SkColorGetA(premultiplied));
|
/external/skia/docs/ |
D | SkColor_Reference.bmh | 128 #Define SkColorGetA 146 SkAlpha alphaInPaint = SkColorGetA(paint.getColor()); 317 transparentCount += SkColorGetA(color) == SK_AlphaTRANSPARENT; 355 if (SkColorGetA(color) == SK_AlphaOPAQUE) { 756 std::string str = "alpha=" + std::to_string(SkColorGetA(premultiplied)); 786 std::string str = "alpha=" + std::to_string(SkColorGetA(unpremultiplied)); 792 str = "alpha=" + std::to_string(SkColorGetA(premultiplied));
|
/external/skia/src/opts/ |
D | SkBlitMask_opts.h | 180 SkASSERT(SkColorGetA(color) == 0xFF); 222 } else if (SkColorGetA(color) == 0xFF) { in blit_mask_d32_a8()
|
/external/skqp/src/opts/ |
D | SkBlitMask_opts.h | 180 SkASSERT(SkColorGetA(color) == 0xFF); 222 } else if (SkColorGetA(color) == 0xFF) { in blit_mask_d32_a8()
|
/external/skia/src/utils/ |
D | SkShadowUtils.cpp | 491 *outAmbientColor = SkColorSetARGB(SkColorGetA(inAmbientColor), 0, 0, 0); in ComputeTonalColors() 500 SkScalar origA = SkColorGetA(inSpotColor)/255.f; in ComputeTonalColors() 599 if (SkColorGetA(rec.fAmbientColor) > 0) { in drawShadow() 678 if (SkColorGetA(rec.fSpotColor) > 0) { in drawShadow()
|
/external/skqp/src/utils/ |
D | SkShadowUtils.cpp | 464 *outAmbientColor = SkColorSetARGB(SkColorGetA(inAmbientColor), 0, 0, 0); in ComputeTonalColors() 473 SkScalar origA = SkColorGetA(inSpotColor)/255.f; in ComputeTonalColors() 567 if (SkColorGetA(rec.fAmbientColor) > 0) { in drawShadow() 646 if (SkColorGetA(rec.fSpotColor) > 0) { in drawShadow()
|
/external/skqp/bench/ |
D | ShaderMaskFilterBench.cpp | 50 fName = SkStringPrintf("shadermaskfilter_%s_%x", nm, SkColorGetA(fColor)); in ShaderMFBench()
|