Lines Matching defs:Type

20  * <p>A Type describes the {@link android.renderscript.Element} and dimensions used for an {@link
22 * android.renderscript.Type.Builder}.</p>
24 * <p>A Type always includes an {@link android.renderscript.Element} and an X
25 * dimension. A Type may be multidimensional, up to three dimensions. A nonzero
27 * that a Type with only a given X dimension and a Type with the same X
30 * <p>A Type also supports inclusion of level of detail (LOD) or cube map
34 * <p>A Type also supports YUV format information to support an
46 public class Type extends BaseObj {
77 * Return the element associated with this Type.
123 * Return if the Type has a mipmap chain.
132 * Return if the Type is a cube map.
141 * Return the total number of accessable cells in the Type.
187 Type(long id, RenderScript rs) {
217 * @param e The Element for the Type
220 * @return Type
222 static public Type createX(RenderScript rs, Element e, int dimX) {
228 Type t = new Type(id, rs);
240 * @param e The Element for the Type
244 * @return Type
246 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) {
252 Type t = new Type(id, rs);
265 * @param e The Element for the Type
270 * @return Type
272 static public Type createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) {
278 Type t = new Type(id, rs);
288 * Builder class for Type.
315 * Add a dimension to the Type.
355 * Set the YUV layout for a Type.
378 * Validate structure and create a new Type.
380 * @return Type
382 public Type create() {
410 Type t = new Type(id, mRS);