updateChildRequirements(axis); updateRequirements(axis);
int totalAscent = (int) (span * getAlignment(axis)); int totalDescent = span - totalAscent;
  protected void baselineLayout(int span, int axis, int[] offsets,                                int[] spans)  {    updateChildRequirements(axis);    updateRequirements(axis);    // Calculate the spans and offsets using the SizeRequirements uility    // methods.    SizeRequirements.calculateAlignedPositions(span, requirements[axis],                                               childReqs[axis], offsets, spans);  }