Home
last modified time | relevance | path

Searched refs:FileA3D (Results 1 – 14 of 14) sorted by relevance

/frameworks/rs/
DrsFileA3D.cpp34 FileA3D::FileA3D(Context *rsc) : ObjectBase(rsc) { in FileA3D() function in FileA3D
46 FileA3D::~FileA3D() { in ~FileA3D()
69 void FileA3D::parseHeader(IStream *headerStream) { in parseHeader()
94 bool FileA3D::load(Asset *asset) { in load()
103 bool FileA3D::load(const void *data, size_t length) { in load()
157 bool FileA3D::load(FILE *f) { in load()
216 size_t FileA3D::getNumIndexEntries() const { in getNumIndexEntries()
220 FileA3D::A3DIndexEntry::~A3DIndexEntry() { in ~A3DIndexEntry()
224 const FileA3D::A3DIndexEntry *FileA3D::getIndexEntry(size_t index) const { in getIndexEntry()
231 ObjectBase *FileA3D::initializeFromEntry(size_t index) { in initializeFromEntry()
[all …]
DrsFileA3D.h33 class FileA3D : public ObjectBase {
35 FileA3D(Context *rsc);
36 ~FileA3D();
51 friend class FileA3D;
/frameworks/base/rs/java/android/renderscript/
DFileA3D.java38 public class FileA3D extends BaseObj { class
170 FileA3D(long id, RenderScript rs, InputStream stream) { in FileA3D() method in FileA3D
231 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) { in createFromAsset()
238 FileA3D fa3d = new FileA3D(fileId, rs, null); in createFromAsset()
252 static public FileA3D createFromFile(RenderScript rs, String path) { in createFromFile()
258 FileA3D fa3d = new FileA3D(fileId, rs, null); in createFromFile()
272 static public FileA3D createFromFile(RenderScript rs, File path) { in createFromFile()
286 static public FileA3D createFromResource(RenderScript rs, Resources res, int id) { in createFromResource()
307 FileA3D fa3d = new FileA3D(fileId, rs, is); in createFromResource()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModelRS.java128 private void initMeshes(FileA3D model) { in initMeshes()
132 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes()
133 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { in initMeshes()
142 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes()
143 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { in initMeshes()
159 FileA3D model = FileA3D.createFromFile(mRS, path); in loadA3DFile()
174 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS()
DSceneGraphRS.java188 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS()
189 FileA3D.IndexEntry entry = model.getIndexEntry(0); in initRS()
190 if (entry == null || entry.getEntryType() != FileA3D.EntryType.MESH) { in initRS()
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
DFBOTestRS.java129 private void initMeshes(FileA3D model) { in initMeshes()
133 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes()
134 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { in initMeshes()
143 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes()
144 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { in initMeshes()
160 FileA3D model = FileA3D.createFromFile(mRS, path); in loadA3DFile()
192 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS()
DFBOSyncRS.java130 private void initMeshes(FileA3D model) { in initMeshes()
134 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes()
135 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { in initMeshes()
144 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes()
145 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { in initMeshes()
161 FileA3D model = FileA3D.createFromFile(mRS, path); in loadA3DFile()
200 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS()
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
DShadersTestRS.java24 import android.renderscript.FileA3D;
141 private void initMeshes(FileA3D model) { in initMeshes()
145 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes()
146 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { in initMeshes()
155 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes()
156 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { in initMeshes()
182 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DColladaScene.java114 FileA3D model; in doInBackground()
116 model = FileA3D.createFromAsset(mRS, mRes.getAssets(), names[0]); in doInBackground()
118 model = FileA3D.createFromFile(mRS, names[0]); in doInBackground()
122 FileA3D.IndexEntry entry = model.getIndexEntry(i); in doInBackground()
123 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { in doInBackground()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DTestAppLoadingScreen.java74 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in doInBackground()
75 FileA3D.IndexEntry entry = model.getIndexEntry(0); in doInBackground()
76 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { in doInBackground()
DSimpleAppRS.java83 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.unit_obj); in setupGeometry()
85 FileA3D.IndexEntry entry = model.getIndexEntry(i); in setupGeometry()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DTorusTest.java242 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.torus); in initMesh()
243 FileA3D.IndexEntry entry = model.getIndexEntry(0); in initMesh()
244 if (entry == null || entry.getEntryType() != FileA3D.EntryType.MESH) { in initMesh()
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
DRsRenderStatesRS.java351 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.torus); in initMesh()
352 FileA3D.IndexEntry entry = model.getIndexEntry(0); in initMesh()
353 if (entry == null || entry.getEntryType() != FileA3D.EntryType.MESH) { in initMesh()
/frameworks/base/docs/html/
Dsitemap.txt3518 http://developer.android.com/reference/android/renderscript/FileA3D.html
3519 http://developer.android.com/reference/android/renderscript/FileA3D.IndexEntry.html
3579 http://developer.android.com/reference/android/renderscript/FileA3D.EntryType.html
5466 http://developer.android.com/sdk/api_diff/16/changes/android.renderscript.FileA3D.html
5492 http://developer.android.com/sdk/api_diff/16/changes/android.renderscript.FileA3D.EntryType.html
5493 http://developer.android.com/sdk/api_diff/16/changes/android.renderscript.FileA3D.IndexEntry.html