Lines Matching refs:rs
133 static synchronized BaseObj internalCreate(RenderScript rs, IndexEntry entry) {
143 int objectID = rs.nFileA3DGetEntryByIndex(entry.mID, entry.mIndex);
150 entry.mLoadedObj = new Mesh(objectID, rs);
158 IndexEntry(RenderScript rs, int index, int id, String name, EntryType type) {
159 mRS = rs;
171 FileA3D(int id, RenderScript rs, InputStream stream) {
172 super(id, rs);
226 * @param rs Context to which the object will belong.
232 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) {
233 rs.validate();
234 int fileId = rs.nFileA3DCreateFromAsset(mgr, path);
239 FileA3D fa3d = new FileA3D(fileId, rs, null);
248 * @param rs Context to which the object will belong.
253 static public FileA3D createFromFile(RenderScript rs, String path) {
254 int fileId = rs.nFileA3DCreateFromFile(path);
259 FileA3D fa3d = new FileA3D(fileId, rs, null);
268 * @param rs Context to which the object will belong.
273 static public FileA3D createFromFile(RenderScript rs, File path) {
274 return createFromFile(rs, path.getAbsolutePath());
281 * @param rs Context to which the object will belong.
287 static public FileA3D createFromResource(RenderScript rs, Resources res, int id) {
289 rs.validate();
300 fileId = rs.nFileA3DCreateFromAssetStream(asset);
308 FileA3D fa3d = new FileA3D(fileId, rs, is);