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

@param duration
common/src/main/java/com/sxjs/common/widget/pulltorefresh/PtrFrameLayout.java