if (axis == myAxis) layoutMajorAxis(span, axis, offsets, spans); else layoutMinorAxis(span, axis, offsets, spans);
SizeRequirements[] childReqs = getChildRequirements(axis);   SizeRequirements.calculateAlignedPositions(span, requirements[axis], childReqs, offsets, spans); layoutValid[axis] = true;
  protected void baselineLayout(int span, int axis, int[] offsets,                                int[] spans)  {    if (axis == myAxis)      layoutMajorAxis(span, axis, offsets, spans);    else      layoutMinorAxis(span, axis, offsets, spans);  }