@Override
    public void computeScroll() {
        final int childCount = getChildCount();
        float scrimOpacity = 0;
        for (int i = 0; i < childCount; i++) {
            final float onscreen = ((LayoutParams) getChildAt(i).getLayoutParams()).onScreen;
            scrimOpacity = Math.max(scrimOpacity, onscreen);
        }
        mScrimOpacity = scrimOpacity;

        boolean topDraggerSettling = mTopDragger.continueSettling(true);
        boolean bottomDraggerSettling = mBottomDragger.continueSettling(true);
        if (topDraggerSettling || bottomDraggerSettling) {
            ViewCompat.postInvalidateOnAnimation(this);
        }
    }
Change the layout direction of the given drawable.
Return true if auto-mirror is supported and drawable's layout direction can be changed.
Otherwise, return false.
app/src/main/java/com/sunnyweather/android/ui/customerUIs/HomeDrawerLayout.java