Home
last modified time | relevance | path

Searched refs:assetPath (Results 1 – 8 of 8) sorted by relevance

/external/jmonkeyengine/engine/src/android/com/jme3/asset/plugins/
DAndroidLocator.java19 private final String assetPath; field in AndroidLocator.AndroidAssetInfo
21 …tInfo(com.jme3.asset.AssetManager assetManager, AssetKey<?> key, String assetPath, InputStream in)… in AndroidAssetInfo() argument
23 this.assetPath = assetPath; in AndroidAssetInfo()
37 return androidManager.open(assetPath); in openStream()
39 throw new AssetLoadException("Failed to open asset " + assetPath, ex); in openStream()
45 …private AndroidAssetInfo create(AssetManager assetManager, AssetKey key, String assetPath) throws … in create() argument
47 InputStream in = androidManager.open(assetPath); in create()
51 return new AndroidAssetInfo(assetManager, key, assetPath, in); in create()
71 String assetPath = rootPath + key.getName(); in locate() local
73 if (assetPath.startsWith("/")) { in locate()
[all …]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/
DAssetTileLoader.java26 private String assetPath; field in AssetTileLoader
35 public AssetTileLoader(AssetManager manager, String name, String assetPath) { in AssetTileLoader() argument
38 this.assetPath = assetPath; in AssetTileLoader()
42 …String modelName = assetPath + "/" + name + "_" + Math.round(location.x) + "_" + Math.round(locati… in getTerrainQuadAt()
60 return assetPath; in getAssetPath()
82 c.write(assetPath, "assetPath", null); in write()
89 assetPath = c.readString("assetPath", null); in read()
/external/glide/library/src/main/java/com/bumptech/glide/load/data/
DAssetPathFetcher.java17 private final String assetPath; field in AssetPathFetcher
21 public AssetPathFetcher(AssetManager assetManager, String assetPath) { in AssetPathFetcher() argument
23 this.assetPath = assetPath; in AssetPathFetcher()
28 data = loadResource(assetManager, assetPath); in loadData()
49 return assetPath; in getId()
DStreamAssetPathFetcher.java12 public StreamAssetPathFetcher(AssetManager assetManager, String assetPath) { in StreamAssetPathFetcher() argument
13 super(assetManager, assetPath); in StreamAssetPathFetcher()
DFileDescriptorAssetPathFetcher.java12 public FileDescriptorAssetPathFetcher(AssetManager assetManager, String assetPath) { in FileDescriptorAssetPathFetcher() argument
13 super(assetManager, assetPath); in FileDescriptorAssetPathFetcher()
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/
DStreamUriLoader.java55 protected DataFetcher<InputStream> getAssetPathFetcher(Context context, String assetPath) { in getAssetPathFetcher() argument
56 return new StreamAssetPathFetcher(context.getApplicationContext().getAssets(), assetPath); in getAssetPathFetcher()
/external/glide/library/src/main/java/com/bumptech/glide/load/model/file_descriptor/
DFileDescriptorUriLoader.java52 …rotected DataFetcher<ParcelFileDescriptor> getAssetPathFetcher(Context context, String assetPath) { in getAssetPathFetcher() argument
53 … return new FileDescriptorAssetPathFetcher(context.getApplicationContext().getAssets(), assetPath); in getAssetPathFetcher()
/external/chromium-trace/trace-viewer/tracing/third_party/components/polymer/
Dpolymer.js10399 var assetPath = this.getAttribute('assetpath') || '';
10400 var root = new URL(assetPath, this.ownerDocument.baseURI);