
double sum = color.getRed() + color.getGreen() + color.getBlue();
</BUG>
return sum - min;
}
<BUG>private void addInfo(final int distance, final double brightness) {
</BUG>
CircleInfo circleInfo = mCircleInfos.get(distance);
if (circleInfo == null) {
circleInfo = new CircleInfo(distance);

addInfo(d, brightness);
}
}
}
}
private static float getBrightness(final Color color) {
float min = (float) Math.min(Math.min(color.getRed(), color.getGreen()), color.getBlue());
float sum = (float) (color.getRed() + color.getGreen() + color.getBlue());
return sum - min;
}
private void addInfo(final int distance, final float brightness) {
CircleInfo circleInfo = mCircleInfos.get(distance);
if (circleInfo == null) {
circleInfo = new CircleInfo(distance);
