Searched refs:totalPopulation (Results 1 – 3 of 3) sorted by relevance
385 int totalPopulation = 0; in getAverageColor() local391 totalPopulation += colorPopulation; in getAverageColor()397 final int redMean = Math.round(redSum / (float) totalPopulation); in getAverageColor()398 final int greenMean = Math.round(greenSum / (float) totalPopulation); in getAverageColor()399 final int blueMean = Math.round(blueSum / (float) totalPopulation); in getAverageColor()401 return new Swatch(approximateToRgb888(redMean, greenMean, blueMean), totalPopulation); in getAverageColor()
211 double totalPopulation = wallpaperColors.getAllColors().values().stream().mapToInt( in getSeedColors() local213 boolean totalPopulationMeaningless = (totalPopulation == 0.0); in getSeedColors()234 entry -> entry.getValue().doubleValue() / totalPopulation)); in getSeedColors()
410 double totalPopulation = 0; in hueProportions() local412 totalPopulation += entry.getValue(); in hueProportions()420 proportions[hue] = proportions[hue] + ((double) population / totalPopulation); in hueProportions()