protected int getIconTop(
      final int baseline, final int ascent, final int descent, final int top, final int bottom) {
    return baseline + getOffsetAboveBaseline(mFontMetricsInt.ascent, mFontMetricsInt.descent);
  }
A helper function to allow dropping in BetterImageSpan as a replacement to ImageSpan, and
allowing for center alignment if passed in.
fbcore/src/main/java/com/facebook/widget/text/span/BetterImageSpan.java