protected void updateIndicatorClipRect() {
        mActiveView.getDrawingRect(mActiveRect);
        offsetDescendantRectToMyCoords(mActiveView, mActiveRect);

        final float openRatio = mIsStatic ? 1.0f : Math.abs(mOffsetPixels) / mMenuSize;

        final float interpolatedRatio = 1.f - INDICATOR_INTERPOLATOR.getInterpolation((1.f - openRatio));

        final int indicatorWidth = mActiveIndicator.getWidth();
        final int indicatorHeight = mActiveIndicator.getHeight();

        final int interpolatedWidth = (int) (indicatorWidth * interpolatedRatio);
        final int interpolatedHeight = (int) (indicatorHeight * interpolatedRatio);

        final int startPos = mIndicatorStartPos;

        int left = 0;
        int top = 0;
        int right = 0;
        int bottom = 0;

        switch (getPosition()) {
            case LEFT:
            case RIGHT:
                final int finalTop = mActiveRect.top + ((mActiveRect.height() - indicatorHeight) / 2);
                if (mIndicatorAnimating) {
                    top = (int) (startPos + ((finalTop - startPos) * mIndicatorOffset));
                } else {
                    top = finalTop;
                }
                bottom = top + indicatorHeight;
                break;

            case TOP:
            case BOTTOM:
                final int finalLeft = mActiveRect.left + ((mActiveRect.width() - indicatorWidth) / 2);
                if (mIndicatorAnimating) {
                    left = (int) (startPos + ((finalLeft - startPos) * mIndicatorOffset));
                } else {
                    left = finalLeft;
                }
                right = left + indicatorWidth;
                break;
        }

        switch (getPosition()) {
            case LEFT: {
                right = ViewHelper.getLeft(mContentContainer);
                left = right - interpolatedWidth;
                break;
            }

            case TOP: {
                bottom = ViewHelper.getTop(mContentContainer);
                top = bottom - interpolatedHeight;
                break;
            }

            case RIGHT: {
                left = ViewHelper.getRight(mContentContainer);
                right = left + interpolatedWidth;
                break;
            }

            case BOTTOM: {
                top = ViewHelper.getBottom(mContentContainer);
                bottom = top + interpolatedHeight;
                break;
            }
        }

        mIndicatorClipRect.left = left;
        mIndicatorClipRect.top = top;
        mIndicatorClipRect.right = right;
        mIndicatorClipRect.bottom = bottom;
    }
Update the {@link Rect} where the indicator is drawn.
menudrawer/src/net/simonvt/menudrawer/MenuDrawer.java