/frameworks/base/include/androidfw/ |
misc.h | 31 typedef enum FileType { 41 } FileType; 43 FileType getFileType(const char* fileName);
|
AssetDir.h | 63 FileType getFileType(int idx) { 109 void set(const String8& path, FileType type) { 117 FileType getFileType(void) const { return mFileType; } 118 void setFileType(FileType type) { mFileType = type; } 132 FileType mFileType; // regular, directory, etc
|
/external/libgdx/backends/gdx-backend-moe/src/com/badlogic/gdx/backends/iosmoe/ |
IOSFileHandle.java | 19 import com.badlogic.gdx.Files.FileType;
26 protected IOSFileHandle (String fileName, FileType type) {
30 protected IOSFileHandle (File file, FileType type) {
44 if (type == FileType.Absolute)
60 if (type == FileType.Internal) return new File(IOSFiles.internalPath, file.getPath());
61 if (type == FileType.External) return new File(IOSFiles.externalPath, file.getPath());
62 if (type == FileType.Local) return new File(IOSFiles.localPath, file.getPath());
|
IOSFiles.java | 37 public FileHandle getFileHandle (String fileName, FileType type) {
43 return new IOSFileHandle(path, FileType.Classpath);
48 return new IOSFileHandle(path, FileType.Internal);
53 return new IOSFileHandle(path, FileType.External);
58 return new IOSFileHandle(path, FileType.Absolute);
63 return new IOSFileHandle(path, FileType.Local);
|
/external/libgdx/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/ |
IOSFileHandle.java | 21 import com.badlogic.gdx.Files.FileType;
26 protected IOSFileHandle (String fileName, FileType type) {
30 protected IOSFileHandle (File file, FileType type) {
44 if (type == FileType.Absolute)
60 if (type == FileType.Internal) return new File(IOSFiles.internalPath, file.getPath());
61 if (type == FileType.External) return new File(IOSFiles.externalPath, file.getPath());
62 if (type == FileType.Local) return new File(IOSFiles.localPath, file.getPath());
|
IOSFiles.java | 38 public FileHandle getFileHandle (String fileName, FileType type) {
44 return new IOSFileHandle(path, FileType.Classpath);
49 return new IOSFileHandle(path, FileType.Internal);
54 return new IOSFileHandle(path, FileType.External);
59 return new IOSFileHandle(path, FileType.Absolute);
64 return new IOSFileHandle(path, FileType.Local);
|
/external/libgdx/backends/gdx-backend-headless/src/com/badlogic/gdx/backends/headless/ |
HeadlessFileHandle.java | 19 import com.badlogic.gdx.Files.FileType;
28 public HeadlessFileHandle(String fileName, FileType type) {
32 public HeadlessFileHandle(File file, FileType type) {
49 if (type == FileType.Absolute)
58 if (type == FileType.External) return new File(HeadlessFiles.externalPath, file.getPath());
59 if (type == FileType.Local) return new File(HeadlessFiles.localPath, file.getPath());
|
HeadlessFiles.java | 31 public FileHandle getFileHandle (String fileName, FileType type) {
37 return new HeadlessFileHandle(path, FileType.Classpath);
42 return new HeadlessFileHandle(path, FileType.Internal);
47 return new HeadlessFileHandle(path, FileType.External);
52 return new HeadlessFileHandle(path, FileType.Absolute);
57 return new HeadlessFileHandle(path, FileType.Local);
|
/external/libgdx/backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/ |
JglfwFileHandle.java | 21 import com.badlogic.gdx.Files.FileType; 28 public JglfwFileHandle (String fileName, FileType type) { 32 public JglfwFileHandle (File file, FileType type) { 49 if (type == FileType.Absolute) 58 if (type == FileType.External) return new File(JglfwFiles.externalPath, file.getPath()); 59 if (type == FileType.Local) return new File(JglfwFiles.localPath, file.getPath());
|
JglfwFiles.java | 30 public FileHandle getFileHandle (String fileName, FileType type) { 35 return new JglfwFileHandle(path, FileType.Classpath); 39 return new JglfwFileHandle(path, FileType.Internal); 43 return new JglfwFileHandle(path, FileType.External); 47 return new JglfwFileHandle(path, FileType.Absolute); 51 return new JglfwFileHandle(path, FileType.Local);
|
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/ |
LwjglFileHandle.java | 21 import com.badlogic.gdx.Files.FileType;
28 public LwjglFileHandle (String fileName, FileType type) {
32 public LwjglFileHandle (File file, FileType type) {
49 if (type == FileType.Absolute)
58 if (type == FileType.External) return new File(LwjglFiles.externalPath, file.getPath());
59 if (type == FileType.Local) return new File(LwjglFiles.localPath, file.getPath());
|
LwjglFiles.java | 31 public FileHandle getFileHandle (String fileName, FileType type) {
37 return new LwjglFileHandle(path, FileType.Classpath);
42 return new LwjglFileHandle(path, FileType.Internal);
47 return new LwjglFileHandle(path, FileType.External);
52 return new LwjglFileHandle(path, FileType.Absolute);
57 return new LwjglFileHandle(path, FileType.Local);
|
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/ |
Lwjgl3FileHandle.java | 21 import com.badlogic.gdx.Files.FileType;
28 public Lwjgl3FileHandle (String fileName, FileType type) {
32 public Lwjgl3FileHandle (File file, FileType type) {
49 if (type == FileType.Absolute)
58 if (type == FileType.External) return new File(Lwjgl3Files.externalPath, file.getPath());
59 if (type == FileType.Local) return new File(Lwjgl3Files.localPath, file.getPath());
|
Lwjgl3Files.java | 31 public FileHandle getFileHandle (String fileName, FileType type) {
37 return new Lwjgl3FileHandle(path, FileType.Classpath);
42 return new Lwjgl3FileHandle(path, FileType.Internal);
47 return new Lwjgl3FileHandle(path, FileType.External);
52 return new Lwjgl3FileHandle(path, FileType.Absolute);
57 return new Lwjgl3FileHandle(path, FileType.Local);
|
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/ |
AndroidFiles.java | 49 public FileHandle getFileHandle (String path, FileType type) {
50 FileHandle handle = new AndroidFileHandle(type == FileType.Internal ? assets : null, path, type);
51 if (expansionFile != null && type == FileType.Internal) handle = getZipFileHandleIfExists(handle, path);
71 return new AndroidFileHandle(null, path, FileType.Classpath);
76 FileHandle handle = new AndroidFileHandle(assets, path, FileType.Internal);
83 return new AndroidFileHandle(null, path, FileType.External);
88 return new AndroidFileHandle(null, path, FileType.Absolute);
93 return new AndroidFileHandle(null, path, FileType.Local);
|
AndroidFileHandle.java | 28 import com.badlogic.gdx.Files.FileType;
39 AndroidFileHandle (AssetManager assets, String fileName, FileType type) {
44 AndroidFileHandle (AssetManager assets, File file, FileType type) {
64 if (type == FileType.Absolute)
73 if (type == FileType.Internal) {
84 if (type == FileType.Internal) {
99 if (type == FileType.Internal) {
125 if (type == FileType.Internal) {
150 if (type == FileType.Internal) {
175 if (type == FileType.Internal) { [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/ |
Files.java | 29 public enum FileType {
54 * @see FileType */
55 public FileHandle getFileHandle (String path, FileType type);
57 /** Convenience method that returns a {@link FileType#Classpath} file handle. */
60 /** Convenience method that returns a {@link FileType#Internal} file handle. */
63 /** Convenience method that returns a {@link FileType#External} file handle. */
66 /** Convenience method that returns a {@link FileType#Absolute} file handle. */
69 /** Convenience method that returns a {@link FileType#Local} file handle. */
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/ |
GwtFiles.java | 36 public FileHandle getFileHandle (String path, FileType type) {
37 if (type != FileType.Internal) throw new GdxRuntimeException("FileType '" + type + "' not supported in GWT backend");
43 return new GwtFileHandle(preloader, path, FileType.Classpath);
48 return new GwtFileHandle(preloader, path, FileType.Internal);
|
/frameworks/compile/mclinker/include/mcld/Support/ |
FileSystem.h | 28 enum FileType { 52 explicit FileStatus(FileType v) : m_Value(v) {} 54 void setType(FileType v) { m_Value = v; } 55 FileType type() const { return m_Value; } 58 FileType m_Value;
|
/frameworks/base/tools/aapt2/util/ |
Files.cpp | 36 FileType getFileType(const StringPiece& path) { 40 return FileType::kNonexistant; 42 return FileType::kUnknown; 46 return FileType::kRegular; 48 return FileType::kDirectory; 50 return FileType::kCharDev; 52 return FileType::kBlockDev; 54 return FileType::kFifo; 57 return FileType::kSymlink; 61 return FileType::kSocket [all...] |
Files.h | 41 enum class FileType { 53 FileType getFileType(const StringPiece& path); 134 bool operator()(const std::string& filename, FileType type) const;
|
/external/llvm/lib/CodeGen/ |
ParallelCG.cpp | 32 TargetMachine::CodeGenFileType FileType) { 37 if (TM->addPassesToEmitFile(CodeGenPasses, OS, FileType)) 47 TargetMachine::CodeGenFileType FileType) { 56 OL, FileType); 73 [TheTarget, CPU, Features, Options, RM, CM, OL, FileType, 85 Options, RM, CM, OL, FileType);
|
/external/libgdx/gdx/src/com/badlogic/gdx/files/ |
FileHandle.java | 37 import com.badlogic.gdx.Files.FileType;
53 protected FileType type;
63 this.type = FileType.Absolute;
71 this.type = FileType.Absolute;
74 protected FileHandle (String fileName, FileType type) {
79 protected FileHandle (File file, FileType type) {
119 public FileType type () {
124 * {@link FileType#Absolute} and {@link FileType#External} file handles. */
126 if (type == FileType.External) return new File(Gdx.files.getExternalStoragePath(), file.getPath()); [all...] |
FileHandleStream.java | 23 import com.badlogic.gdx.Files.FileType;
29 /** Create an {@link FileType#Absolute} file at the given location. */
31 super(new File(path), FileType.Absolute);
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/files/ |
FileHandleStream.java | 22 import com.badlogic.gdx.Files.FileType;
32 super(((GwtApplication)Gdx.app).getPreloader(), path, FileType.Internal);
|