private int resolveSizeAndStateRespectingMinSize(int minSize,int measuredSize,int measureSpec){
  if (minSize != SIZE_UNSPECIFIED) {
    final int desiredWidth=Math.max(minSize,measuredSize);
    return resolveSizeAndState(desiredWidth,measureSpec,0);
  }
 else {
    return measuredSize;
  }
}

private int resolveSizeAndStateRespectingMinSize ( int minSize , int measuredSize , int measureSpec ) { if ( minSize != SIZE_UNSPECIFIED ) { final int desiredWidth = Math . max ( minSize , measuredSize ) ; return resolveSizeAndState ( desiredWidth , measureSpec , 0 ) ; } else { return measuredSize ; } }
utility to reconcile a desired size and state , with constraints imposed by a measurespec . tries to respect the min size , unless a different size is imposed by the constraints .
