Home
last modified time | relevance | path

Searched refs:meanLuminance (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/java/android/app/
DWallpaperColors.java407 double meanLuminance = totalLuminance / pixels.length; in calculateDarkHints() local
408 if (meanLuminance > BRIGHT_IMAGE_MEAN_LUMINANCE && darkPixels < maxDarkPixels) { in calculateDarkHints()
411 if (meanLuminance < DARK_THEME_MEAN_LUMINANCE) { in calculateDarkHints()
423 Log.d("WallpaperColors", "l: " + meanLuminance + ", d: " + darkPixels + in calculateDarkHints()