code: private boolean forceFinishScroll() {
          if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
              // current velocity only available since api 14
              return mScroller.getCurrVelocity() <= mMinimumFlingVelocity;
          } else {
              return false;
          }
      }
docs: Check if scrolling should be stopped.
  @return true if scrolling should be stopped before reaching the end of animation.