Searched defs:asset (Results 26 - 36 of 36) sorted by relevance

12

/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
H A DZipLocator.java33 package com.jme3.asset.plugins;
35 import com.jme3.asset.*;
H A DHttpZipLocator.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;
/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/core/com/jme3/asset/
H A DTextureKey.java32 package com.jme3.asset;
80 public Object createClonedInstance(Object asset) { argument
81 Texture tex = (Texture) asset;
86 public Object postProcess(Object asset) { argument
87 Image img = (Image) asset;
H A DDesktopAssetManager.java33 package com.jme3.asset;
35 import com.jme3.asset.AssetCache.SmartAssetInfo;
79 this(Thread.currentThread().getContextClassLoader().getResource("com/jme3/asset/Desktop.cfg"));
90 logger.log(Level.SEVERE, "Failed to load asset config", ex);
181 * Delete an asset from the cache, returns true if it was deleted
195 public void addToCache(AssetKey key, Object asset){ argument
196 cache.addToCache(key, asset);
238 o = smartInfo.asset;
262 // Inform event listener that an asset has failed to load.
275 throw new AssetLoadException("An exception has occured while loading asset
[all...]
H A DAssetManager.java33 package com.jme3.asset;
54 * @param loader A ClassLoader that Classes in asset files can be loaded from
65 * asset files.
98 * they were registered, to locate the asset by the {@link AssetKey}.
100 * to the {@link AssetLoader} to load the asset.
110 * @see AssetLocator#locate(com.jme3.asset.AssetManager, com.jme3.asset.AssetKey)
135 * Manually locates an asset with the given {@link AssetKey}. This method
137 * The call will attempt to locate the asset by invoking the
139 * in the same way that the {@link AssetManager#loadAsset(com.jme3.asset
[all...]
H A DImplHandler.java33 package com.jme3.asset;
42 * <code>ImplHandler</code> manages the asset loader and asset locator
45 * This is done by keeping an instance of each asset loader and asset
110 * Establishes the asset key that is used for tracking dependent assets
/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/webkit/Source/WebKit/android/WebCoreSupport/
H A DWebRequest.cpp356 Asset* asset = assetManager->open("webkit/incognito_mode_start_page.html", Asset::ACCESS_BUFFER); local
357 if (asset) {
358 data.append((const char*)asset->getBuffer(false), asset->getLength());
359 delete asset;
/external/jmonkeyengine/engine/src/blender/com/jme3/asset/
H A DBlenderKey.java32 package com.jme3.asset;
220 * This method sets the asset root path.
229 * This method returns the asset root path.
230 * @return the asset root path
360 oc.write(assetRootPath, "asset-root-path", null);
378 assetRootPath = ic.readString("asset-root-path", null);

Completed in 360 milliseconds

12