• Home
  • Raw
  • Download

Lines Matching refs:usage

236     Allocation(int id, RenderScript rs, Type t, int usage) {  in Allocation()  argument
238 if ((usage & ~(USAGE_SCRIPT | in Allocation()
248 if ((usage & USAGE_IO_INPUT) != 0) { in Allocation()
251 if ((usage & ~(USAGE_IO_INPUT | in Allocation()
259 mUsage = usage; in Allocation()
1013 … static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { in createTyped() argument
1018 int id = rs.nAllocationCreateTyped(type.getID(rs), mips.mID, usage, 0); in createTyped()
1022 return new Allocation(id, rs, type, usage); in createTyped()
1036 static public Allocation createTyped(RenderScript rs, Type type, int usage) { in createTyped() argument
1037 return createTyped(rs, type, MipmapControl.MIPMAP_NONE, usage); in createTyped()
1067 int count, int usage) { in createSized() argument
1073 int id = rs.nAllocationCreateTyped(t.getID(rs), MipmapControl.MIPMAP_NONE.mID, usage, 0); in createSized()
1077 return new Allocation(id, rs, t, usage); in createSized()
1136 int usage) { in createFromBitmap() argument
1140 int id = rs.nAllocationCreateFromBitmap(t.getID(rs), mips.mID, b, usage); in createFromBitmap()
1144 return new Allocation(id, rs, t, usage); in createFromBitmap()
1235 int usage) { in createCubemapFromBitmap() argument
1260 int id = rs.nAllocationCubeCreateFromBitmap(t.getID(rs), mips.mID, b, usage); in createCubemapFromBitmap()
1264 return new Allocation(id, rs, t, usage); in createCubemapFromBitmap()
1312 int usage) { in createCubemapFromCubeFaces() argument
1334 Allocation cubemap = Allocation.createTyped(rs, t, mips, usage); in createCubemapFromCubeFaces()
1401 int usage) { in createFromBitmapResource() argument
1405 Allocation alloc = createFromBitmap(rs, b, mips, usage); in createFromBitmapResource()
1441 int usage) { in createFromString() argument
1446 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), allocArray.length, usage); in createFromString()