public void abortIfWorking() {
            if (mIsRunning) {
                if (!mScroller.isFinished()) {
                    mScroller.forceFinished(true);
                }
                onPtrScrollAbort();
                reset();
            }
        }
The duration to close time

@param duration
ptr-lib/src/in/srain/cube/views/ptr/PtrFrameLayout.java