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;
}

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 ; }
calculate selector radius the selector radius can be calculated by a simple math calculation of the larger side .
