/frameworks/base/libs/rs/ |
D | rsFileA3D.cpp | 28 FileA3D::FileA3D(Context *rsc) : ObjectBase(rsc) { in FileA3D() function in FileA3D 40 FileA3D::~FileA3D() { in ~FileA3D() 61 void FileA3D::parseHeader(IStream *headerStream) { in parseHeader() 85 bool FileA3D::load(Asset *asset) { in load() 90 bool FileA3D::load(const void *data, size_t length) { in load() 144 bool FileA3D::load(FILE *f) { in load() 203 size_t FileA3D::getNumIndexEntries() const { in getNumIndexEntries() 207 const FileA3D::A3DIndexEntry *FileA3D::getIndexEntry(size_t index) const { in getIndexEntry() 214 ObjectBase *FileA3D::initializeFromEntry(size_t index) { in initializeFromEntry() 219 FileA3D::A3DIndexEntry *entry = mIndex[index]; in initializeFromEntry() [all …]
|
D | rsFileA3D.h | 35 class FileA3D : public ObjectBase { 37 FileA3D(Context *rsc); 38 ~FileA3D(); 53 friend class FileA3D;
|
/frameworks/base/graphics/java/android/renderscript/ |
D | FileA3D.java | 41 public class FileA3D extends BaseObj { class 162 FileA3D(int id, RenderScript rs, InputStream stream) { in FileA3D() method in FileA3D 220 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) { in createFromAsset() 227 FileA3D fa3d = new FileA3D(fileId, rs, null); in createFromAsset() 240 static public FileA3D createFromFile(RenderScript rs, String path) { in createFromFile() 246 FileA3D fa3d = new FileA3D(fileId, rs, null); in createFromFile() 259 static public FileA3D createFromFile(RenderScript rs, File path) { in createFromFile() 272 static public FileA3D createFromResource(RenderScript rs, Resources res, int id) { in createFromResource() 293 FileA3D fa3d = new FileA3D(fileId, rs, is); in createFromResource()
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
D | SimpleModelRS.java | 128 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()
|
D | SceneGraphRS.java | 188 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/ |
D | FBOTestRS.java | 129 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()
|
D | FBOSyncRS.java | 130 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/ |
D | ShadersTestRS.java | 24 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/ex/carousel/java/com/android/ex/carousel/ |
D | CarouselRS.java | 939 FileA3D model = FileA3D.createFromResource(mRS, mRes, resId); in loadGeometry() 943 FileA3D.IndexEntry entry = model.getIndexEntry(0); in loadGeometry() 944 if(entry == null || entry.getEntryType() != FileA3D.EntryType.MESH) { in loadGeometry()
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | RsBenchRS.java | 574 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.torus); in initMesh() 575 FileA3D.IndexEntry entry = model.getIndexEntry(0); in initMesh() 576 if (entry == null || entry.getEntryType() != FileA3D.EntryType.MESH) { in initMesh()
|
/frameworks/base/api/ |
D | current.txt | 17900 public class FileA3D extends android.renderscript.BaseObj { 17901 …method public static android.renderscript.FileA3D createFromAsset(android.renderscript.RenderScrip… 17902 …method public static android.renderscript.FileA3D createFromFile(android.renderscript.RenderScript… 17903 …method public static android.renderscript.FileA3D createFromFile(android.renderscript.RenderScript… 17904 …method public static android.renderscript.FileA3D createFromResource(android.renderscript.RenderSc… 17905 method public android.renderscript.FileA3D.IndexEntry getIndexEntry(int); 17909 public static final class FileA3D.EntryType extends java.lang.Enum { 17910 method public static android.renderscript.FileA3D.EntryType valueOf(java.lang.String); 17911 method public static final android.renderscript.FileA3D.EntryType[] values(); 17912 enum_constant public static final android.renderscript.FileA3D.EntryType MESH; [all …]
|
D | 14.txt | 17900 public class FileA3D extends android.renderscript.BaseObj { 17901 …method public static android.renderscript.FileA3D createFromAsset(android.renderscript.RenderScrip… 17902 …method public static android.renderscript.FileA3D createFromFile(android.renderscript.RenderScript… 17903 …method public static android.renderscript.FileA3D createFromFile(android.renderscript.RenderScript… 17904 …method public static android.renderscript.FileA3D createFromResource(android.renderscript.RenderSc… 17905 method public android.renderscript.FileA3D.IndexEntry getIndexEntry(int); 17909 public static final class FileA3D.EntryType extends java.lang.Enum { 17910 method public static android.renderscript.FileA3D.EntryType valueOf(java.lang.String); 17911 method public static final android.renderscript.FileA3D.EntryType[] values(); 17912 enum_constant public static final android.renderscript.FileA3D.EntryType MESH; [all …]
|