Home
last modified time | relevance | path

Searched refs:focalLength (Results 1 – 5 of 5) 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/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/util/
DExifUtil.java161 Float focalLength = result.get(CaptureResult.LENS_FOCAL_LENGTH);
162 addExifTag(ExifInterface.TAG_FOCAL_LENGTH, rational(focalLength, FOCAL_LENGTH_PRECISION));
/packages/apps/Camera2/src/com/android/camera/ui/
DDetailsDialog.java171 double focalLength = Double.parseDouble(detail.getValue().toString());
172 value = toLocalNumber(focalLength);