Searched refs:previewSizes (Results 1 – 6 of 6) sorted by relevance
239 List<Camera.Size> previewSizes = camera.getParameters().getSupportedPreviewSizes(); in testStressRecorder() local240 width = previewSizes.get(0).width; in testStressRecorder()241 height = previewSizes.get(0).height; in testStressRecorder()242 for (Camera.Size size : previewSizes) { in testStressRecorder()338 List<Camera.Size> previewSizes = mCamera.getParameters().getSupportedPreviewSizes(); in testStressCameraSwitchRecorder() local339 width = previewSizes.get(0).width; in testStressCameraSwitchRecorder()340 height = previewSizes.get(0).height; in testStressCameraSwitchRecorder()341 for (Camera.Size size : previewSizes) { in testStressCameraSwitchRecorder()
1013 List<Size> previewSizes = getPreviewSizesForVideo(videoSz, in doRecordingWithDifferentPreviewSizes() local1015 if (previewSizes.size() <= 1) { in doRecordingWithDifferentPreviewSizes()1021 updatePreviewSurface(previewSizes.get(0)); in doRecordingWithDifferentPreviewSizes()1033 updatePreviewSurface(previewSizes.get(1)); in doRecordingWithDifferentPreviewSizes()2134 ArrayList<Size> previewSizes = new ArrayList<>(); in getPreviewSizesForVideo() local2150 previewSizes.add(s); in getPreviewSizesForVideo()2155 if (previewSizes.isEmpty()) { in getPreviewSizesForVideo()2156 previewSizes.add(videoSize); in getPreviewSizesForVideo()2159 return previewSizes; in getPreviewSizesForVideo()2172 List<Size> previewSizes = getPreviewSizesForVideo(videoSize, videoFrameRate); in updatePreviewSurfaceWithVideo() local[all …]
738 List<Size> previewSizes = getSupportedPreviewSizes( in previewTestByCamera() local741 for (final Size sz : previewSizes) { in previewTestByCamera()
847 List<Size> previewSizes = getSupportedPreviewSizes(id, in test10bitRepeatingAndCaptureCombined() local851 previewSizes.stream().filter(repeatingSizes::contains).collect( in test10bitRepeatingAndCaptureCombined()1431 List<Size> previewSizes = getSupportedPreviewSizes(id, in testRepeatingAndCaptureCombined() local1435 previewSizes.stream().filter(repeatingSizes::contains).collect( in testRepeatingAndCaptureCombined()2972 List<Size> previewSizes = getSupportedPreviewSizes(id, in testIllegalArguments() local2976 previewSizes.stream().filter(repeatingSizes::contains).collect( in testIllegalArguments()
959 List<Size> previewSizes = getSupportedPreviewSizes( in findCommonPreviewSize() local997 for (Size previewSize : previewSizes) { in findCommonPreviewSize()
730 List<Size> previewSizes = parameters.getSupportedPreviewSizes(); in assertParameters() local742 assertTrue(previewSizes != null && previewSizes.size() != 0); in assertParameters()770 Size previewSize = previewSizes.get(0); in assertParameters()874 List<Size> previewSizes = parameters.getSupportedPreviewSizes(); in checkPreferredPreviewSizeForVideo() local875 assertNotNull(previewSizes); in checkPreferredPreviewSizeForVideo()876 assertTrue(previewSizes.size() > 0); in checkPreferredPreviewSizeForVideo()877 assertTrue(previewSizes.contains(preferredPreviewSize)); in checkPreferredPreviewSizeForVideo()