protected void layoutMajorAxis(int targetSpan,int axis,int[] offsets,int[] spans){
  if (children == null) {
    init();
  }
  SizeRequirements.calculateTiledPositions(targetSpan,null,getChildRequests(targetSpan,axis),offsets,spans);
}

protected void layoutMajorAxis ( int targetSpan , int axis , int [ ] offsets , int [ ] spans ) { if ( children == null ) { init ( ) ; } SizeRequirements . calculateTiledPositions ( targetSpan , null , getChildRequests ( targetSpan , axis ) , offsets , spans ) ; }
perform layout for the major axis of the box ( i . e . the axis that it represents ) . the results of the layout should be placed in the given arrays which represent the allocations to the children along the major axis .
