Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DWallpaperColors.java327 public WallpaperColors(@NonNull Map<Integer, Integer> colorToPopulation, in WallpaperColors() argument
329 mAllColors = colorToPopulation; in WallpaperColors()
332 for (int color : colorToPopulation.keySet()) { in WallpaperColors()
335 final double[] hueProportions = hueProportions(colorToCam, colorToPopulation); in WallpaperColors()
337 colorToPopulation.keySet(), colorToCam, hueProportions); in WallpaperColors()
407 Map<Integer, Integer> colorToPopulation) { in hueProportions() argument
411 for (Map.Entry<Integer, Integer> entry : colorToPopulation.entrySet()) { in hueProportions()
415 for (Map.Entry<Integer, Integer> entry : colorToPopulation.entrySet()) { in hueProportions()
417 final int population = colorToPopulation.get(color); in hueProportions()