Code example for BounceInterpolator

    private Animation mAnim;
    public Render(GLSurfaceView surface){
        mSurface = surface;
        mQuadShape = new QuadShape();
        Interpolator interpolator = new BounceInterpolator();
        Animation animTranslate = new GotoAnimation(0f,0f,2f,2f,-6f,-50f, interpolator,5000);
        Animation animRotate =  new RotateAnimation(45,135,180,0,0,359,interpolator,5000);
        mAnim = new SequentialAnimation(Arrays.asList(new Animation[]{animTranslate,animRotate}));
    public void onSurfaceChanged(GL10 gl, int width, int height) {
        if(height == 0) {                       //Prevent A Divide By Zero By
            height = 1;                         //Making Height Equal One
        gl.glViewport(0, 0, width, height);     //Reset The Current Viewport
        gl.glMatrixMode(GL10.GL_PROJECTION);    //Select The Projection Matrix