Lines Matching full:allocation
23 public class AllocationAdapter extends Allocation {
24 AllocationAdapter(long id, RenderScript rs, Allocation alloc) {
130 * type being adapted. The base allocation must have mipmaps.
139 throw new RSInvalidStateException("Cannot set LOD when the allocation type does not include mipmaps.");
149 * Set the active Face. The base allocation must be of a type
156 throw new RSInvalidStateException("Cannot set Face when the allocation type does not include faces.");
170 * the allocation being adapted. The base allocation must
177 throw new RSInvalidStateException("Cannot set Y when the allocation type does not include Y dim.");
180 throw new RSInvalidStateException("Cannot set Y greater than dimension of allocation.");
191 * the allocation being adapted. The base allocation must
198 throw new RSInvalidStateException("Cannot set Z when the allocation type does not include Z dim.");
201 throw new RSInvalidStateException("Cannot set Z greater than dimension of allocation.");
210 static public AllocationAdapter create1D(RenderScript rs, Allocation a) {
221 static public AllocationAdapter create2D(RenderScript rs, Allocation a) {
234 * Override the Allocation resize. Resizing adapters is not