void closeDrawers(boolean peekingOnly) {
        boolean needsInvalidate = false;
        final int childCount = getChildCount();
        for (int i = 0; i < childCount; i++) {
            final View child = getChildAt(i);
            final LayoutParams lp = (LayoutParams) child.getLayoutParams();

            if (!isDrawerView(child) || (peekingOnly && !lp.isPeeking)) {
                continue;
            }
            final int childHeight = child.getHeight();

            if (checkDrawerViewAbsoluteGravity(child, Gravity.TOP)) {
                needsInvalidate |= mTopDragger.smoothSlideViewTo(child,
                        child.getLeft(), -childHeight);
            } else {
                needsInvalidate |= mBottomDragger.smoothSlideViewTo(child,
                        child.getLeft(), getHeight());
            }

            lp.isPeeking = false;
        }

        mTopCallback.removeCallbacks();
        mBottomCallback.removeCallbacks();

        if (needsInvalidate) {
            invalidate();
        }
    }
Close all currently open drawer views by animating them out of view.
app/src/main/java/com/sunnyweather/android/ui/customerUIs/HomeDrawerLayout.java