Searched refs:optimalSize (Results 1 – 9 of 9) sorted by relevance
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Util.java | 380 Size optimalSize = null; in getOptimalPreviewSize() 402 optimalSize = size; in getOptimalPreviewSize() 409 if (optimalSize == null) { in getOptimalPreviewSize() 414 optimalSize = size; in getOptimalPreviewSize() 419 return optimalSize; in getOptimalPreviewSize() 429 Size optimalSize = null; in getOptimalVideoSnapshotPictureSize() 435 if (optimalSize == null || size.width > optimalSize.width) { in getOptimalVideoSnapshotPictureSize() 436 optimalSize = size; in getOptimalVideoSnapshotPictureSize() 442 if (optimalSize == null) { in getOptimalVideoSnapshotPictureSize() 445 if (optimalSize == null || size.width > optimalSize.width) { in getOptimalVideoSnapshotPictureSize() [all …]
|
D | VideoCamera.java | 808 Size optimalSize = Util.getOptimalPreviewSize(this, sizes, in getDesiredPreviewSize() local 810 mDesiredPreviewWidth = optimalSize.width; in getDesiredPreviewSize() 811 mDesiredPreviewHeight = optimalSize.height; in getDesiredPreviewSize() 1939 Size optimalSize = Util.getOptimalVideoSnapshotPictureSize(supported, in setCameraParameters() local 1942 if (!original.equals(optimalSize)) { in setCameraParameters() 1943 mParameters.setPictureSize(optimalSize.width, optimalSize.height); in setCameraParameters() 1945 Log.v(TAG, "Video snapshot size is " + optimalSize.width + "x" + in setCameraParameters() 1946 optimalSize.height); in setCameraParameters()
|
D | Camera.java | 1959 Size optimalSize = Util.getOptimalPreviewSize(this, in updateCameraParametersPreference() local 1962 if (!original.equals(optimalSize)) { in updateCameraParametersPreference() 1963 mParameters.setPreviewSize(optimalSize.width, optimalSize.height); in updateCameraParametersPreference() 1970 Log.v(TAG, "Preview size is " + optimalSize.width + "x" + optimalSize.height); in updateCameraParametersPreference()
|
/packages/apps/Camera/src/com/android/camera/ |
D | Util.java | 442 Size optimalSize = null; in getOptimalPreviewSize() 457 optimalSize = size; in getOptimalPreviewSize() 463 if (optimalSize == null) { in getOptimalPreviewSize() 468 optimalSize = size; in getOptimalPreviewSize() 473 return optimalSize; in getOptimalPreviewSize() 483 Size optimalSize = null; in getOptimalVideoSnapshotPictureSize() 489 if (optimalSize == null || size.width > optimalSize.width) { in getOptimalVideoSnapshotPictureSize() 490 optimalSize = size; in getOptimalVideoSnapshotPictureSize() 496 if (optimalSize == null) { in getOptimalVideoSnapshotPictureSize() 499 if (optimalSize == null || size.width > optimalSize.width) { in getOptimalVideoSnapshotPictureSize() [all …]
|
D | VideoModule.java | 774 Size optimalSize = Util.getOptimalPreviewSize(mActivity, sizes, in getDesiredPreviewSize() local 776 mDesiredPreviewWidth = optimalSize.width; in getDesiredPreviewSize() 777 mDesiredPreviewHeight = optimalSize.height; in getDesiredPreviewSize() 1965 Size optimalSize = Util.getOptimalVideoSnapshotPictureSize(supported, in setCameraParameters() local 1968 if (!original.equals(optimalSize)) { in setCameraParameters() 1969 mParameters.setPictureSize(optimalSize.width, optimalSize.height); in setCameraParameters() 1971 Log.v(TAG, "Video snapshot size is " + optimalSize.width + "x" + in setCameraParameters() 1972 optimalSize.height); in setCameraParameters()
|
D | PhotoModule.java | 2072 Size optimalSize = Util.getOptimalPreviewSize(mActivity, sizes, in updateCameraParametersPreference() local 2075 if (!original.equals(optimalSize)) { in updateCameraParametersPreference() 2076 mParameters.setPreviewSize(optimalSize.width, optimalSize.height); in updateCameraParametersPreference() 2083 Log.v(TAG, "Preview size is " + optimalSize.width + "x" + optimalSize.height); in updateCameraParametersPreference()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | CameraUtil.java | 602 Size optimalSize = null; in getOptimalVideoSnapshotPictureSize() local 620 if (optimalSize == null || size.width() > optimalSize.width()) { in getOptimalVideoSnapshotPictureSize() 621 optimalSize = size; in getOptimalVideoSnapshotPictureSize() 627 if (optimalSize == null) { in getOptimalVideoSnapshotPictureSize() 630 if (optimalSize == null || size.width() > optimalSize.width()) { in getOptimalVideoSnapshotPictureSize() 631 optimalSize = size; in getOptimalVideoSnapshotPictureSize() 635 return optimalSize; in getOptimalVideoSnapshotPictureSize()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PhotoModule.java | 2000 Size optimalSize = CameraUtil.getOptimalPreviewSize(sizes, in updateParametersPictureSize() local 2003 if (!optimalSize.equals(original)) { in updateParametersPictureSize() 2004 Log.v(TAG, "setting preview size. optimal: " + optimalSize + "original: " + original); in updateParametersPictureSize() 2005 mCameraSettings.setPreviewSize(optimalSize.toPortabilitySize()); in updateParametersPictureSize() 2011 if (optimalSize.width() != 0 && optimalSize.height() != 0) { in updateParametersPictureSize() 2013 mUI.updatePreviewAspectRatio((float) optimalSize.width() in updateParametersPictureSize() 2014 / (float) optimalSize.height()); in updateParametersPictureSize() 2016 Log.d(TAG, "Preview size is " + optimalSize); in updateParametersPictureSize()
|
D | VideoModule.java | 847 Size optimalSize = CameraUtil.getOptimalPreviewSize(sizes, in getDesiredPreviewSize() local 849 return new Point(optimalSize.width(), optimalSize.height()); in getDesiredPreviewSize() 1685 Size optimalSize = CameraUtil.getOptimalVideoSnapshotPictureSize(supported, in setCameraParameters() local 1688 if (!original.equals(optimalSize)) { in setCameraParameters() 1689 mCameraSettings.setPhotoSize(optimalSize.toPortabilitySize()); in setCameraParameters() 1691 Log.d(TAG, "Video snapshot size is " + optimalSize); in setCameraParameters()
|