/frameworks/base/include/android_runtime/ |
android_util_AssetManager.h | 20 #include <androidfw/AssetManager.h> 26 extern AssetManager* assetManagerForJavaObject(JNIEnv* env, jobject assetMgr);
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
BridgeAssetManager.java | 22 public class BridgeAssetManager extends AssetManager { 27 * This initializes the static field {@link AssetManager#sSystem} which is used 28 * by methods who get a global asset manager using {@link AssetManager#getSystem()}. 34 public static AssetManager initSystem() { 35 if (!(AssetManager.sSystem instanceof BridgeAssetManager)) { 36 // Note that AssetManager() creates a system AssetManager and we override it 38 AssetManager.sSystem = new BridgeAssetManager(); 39 AssetManager.sSystem.makeStringBlocks(null); 41 return AssetManager.sSystem [all...] |
AssetManager_Delegate.java | 22 * Delegate used to provide implementation of a select few native methods of {@link AssetManager} 24 * Through the layoutlib_create tool, the original native methods of AssetManager have been replaced 31 /*package*/ static long newTheme(AssetManager manager) { 37 /*package*/ static void deleteTheme(AssetManager manager, long theme) {
|
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
FileDescriptorAssetPathFetcher.java | 3 import android.content.res.AssetManager; 12 public FileDescriptorAssetPathFetcher(AssetManager assetManager, String assetPath) { 13 super(assetManager, assetPath); 17 protected ParcelFileDescriptor loadResource(AssetManager assetManager, String path) throws IOException { 18 return assetManager.openFd(path).getParcelFileDescriptor();
|
StreamAssetPathFetcher.java | 3 import android.content.res.AssetManager; 12 public StreamAssetPathFetcher(AssetManager assetManager, String assetPath) { 13 super(assetManager, assetPath); 17 protected InputStream loadResource(AssetManager assetManager, String path) throws IOException { 18 return assetManager.open(path);
|
AssetPathFetcher.java | 3 import android.content.res.AssetManager; 11 * An abstract class for obtaining data for an asset path using an {@link android.content.res.AssetManager}. 18 private final AssetManager assetManager; 21 public AssetPathFetcher(AssetManager assetManager, String assetPath) { 22 this.assetManager = assetManager; 28 data = loadResource(assetManager, assetPath); 58 * Opens the given asset path with the given {@link android.content.res.AssetManager} and returns the conrete dat [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/assets/loaders/ |
AsynchronousAssetLoader.java | 20 import com.badlogic.gdx.assets.AssetManager;
35 /** Loads the non-OpenGL part of the asset and injects any dependencies of the asset into the AssetManager.
40 public abstract void loadAsync (AssetManager manager, String fileName, FileHandle file, P parameter);
47 public abstract T loadSync (AssetManager manager, String fileName, FileHandle file, P parameter);
|
FileHandleResolver.java | 19 import com.badlogic.gdx.assets.AssetManager;
22 /** Interface for classes the can map a file name to a {@link FileHandle}. Used to allow the {@link AssetManager} to load resources
|
SynchronousAssetLoader.java | 20 import com.badlogic.gdx.assets.AssetManager;
28 public abstract T load (AssetManager assetManager, String fileName, FileHandle file, P parameter);
|
MusicLoader.java | 22 import com.badlogic.gdx.assets.AssetManager;
47 public void loadAsync (AssetManager manager, String fileName, FileHandle file, MusicParameter parameter) {
52 public Music loadSync (AssetManager manager, String fileName, FileHandle file, MusicParameter parameter) {
|
PixmapLoader.java | 21 import com.badlogic.gdx.assets.AssetManager;
36 public void loadAsync (AssetManager manager, String fileName, FileHandle file, PixmapParameter parameter) {
42 public Pixmap loadSync (AssetManager manager, String fileName, FileHandle file, PixmapParameter parameter) {
|
SoundLoader.java | 22 import com.badlogic.gdx.assets.AssetManager;
47 public void loadAsync (AssetManager manager, String fileName, FileHandle file, SoundParameter parameter) {
52 public Sound loadSync (AssetManager manager, String fileName, FileHandle file, SoundParameter parameter) {
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/batches/ |
ParticleBatch.java | 3 import com.badlogic.gdx.assets.AssetManager; 18 public void save (AssetManager manager, ResourceData assetDependencyData); 19 public void load (AssetManager manager, ResourceData assetDependencyData);
|
ModelInstanceParticleBatch.java | 3 import com.badlogic.gdx.assets.AssetManager; 48 public void save (AssetManager manager, ResourceData assetDependencyData) {} 51 public void load (AssetManager manager, ResourceData assetDependencyData) {}
|
/packages/apps/TV/src/com/android/tv/license/ |
LicenseUtils.java | 19 import android.content.res.AssetManager; 37 public static boolean hasLicenses(AssetManager am) { 48 public static boolean hasRatingAttribution(AssetManager am) {
|
/external/libgdx/gdx/src/com/badlogic/gdx/assets/ |
AssetLoaderParameters.java | 21 /** Callback interface that will be invoked when the {@link AssetManager} loaded an asset.
24 public void finishedLoading (AssetManager assetManager, String fileName, Class type);
|
/frameworks/base/core/java/android/content/res/ |
TypedArray.java | 56 final int fullLen = len * AssetManager.STYLE_NUM_ENTRIES; 67 new int[len*AssetManager.STYLE_NUM_ENTRIES], 73 private AssetManager mAssets; 159 index *= AssetManager.STYLE_NUM_ENTRIES; 161 final int type = data[index+AssetManager.STYLE_TYPE]; 196 index *= AssetManager.STYLE_NUM_ENTRIES; 198 final int type = data[index+AssetManager.STYLE_TYPE]; 235 index *= AssetManager.STYLE_NUM_ENTRIES; 237 final int type = data[index+AssetManager.STYLE_TYPE]; 239 final int cookie = data[index+AssetManager.STYLE_ASSET_COOKIE] [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAssetManager.java | 3 import android.content.res.AssetManager; 16 @Implements(AssetManager.class) 18 static AssetManager bind(AssetManager assetManager, ResourceLoader resourceLoader) { 19 ShadowAssetManager shadowAssetManager = shadowOf(assetManager); 22 return assetManager;
|
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/ |
LargeAssetTest.java | 21 import android.content.res.AssetManager; 63 class Validator extends AsyncTask<AssetManager, Integer, Boolean> { 67 protected Boolean doInBackground(AssetManager... params) { 68 AssetManager am = params[0]; 70 InputStream is = am.open("million-ints", AssetManager.ACCESS_STREAMING);
|
/frameworks/base/libs/androidfw/ |
AssetManager.cpp | 27 #include <androidfw/AssetManager.h> 76 const char* AssetManager::RESOURCES_FILENAME = "resources.arsc"; 77 const char* AssetManager::IDMAP_BIN = "/system/bin/idmap"; 78 const char* AssetManager::OVERLAY_DIR = "/vendor/overlay"; 79 const char* AssetManager::TARGET_PACKAGE_NAME = "android"; 80 const char* AssetManager::TARGET_APK_PATH = "/system/framework/framework-res.apk"; 81 const char* AssetManager::IDMAP_DIR = "/data/resource-cache"; 132 * AssetManager 136 int32_t AssetManager::getGlobalCount() 141 AssetManager::AssetManager(CacheMode cacheMode [all...] |
/frameworks/base/core/java/com/android/internal/policy/ |
DecorContext.java | 20 import android.content.res.AssetManager; 67 public AssetManager getAssets() {
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/ |
ParticleControllerComponent.java | 3 import com.badlogic.gdx.assets.AssetManager; 49 public void save (AssetManager manager, ResourceData data) {} 51 public void load (AssetManager manager, ResourceData data) {}
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/ |
TextureProvider.java | 20 import com.badlogic.gdx.assets.AssetManager;
60 public final AssetManager assetManager;
62 public AssetTextureProvider (final AssetManager assetManager) {
63 this.assetManager = assetManager;
68 return assetManager.get(fileName, Texture.class);
|
/external/libgdx/gdx/src/com/badlogic/gdx/maps/ |
ImageResolver.java | 19 import com.badlogic.gdx.assets.AssetManager;
25 /** Resolves an image by a string, wrapper around a Map or AssetManager to load maps either directly or via AssetManager.
46 private final AssetManager assetManager;
48 public AssetManagerImageResolver (AssetManager assetManager) {
49 this.assetManager = assetManager;
54 return new TextureRegion(assetManager.get(name, Texture.class)); [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetManagerTest.java | 25 import android.content.res.AssetManager; 41 private AssetManager mAssets; 59 inputStream = mAssets.open(fileName, AssetManager.ACCESS_BUFFER); 91 mAssets.open("notExistFile.txt", AssetManager.ACCESS_BUFFER); 124 final AssetManager assets = new AssetManager();
|