code: private void clipViewOnTheRight(Rect curViewBound, float curViewWidth, int right) {
          curViewBound.right = (int) (right - mClipPadding);
          curViewBound.left = (int) (curViewBound.right - curViewWidth);
      }
docs: Set bounds for the right textView including clip padding.
  
  @param curViewBound
  current bounds.
  @param curViewWidth
  width of the view.