Searched refs:totalPopulation (Results 1 – 1 of 1) sorted by relevance
397 int totalPopulation = 0; in getAverageColor() local403 totalPopulation += colorPopulation; in getAverageColor()409 final int redMean = Math.round(redSum / (float) totalPopulation); in getAverageColor()410 final int greenMean = Math.round(greenSum / (float) totalPopulation); in getAverageColor()411 final int blueMean = Math.round(blueSum / (float) totalPopulation); in getAverageColor()413 return new Swatch(approximateToRgb888(redMean, greenMean, blueMean), totalPopulation); in getAverageColor()