android Programming Glossary: surfacedone
Android ICS and MJPEG using AsyncTask http://stackoverflow.com/questions/10550139/android-ics-and-mjpeg-using-asynctask showFps false private boolean mRun false private boolean surfaceDone false private Paint overlayPaint private int overlayTextColor.. Canvas c null Paint p new Paint String fps while mRun if surfaceDone try c mSurfaceHolder.lockCanvas synchronized mSurfaceHolder.. w h public void surfaceDestroyed SurfaceHolder holder surfaceDone false stopPlayback public MjpegView Context context super context..
Android and MJPEG http://stackoverflow.com/questions/3205191/android-and-mjpeg showFps false private boolean mRun false private boolean surfaceDone false private Paint overlayPaint private int overlayTextColor.. c null Paint p new Paint String fps while mRun if surfaceDone try c mSurfaceHolder.lockCanvas synchronized mSurfaceHolder.. w h public void surfaceDestroyed SurfaceHolder holder surfaceDone false stopPlayback public MjpegView Context context super context..
Android ICS and MJPEG using AsyncTask http://stackoverflow.com/questions/10550139/android-ics-and-mjpeg-using-asynctask thread private MjpegInputStream mIn null private boolean showFps false private boolean mRun false private boolean surfaceDone false private Paint overlayPaint private int overlayTextColor private int overlayBackgroundColor private int ovlPos private.. Bitmap bm int width int height Rect destRect Canvas c null Paint p new Paint String fps while mRun if surfaceDone try c mSurfaceHolder.lockCanvas synchronized mSurfaceHolder try bm mIn.readMjpegFrame destRect destRect bm.getWidth.. SurfaceHolder holder int f int w int h thread.setSurfaceSize w h public void surfaceDestroyed SurfaceHolder holder surfaceDone false stopPlayback public MjpegView Context context super context init context public void surfaceCreated SurfaceHolder..
Android and MJPEG http://stackoverflow.com/questions/3205191/android-and-mjpeg thread private MjpegInputStream mIn null private boolean showFps false private boolean mRun false private boolean surfaceDone false private Paint overlayPaint private int overlayTextColor private int overlayBackgroundColor private int ovlPos private.. Bitmap bm int width int height Rect destRect Canvas c null Paint p new Paint String fps while mRun if surfaceDone try c mSurfaceHolder.lockCanvas synchronized mSurfaceHolder try bm mIn.readMjpegFrame destRect destRect bm.getWidth.. SurfaceHolder holder int f int w int h thread.setSurfaceSize w h public void surfaceDestroyed SurfaceHolder holder surfaceDone false stopPlayback public MjpegView Context context super context init context public void surfaceCreated SurfaceHolder..
|