code: public void setTextSize(int unit, float size) {
          if (!mSizeToFit) {
              mTextView.setTextSize(unit, size);
          }
  
          Context context = mTextView.getContext();
          Resources r = Resources.getSystem();
  
          if (context != null) {
              r = context.getResources();
          }
  
          setRawTextSize(TypedValue.applyDimension(unit, size, r.getDisplayMetrics()));
      }
docs: probably it wont work (is there a way to have a delegate for mTextView to pass to this when setTextSize is called on it)