summaryrefslogtreecommitdiff
path: root/rs
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2016-04-11 13:05:55 -0700
committerStephen Hines <srhines@google.com>2016-04-11 13:05:55 -0700
commitad57e330ba757139a61506861a41b8b5f71e3792 (patch)
tree229430f79f511d54b1107fc4f590d4ea7cad394a /rs
parentba23e453487fcb18e91b4919b933012458f17fdd (diff)
Fix typos for the word "Unsupported".
Bug: https://code.google.com/p/android/issues/detail?id=206490 Change-Id: Ie1b2c2b0960d8dd8c12ed06d84a16913cd057221
Diffstat (limited to 'rs')
-rw-r--r--rs/java/android/renderscript/ScriptIntrinsicBlur.java2
-rw-r--r--rs/java/android/renderscript/ScriptIntrinsicColorMatrix.java4
-rw-r--r--rs/java/android/renderscript/ScriptIntrinsicConvolve3x3.java2
-rw-r--r--rs/java/android/renderscript/ScriptIntrinsicConvolve5x5.java2
-rw-r--r--rs/java/android/renderscript/ScriptIntrinsicHistogram.java2
-rw-r--r--rs/java/android/renderscript/ScriptIntrinsicResize.java2
6 files changed, 7 insertions, 7 deletions
diff --git a/rs/java/android/renderscript/ScriptIntrinsicBlur.java b/rs/java/android/renderscript/ScriptIntrinsicBlur.java
index 60e2b6d99b1e..98499b5dbab2 100644
--- a/rs/java/android/renderscript/ScriptIntrinsicBlur.java
+++ b/rs/java/android/renderscript/ScriptIntrinsicBlur.java
@@ -43,7 +43,7 @@ public final class ScriptIntrinsicBlur extends ScriptIntrinsic {
*/
public static ScriptIntrinsicBlur create(RenderScript rs, Element e) {
if ((!e.isCompatible(Element.U8_4(rs))) && (!e.isCompatible(Element.U8(rs)))) {
- throw new RSIllegalArgumentException("Unsuported element type.");
+ throw new RSIllegalArgumentException("Unsupported element type.");
}
long id = rs.nScriptIntrinsicCreate(5, e.getID(rs));
ScriptIntrinsicBlur sib = new ScriptIntrinsicBlur(id, rs);
diff --git a/rs/java/android/renderscript/ScriptIntrinsicColorMatrix.java b/rs/java/android/renderscript/ScriptIntrinsicColorMatrix.java
index 57d917cd1be3..e8a299c28c51 100644
--- a/rs/java/android/renderscript/ScriptIntrinsicColorMatrix.java
+++ b/rs/java/android/renderscript/ScriptIntrinsicColorMatrix.java
@@ -251,7 +251,7 @@ public final class ScriptIntrinsicColorMatrix extends ScriptIntrinsic {
!ain.getElement().isCompatible(Element.F32_3(mRS)) &&
!ain.getElement().isCompatible(Element.F32_4(mRS))) {
- throw new RSIllegalArgumentException("Unsuported element type.");
+ throw new RSIllegalArgumentException("Unsupported element type.");
}
if (!aout.getElement().isCompatible(Element.U8(mRS)) &&
@@ -263,7 +263,7 @@ public final class ScriptIntrinsicColorMatrix extends ScriptIntrinsic {
!aout.getElement().isCompatible(Element.F32_3(mRS)) &&
!aout.getElement().isCompatible(Element.F32_4(mRS))) {
- throw new RSIllegalArgumentException("Unsuported element type.");
+ throw new RSIllegalArgumentException("Unsupported element type.");
}
forEach(0, ain, aout, null, opt);
diff --git a/rs/java/android/renderscript/ScriptIntrinsicConvolve3x3.java b/rs/java/android/renderscript/ScriptIntrinsicConvolve3x3.java
index 339e0e9dc975..9fe7b2d8f0ef 100644
--- a/rs/java/android/renderscript/ScriptIntrinsicConvolve3x3.java
+++ b/rs/java/android/renderscript/ScriptIntrinsicConvolve3x3.java
@@ -56,7 +56,7 @@ public final class ScriptIntrinsicConvolve3x3 extends ScriptIntrinsic {
!e.isCompatible(Element.F32_2(rs)) &&
!e.isCompatible(Element.F32_3(rs)) &&
!e.isCompatible(Element.F32_4(rs))) {
- throw new RSIllegalArgumentException("Unsuported element type.");
+ throw new RSIllegalArgumentException("Unsupported element type.");
}
long id = rs.nScriptIntrinsicCreate(1, e.getID(rs));
ScriptIntrinsicConvolve3x3 si = new ScriptIntrinsicConvolve3x3(id, rs);
diff --git a/rs/java/android/renderscript/ScriptIntrinsicConvolve5x5.java b/rs/java/android/renderscript/ScriptIntrinsicConvolve5x5.java
index a288cee407f0..8518bb27379d 100644
--- a/rs/java/android/renderscript/ScriptIntrinsicConvolve5x5.java
+++ b/rs/java/android/renderscript/ScriptIntrinsicConvolve5x5.java
@@ -57,7 +57,7 @@ public final class ScriptIntrinsicConvolve5x5 extends ScriptIntrinsic {
!e.isCompatible(Element.F32_2(rs)) &&
!e.isCompatible(Element.F32_3(rs)) &&
!e.isCompatible(Element.F32_4(rs))) {
- throw new RSIllegalArgumentException("Unsuported element type.");
+ throw new RSIllegalArgumentException("Unsupported element type.");
}
long id = rs.nScriptIntrinsicCreate(4, e.getID(rs));
diff --git a/rs/java/android/renderscript/ScriptIntrinsicHistogram.java b/rs/java/android/renderscript/ScriptIntrinsicHistogram.java
index f8c0c16b8d15..0e8b36c11952 100644
--- a/rs/java/android/renderscript/ScriptIntrinsicHistogram.java
+++ b/rs/java/android/renderscript/ScriptIntrinsicHistogram.java
@@ -46,7 +46,7 @@ public final class ScriptIntrinsicHistogram extends ScriptIntrinsic {
(!e.isCompatible(Element.U8_3(rs))) &&
(!e.isCompatible(Element.U8_2(rs))) &&
(!e.isCompatible(Element.U8(rs)))) {
- throw new RSIllegalArgumentException("Unsuported element type.");
+ throw new RSIllegalArgumentException("Unsupported element type.");
}
long id = rs.nScriptIntrinsicCreate(9, e.getID(rs));
ScriptIntrinsicHistogram sib = new ScriptIntrinsicHistogram(id, rs);
diff --git a/rs/java/android/renderscript/ScriptIntrinsicResize.java b/rs/java/android/renderscript/ScriptIntrinsicResize.java
index cee4c33ee87d..45b0a646b924 100644
--- a/rs/java/android/renderscript/ScriptIntrinsicResize.java
+++ b/rs/java/android/renderscript/ScriptIntrinsicResize.java
@@ -59,7 +59,7 @@ public final class ScriptIntrinsicResize extends ScriptIntrinsic {
!e.isCompatible(Element.F32_2(mRS)) &&
!e.isCompatible(Element.F32_3(mRS)) &&
!e.isCompatible(Element.F32_4(mRS))) {
- throw new RSIllegalArgumentException("Unsuported element type.");
+ throw new RSIllegalArgumentException("Unsupported element type.");
}
mInput = ain;