Searched refs:previewTexture (Results 1 – 2 of 2) sorted by relevance
312 SurfaceTexture[] previewTexture = new SurfaceTexture[2]; in testSharedSurfaceBasicByCamera() local321 previewTexture[i] = getAvailableSurfaceTexture( in testSharedSurfaceBasicByCamera()323 assertNotNull("Unable to get preview surface texture", previewTexture[i]); in testSharedSurfaceBasicByCamera()324 previewTexture[i].setDefaultBufferSize(previewSize.getWidth(), previewSize.getHeight()); in testSharedSurfaceBasicByCamera()327 surfaces[i] = new Surface(previewTexture[i]); in testSharedSurfaceBasicByCamera()460 SurfaceTexture previewTexture = getAvailableSurfaceTexture(WAIT_FOR_COMMAND_TO_COMPLETE, in testSharedSurfaceImageReaderSwitch() local462 assertNotNull("Unable to get preview surface texture", previewTexture); in testSharedSurfaceImageReaderSwitch()463 previewTexture.setDefaultBufferSize(previewSize.getWidth(), previewSize.getHeight()); in testSharedSurfaceImageReaderSwitch()465 Surface previewSurface = new Surface(previewTexture); in testSharedSurfaceImageReaderSwitch()676 SurfaceTexture[] previewTexture = new SurfaceTexture[surfaceLimit]; in testSharedSurfaceLimitByCamera() local[all …]
111 SurfaceTexture previewTexture = new SurfaceTexture(/*random int*/ 1); in testLegacyApiPerformance() local112 mHelper.getCamera().setPreviewTexture(previewTexture); in testLegacyApiPerformance()140 previewTexture.release(); in testLegacyApiPerformance()