Searched refs:previewSizes (Results 1 – 6 of 6) sorted by relevance
234 List<Camera.Size> previewSizes = camera.getParameters().getSupportedPreviewSizes(); in testStressRecorder() local235 width = previewSizes.get(0).width; in testStressRecorder()236 height = previewSizes.get(0).height; in testStressRecorder()237 for (Camera.Size size : previewSizes) { in testStressRecorder()329 List<Camera.Size> previewSizes = mCamera.getParameters().getSupportedPreviewSizes(); in testStressCameraSwitchRecorder() local330 width = previewSizes.get(0).width; in testStressCameraSwitchRecorder()331 height = previewSizes.get(0).height; in testStressCameraSwitchRecorder()332 for (Camera.Size size : previewSizes) { in testStressCameraSwitchRecorder()
677 List<Size> previewSizes = getPreviewSizesForVideo(videoSz, in doRecordingWithDifferentPreviewSizes() local679 if (previewSizes.size() <= 1) { in doRecordingWithDifferentPreviewSizes()685 updatePreviewSurface(previewSizes.get(0)); in doRecordingWithDifferentPreviewSizes()697 updatePreviewSurface(previewSizes.get(1)); in doRecordingWithDifferentPreviewSizes()1740 ArrayList<Size> previewSizes = new ArrayList<>(); in getPreviewSizesForVideo() local1756 previewSizes.add(s); in getPreviewSizesForVideo()1761 if (previewSizes.isEmpty()) { in getPreviewSizesForVideo()1762 previewSizes.add(videoSize); in getPreviewSizesForVideo()1765 return previewSizes; in getPreviewSizesForVideo()1778 List<Size> previewSizes = getPreviewSizesForVideo(videoSize, videoFrameRate); in updatePreviewSurfaceWithVideo() local[all …]
795 List<Size> previewSizes = getSupportedPreviewSizes(id, in testRepeatingAndCaptureCombined() local799 previewSizes.stream().filter(repeatingSizes::contains).collect( in testRepeatingAndCaptureCombined()1154 List<Size> previewSizes = getSupportedPreviewSizes(id, in testIllegalArguments() local1158 previewSizes.stream().filter(repeatingSizes::contains).collect( in testIllegalArguments()
750 List<Size> previewSizes = getSupportedPreviewSizes( in previewTestByCamera() local753 for (final Size sz : previewSizes) { in previewTestByCamera()
931 List<Size> previewSizes = getSupportedPreviewSizes( in findCommonPreviewSize() local966 for (Size previewSize : previewSizes) { in findCommonPreviewSize()
729 List<Size> previewSizes = parameters.getSupportedPreviewSizes(); in assertParameters() local741 assertTrue(previewSizes != null && previewSizes.size() != 0); in assertParameters()769 Size previewSize = previewSizes.get(0); in assertParameters()873 List<Size> previewSizes = parameters.getSupportedPreviewSizes(); in checkPreferredPreviewSizeForVideo() local874 assertNotNull(previewSizes); in checkPreferredPreviewSizeForVideo()875 assertTrue(previewSizes.size() > 0); in checkPreferredPreviewSizeForVideo()876 assertTrue(previewSizes.contains(preferredPreviewSize)); in checkPreferredPreviewSizeForVideo()