Searched defs:luminance (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
H A DGammaFontRenderer.cpp30 static int luminance(const SkPaint* paint) { function in namespace:android::uirenderer
109 const int l = luminance(paint);
248 const int l = luminance(paint);
/frameworks/rs/
H A DrsFont.cpp800 const float luminance = (r * 2.0f + g * 5.0f + b) / 8.0f; local
801 if (luminance <= mBlackThreshold) {
803 } else if (luminance >= mWhiteThreshold) {

Completed in 111 milliseconds