Searched refs:SettingsUtil (Results 1 – 8 of 8) sorted by relevance
22 import com.android.camera.settings.SettingsUtil.CameraDeviceSelector;23 import com.android.camera.settings.SettingsUtil.SelectedVideoQualities;115 List<Size> backCameraSizes = computeSizesForCamera(SettingsUtil.CAMERA_FACING_BACK); in computePictureSizes()116 List<Size> frontCameraSizes = computeSizesForCamera(SettingsUtil.CAMERA_FACING_FRONT); in computePictureSizes()118 computeQualitiesForCamera(SettingsUtil.CAMERA_FACING_BACK); in computePictureSizes()120 computeQualitiesForCamera(SettingsUtil.CAMERA_FACING_FRONT); in computePictureSizes()127 int cameraId = SettingsUtil.getCameraId(mCameraDeviceInfo, facingSelector); in computeSizesForCamera()139 facingSelector == SettingsUtil.CAMERA_FACING_BACK); in computeSizesForCamera()151 int cameraId = SettingsUtil.getCameraId(mCameraDeviceInfo, facingSelector); in computeQualitiesForCamera()154 return Optional.of(SettingsUtil.getSelectedVideoQualities(cameraId)); in computeQualitiesForCamera()
140 SettingsUtil.CAMERA_FACING_FRONT); in upgrade()142 SettingsUtil.CAMERA_FACING_BACK); in upgrade()311 SettingsUtil.CameraDeviceSelector facing) { in upgradeCameraSizeSetting()313 if (facing == SettingsUtil.CAMERA_FACING_FRONT) { in upgradeCameraSizeSetting()315 } else if (facing == SettingsUtil.CAMERA_FACING_BACK) { in upgradeCameraSizeSetting()332 int camera = SettingsUtil.getCameraId(infos, facing); in upgradeCameraSizeSetting()336 Size size = SettingsUtil.getPhotoSize(pictureSize, supported, camera); in upgradeCameraSizeSetting()338 SettingsUtil.sizeToSettingString(size)); in upgradeCameraSizeSetting()
101 SettingsUtil.sizeToSettingString(chosenPictureSize)); in setPictureAspectRatio()131 pictureSize = SettingsUtil.sizeFromSettingString( in getPictureSize()163 SettingsUtil.sizeToSettingString(fallbackPictureSize)); in getPictureSize()
48 import com.android.camera.settings.SettingsUtil.SelectedVideoQualities;436 entryValues[i] = SettingsUtil.sizeToSettingString(size); in setEntriesForSelection()480 Size settingSize = SettingsUtil.sizeFromSettingString(setting); in setSummaryForSelection()
43 public class SettingsUtil { class
39 public class SettingsUtil { class
30 public class SettingsUtil { class
65 import com.android.camera.settings.SettingsUtil;738 int quality = SettingsUtil.getVideoQuality(videoQuality, mCameraId); in readVideoPreferences()760 mMaxVideoDurationInMs = SettingsUtil.getMaxVideoDuration(mActivity in readVideoPreferences()