am d5992114: Merge "Fix punctuation and typos in AllocationAdapter\'s documentation."
* commit 'd59921149bb5948ffbcb9a9e832e9ac1538e05a0': Fix punctuation and typos in AllocationAdapter's documentation.
This commit is contained in:
committed by
Android Git Automerger
commit
05f0dc2891
@@ -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.
|
* The type describes the shape of the window.
|
||||||
*
|
*
|
||||||
* Any dimensions present in the type must be equal or smaller
|
* Any dimensions present in the type must be equal or smaller
|
||||||
* to the dimensions in the source allocation. A dimension
|
* to the dimensions in the source allocation. A dimension
|
||||||
* present in the allocation that is not present in the type
|
* 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
|
* If a dimension is present in both the type and allocation, one of
|
||||||
* two things will happen
|
* 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
|
* 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.
|
* 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.
|
* then setting the selector for the dimension will be an error.
|
||||||
*/
|
*/
|
||||||
static public AllocationAdapter createTyped(RenderScript rs, Allocation a, Type t) {
|
static public AllocationAdapter createTyped(RenderScript rs, Allocation a, Type t) {
|
||||||
|
|||||||
Reference in New Issue
Block a user