Home
last modified time | relevance | path

Searched refs:supportedSizes (Results 1 – 4 of 4) sorted by relevance

/packages/apps/VideoEditor/src/com/android/videoeditor/
DExportOptionsDialog.java114 final Pair<Integer, Integer>[] supportedSizes = in prepareContent() local
116 for (int i = 0; i < supportedSizes.length; i++) { in prepareContent()
117 sizeAdapter.add(supportedSizes[i].first + "x" + supportedSizes[i].second); in prepareContent()
146 final Pair<Integer, Integer>[] supportedSizes = in indexToMovieHeight() local
148 return supportedSizes[sizeIndex].second; in indexToMovieHeight()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java371 private boolean findBestPreviewSize(List<Size> supportedSizes, boolean need4To3, in findBestPreviewSize() argument
375 for (Size size : supportedSizes) { in findBestPreviewSize()
398 List<Size> supportedSizes = parameters.getSupportedPreviewSizes(); in setupCaptureParams() local
399 if (!findBestPreviewSize(supportedSizes, true, true)) { in setupCaptureParams()
401 if (!findBestPreviewSize(supportedSizes, false, true)) { in setupCaptureParams()
403 findBestPreviewSize(supportedSizes, false, false); in setupCaptureParams()
/packages/apps/Camera/src/com/android/camera/
DPanoramaModule.java366 private boolean findBestPreviewSize(List<Size> supportedSizes, boolean need4To3, in findBestPreviewSize() argument
370 for (Size size : supportedSizes) { in findBestPreviewSize()
393 List<Size> supportedSizes = parameters.getSupportedPreviewSizes(); in setupCaptureParams() local
394 if (!findBestPreviewSize(supportedSizes, true, true)) { in setupCaptureParams()
396 if (!findBestPreviewSize(supportedSizes, false, true)) { in setupCaptureParams()
398 findBestPreviewSize(supportedSizes, false, false); in setupCaptureParams()
/packages/apps/Gallery2/src/com/android/camera/
DPanoramaModule.java368 private boolean findBestPreviewSize(List<Size> supportedSizes, boolean need4To3, in findBestPreviewSize() argument
372 for (Size size : supportedSizes) { in findBestPreviewSize()
395 List<Size> supportedSizes = parameters.getSupportedPreviewSizes(); in setupCaptureParams() local
396 if (!findBestPreviewSize(supportedSizes, true, true)) { in setupCaptureParams()
398 if (!findBestPreviewSize(supportedSizes, false, true)) { in setupCaptureParams()
400 findBestPreviewSize(supportedSizes, false, false); in setupCaptureParams()