/packages/apps/Camera2/src/com/android/camera/settings/ |
D | ResolutionSetting.java | 112 Size pictureSize = null; in getPictureSize() local 129 pictureSize = SettingsUtil.sizeFromSettingString( in getPictureSize() 132 isPictureSizeBlacklisted = pictureSize == null || in getPictureSize() 133 ResolutionUtil.isBlackListed(pictureSize, blacklist); in getPictureSize() 142 final boolean isPictureSizeFromSettingsValid = pictureSize != null && in getPictureSize() 143 pictureSize.width() > 0 && pictureSize.height() > 0; in getPictureSize() 161 pictureSize = fallbackPictureSize; in getPictureSize() 168 return pictureSize; in getPictureSize() 181 Size pictureSize = getPictureSize(cameraId, facing); in getPictureAspectRatio() local 182 return new Rational(pictureSize.getWidth(), pictureSize.getHeight()); in getPictureAspectRatio()
|
D | AppUpgrader.java | 331 String pictureSize = settingsManager.getString(SettingsManager.SCOPE_GLOBAL, key); in upgradeCameraSizeSetting() local 336 Size size = SettingsUtil.getPhotoSize(pictureSize, supported, camera); in upgradeCameraSizeSetting() 475 String pictureSize = settingsManager.getString(SettingsManager.SCOPE_GLOBAL, in updateN516by9ResolutionIfNeeded() local 477 if ("1836x3264".equals(pictureSize)) { in updateN516by9ResolutionIfNeeded()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
D | Camera2PreviewSizeSelector.java | 39 public Size pickPreviewSize(Size pictureSize) { in pickPreviewSize() argument 40 if (pictureSize == null) { in pickPreviewSize() 43 pictureSize = getLargestPictureSize(); in pickPreviewSize() 45 float pictureAspectRatio = pictureSize.getWidth() / (float) pictureSize.getHeight(); in pickPreviewSize()
|
D | GenericOneCameraImpl.java | 186 public Size pickPreviewSize(Size pictureSize, Context context) { in pickPreviewSize() argument 187 return mPreviewSizeSelector.pickPreviewSize(pictureSize); in pickPreviewSize()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/ |
D | CameraManager.java | 622 final Camera.Size pictureSize = chooseBestPictureSize(); in tryShowPreview() local 623 final Camera.Size previewSize = chooseBestPreviewSize(pictureSize); in tryShowPreview() 625 params.setPictureSize(pictureSize.width, pictureSize.height); in tryShowPreview() 627 logCameraSize("Setting picture size: ", pictureSize); in tryShowPreview() 692 private Camera.Size chooseBestPreviewSize(final Camera.Size pictureSize) { in chooseBestPreviewSize() argument 695 final float aspectRatio = pictureSize.width / (float) pictureSize.height; in chooseBestPreviewSize() 696 final int capturePixels = pictureSize.width * pictureSize.height; in chooseBestPreviewSize()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
D | ResourceOpenedCameraImpl.java | 61 Size pictureSize, in create() argument 64 camera, cameraId, cameraFacing, cameraCharacteristics, pictureSize, captureSetting); in create() 73 Size pictureSize, in ResourceOpenedCameraImpl() argument 79 mPictureSize = pictureSize; in ResourceOpenedCameraImpl()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | OneCameraImpl.java | 318 OneCameraImpl(CameraDevice device, CameraCharacteristics characteristics, Size pictureSize) { in OneCameraImpl() argument 332 pictureSize = getDefaultPictureSize(); in OneCameraImpl() 339 mCaptureImageReader = ImageReader.newInstance(pictureSize.getWidth(), in OneCameraImpl() 340 pictureSize.getHeight(), in OneCameraImpl() 720 public Size pickPreviewSize(Size pictureSize, Context context) { in pickPreviewSize() argument 721 if (pictureSize == null) { in pickPreviewSize() 724 pictureSize = getDefaultPictureSize(); in pickPreviewSize() 726 float pictureAspectRatio = pictureSize.getWidth() / (float) pictureSize.getHeight(); in pickPreviewSize()
|
D | OneCameraZslImpl.java | 293 OneCameraZslImpl(CameraDevice device, CameraCharacteristics characteristics, Size pictureSize) { in OneCameraZslImpl() argument 349 if (pictureSize == null) { in OneCameraZslImpl() 352 pictureSize = getDefaultPictureSize(); in OneCameraZslImpl() 354 mCaptureImageReader = ImageReader.newInstance(pictureSize.getWidth(), in OneCameraZslImpl() 355 pictureSize.getHeight(), in OneCameraZslImpl() 1092 public Size pickPreviewSize(Size pictureSize, Context context) { in pickPreviewSize() argument 1093 if (pictureSize == null) { in pickPreviewSize() 1096 pictureSize = getDefaultPictureSize(); in pickPreviewSize() 1098 float pictureAspectRatio = pictureSize.getWidth() / (float) pictureSize.getHeight(); in pickPreviewSize()
|
D | SimpleOneCameraFactory.java | 104 final Size pictureSize, in createOneCamera() argument 115 pictureSize.getWidth(), pictureSize.getHeight(), in createOneCamera()
|
D | ZslOneCameraFactory.java | 137 Size pictureSize, in createOneCamera() argument 148 pictureSize.getWidth(), pictureSize.getHeight(), in createOneCamera()
|
D | OneCameraFactory.java | 35 Size pictureSize, in createOneCamera() argument
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | CameraManager.java | 740 final Camera.Size pictureSize = chooseBestPictureSize(); in tryShowPreview() local 741 final Camera.Size previewSize = chooseBestPreviewSize(pictureSize); in tryShowPreview() 743 params.setPictureSize(pictureSize.width, pictureSize.height); in tryShowPreview() 745 logCameraSize("Setting picture size: ", pictureSize); in tryShowPreview() 1011 private Camera.Size chooseBestPreviewSize(final Camera.Size pictureSize) { in chooseBestPreviewSize() argument 1014 final float aspectRatio = pictureSize.width / (float) pictureSize.height; in chooseBestPreviewSize() 1015 final int capturePixels = pictureSize.width * pictureSize.height; in chooseBestPreviewSize()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
D | StateStartingPreview.java | 63 Size pictureSize, in from() argument 73 pictureSize, in from() 85 Size pictureSize, in StateStartingPreview() argument 93 camera, cameraId, cameraFacing, cameraCharacteristics, pictureSize, captureSetting); in StateStartingPreview()
|
/packages/apps/Camera2/src/com/android/camera/one/ |
D | OneCameraCaptureSetting.java | 43 Size pictureSize, in create() argument 65 pictureSize, in create()
|
D | OneCamera.java | 435 public Size pickPreviewSize(Size pictureSize, Context context); in pickPreviewSize() argument
|
/packages/apps/Camera2/src/com/android/camera/one/v1/ |
D | OneCameraCharacteristicsImpl.java | 53 for (Camera.Size pictureSize : supportedPictureSizes) { in OneCameraCharacteristicsImpl() 54 mSupportedPictureSizes.add(new Size(pictureSize)); in OneCameraCharacteristicsImpl()
|
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/ |
D | QrCamera.java | 178 Size pictureSize = getBestPictureSize(mParameters); in setCameraParameter() local 179 mParameters.setPreviewSize(pictureSize.getWidth(), pictureSize.getHeight()); in setCameraParameter()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | CameraSettings.java | 138 ListPreference pictureSize = group.findPreference(KEY_PICTURE_SIZE); in initPreference() local 156 if (pictureSize != null) { in initPreference() 157 filterUnsupportedOptions(group, pictureSize, sizeListToStringList( in initPreference()
|
D | Camera.java | 1952 String pictureSize = mPreferences.getString( in updateCameraParametersPreference() local 1954 if (pictureSize == null) { in updateCameraParametersPreference() 1959 pictureSize, supported, mParameters); in updateCameraParametersPreference()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PhotoModule.java | 1981 Size pictureSize; in updateParametersPictureSize() local 1983 pictureSize = mAppController.getResolutionSetting().getPictureSize( in updateParametersPictureSize() 1991 mCameraSettings.setPhotoSize(pictureSize.toPortabilitySize()); in updateParametersPictureSize() 1994 if (ResolutionUtil.NEXUS_5_LARGE_16_BY_9.equals(pictureSize)) { in updateParametersPictureSize() 2005 (double) pictureSize.width() / pictureSize.height()); in updateParametersPictureSize()
|
/packages/apps/Camera2/src/com/android/camera/session/ |
D | CaptureSessionImpl.java | 200 @Nonnull Size pictureSize) { in startEmpty() argument 211 mPlaceHolder = mPlaceholderManager.insertEmptyPlaceholder(mTitle, pictureSize, in startEmpty()
|
D | CaptureSession.java | 170 public void startEmpty(@Nullable ImageLifecycleListener listener, @Nonnull Size pictureSize); in startEmpty() argument
|
/packages/apps/Camera2/src/com/android/camera/captureintent/ |
D | CaptureIntentSession.java | 125 … public synchronized void startEmpty(ImageLifecycleListener listener, @Nonnull Size pictureSize) { in startEmpty() argument
|