code: public void setTextSize(int sizeSp) {
          mTextSize = sizeSp * mDisplayMetrics.scaledDensity;
          mTextPaint.setTextSize(mTextSize);
          invalidate();
      }
docs: Sets the text size.
  @param sizeSp in sp for the text