summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2010-05-13 19:31:02 +0800
committerWu-cheng Li <wuchengli@google.com>2010-05-15 12:40:54 +0800
commite339c5edbebedf446581f18ad70214007309bf4b (patch)
tree7d03e881cb3e1300aef948eafb85396a58d38e1c /api
parentaef87aa90cf3a6cf9098477683b07994697c45fe (diff)
downloadframeworks_base-e339c5edbebedf446581f18ad70214007309bf4b.zip
frameworks_base-e339c5edbebedf446581f18ad70214007309bf4b.tar.gz
frameworks_base-e339c5edbebedf446581f18ad70214007309bf4b.tar.bz2
Add camera focus distances API.
Applications can use this API to estimate the distance between the subject and the camera. bug:1955650 Change-Id: Ie6c8ea4971759cab6c9bcdda2c5ceb5925791c27
Diffstat (limited to 'api')
-rw-r--r--api/current.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml
index 8104950..e17e31d 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -75570,6 +75570,19 @@
visibility="public"
>
</method>
+<method name="getFocusDistances"
+ return="void"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<parameter name="output" type="float[]">
+</parameter>
+</method>
<method name="getFocusMode"
return="java.lang.String"
abstract="false"
@@ -76492,6 +76505,39 @@
visibility="public"
>
</field>
+<field name="FOCUS_DISTANCE_FAR_INDEX"
+ type="int"
+ transient="false"
+ volatile="false"
+ value="2"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
+<field name="FOCUS_DISTANCE_NEAR_INDEX"
+ type="int"
+ transient="false"
+ volatile="false"
+ value="0"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
+<field name="FOCUS_DISTANCE_OPTIMAL_INDEX"
+ type="int"
+ transient="false"
+ volatile="false"
+ value="1"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
<field name="FOCUS_MODE_AUTO"
type="java.lang.String"
transient="false"