OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hyperfocal
(Results
1 - 2
of
2
) sorted by null
/packages/apps/Camera2/src/com/android/camera/ui/focus/
LensRangeCalculator.java
52
// Infinity
Hyperfocal
Minimum Camera
56
Float
hyperfocal
= characteristics.get(CameraCharacteristics.LENS_INFO_HYPERFOCAL_DISTANCE);
local
58
if (nearest == null &&
hyperfocal
== null) {
63
hyperfocal
= (
hyperfocal
== null) ? 0.0f :
hyperfocal
;
65
if (nearest >
hyperfocal
) {
66
return new LinearScale(
hyperfocal
, nearest, 0, 1);
69
return new LinearScale(nearest,
hyperfocal
, 0, 1);
/cts/apps/CameraITS/tests/scene0/
test_metadata.py
81
# Test: pixel_pitch, FOV, and
hyperfocal
distance are reasonable
100
hyperfocal
= 1.0 / props["android.lens.info.hyperfocalDistance"]
101
print "Assert
hyperfocal
distance: %.2f m" %
hyperfocal
102
assert 0.02 <=
hyperfocal
Completed in 504 milliseconds