Lines Matching defs:id
50 Allocation::Allocation(void *id, RenderScript *rs, sp<const Type> t, uint32_t usage) :
51 BaseObj(id, rs) {
383 void *id = rsAllocationCreateTyped(rs->mContext, type->getID(), mips, usage, 0);
384 if (id == 0) {
388 return new Allocation(id, rs, type, usage);
393 void *id = rsAllocationCreateTyped(rs->mContext, type->getID(), mips, usage, (uint32_t)pointer);
394 if (id == 0) {
397 return new Allocation(id, rs, type, usage);
412 void *id = rsAllocationCreateTyped(rs->mContext, t->getID(),
414 if (id == 0) {
417 return new Allocation(id, rs, t, usage);
427 int id = mRS.nAllocationGetSurfaceTextureID(getID());
428 return new SurfaceTexture(id);
444 int id,
449 Bitmap b = BitmapFactory.decodeResource(res, id);
457 int id) {
458 return createFromBitmapResource(rs, res, id,