question: private float calculateSelectorRadius ( ) { if ( mfSelectorRadius == 0.0f ) { int nHeight = mSelectedView . getHeight ( ) ; int nWidth = mSelectedView . getWidth ( ) ; int nLargerSide = Math . max ( nWidth , nHeight ) ; mfSelectorRadius = ( ( nLargerSide ^ 2 ) / 2 ) ; } return mfSelectorRadius ; }
target:  Calculate Selector Radius The selector radius can be calculated by a simple math calculation of the larger side.