private float minScale(){
  if (minimumScaleType == SCALE_TYPE_CENTER_INSIDE) {
    return Math.min(1F,Math.min(getWidth() / (float)sWidth(),getHeight() / (float)sHeight()));
  }
 else {
    return Math.max(getWidth() / (float)sWidth(),getHeight() / (float)sHeight());
  }
}

private float minScale ( ) { if ( minimumScaleType == SCALE_TYPE_CENTER_INSIDE ) { return Math . min ( 1F , Math . min ( getWidth ( ) / ( float ) sWidth ( ) , getHeight ( ) / ( float ) sHeight ( ) ) ) ; } else { return Math . max ( getWidth ( ) / ( float ) sWidth ( ) , getHeight ( ) / ( float ) sHeight ( ) ) ; } }
returns the minimum allowed scale .
