Searched refs:previewTexture (Results 1 – 2 of 2) sorted by relevance
294 SurfaceTexture[] previewTexture = new SurfaceTexture[2]; in testSharedSurfaceBasicByCamera() local303 previewTexture[i] = getAvailableSurfaceTexture( in testSharedSurfaceBasicByCamera()305 assertNotNull("Unable to get preview surface texture", previewTexture[i]); in testSharedSurfaceBasicByCamera()306 previewTexture[i].setDefaultBufferSize(previewSize.getWidth(), previewSize.getHeight()); in testSharedSurfaceBasicByCamera()309 surfaces[i] = new Surface(previewTexture[i]); in testSharedSurfaceBasicByCamera()442 SurfaceTexture previewTexture = getAvailableSurfaceTexture(WAIT_FOR_COMMAND_TO_COMPLETE, in testSharedSurfaceImageReaderSwitch() local444 assertNotNull("Unable to get preview surface texture", previewTexture); in testSharedSurfaceImageReaderSwitch()445 previewTexture.setDefaultBufferSize(previewSize.getWidth(), previewSize.getHeight()); in testSharedSurfaceImageReaderSwitch()447 Surface previewSurface = new Surface(previewTexture); in testSharedSurfaceImageReaderSwitch()658 SurfaceTexture[] previewTexture = new SurfaceTexture[surfaceLimit]; in testSharedSurfaceLimitByCamera() local[all …]
100 SurfaceTexture previewTexture = new SurfaceTexture(/*random int*/ 1); in testLegacyApiPerformance() local101 mCamera.setPreviewTexture(previewTexture); in testLegacyApiPerformance()129 previewTexture.release(); in testLegacyApiPerformance()