Home
last modified time | relevance | path

Searched refs:focalLength (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DevCamera/src/com/android/devcamera/
DCameraInfoCache.java180 float focalLength = 4.5f; // mm, default from Nexus 6P in getFieldOfView() local
183 focalLength); in getFieldOfView()
185 focalLength = availableFocalLengths[0]; in getFieldOfView()
206 2 * Math.atan(physicalSize.getWidth() * activeWidthFraction / 2 / focalLength)); in getFieldOfView()
208 2 * Math.atan(physicalSize.getHeight() * activeHeightFraction / 2 / focalLength)); in getFieldOfView()
/packages/apps/Camera2/src/com/android/camera/util/
DExifUtil.java167 Float focalLength = result.get(CaptureResult.LENS_FOCAL_LENGTH);
168 addExifTag(ExifInterface.TAG_FOCAL_LENGTH, rational(focalLength, FOCAL_LENGTH_PRECISION));
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java1777 private float focalLength; field in PhotoView.MyGestureListener.ZInterpolator
1780 focalLength = foc; in ZInterpolator()
1784 return (1.0f - focalLength / (focalLength + input)) / in getInterpolation()
1785 (1.0f - focalLength / (focalLength + 1.0f)); in getInterpolation()
DDialogDetailsView.java218 double focalLength = Double.parseDouble(detail.getValue().toString()); in setDetails() local
219 value = toLocalNumber(focalLength); in setDetails()
/packages/apps/Camera2/src/com/android/camera/ui/
DDetailsDialog.java171 double focalLength = Double.parseDouble(detail.getValue().toString());
172 value = toLocalNumber(focalLength);
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DCameraController.java627 for (float focalLength : focalLengths) { in calculateCameraCategoryByFocalLengths()
628 if (focalLength >= 50) { in calculateCameraCategoryByFocalLengths()
630 } else if (focalLength >= 30) { in calculateCameraCategoryByFocalLengths()
632 } else if (focalLength >= 20) { in calculateCameraCategoryByFocalLengths()