@Override
	public void onFrameAvailable(SurfaceTexture surfaceTexture) {
		synchronized (mSyncObject) {
			mFrameAvailable = true;
			mSyncObject.notifyAll();	
		}
	}
The surface view will fill completely fill its parent.
src/net/majorkernelpanic/streaming/gl/SurfaceView.java