Lines Matching refs:rs
30 AllocationAdapter(long id, RenderScript rs, Allocation alloc, Type t) { in AllocationAdapter() argument
31 super(id, rs, alloc.mType, alloc.mUsage); in AllocationAdapter()
235 static public AllocationAdapter create1D(RenderScript rs, Allocation a) { in create1D() argument
236 rs.validate(); in create1D()
237 Type t = Type.createX(rs, a.getElement(), a.getType().getX()); in create1D()
238 return createTyped(rs, a, t); in create1D()
242 static public AllocationAdapter create2D(RenderScript rs, Allocation a) { in create2D() argument
243 rs.validate(); in create2D()
244 Type t = Type.createXY(rs, a.getElement(), a.getType().getX(), a.getType().getY()); in create2D()
245 return createTyped(rs, a, t); in create2D()
270 static public AllocationAdapter createTyped(RenderScript rs, Allocation a, Type t) { in createTyped() argument
271 rs.validate(); in createTyped()
303 long id = rs.nAllocationAdapterCreate(a.getID(rs), t.getID(rs)); in createTyped()
307 return new AllocationAdapter(id, rs, a, t); in createTyped()