public void flingCapturedView(int minLeft, int minTop, int maxLeft, int maxTop) {
        if (!mReleaseInProgress) {
            throw new IllegalStateException("Cannot flingCapturedView outside of a call to " +
                    "Callback#onViewReleased");
        }

        mScroller.fling(mCapturedView.getLeft(), mCapturedView.getTop(),
                (int) VelocityTrackerCompat.getXVelocity(mVelocityTracker, mActivePointerId),
                (int) VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId),
                minLeft, maxLeft, minTop, maxTop);

        setDragState(STATE_SETTLING);
    }
Settle the captured view based on standard free-moving fling behavior.
The caller should invoke {@link #continueSettling(boolean)} on each subsequent frame
to continue the motion until it returns false.

@param minLeft Minimum X position for the view's left edge
@param minTop Minimum Y position for the view's top edge
@param maxLeft Maximum X position for the view's left edge
@param maxTop Maximum Y position for the view's top edge
app/src/main/java/home/smart/fly/animations/widget/slidepanel/ViewDragHelper.java