summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2016-03-29 17:00:55 -0700
committerMiao Wang <miaowang@google.com>2016-03-29 17:00:55 -0700
commit1c0614820f3fab564a7b35fcace809894ce50a2d (patch)
tree4c64e05880f4d8acde15caf831ffdb5e7b461ff1 /support
parent72c540a88dcb5779b7fdd33d266d49f2918a020e (diff)
downloadrs-1c0614820f3fab564a7b35fcace809894ce50a2d.tar.gz
[RenderScript] Fix IntrinsicConvolve documentation.
Bug: 25117120 - Better format. - Typo fixes. Change-Id: I596e00fadd2bd92ead909d6bef3e32e501142f8b
Diffstat (limited to 'support')
-rw-r--r--support/java/src/android/support/v8/renderscript/ScriptIntrinsicConvolve3x3.java9
-rw-r--r--support/java/src/android/support/v8/renderscript/ScriptIntrinsicConvolve5x5.java8
2 files changed, 8 insertions, 9 deletions
diff --git a/support/java/src/android/support/v8/renderscript/ScriptIntrinsicConvolve3x3.java b/support/java/src/android/support/v8/renderscript/ScriptIntrinsicConvolve3x3.java
index 0d398b74..e6a6b7e2 100644
--- a/support/java/src/android/support/v8/renderscript/ScriptIntrinsicConvolve3x3.java
+++ b/support/java/src/android/support/v8/renderscript/ScriptIntrinsicConvolve3x3.java
@@ -36,10 +36,9 @@ public class ScriptIntrinsicConvolve3x3 extends ScriptIntrinsic {
* Supported elements types are {@link Element#U8}, {@link
* Element#U8_2}, {@link Element#U8_3}, {@link Element#U8_4},
* {@link Element#F32}, {@link Element#F32_2}, {@link
- * Element#F32_3}, and {@link Element#F32_4}
- *
- * The default coefficients are.
+ * Element#F32_3}, and {@link Element#F32_4}.
*
+ * <p> The default coefficients are:
* <code>
* <p> [ 0, 0, 0 ]
* <p> [ 0, 1, 0 ]
@@ -76,7 +75,7 @@ public class ScriptIntrinsicConvolve3x3 extends ScriptIntrinsic {
}
/**
- * Set the input of the blur.
+ * Set the input of the 3x3 convolve.
* Must match the element type supplied during create.
*
* @param ain The input allocation.
@@ -89,7 +88,7 @@ public class ScriptIntrinsicConvolve3x3 extends ScriptIntrinsic {
/**
* Set the coefficients for the convolve.
*
- * The convolve layout is
+ * <p> The convolve layout is:
* <code>
* <p> [ 0, 1, 2 ]
* <p> [ 3, 4, 5 ]
diff --git a/support/java/src/android/support/v8/renderscript/ScriptIntrinsicConvolve5x5.java b/support/java/src/android/support/v8/renderscript/ScriptIntrinsicConvolve5x5.java
index 9dd9cba2..17397fa2 100644
--- a/support/java/src/android/support/v8/renderscript/ScriptIntrinsicConvolve5x5.java
+++ b/support/java/src/android/support/v8/renderscript/ScriptIntrinsicConvolve5x5.java
@@ -36,9 +36,9 @@ public class ScriptIntrinsicConvolve5x5 extends ScriptIntrinsic {
* Supported elements types are {@link Element#U8}, {@link
* Element#U8_2}, {@link Element#U8_3}, {@link Element#U8_4},
* {@link Element#F32}, {@link Element#F32_2}, {@link
- * Element#F32_3}, and {@link Element#F32_4}
+ * Element#F32_3}, and {@link Element#F32_4}.
*
- * The default coefficients are.
+ * <p> The default coefficients are:
* <code>
* <p> [ 0, 0, 0, 0, 0 ]
* <p> [ 0, 0, 0, 0, 0 ]
@@ -76,7 +76,7 @@ public class ScriptIntrinsicConvolve5x5 extends ScriptIntrinsic {
}
/**
- * Set the input of the blur.
+ * Set the input of the 5x5 convolve.
* Must match the element type supplied during create.
*
* @param ain The input allocation.
@@ -89,7 +89,7 @@ public class ScriptIntrinsicConvolve5x5 extends ScriptIntrinsic {
/**
* Set the coefficients for the convolve.
*
- * The convolve layout is
+ * <p> The convolve layout is:
* <code>
* <p> [ 0, 1, 2, 3, 4 ]
* <p> [ 5, 6, 7, 8, 9 ]