diff options
Diffstat (limited to 'graphics')
5 files changed, 10 insertions, 6 deletions
diff --git a/graphics/java/android/graphics/drawable/AnimationDrawable.java b/graphics/java/android/graphics/drawable/AnimationDrawable.java index 2220f96..7efdc6c 100644 --- a/graphics/java/android/graphics/drawable/AnimationDrawable.java +++ b/graphics/java/android/graphics/drawable/AnimationDrawable.java @@ -33,7 +33,7 @@ import android.util.AttributeSet; * <p> * The simplest way to create a frame-by-frame animation is to define the animation in an XML * file, placed in the res/drawable/ folder, and set it as the background to a View object. Then, call - * {@link #run()} to start the animation. + * {@link #start()} to run the animation. * <p> * An AnimationDrawable defined in XML consists of a single <code><animation-list></code> element, * and a series of nested <code><item></code> tags. Each item defines a frame of the animation. diff --git a/graphics/java/android/renderscript/BaseObj.java b/graphics/java/android/renderscript/BaseObj.java index 63e7dd1..2e55c48 100644 --- a/graphics/java/android/renderscript/BaseObj.java +++ b/graphics/java/android/renderscript/BaseObj.java @@ -97,6 +97,13 @@ public class BaseObj { } } + /** + * @return name of the renderscript object + */ + public String getName() { + return mName; + } + protected void finalize() throws Throwable { if (!mDestroyed) { if(mID != 0 && mRS.isAlive()) { diff --git a/graphics/java/android/renderscript/RSTextureView.java b/graphics/java/android/renderscript/RSTextureView.java index 6046ee1..b8dd577 100644 --- a/graphics/java/android/renderscript/RSTextureView.java +++ b/graphics/java/android/renderscript/RSTextureView.java @@ -29,9 +29,9 @@ import android.util.Log; import android.view.TextureView; /** - * The Surface View for a graphics renderscript (RenderScriptGL) to draw on. + * The Texture View for a graphics renderscript (RenderScriptGL) + * to draw on. * - * @hide */ public class RSTextureView extends TextureView implements TextureView.SurfaceTextureListener { private RenderScriptGL mRS; diff --git a/graphics/java/android/renderscript/RenderScriptGL.java b/graphics/java/android/renderscript/RenderScriptGL.java index 8b14f99..935b75a 100644 --- a/graphics/java/android/renderscript/RenderScriptGL.java +++ b/graphics/java/android/renderscript/RenderScriptGL.java @@ -200,8 +200,6 @@ public class RenderScriptGL extends RenderScript { /** * Bind an os surface * - * @hide - * * @param w * @param h * @param sur diff --git a/graphics/java/android/renderscript/Script.java b/graphics/java/android/renderscript/Script.java index 11aa134..d00c428 100644 --- a/graphics/java/android/renderscript/Script.java +++ b/graphics/java/android/renderscript/Script.java @@ -44,7 +44,6 @@ public class Script extends BaseObj { } /** - * @hide * Only intended for use by generated reflected code. * * @param slot |