private Rect getSurfaceFrame() {
        SurfaceView view = (SurfaceView) androidInput.getView();
        SurfaceHolder holder = view.getHolder();
        Rect result = holder.getSurfaceFrame();
        return result;
    }
Retrieves the dimensions of the input surface. Note: do not modify the
returned object.

@return the dimensions (in pixels, left and top are 0)
jme3-android/src/main/java/com/jme3/system/android/OGLESContext.java