Home
last modified time | relevance | path

Searched refs:frameRates (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java818 public static int[] getPhotoPreviewFpsRange(List<int[]> frameRates) { in getPhotoPreviewFpsRange() argument
819 if (frameRates.size() == 0) { in getPhotoPreviewFpsRange()
826 for (int[] rate : frameRates) { in getPhotoPreviewFpsRange()
840 for (int i = 0; i < frameRates.size(); i++) { in getPhotoPreviewFpsRange()
841 int[] rate = frameRates.get(i); in getPhotoPreviewFpsRange()
851 return frameRates.get(resultIndex); in getPhotoPreviewFpsRange()
857 public static int[] getMaxPreviewFpsRange(List<int[]> frameRates) { in getMaxPreviewFpsRange() argument
858 if (frameRates != null && frameRates.size() > 0) { in getMaxPreviewFpsRange()
860 return frameRates.get(frameRates.size() - 1); in getMaxPreviewFpsRange()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java409 List<int[]> frameRates = parameters.getSupportedPreviewFpsRange(); in setupCaptureParams() local
410 int last = frameRates.size() - 1; in setupCaptureParams()
411 int minFps = (frameRates.get(last))[Parameters.PREVIEW_FPS_MIN_INDEX]; in setupCaptureParams()
412 int maxFps = (frameRates.get(last))[Parameters.PREVIEW_FPS_MAX_INDEX]; in setupCaptureParams()
/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java1915 List<Integer> frameRates = mParameters.getSupportedPreviewFrameRates(); in updateCameraParametersInitialize() local
1916 if (frameRates != null) { in updateCameraParametersInitialize()
1917 Integer max = Collections.max(frameRates); in updateCameraParametersInitialize()