Home
last modified time | relevance | path

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

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