Code example for Scroller

Methods: abortAnimationisFinished

    public void scrollTo(int x, int y) {
        if (!mScroller.isFinished()) {
        reScrollTo(x, y, true);
     * core scroll function which will replace and move TimeTextViews so that they don't get 
     * scrolled out of the layout 
     * @param x 
     * @param y 
     * @param notify if false, the listeners won't be called 
    protected void reScrollTo(int x, int y, boolean notify) {
Connect your IDE to all the code out there  Get Codota for Java