code: private boolean smoothSlideTo(float slideOffset) {
      final int topBound = getPaddingTop();
      int x = (int) (slideOffset * (getWidth() - transformer.getMinWidthPlusMarginRight()));
      int y = (int) (topBound + slideOffset * getVerticalDragRange());
      if (viewDragHelper.smoothSlideViewTo(dragView, x, y)) {
        ViewCompat.postInvalidateOnAnimation(this);
        return true;
      }
      return false;
    }
docs: Realize an smooth slide to an slide offset passed as argument. This method is the base of
  maximize, minimize and close methods.
  
  @param slideOffset to apply
  @return true if the view is slided.