public void surfaceDestroyed(SurfaceHolder holder) { mThread.planToStop(); }
public void surfaceCreated(SurfaceHolder holder) { mThread = new DrawerThread(holder, getContext(), new Handler()); mThread.start(); }