<BUG>mRadius = (int) Math.round(sum / (2 * mLeftPoints.size()));}private static double getBrightness(final Color color) {return Math.min(Math.min(color.getRed(), color.getGreen()), color.getBlue()) + color.getBlue();</BUG><CONTEXT>for (Integer y : mRightPoints.keySet()) {int yDistance = y - mYCenter;int xDistance = mRightPoints.get(y) - mXCenter;sum += Math.sqrt(xDistance * xDistance + yDistance * yDistance);}<extra_id_0>}</CONTEXT>
[DELETED]