question: private int measureWidth ( int measureSpec ) { int result = 0 ; int specMode = MeasureSpec . getMode ( measureSpec ) ; int specSize = MeasureSpec . getSize ( measureSpec ) ; if ( specMode == MeasureSpec . EXACTLY ) { result = specSize ; } else { result = getPaddingLeft ( ) + getPaddingRight ( ) + ( count * 2 * radius ) + ( count - 1 ) * circleInterval ; if ( specMode == MeasureSpec . AT_MOST ) { result = Math . min ( result , specSize ) ; } } return result ; }
target:  Determines the width of this view