Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DWallpaperColors.java293 public WallpaperColors(@NonNull Map<Integer, Integer> colorToPopulation, in WallpaperColors() argument
295 mAllColors = colorToPopulation; in WallpaperColors()
298 for (int color : colorToPopulation.keySet()) { in WallpaperColors()
301 final double[] hueProportions = hueProportions(colorToCam, colorToPopulation); in WallpaperColors()
303 colorToPopulation.keySet(), colorToCam, hueProportions); in WallpaperColors()
373 Map<Integer, Integer> colorToPopulation) { in hueProportions() argument
377 for (Map.Entry<Integer, Integer> entry : colorToPopulation.entrySet()) { in hueProportions()
381 for (Map.Entry<Integer, Integer> entry : colorToPopulation.entrySet()) { in hueProportions()
383 final int population = colorToPopulation.get(color); in hueProportions()