diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-05-18 17:56:23 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-05-18 18:16:35 -0700 |
commit | 74323fd1ab8eb11beea286d5c213c63e4b803141 (patch) | |
tree | 6c3108b7da5b5fb32d2b05ff3126b102a138b6d8 /api | |
parent | 4ec730cabb68ee8347c6aa5dc929b09651275aca (diff) | |
download | frameworks_base-74323fd1ab8eb11beea286d5c213c63e4b803141.zip frameworks_base-74323fd1ab8eb11beea286d5c213c63e4b803141.tar.gz frameworks_base-74323fd1ab8eb11beea286d5c213c63e4b803141.tar.bz2 |
Update NativeActivity to allow direct surface access.
No actual native API for using a surface, but it's a step.
Change-Id: I627f26b705abc7a05edf9117411abfacf0fae64a
Diffstat (limited to 'api')
-rw-r--r-- | api/current.xml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml index b141ad1..9de5196 100644 --- a/api/current.xml +++ b/api/current.xml @@ -26284,6 +26284,8 @@ deprecated="not deprecated" visibility="public" > +<implements name="android.view.SurfaceHolder.Callback"> +</implements> <constructor name="NativeActivity" type="android.app.NativeActivity" static="false" @@ -26292,6 +26294,51 @@ visibility="public" > </constructor> +<method name="surfaceChanged" + return="void" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="holder" type="android.view.SurfaceHolder"> +</parameter> +<parameter name="format" type="int"> +</parameter> +<parameter name="width" type="int"> +</parameter> +<parameter name="height" type="int"> +</parameter> +</method> +<method name="surfaceCreated" + return="void" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="holder" type="android.view.SurfaceHolder"> +</parameter> +</method> +<method name="surfaceDestroyed" + return="void" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="holder" type="android.view.SurfaceHolder"> +</parameter> +</method> <field name="META_DATA_LIB_NAME" type="java.lang.String" transient="false" |