diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2015-10-07 19:59:48 -0700 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2015-10-08 19:51:11 +0000 |
commit | 115b4117a0c19a31231d4df5f2b73c6c88e6726c (patch) | |
tree | 8d0a7f81cc30d8d708a4f6df46fdeb7919d20cce /rs/java/android/renderscript/AllocationAdapter.java | |
parent | f518ad0a4941236b72b5d090320d4ab70ebbf26b (diff) |
Fix punctuation and typos in AllocationAdapter's documentation.
Change-Id: I5574ff201b857a29f30ebe8413dbe4128dcff3ae
Diffstat (limited to 'rs/java/android/renderscript/AllocationAdapter.java')
-rw-r--r-- | rs/java/android/renderscript/AllocationAdapter.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/rs/java/android/renderscript/AllocationAdapter.java b/rs/java/android/renderscript/AllocationAdapter.java index 9bfd6ec48d4e..6d7e97ebb0fe 100644 --- a/rs/java/android/renderscript/AllocationAdapter.java +++ b/rs/java/android/renderscript/AllocationAdapter.java @@ -244,23 +244,23 @@ public class AllocationAdapter extends Allocation { /** * * - * Create an arbitrary window into the base allocation + * Create an arbitrary window into the base allocation. * The type describes the shape of the window. * * Any dimensions present in the type must be equal or smaller * to the dimensions in the source allocation. A dimension * present in the allocation that is not present in the type - * will be constrained away with the selectors + * will be constrained away with the selectors. * - * If a dimension is present in the type and allcation one of - * two things will happen + * If a dimension is present in both the type and allocation, one of + * two things will happen. * - * If the type is smaller than the allocation a window will be + * If the type is smaller than the allocation, a window will be * created, the selected value in the adapter for that dimension - * will act as the base address and the type will describe the + * will act as the base address, and the type will describe the * size of the view starting at that point. * - * If the type and allocation dimension are of the same size + * If the type and allocation dimension are of the same size, * then setting the selector for the dimension will be an error. */ static public AllocationAdapter createTyped(RenderScript rs, Allocation a, Type t) { |