private float calculateMsRequiredToFlingOffScreen(){
  float remainingDifference=mDragDirection * getWidth() - getTranslationX();
  return Math.abs(remainingDifference / mDragXPerMs);
}

private float calculateMsRequiredToFlingOffScreen ( ) { float remainingDifference = mDragDirection * getWidth ( ) - getTranslationX ( ) ; return Math . abs ( remainingDifference / mDragXPerMs ) ; }
assuming a linear velocity , determine how long it would take for the view to translate off of the screen .
