Lines Matching defs:alloc
2823 Allocation alloc = new Allocation(id, rs, t, true, usage, mips);
2824 alloc.setBitmap(b);
2825 return alloc;
2921 * @param alloc RenderScript Allocation describing data layout.
2924 static Allocation createFromAllocation(RenderScript rs, Allocation alloc) {
2928 if (alloc.getID(rs) == 0) {
2932 Type type = alloc.getType();
2933 int usage = alloc.getUsage();
2934 MipmapControl mips = alloc.getMipmap();
2941 outAlloc.shareBufferQueue(alloc);
2963 * @param alloc Allocation to associate with allocation
2965 void shareBufferQueue(Allocation alloc) {
2970 mGetSurfaceSurface = alloc.getSurface();
2971 mRS.nAllocationShareBufferQueue(getID(mRS), alloc.getID(mRS));
3004 * alloc.getTimeStamp().
3259 Allocation alloc = createFromBitmap(rs, b, mips, usage);
3261 return alloc;
3309 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), allocArray.length, usage);
3310 alloc.copyFrom(allocArray);
3311 return alloc;