From e58ed9b16d67a1c80888ffa6f6ed62d54ed12cae Mon Sep 17 00:00:00 2001 From: Miao Wang Date: Tue, 29 Mar 2016 15:29:10 -0700 Subject: [RenderScript] Fix IntrinsicConvolve documentation. Bug: 25117120 - Better format. - Typo fixes. Change-Id: Ic6f8d1dacecdaf9993dd8298de7a801f5fd2a937 (cherry picked from commit 3d23dce43330b9c8f3fba34ef9515dca7912768a) --- rs/java/android/renderscript/ScriptIntrinsicConvolve3x3.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'rs/java/android/renderscript/ScriptIntrinsicConvolve3x3.java') diff --git a/rs/java/android/renderscript/ScriptIntrinsicConvolve3x3.java b/rs/java/android/renderscript/ScriptIntrinsicConvolve3x3.java index 76da781004d8..339e0e9dc975 100644 --- a/rs/java/android/renderscript/ScriptIntrinsicConvolve3x3.java +++ b/rs/java/android/renderscript/ScriptIntrinsicConvolve3x3.java @@ -32,10 +32,9 @@ public final 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}. * + *

The default coefficients are: * *

[ 0, 0, 0 ] *

[ 0, 1, 0 ] @@ -67,7 +66,7 @@ public final 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. @@ -80,7 +79,7 @@ public final class ScriptIntrinsicConvolve3x3 extends ScriptIntrinsic { /** * Set the coefficients for the convolve. * - * The convolve layout is + *

The convolve layout is: * *

[ 0, 1, 2 ] *

[ 3, 4, 5 ] -- cgit v1.2.3