Home | History | Annotate | Download | only in renderscript

Lines Matching full:bitmap

24 import android.graphics.Bitmap;
35 Bitmap mBitmap;
266 static private Element elementFromBitmap(RenderScript rs, Bitmap b) {
267 final Bitmap.Config bc = b.getConfig();
268 if (bc == Bitmap.Config.ALPHA_8) {
271 if (bc == Bitmap.Config.ARGB_4444) {
274 if (bc == Bitmap.Config.ARGB_8888) {
277 if (bc == Bitmap.Config.RGB_565) {
280 throw new IllegalStateException("Bad bitmap type.");
283 static private Type typeFromBitmap(RenderScript rs, Bitmap b) {
291 static public Allocation createFromBitmap(RenderScript rs, Bitmap b, Element dstFmt, boolean genMips)
304 static public Allocation createBitmapRef(RenderScript rs, Bitmap b)
320 static Allocation createFromBitmapBoxed(RenderScript rs, Bitmap b, Element dstFmt, boolean genMips)
366 Bitmap b = BitmapFactory.decodeResource(res, id, mBitmapOptions);