Lines Matching refs:alloc
2827 Allocation alloc = new Allocation(id, rs, t, true, usage, mips); in createFromBitmap() local
2828 alloc.setBitmap(b); in createFromBitmap()
2829 return alloc; in createFromBitmap()
2929 static Allocation createFromAllocation(RenderScript rs, Allocation alloc) { in createFromAllocation() argument
2933 if (alloc.getID(rs) == 0) { in createFromAllocation()
2937 Type type = alloc.getType(); in createFromAllocation()
2938 int usage = alloc.getUsage(); in createFromAllocation()
2939 MipmapControl mips = alloc.getMipmap(); in createFromAllocation()
2946 outAlloc.shareBufferQueue(alloc); in createFromAllocation()
2970 void shareBufferQueue(Allocation alloc) { in shareBufferQueue() argument
2975 mGetSurfaceSurface = alloc.getSurface(); in shareBufferQueue()
2976 mRS.nAllocationShareBufferQueue(getID(mRS), alloc.getID(mRS)); in shareBufferQueue()
3264 Allocation alloc = createFromBitmap(rs, b, mips, usage); in createFromBitmapResource() local
3266 return alloc; in createFromBitmapResource()
3314 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), allocArray.length, usage); in createFromString() local
3315 alloc.copyFrom(allocArray); in createFromString()
3316 return alloc; in createFromString()