summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorWei-Ta Chen <weita@google.com>2010-02-05 16:58:25 +0800
committerWei-Ta Chen <weita@google.com>2010-02-10 23:15:37 +0800
commitd2391faa5d21a7513f321c03da0945277e291ad7 (patch)
treedc2fb8997d99da6d48f3388a02e9ee6241df1998 /api
parentca35953c9064114cb09181e8bffddb2f7c2d8d53 (diff)
downloadframeworks_base-d2391faa5d21a7513f321c03da0945277e291ad7.zip
frameworks_base-d2391faa5d21a7513f321c03da0945277e291ad7.tar.gz
frameworks_base-d2391faa5d21a7513f321c03da0945277e291ad7.tar.bz2
Modify the API of YuvImage, so that callers do not need to deal with
the yuv format when specifying a rectangle region. Bug: 2285598
Diffstat (limited to 'api')
-rw-r--r--api/current.xml45
1 files changed, 24 insertions, 21 deletions
diff --git a/api/current.xml b/api/current.xml
index 31ab3ce..7eedf87 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -66274,6 +66274,10 @@
</parameter>
<parameter name="format" type="int">
</parameter>
+<parameter name="width" type="int">
+</parameter>
+<parameter name="height" type="int">
+</parameter>
<parameter name="strides" type="int[]">
</parameter>
</constructor>
@@ -66287,17 +66291,24 @@
deprecated="not deprecated"
visibility="public"
>
-<parameter name="width" type="int">
-</parameter>
-<parameter name="height" type="int">
-</parameter>
-<parameter name="offsets" type="int[]">
+<parameter name="rectangle" type="android.graphics.Rect">
</parameter>
<parameter name="quality" type="int">
</parameter>
<parameter name="stream" type="java.io.OutputStream">
</parameter>
</method>
+<method name="getHeight"
+ return="int"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
<method name="getStrides"
return="int[]"
abstract="false"
@@ -66309,8 +66320,8 @@
visibility="public"
>
</method>
-<method name="getYuvData"
- return="byte[]"
+<method name="getWidth"
+ return="int"
abstract="false"
native="false"
synchronized="false"
@@ -66320,8 +66331,8 @@
visibility="public"
>
</method>
-<method name="getYuvFormat"
- return="int"
+<method name="getYuvData"
+ return="byte[]"
abstract="false"
native="false"
synchronized="false"
@@ -66331,24 +66342,16 @@
visibility="public"
>
</method>
-<method name="validate"
- return="boolean"
+<method name="getYuvFormat"
+ return="int"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="not deprecated"
- visibility="protected"
+ visibility="public"
>
-<parameter name="format" type="int">
-</parameter>
-<parameter name="width" type="int">
-</parameter>
-<parameter name="height" type="int">
-</parameter>
-<parameter name="offsets" type="int[]">
-</parameter>
</method>
</class>
</package>
@@ -72580,7 +72583,7 @@
type="float"
transient="false"
volatile="false"
- value="0.0010f"
+ value="0.001f"
static="true"
final="true"
deprecated="not deprecated"