Lines Matching refs:Element
251 static public Allocation createSized(RenderScript rs, Element e, int count)
261 throw new IllegalStateException("Bad element.");
266 static private Element elementFromBitmap(RenderScript rs, Bitmap b) {
269 return Element.A_8(rs);
272 return Element.RGBA_4444(rs);
275 return Element.RGBA_8888(rs);
278 return Element.RGB_565(rs);
284 Element e = elementFromBitmap(rs, b);
291 static public Allocation createFromBitmap(RenderScript rs, Bitmap b, Element dstFmt, boolean genMips)
320 static Allocation createFromBitmapBoxed(RenderScript rs, Bitmap b, Element dstFmt, boolean genMips)
331 static public Allocation createFromBitmapResource(RenderScript rs, Resources res, int id, Element dstFmt, boolean genMips)
363 static public Allocation createFromBitmapResourceBoxed(RenderScript rs, Resources res, int id, Element dstFmt, boolean genMips)