diff options
author | Jason Sams <jsams@google.com> | 2013-08-29 17:00:37 -0700 |
---|---|---|
committer | Jason Sams <jsams@google.com> | 2013-08-29 17:00:37 -0700 |
commit | a49e89d2288827e2c96bc006e1e4893d22b41f3b (patch) | |
tree | d7883db11fbdea690ee541473ab0b71e638daa8d /graphics/java/android/renderscript | |
parent | 6b115980483ec20cc3f7817c76dfea18c49a48f3 (diff) | |
download | frameworks_base-a49e89d2288827e2c96bc006e1e4893d22b41f3b.zip frameworks_base-a49e89d2288827e2c96bc006e1e4893d22b41f3b.tar.gz frameworks_base-a49e89d2288827e2c96bc006e1e4893d22b41f3b.tar.bz2 |
Cleanup API typo
bug 10548782
Change-Id: I3654b7d1f8ea10eb51006804248cc2a7d20eabb0
Diffstat (limited to 'graphics/java/android/renderscript')
-rw-r--r-- | graphics/java/android/renderscript/ScriptIntrinsicColorMatrix.java | 4 | ||||
-rw-r--r-- | graphics/java/android/renderscript/ScriptIntrinsicHistogram.java | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/graphics/java/android/renderscript/ScriptIntrinsicColorMatrix.java b/graphics/java/android/renderscript/ScriptIntrinsicColorMatrix.java index 6881627..32c3d15 100644 --- a/graphics/java/android/renderscript/ScriptIntrinsicColorMatrix.java +++ b/graphics/java/android/renderscript/ScriptIntrinsicColorMatrix.java @@ -56,8 +56,12 @@ public final class ScriptIntrinsicColorMatrix extends ScriptIntrinsic { * this parameter is ignored. The Element type check is * performed in the kernel launch. * + * @deprecated Use the single argument version as Element is now + * ignored. + * * @return ScriptIntrinsicColorMatrix */ + @Deprecated public static ScriptIntrinsicColorMatrix create(RenderScript rs, Element e) { return create(rs); } diff --git a/graphics/java/android/renderscript/ScriptIntrinsicHistogram.java b/graphics/java/android/renderscript/ScriptIntrinsicHistogram.java index f143326..adc2d95 100644 --- a/graphics/java/android/renderscript/ScriptIntrinsicHistogram.java +++ b/graphics/java/android/renderscript/ScriptIntrinsicHistogram.java @@ -151,7 +151,7 @@ public final class ScriptIntrinsicHistogram extends ScriptIntrinsic { * * @param ain The input image */ - public void forEach_dot(Allocation ain) { + public void forEach_Dot(Allocation ain) { if (mOut.getType().getElement().getVectorSize() != 1) { throw new RSIllegalArgumentException("Output vector size must be one."); } @@ -170,7 +170,7 @@ public final class ScriptIntrinsicHistogram extends ScriptIntrinsic { * * @return Script.KernelID The KernelID object. */ - public Script.KernelID getKernelID_seperate() { + public Script.KernelID getKernelID_Separate() { return createKernelID(0, 3, null, null); } |