protected SizeRequirements calculateMinorAxisRequirements(int axis,SizeRequirements r){
  if (r == null) {
    r=new SizeRequirements();
  }
  float pref=layoutPool.getPreferredSpan(axis);
  float min=layoutPool.getMinimumSpan(axis);
  r.minimum=(int)min;
  r.preferred=Math.max(r.minimum,(int)pref);
  r.maximum=Integer.MAX_VALUE;
  r.alignment=0.5f;
  return r;
}

protected SizeRequirements calculateMinorAxisRequirements ( int axis , SizeRequirements r ) { if ( r == null ) { r = new SizeRequirements ( ) ; } float pref = layoutPool . getPreferredSpan ( axis ) ; float min = layoutPool . getMinimumSpan ( axis ) ; r . minimum = ( int ) min ; r . preferred = Math . max ( r . minimum , ( int ) pref ) ; r . maximum = Integer . MAX_VALUE ; r . alignment = 0.5f ; return r ; }
calculate requirements along the minor axis . this is implemented to forward the request to the logical view by calling getminimumspan , getpreferredspan , and getmaximumspan on it .
