Searched refs:asset (Results 1 - 25 of 166) sorted by relevance

1234567

/external/jmonkeyengine/engine/src/core/com/jme3/export/
H A DJmeImporter.java35 import com.jme3.asset.AssetLoader;
36 import com.jme3.asset.AssetManager;
/external/jmonkeyengine/engine/src/core/com/jme3/asset/
H A DAsset.java33 package com.jme3.asset;
36 * Implementing the asset interface allows use of smart asset management.
38 * Smart asset management requires cooperation from the {@link AssetKey}.
41 * create a clone of the asset and cannot return the same reference,
44 * If the {@link AssetManager#loadAsset(com.jme3.asset.AssetKey) } method
45 * is called twice with the same asset key (equals() wise, not necessarily reference wise)
46 * then both assets will have the same asset key set (reference wise) via
47 * {@link Asset#setKey(com.jme3.asset.AssetKey) }, then this asset ke
[all...]
H A DMaterialKey.java1 package com.jme3.asset;
25 public Object createClonedInstance(Object asset){ argument
26 Material mat = (Material) asset;
H A DModelKey.java33 package com.jme3.asset;
56 public Object createClonedInstance(Object asset){ argument
57 Spatial model = (Spatial) asset;
H A DAssetLoader.java33 package com.jme3.asset;
38 * An interface for asset loaders. An <code>AssetLoader</code> is responsible
39 * for loading a certain type of asset associated with file extension(s).
47 * Loads asset from the given input stream, parsing it into
H A DAssetLocator.java33 package com.jme3.asset;
44 * instance of an asset locator.
49 * Request to locate an asset. The asset key
50 * contains a name identifying the asset.
51 * If an asset was not found, null should be returned.
H A DAssetCache.java33 package com.jme3.asset;
50 public Asset asset; field in class:AssetCache.SmartAssetInfo
67 Asset asset = (Asset) obj;
68 asset.setKey(null); // no circular references
70 smartInfo.asset = asset;
82 * Delete an asset from the cache, returns true if it was deleted successfuly.
97 * Gets an object from the cache given an asset key.
106 return smartCache.get(key).asset;
114 * Retrieves smart asset inf
[all...]
H A DAssetEventListener.java33 package com.jme3.asset;
38 * to receive an event when an asset has been requested
40 * an asset has been loaded.
47 * Called when an asset has been successfully loaded (e.g: loaded from
50 * @param key the AssetKey for the asset loaded.
55 * Called when an asset has been requested (e.g any of the load*** methods
58 * if the asset has failed to load, or if it was retrieved from the cache.
65 * Called when an asset dependency cannot be found for an asset.
66 * When an asset i
[all...]
H A DAssetLoadException.java1 package com.jme3.asset;
5 * is able to find the requested asset, but there was a problem while loading
H A DAssetNotFoundException.java1 package com.jme3.asset;
5 * is unable to locate the requested asset using any of the registered
H A DAssetInfo.java33 package com.jme3.asset;
38 * The result of locating an asset through an AssetKey. Provides
39 * a means to read the asset data through an InputStream.
71 * asset data, starting at the beginning of the file.
73 * @return The asset data.
/external/webkit/Source/WebKit/android/
H A DRenderSkinAndroid.cpp59 android::Asset* asset = am->open(fileName, android::Asset::ACCESS_BUFFER); local
60 if (!asset) {
61 asset = am->openNonAsset(fileName, android::Asset::ACCESS_BUFFER);
62 if (!asset) {
68 bool success = SkImageDecoder::DecodeMemory(asset->getBuffer(false), asset->getLength(), bitmap);
73 delete asset;
H A DRenderSkinNinePatch.cpp42 Asset* asset = am->open(filename, android::Asset::ACCESS_BUFFER); local
43 if (!asset) {
44 asset = am->openNonAsset(filename, android::Asset::ACCESS_BUFFER);
45 if (!asset) {
52 SkMemoryStream stream(asset->getBuffer(false), asset->getLength());
55 asset->close();
70 asset->close();
71 ALOGE("RenderSkinNinePatch::Failed to decode nine patch asset");
75 asset
[all...]
/external/jmonkeyengine/engine/src/android/com/jme3/texture/plugins/
H A DAndroidImageLoader.java4 import com.jme3.asset.AndroidImageInfo;
5 import com.jme3.asset.AssetInfo;
6 import com.jme3.asset.AssetLoader;
/external/jmonkeyengine/engine/src/blender/com/jme3/asset/
H A DGeneratedTextureKey.java1 package com.jme3.asset;
/external/jmonkeyengine/engine/src/test/jme3test/asset/
H A DTestAbsoluteLocators.java33 package jme3test.asset;
35 import com.jme3.asset.AssetManager;
36 import com.jme3.asset.DesktopAssetManager;
37 import com.jme3.asset.plugins.ClasspathLocator;
H A DTestManyLocators.java33 package jme3test.asset;
35 import com.jme3.asset.*;
36 import com.jme3.asset.plugins.ClasspathLocator;
37 import com.jme3.asset.plugins.HttpZipLocator;
38 import com.jme3.asset.plugins.UrlLocator;
39 import com.jme3.asset.plugins.ZipLocator;
H A DTestAssetCache.java33 package jme3test.asset;
35 import com.jme3.asset.Asset;
36 import com.jme3.asset.AssetCache;
37 import com.jme3.asset.AssetKey;
54 * Enable cloneable asset use
101 public Object createClonedInstance(Object asset){ argument
125 public Object createClonedInstance(Object asset){ argument
130 return asset;
/external/jmonkeyengine/engine/src/android/com/jme3/audio/plugins/
H A DAndroidAudioLoader.java3 import com.jme3.asset.AssetInfo;
4 import com.jme3.asset.AssetLoader;
10 * {@link AndroidAudioData} object with the specified asset key.
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
H A DUrlAssetInfo.java1 package com.jme3.asset.plugins;
3 import com.jme3.asset.AssetInfo;
4 import com.jme3.asset.AssetKey;
5 import com.jme3.asset.AssetLoadException;
6 import com.jme3.asset.AssetManager;
H A DUrlLocator.java33 package com.jme3.asset.plugins;
35 import com.jme3.asset.AssetInfo;
36 import com.jme3.asset.AssetKey;
37 import com.jme3.asset.AssetLocator;
38 import com.jme3.asset.AssetManager;
49 * that allows locating the asset.
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/matext/
H A DOgreMaterialKey.java35 import com.jme3.asset.AssetKey;
/external/jmonkeyengine/engine/src/android/com/jme3/asset/plugins/
H A DAndroidLocator.java1 package com.jme3.asset.plugins;
3 import com.jme3.asset.*;
21 public AndroidAssetInfo(com.jme3.asset.AssetManager assetManager, AssetKey<?> key, String assetPath, InputStream in) {
39 throw new AssetLoadException("Failed to open asset " + assetPath, ex);
70 public AssetInfo locate(com.jme3.asset.AssetManager manager, AssetKey key) {
84 throw new AssetLoadException("Failed to open asset " + assetPath, ex);
/external/jmonkeyengine/engine/src/test/jme3test/audio/
H A DTestMusicStreaming.java36 import com.jme3.asset.plugins.UrlLocator;
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
H A DImageBasedHeightMapGrid.java7 import com.jme3.asset.AssetManager;
8 import com.jme3.asset.AssetNotFoundException;
9 import com.jme3.asset.TextureKey;

Completed in 257 milliseconds

1234567