public void addMediaCodecSurface(Surface surface) {
		synchronized (mSyncObject) {
			mCodecSurfaceManager = new SurfaceManager(surface,mViewSurfaceManager);			
		}
	}
The surface view will fill completely fill its parent.
src/net/majorkernelpanic/streaming/gl/SurfaceView.java