private void completeAnimation() {
        mScroller.abortAnimation();
        final int finalX = mScroller.getFinalX();
        setOffsetPixels(finalX);
        setDrawerState(finalX == 0 ? STATE_CLOSED : STATE_OPEN);
        stopLayerTranslation();
    }
Called when a drawer animation has successfully completed.
menudrawer/src/net/simonvt/menudrawer/DraggableDrawer.java