/external/skqp/samplecode/ |
D | SampleShadowColor.cpp | 123 uint8_t max = SkTMax(SkTMax(SkColorGetR(color), SkColorGetG(color)), in drawShadowedPath() 125 uint8_t min = SkTMin(SkTMin(SkColorGetR(color), SkColorGetG(color)), in drawShadowedPath() 130 SkColor spotColor = SkColorSetARGB(alpha*SkColorGetA(color), SkColorGetR(color), in drawShadowedPath() 145 SkColorGetR(color), SkColorGetG(color), in drawShadowedPath() 148 SkColorGetR(color), SkColorGetG(color), in drawShadowedPath()
|
/external/skia/samplecode/ |
D | SampleShadowColor.cpp | 123 uint8_t max = SkTMax(SkTMax(SkColorGetR(color), SkColorGetG(color)), in drawShadowedPath() 125 uint8_t min = SkTMin(SkTMin(SkColorGetR(color), SkColorGetG(color)), in drawShadowedPath() 130 SkColor spotColor = SkColorSetARGB(alpha*SkColorGetA(color), SkColorGetR(color), in drawShadowedPath() 145 SkColorGetR(color), SkColorGetG(color), in drawShadowedPath() 148 SkColorGetR(color), SkColorGetG(color), in drawShadowedPath()
|
/external/skqp/tests/ |
D | ColorMatrixTest.cpp | 23 REPORTER_ASSERT(reporter, abs((int)(SkColorGetR(expected) - SkColorGetR(actual))) <= tolerance); in assert_color() 120 REPORTER_ASSERT(r, SkColorGetR(filtered) == 0x0a); in DEF_TEST()
|
D | PremulAlphaRoundTripTest.cpp | 18 byte[0] = SkColorGetR(c); in pack_unpremul_rgba() 30 byte[2] = SkColorGetR(c); in pack_unpremul_bgra()
|
D | NonlinearBlendingTest.cpp | 42 SkColorGetR(color) * (1 / 255.0f), in DEF_TEST()
|
/external/skia/tests/ |
D | ColorMatrixTest.cpp | 23 REPORTER_ASSERT(reporter, abs((int)(SkColorGetR(expected) - SkColorGetR(actual))) <= tolerance); in assert_color() 120 REPORTER_ASSERT(r, SkColorGetR(filtered) == 0x0a); in DEF_TEST()
|
D | PremulAlphaRoundTripTest.cpp | 18 byte[0] = SkColorGetR(c); in pack_unpremul_rgba() 30 byte[2] = SkColorGetR(c); in pack_unpremul_bgra()
|
/external/skia/gm/ |
D | unpremul.cpp | 34 if (close(SkColorGetR(pixel), SkColorGetR(color)) && in __anon5f72f5b40102()
|
D | mixercolorfilter.cpp | 78 const auto r_lo = SkColorGetR(lo), in MakeTintColorFilter() 82 r_hi = SkColorGetR(hi), in MakeTintColorFilter()
|
D | aaxfermodes.cpp | 208 SkColorGetR(kBGColor) + SkColorGetR(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 | 52 SkTAbs((int)(SkColorGetR(pixelA) - SkColorGetR(pixelB))) + in draw_diff()
|
/external/skqp/gm/ |
D | unpremul.cpp | 34 if (close(SkColorGetR(pixel), SkColorGetR(color)) && in __anon6ae844cb0102()
|
D | aaxfermodes.cpp | 208 SkColorGetR(kBGColor) + SkColorGetR(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 | 51 SkTAbs((int)(SkColorGetR(pixelA) - SkColorGetR(pixelB))) + in draw_diff()
|
/external/skqp/src/effects/ |
D | SkColorMatrixFilter.cpp | 31 matrix.setScale(byte_to_scale(SkColorGetR(mul)), in SkLightingColorFilter() 35 matrix.postTranslate(SkIntToScalar(SkColorGetR(add)), in SkLightingColorFilter()
|
/external/skia/src/effects/ |
D | SkColorMatrixFilter.cpp | 31 matrix.setScale(byte_to_scale(SkColorGetR(mul)), in SkLightingColorFilter() 35 matrix.postTranslate(SkIntToScalar(SkColorGetR(add)), in SkLightingColorFilter()
|
/external/skia/src/core/ |
D | SkMaskGamma.h | 36 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255); in computeLuminance() 125 sk_t_scale255<R_LUM_BITS>(SkColorGetR(color) >> (8 - R_LUM_BITS)), in CanonicalColor() 211 fGammaTables[SkColorGetR(color) >> (8 - MAX_LUM_BITS)], in preBlend()
|
/external/skqp/src/core/ |
D | SkMaskGamma.h | 36 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255); in computeLuminance() 125 sk_t_scale255<R_LUM_BITS>(SkColorGetR(color) >> (8 - R_LUM_BITS)), in CanonicalColor() 211 fGammaTables[SkColorGetR(color) >> (8 - MAX_LUM_BITS)], in preBlend()
|
/external/skqp/include/core/ |
D | SkColor.h | 71 #define SkColorGetR(color) (((color) >> 16) & 0xFF) macro 176 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
|
/external/skia/include/core/ |
D | SkColor.h | 71 #define SkColorGetR(color) (((color) >> 16) & 0xFF) macro 176 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
|
/external/skqp/docs/ |
D | SkColor_Reference.bmh | 158 #Define SkColorGetR 176 uint8_t red = SkColorGetR(source.getColor(226, 128)); 210 #SeeAlso SkColorGetR SkColorGetB 239 #SeeAlso SkColorGetR SkColorGetG 587 SkRGBToHSV(SkColorGetR(c), SkColorGetG(c), SkColorGetB(c), hsv); 757 str += " red=" + std::to_string(SkColorGetR(premultiplied)); 787 str += " red=" + std::to_string(SkColorGetR(unpremultiplied)); 793 str += " red=" + std::to_string(SkColorGetR(premultiplied));
|
/external/skia/docs/ |
D | SkColor_Reference.bmh | 158 #Define SkColorGetR 176 uint8_t red = SkColorGetR(source.getColor(226, 128)); 210 #SeeAlso SkColorGetR SkColorGetB 239 #SeeAlso SkColorGetR SkColorGetG 587 SkRGBToHSV(SkColorGetR(c), SkColorGetG(c), SkColorGetB(c), hsv); 757 str += " red=" + std::to_string(SkColorGetR(premultiplied)); 787 str += " red=" + std::to_string(SkColorGetR(unpremultiplied)); 793 str += " red=" + std::to_string(SkColorGetR(premultiplied));
|
/external/skia/modules/sksg/src/ |
D | SkSGColorFilter.cpp | 158 float r = SkColorGetR(c0), in MakeNColorGradient() 161 const float dR = (SkColorGetR(c1) - r) / span_size, in MakeNColorGradient()
|