Home
last modified time | relevance | path

Searched refs:FileHandle (Results 1 – 25 of 175) sorted by relevance

1234567

/external/libgdx/gdx/src/com/badlogic/gdx/files/
DFileHandle.java51 public class FileHandle { class
55 protected FileHandle () { in FileHandle() method in FileHandle
61 public FileHandle (String fileName) { in FileHandle() method in FileHandle
69 public FileHandle (File file) { in FileHandle() method in FileHandle
74 protected FileHandle (String fileName, FileType type) { in FileHandle() method in FileHandle
79 protected FileHandle (File file, FileType type) { in FileHandle() method in FileHandle
135 … InputStream input = FileHandle.class.getResourceAsStream("/" + file.getPath().replace('\\', '/')); in read()
393 public FileHandle[] list () { in list()
396 if (relativePaths == null) return new FileHandle[0]; in list()
397 FileHandle[] handles = new FileHandle[relativePaths.length]; in list()
[all …]
DFileHandleStream.java28 public abstract class FileHandleStream extends FileHandle {
46 public FileHandle child (String name) { in child()
50 public FileHandle sibling (String name) { in sibling()
54 public FileHandle parent () { in parent()
66 public FileHandle[] list () { in list()
82 public void copyTo (FileHandle dest) { in copyTo()
86 public void moveTo (FileHandle dest) { in moveTo()
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
DAndroidZipFileHandle.java26 import com.badlogic.gdx.files.FileHandle;
77 public FileHandle child(String name) { in child()
84 public FileHandle sibling(String name) { in sibling()
91 public FileHandle parent() { in parent()
99 public FileHandle[] list() { in list()
101 FileHandle[] handles = new FileHandle[zipEntries.length]; in list()
108 public FileHandle[] list(FileFilter filter) { in list()
110 FileHandle[] handles = new FileHandle[zipEntries.length]; in list()
113 FileHandle child = new AndroidZipFileHandle(zipEntries[i].mFileName); in list()
120 FileHandle[] newHandles = new FileHandle[count]; in list()
[all …]
DAndroidFileHandle.java30 import com.badlogic.gdx.files.FileHandle;
35 public class AndroidFileHandle extends FileHandle {
49 public FileHandle child (String name) { in child()
55 public FileHandle sibling (String name) { in sibling()
61 public FileHandle parent () { in parent()
83 public FileHandle[] list () { in list()
87 FileHandle[] handles = new FileHandle[relativePaths.length]; in list()
98 public FileHandle[] list (FileFilter filter) { in list()
102 FileHandle[] handles = new FileHandle[relativePaths.length]; in list()
106 FileHandle child = new AndroidFileHandle(assets, new File(file, path), type); in list()
[all …]
DAndroidFiles.java26 import com.badlogic.gdx.files.FileHandle;
49 public FileHandle getFileHandle (String path, FileType type) { in getFileHandle()
50 FileHandle handle = new AndroidFileHandle(type == FileType.Internal ? assets : null, path, type); in getFileHandle()
55 private FileHandle getZipFileHandleIfExists (FileHandle handle, String path) { in getZipFileHandleIfExists()
61 FileHandle zipHandle = new AndroidZipFileHandle(path); in getZipFileHandleIfExists()
70 public FileHandle classpath (String path) { in classpath()
75 public FileHandle internal (String path) { in internal()
76 FileHandle handle = new AndroidFileHandle(assets, path, FileType.Internal); in internal()
82 public FileHandle external (String path) { in external()
87 public FileHandle absolute (String path) { in absolute()
[all …]
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/files/
DFileHandle.java32 public class FileHandle { class
36 protected FileHandle () { in FileHandle() method in FileHandle
39 public FileHandle (String fileName) { in FileHandle() method in FileHandle
42 public FileHandle (File file) { in FileHandle() method in FileHandle
45 protected FileHandle (String fileName, FileType type) { in FileHandle() method in FileHandle
48 protected FileHandle (File file, FileType type) { in FileHandle() method in FileHandle
219 public FileHandle[] list (FileFilter filter) { in list()
227 public FileHandle[] list (FilenameFilter filter) { in list()
235 public FileHandle[] list () { in list()
243 public FileHandle[] list (String suffix) { in list()
[all …]
DFileHandleStream.java47 public FileHandle child (String name) { in child()
51 public FileHandle parent () { in parent()
63 public FileHandle[] list () { in list()
79 public void copyTo (FileHandle dest) { in copyTo()
83 public void moveTo (FileHandle dest) { in moveTo()
/external/libgdx/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/
DIOSFiles.java22 import com.badlogic.gdx.files.FileHandle;
33 new FileHandle(externalPath).mkdirs(); in IOSFiles()
34 new FileHandle(localPath).mkdirs(); in IOSFiles()
38 public FileHandle getFileHandle (String fileName, FileType type) { in getFileHandle()
43 public FileHandle classpath (String path) { in classpath()
48 public FileHandle internal (String path) { in internal()
53 public FileHandle external (String path) { in external()
58 public FileHandle absolute (String path) { in absolute()
63 public FileHandle local (String path) { in local()
/external/libgdx/backends/gdx-backend-moe/src/com/badlogic/gdx/backends/iosmoe/
DIOSFiles.java20 import com.badlogic.gdx.files.FileHandle;
32 new FileHandle(externalPath).mkdirs(); in IOSFiles()
33 new FileHandle(localPath).mkdirs(); in IOSFiles()
37 public FileHandle getFileHandle (String fileName, FileType type) { in getFileHandle()
42 public FileHandle classpath (String path) { in classpath()
47 public FileHandle internal (String path) { in internal()
52 public FileHandle external (String path) { in external()
57 public FileHandle absolute (String path) { in absolute()
62 public FileHandle local (String path) { in local()
/external/libgdx/gdx/src/com/badlogic/gdx/
DFiles.java19 import com.badlogic.gdx.files.FileHandle;
55 public FileHandle getFileHandle (String path, FileType type); in getFileHandle()
58 public FileHandle classpath (String path); in classpath()
61 public FileHandle internal (String path); in internal()
64 public FileHandle external (String path); in external()
67 public FileHandle absolute (String path); in absolute()
70 public FileHandle local (String path); in local()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/preloader/
DPreloader.java30 import com.badlogic.gdx.files.FileHandle;
248 public FileHandle[] list (String url) { in list()
249 Array<FileHandle> files = new Array<FileHandle>(); in list()
255 FileHandle[] list = new FileHandle[files.size]; in list()
260 public FileHandle[] list (String url, FileFilter filter) { in list()
261 Array<FileHandle> files = new Array<FileHandle>(); in list()
267 FileHandle[] list = new FileHandle[files.size]; in list()
272 public FileHandle[] list (String url, FilenameFilter filter) { in list()
273 Array<FileHandle> files = new Array<FileHandle>(); in list()
279 FileHandle[] list = new FileHandle[files.size]; in list()
[all …]
/external/libgdx/backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/
DJglfwFiles.java22 import com.badlogic.gdx.files.FileHandle;
30 public FileHandle getFileHandle (String fileName, FileType type) { in getFileHandle()
34 public FileHandle classpath (String path) { in classpath()
38 public FileHandle internal (String path) { in internal()
42 public FileHandle external (String path) { in external()
46 public FileHandle absolute (String path) { in absolute()
50 public FileHandle local (String path) { in local()
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/
DLwjgl3Files.java22 import com.badlogic.gdx.files.FileHandle;
31 public FileHandle getFileHandle (String fileName, FileType type) { in getFileHandle()
36 public FileHandle classpath (String path) { in classpath()
41 public FileHandle internal (String path) { in internal()
46 public FileHandle external (String path) { in external()
51 public FileHandle absolute (String path) { in absolute()
56 public FileHandle local (String path) { in local()
/external/libgdx/backends/gdx-backend-headless/src/com/badlogic/gdx/backends/headless/
DHeadlessFiles.java22 import com.badlogic.gdx.files.FileHandle;
31 public FileHandle getFileHandle (String fileName, FileType type) { in getFileHandle()
36 public FileHandle classpath (String path) { in classpath()
41 public FileHandle internal (String path) { in internal()
46 public FileHandle external (String path) { in external()
51 public FileHandle absolute (String path) { in absolute()
56 public FileHandle local (String path) { in local()
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/
DLwjglFiles.java22 import com.badlogic.gdx.files.FileHandle;
31 public FileHandle getFileHandle (String fileName, FileType type) { in getFileHandle()
36 public FileHandle classpath (String path) { in classpath()
41 public FileHandle internal (String path) { in internal()
46 public FileHandle external (String path) { in external()
51 public FileHandle absolute (String path) { in absolute()
56 public FileHandle local (String path) { in local()
/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/
DTmxMapLoader.java25 import com.badlogic.gdx.files.FileHandle;
77 FileHandle tmxFile = resolve(fileName); in load()
80 Array<FileHandle> textureFiles = loadTilesets(root, tmxFile); in load()
83 for (FileHandle textureFile : textureFiles) { in load()
99 …public void loadAsync (AssetManager manager, String fileName, FileHandle tmxFile, TmxMapLoader.Par… in loadAsync()
117 …public TiledMap loadSync (AssetManager manager, String fileName, FileHandle file, TmxMapLoader.Par… in loadSync()
127 …public Array<AssetDescriptor> getDependencies (String fileName, FileHandle tmxFile, Parameters par… in getDependencies()
138 for (FileHandle image : loadTilesets(root, tmxFile)) { in getDependencies()
141 for (FileHandle image : loadImages(root, tmxFile)) { in getDependencies()
155 protected TiledMap loadTilemap (Element root, FileHandle tmxFile, ImageResolver imageResolver) { in loadTilemap()
[all …]
DTideMapLoader.java25 import com.badlogic.gdx.files.FileHandle;
63 FileHandle tideFile = resolve(fileName); in load()
66 for (FileHandle textureFile : loadTileSheets(root, tideFile)) { in load()
80 …public TiledMap load (AssetManager assetManager, String fileName, FileHandle tideFile, Parameters … in load()
89 …public Array<AssetDescriptor> getDependencies (String fileName, FileHandle tmxFile, Parameters par… in getDependencies()
93 for (FileHandle image : loadTileSheets(root, tmxFile)) { in getDependencies()
107 private TiledMap loadMap (Element root, FileHandle tmxFile, ImageResolver imageResolver) { in loadMap()
128 private Array<FileHandle> loadTileSheets (Element root, FileHandle tideFile) throws IOException { in loadTileSheets()
129 Array<FileHandle> images = new Array<FileHandle>(); in loadTileSheets()
133 FileHandle image = getRelativeFileHandle(tideFile, imageSource.getText()); in loadTileSheets()
[all …]
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/
DGwtFiles.java21 import com.badlogic.gdx.files.FileHandle;
36 public FileHandle getFileHandle (String path, FileType type) { in getFileHandle()
42 public FileHandle classpath (String path) { in classpath()
47 public FileHandle internal (String path) { in internal()
52 public FileHandle external (String path) { in external()
57 public FileHandle absolute (String path) { in absolute()
62 public FileHandle local (String path) { in local()
DGwtFileHandle.java35 import com.badlogic.gdx.files.FileHandle;
38 public class GwtFileHandle extends FileHandle {
291 public FileHandle[] list () { in list()
299 public FileHandle[] list (FileFilter filter) { in list()
307 public FileHandle[] list (FilenameFilter filter) { in list()
315 public FileHandle[] list (String suffix) { in list()
329 public FileHandle child (String name) { in child()
334 public FileHandle parent () { in parent()
341 public FileHandle sibling (String name) { in sibling()
376 public void copyTo (FileHandle dest) { in copyTo()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
DDistanceFieldFont.java25 import com.badlogic.gdx.files.FileHandle;
47 public DistanceFieldFont (FileHandle fontFile, boolean flip) { in DistanceFieldFont()
51 …public DistanceFieldFont (FileHandle fontFile, FileHandle imageFile, boolean flip, boolean integer… in DistanceFieldFont()
55 public DistanceFieldFont (FileHandle fontFile, FileHandle imageFile, boolean flip) { in DistanceFieldFont()
59 public DistanceFieldFont (FileHandle fontFile, TextureRegion region, boolean flip) { in DistanceFieldFont()
63 public DistanceFieldFont (FileHandle fontFile, TextureRegion region) { in DistanceFieldFont()
67 public DistanceFieldFont (FileHandle fontFile) { in DistanceFieldFont()
/external/libgdx/gdx/src/com/badlogic/gdx/assets/loaders/
DModelLoader.java24 import com.badlogic.gdx.files.FileHandle;
44 public abstract ModelData loadModelData (final FileHandle fileHandle, P parameters); in loadModelData()
47 public ModelData loadModelData (final FileHandle fileHandle) { in loadModelData()
52 …public Model loadModel (final FileHandle fileHandle, TextureProvider textureProvider, P parameters… in loadModel()
58 public Model loadModel (final FileHandle fileHandle, P parameters) { in loadModel()
63 public Model loadModel (final FileHandle fileHandle, TextureProvider textureProvider) { in loadModel()
68 public Model loadModel (final FileHandle fileHandle) { in loadModel()
73 public Array<AssetDescriptor> getDependencies (String fileName, FileHandle file, P parameters) { in getDependencies()
99 public void loadAsync (AssetManager manager, String fileName, FileHandle file, P parameters) { in loadAsync()
103 public Model loadSync (AssetManager manager, String fileName, FileHandle file, P parameters) { in loadSync()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
DFacedCubemapData.java5 import com.badlogic.gdx.files.FileHandle;
32 …public FacedCubemapData (FileHandle positiveX, FileHandle negativeX, FileHandle positiveY, FileHan… in FacedCubemapData()
33 FileHandle positiveZ, FileHandle negativeZ) { in FacedCubemapData()
41 …public FacedCubemapData (FileHandle positiveX, FileHandle negativeX, FileHandle positiveY, FileHan… in FacedCubemapData()
42 FileHandle positiveZ, FileHandle negativeZ, boolean useMipMaps) { in FacedCubemapData()
96 public void load (CubemapSide side, FileHandle file) { in load()
/external/libgdx/gdx/src/com/badlogic/gdx/assets/loaders/resolvers/
DResolutionFileResolver.java21 import com.badlogic.gdx.files.FileHandle;
85 public FileHandle resolve (String fileName) { in resolve()
87 FileHandle originalHandle = new FileHandle(fileName); in resolve()
88 FileHandle handle = baseResolver.resolve(resolve(originalHandle, bestResolution.folder)); in resolve()
93 protected String resolve (FileHandle originalHandle, String suffix) { in resolve()
95 FileHandle parent = originalHandle.parent(); in resolve()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/utils/
DAssetsFileGenerator.java19 import com.badlogic.gdx.files.FileHandle;
25 FileHandle file = new FileHandle(args[0]); in main()
30 new FileHandle(args[0] + "/assets.txt").writeString(list.toString(), false); in main()
33 private static final void traverse (FileHandle directory, String base, StringBuffer list) { in traverse()
37 for (FileHandle file : directory.list()) { in traverse()
/external/libgdx/gdx/src/com/badlogic/gdx/utils/
DI18NBundle.java28 import com.badlogic.gdx.files.FileHandle;
120 public static I18NBundle createBundle (FileHandle baseFileHandle) { in createBundle()
132 public static I18NBundle createBundle (FileHandle baseFileHandle, Locale locale) { in createBundle()
143 public static I18NBundle createBundle (FileHandle baseFileHandle, String encoding) { in createBundle()
156 public static I18NBundle createBundle (FileHandle baseFileHandle, Locale locale, String encoding) { in createBundle()
160 …private static I18NBundle createBundleImpl (FileHandle baseFileHandle, Locale locale, String encod… in createBundleImpl()
295 …private static I18NBundle loadBundleChain (FileHandle baseFileHandle, String encoding, List<Locale… in loadBundleChain()
317 …private static I18NBundle loadBundle (FileHandle baseFileHandle, String encoding, Locale targetLoc… in loadBundle()
321 FileHandle fileHandle = toFileHandle(baseFileHandle, targetLocale); in loadBundle()
345 private static boolean checkFileExistence (FileHandle fh) { in checkFileExistence()
[all …]

1234567