@Override
    public void stopAnimation(final boolean jumpToTarget) {

        if (!mMapView.getScroller().isFinished()) {
            if (jumpToTarget) {
                mMapView.mIsFlinging = false;
                mMapView.getScroller().abortAnimation();
            } else
                stopPanning();
        }

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
            final Animator currentAnimator = this.mCurrentAnimator;
            if (mMapView.mIsAnimating.get()) {
                if (jumpToTarget) {
                    currentAnimator.end();
                }
                else {
                    currentAnimator.cancel();
                }
            }
        } else {
            if (mMapView.mIsAnimating.get()) {
                mMapView.clearAnimation();
            }
        }
    }
@ Override public void stopAnimation ( final boolean jumpToTarget ) { if ( ! mMapView . getScroller ( ) . isFinished ( ) ) { if ( jumpToTarget ) { mMapView . mIsFlinging = false ; mMapView . getScroller ( ) . abortAnimation ( ) ; } else stopPanning ( ) ; } if ( Build . VERSION . SDK_INT >= Build . VERSION_CODES . HONEYCOMB ) { final Animator currentAnimator = this . mCurrentAnimator ; if ( mMapView . mIsAnimating . get ( ) ) { if ( jumpToTarget ) { currentAnimator . end ( ) ; } else { currentAnimator . cancel ( ) ; } } } else { if ( mMapView . mIsAnimating . get ( ) ) { mMapView . clearAnimation ( ) ; } } }
Stops a running animation.

@param jumpToTarget