/third_party/skia/tests/ |
D | RuntimeBlendTest.cpp | 24 return abs((int)SkColorGetA(x) - (int)SkColorGetA(y)) <= kTolerance && in nearly_equal() 65 SkColorGetA(colors[0]), in test_blend() 69 SkColorGetA(colors[1]), in test_blend()
|
D | ColorMatrixTest.cpp | 21 REPORTER_ASSERT(reporter, abs((int)(SkColorGetA(expected) - SkColorGetA(actual))) <= tolerance); in assert_color() 118 REPORTER_ASSERT(r, SkColorGetA(filtered) == 0xff); in DEF_TEST()
|
D | SkSLTest.cpp | 123 SkColorGetB(color[0][0]), SkColorGetA(color[0][0]), in test_one_permutation() 126 SkColorGetB(color[0][1]), SkColorGetA(color[0][1]), in test_one_permutation() 129 SkColorGetB(color[1][0]), SkColorGetA(color[1][0]), in test_one_permutation() 132 SkColorGetB(color[1][1]), SkColorGetA(color[1][1])); in test_one_permutation()
|
/third_party/flutter/skia/tests/ |
D | ColorMatrixTest.cpp | 21 REPORTER_ASSERT(reporter, abs((int)(SkColorGetA(expected) - SkColorGetA(actual))) <= tolerance); in assert_color() 118 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()
|
/third_party/skia/docs/examples/ |
D | PreMultiplyColor.cpp | 11 std::string str = "alpha=" + std::to_string(SkColorGetA(unpremultiplied)); 17 str = "alpha=" + std::to_string(SkColorGetA(premultiplied));
|
D | ColorGetA.cpp | 12 SkAlpha alphaInPaint = SkColorGetA(paint.getColor()); in draw()
|
D | RGBA4f_toSkColor.cpp | 11 SkColorGetG(argb), SkColorGetB(argb), SkColorGetA(argb)); in draw()
|
D | PreMultiplyARGB.cpp | 12 std::string str = "alpha=" + std::to_string(SkColorGetA(premultiplied));
|
/third_party/flutter/skia/docs/examples/ |
D | PreMultiplyColor.cpp | 11 std::string str = "alpha=" + std::to_string(SkColorGetA(unpremultiplied)); 17 str = "alpha=" + std::to_string(SkColorGetA(premultiplied));
|
D | ColorGetA.cpp | 12 SkAlpha alphaInPaint = SkColorGetA(paint.getColor()); in draw()
|
D | RGBA4f_toSkColor.cpp | 11 SkColorGetG(argb), SkColorGetB(argb), SkColorGetA(argb)); in draw()
|
D | PreMultiplyARGB.cpp | 12 std::string str = "alpha=" + std::to_string(SkColorGetA(premultiplied));
|
D | RGBA4f_FromColor.cpp | 13 SkColorGetG(fromColor4f), SkColorGetB(fromColor4f), SkColorGetA(fromColor4f)); in draw()
|
/third_party/skia/gm/ |
D | unpremul.cpp | 46 close(SkColorGetA(pixel), SkColorGetA(color))) { in __anon7b332d670102()
|
D | composecolorfilter.cpp | 39 a_lo = SkColorGetA(lo), in MakeTintColorFilter() 43 a_hi = SkColorGetA(hi); in MakeTintColorFilter()
|
D | mixercolorfilter.cpp | 40 a_lo = SkColorGetA(lo), in MakeTintColorFilter() 44 a_hi = SkColorGetA(hi); in MakeTintColorFilter()
|
/third_party/flutter/skia/gm/ |
D | unpremul.cpp | 45 close(SkColorGetA(pixel), SkColorGetA(color))) { in __anoncf23b57c0102()
|
/third_party/skia/samplecode/ |
D | SampleShadowColor.cpp | 125 SkColor spotColor = SkColorSetARGB(alpha*SkColorGetA(color), SkColorGetR(color), in drawShadowedPath() 139 SkColor baseAmbient = SkColorSetARGB(ambientAlpha*SkColorGetA(color), in drawShadowedPath() 142 SkColor baseSpot = SkColorSetARGB(spotAlpha*SkColorGetA(color), in drawShadowedPath()
|
/third_party/flutter/skia/samplecode/ |
D | SampleShadowColor.cpp | 125 SkColor spotColor = SkColorSetARGB(alpha*SkColorGetA(color), SkColorGetR(color), in drawShadowedPath() 139 SkColor baseAmbient = SkColorSetARGB(ambientAlpha*SkColorGetA(color), in drawShadowedPath() 142 SkColor baseSpot = SkColorSetARGB(spotAlpha*SkColorGetA(color), in drawShadowedPath()
|
/third_party/flutter/engine/flutter/flow/layers/ |
D | physical_shape_layer.cc | 151 SkColorGetA(color_) != 0xff, device_pixel_ratio_); in Paint() 206 SkColor inAmbient = SkColorSetA(color, kAmbientAlpha * SkColorGetA(color)); in DrawShadow() 207 SkColor inSpot = SkColorSetA(color, kSpotAlpha * SkColorGetA(color)); in DrawShadow()
|
/third_party/flutter/skia/src/effects/imagefilters/ |
D | SkAlphaThresholdFilter.cpp | 239 if (SkColorGetA(source) < innerThreshold) { in onFilterImage() 240 U8CPU alpha = SkColorGetA(source); in onFilterImage() 251 if (SkColorGetA(source) > outerThreshold) { in onFilterImage() 252 float scale = (float)outerThreshold / SkColorGetA(source); in onFilterImage()
|
/third_party/skia/src/effects/imagefilters/ |
D | SkAlphaThresholdImageFilter.cpp | 276 if (SkColorGetA(source) < innerThreshold) { in onFilterImage() 277 U8CPU alpha = SkColorGetA(source); in onFilterImage() 288 if (SkColorGetA(source) > outerThreshold) { in onFilterImage() 289 float scale = (float)outerThreshold / SkColorGetA(source); in onFilterImage()
|
/third_party/cef/patch/patches/ |
D | rwh_background_color_1984.patch | 18 - bool opaque = SkColorGetA(color) == SK_AlphaOPAQUE; 23 + bool opaque = SkColorGetA(color) == SK_AlphaOPAQUE;
|
/third_party/skia/experimental/sorttoy/ |
D | Fake.h | 173 return 0xFF != SkColorGetA(fColor0); in isTransparent() 175 return 0xFF != SkColorGetA(fColor0) && 0xFF != SkColorGetA(fColor1); in isTransparent()
|