Searched refs:mPreviewSurfaceTexture (Results 1 – 1 of 1) sorted by relevance
114 private SurfaceTexture mPreviewSurfaceTexture; field in PerformanceTest1349 if ((mPreviewSurfaceTexture != null ) || (mPreviewSurface != null)) { in updatePreviewSurface()1353 mPreviewSurfaceTexture = new SurfaceTexture(/*random int*/ 1); in updatePreviewSurface()1354 mPreviewSurfaceTexture.setDefaultBufferSize(size.getWidth(), size.getHeight()); in updatePreviewSurface()1355 mPreviewSurface = new Surface(mPreviewSurfaceTexture); in updatePreviewSurface()1367 if (mPreviewSurfaceTexture != null) { in closePreviewSurface()1368 mPreviewSurfaceTexture.release(); in closePreviewSurface()1369 mPreviewSurfaceTexture = null; in closePreviewSurface()