// change the display parameters if surface is a different size public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { dthread.setSurfaceSize(width, height); }