Lines Matching refs:rs
134 static synchronized BaseObj internalCreate(RenderScript rs, IndexEntry entry) {
144 int objectID = rs.nFileA3DGetEntryByIndex(entry.mID, entry.mIndex);
151 entry.mLoadedObj = new Mesh(objectID, rs);
159 IndexEntry(RenderScript rs, int index, int id, String name, EntryType type) {
160 mRS = rs;
172 FileA3D(int id, RenderScript rs, InputStream stream) {
173 super(id, rs);
227 * @param rs Context to which the object will belong.
233 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) {
234 rs.validate();
235 int fileId = rs.nFileA3DCreateFromAsset(mgr, path);
240 FileA3D fa3d = new FileA3D(fileId, rs, null);
249 * @param rs Context to which the object will belong.
254 static public FileA3D createFromFile(RenderScript rs, String path) {
255 int fileId = rs.nFileA3DCreateFromFile(path);
260 FileA3D fa3d = new FileA3D(fileId, rs, null);
269 * @param rs Context to which the object will belong.
274 static public FileA3D createFromFile(RenderScript rs, File path) {
275 return createFromFile(rs, path.getAbsolutePath());
282 * @param rs Context to which the object will belong.
288 static public FileA3D createFromResource(RenderScript rs, Resources res, int id) {
290 rs.validate();
301 fileId = rs.nFileA3DCreateFromAssetStream(asset);
309 FileA3D fa3d = new FileA3D(fileId, rs, is);