From 684b23513c9137ddc04b06ac05a4b15be06ad2f4 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Tue, 26 Jul 2011 14:07:19 -0700 Subject: Unhide new RS apis. Change-Id: I83505156bd8a0ffabf0da3aef937693eaee9d9cd --- api/current.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'api') diff --git a/api/current.txt b/api/current.txt index db7713ad7161..e83b76d5d206 100644 --- a/api/current.txt +++ b/api/current.txt @@ -17697,6 +17697,21 @@ package android.renderscript { method public void surfaceDestroyed(android.view.SurfaceHolder); } + public class RSTextureView extends android.view.TextureView implements android.view.TextureView.SurfaceTextureListener { + ctor public RSTextureView(android.content.Context); + ctor public RSTextureView(android.content.Context, android.util.AttributeSet); + method public android.renderscript.RenderScriptGL createRenderScriptGL(android.renderscript.RenderScriptGL.SurfaceConfig); + method public void destroyRenderScriptGL(); + method public android.renderscript.RenderScriptGL getRenderScriptGL(); + method public void onSurfaceTextureAvailable(android.graphics.SurfaceTexture, int, int); + method public void onSurfaceTextureDestroyed(android.graphics.SurfaceTexture); + method public void onSurfaceTextureSizeChanged(android.graphics.SurfaceTexture, int, int); + method public void onSurfaceTextureUpdated(android.graphics.SurfaceTexture); + method public void pause(); + method public void resume(); + method public void setRenderScriptGL(android.renderscript.RenderScriptGL); + } + public class RenderScript { method public void contextDump(); method public static android.renderscript.RenderScript create(android.content.Context); @@ -17744,6 +17759,7 @@ package android.renderscript { method public void pause(); method public void resume(); method public void setSurface(android.view.SurfaceHolder, int, int); + method public void setSurfaceTexture(android.graphics.SurfaceTexture, int, int); } public static class RenderScriptGL.SurfaceConfig { @@ -17787,6 +17803,7 @@ package android.renderscript { public class Script extends android.renderscript.BaseObj { method public void bindAllocation(android.renderscript.Allocation, int); + method protected void forEach(int, android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.FieldPacker); method protected void invoke(int); method protected void invoke(int, android.renderscript.FieldPacker); method public void setTimeZone(java.lang.String); -- cgit v1.2.3-59-g8ed1b