/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | BridgeAssetManager.java | 19 import android.content.res.AssetManager; 21 public class BridgeAssetManager extends AssetManager { 24 * This initializes the static field {@link AssetManager#mSystem} which is used 25 * by methods who get a global asset manager using {@link AssetManager#getSystem()}. 31 /*package*/ static AssetManager initSystem() { 32 if (!(AssetManager.sSystem instanceof BridgeAssetManager)) { 33 // Note that AssetManager() creates a system AssetManager and we override it 35 AssetManager.sSystem = new BridgeAssetManager(); 36 AssetManager [all...] |
H A D | BridgeResources.java | 27 import android.content.res.AssetManager; 63 AssetManager assets, 89 private BridgeResources(BridgeContext context, AssetManager assets, DisplayMetrics metrics,
|
/frameworks/base/include/android_runtime/ |
H A D | android_util_AssetManager.h | 20 #include <utils/AssetManager.h> 26 extern AssetManager* assetManagerForJavaObject(JNIEnv* env, jobject assetMgr);
|
/frameworks/base/core/java/android/content/res/ |
H A D | TypedArray.java | 90 index *= AssetManager.STYLE_NUM_ENTRIES; 92 final int type = data[index+AssetManager.STYLE_TYPE]; 118 index *= AssetManager.STYLE_NUM_ENTRIES; 120 final int type = data[index+AssetManager.STYLE_TYPE]; 153 index *= AssetManager.STYLE_NUM_ENTRIES; 155 final int type = data[index+AssetManager.STYLE_TYPE]; 157 final int cookie = data[index+AssetManager.STYLE_ASSET_COOKIE]; 160 data[index+AssetManager.STYLE_DATA]).toString(); 179 index *= AssetManager.STYLE_NUM_ENTRIES; 181 final int type = data[index+AssetManager [all...] |
H A D | Resources.java | 86 /*package*/ final AssetManager mAssets; 125 * AssetManager. 127 * @param assets Previously created AssetManager. 133 public Resources(AssetManager assets, DisplayMetrics metrics, 141 * @param assets Previously created AssetManager. 150 public Resources(AssetManager assets, DisplayMetrics metrics, 821 AssetManager.ACCESS_STREAMING); 960 AssetManager.applyThemeStyle(mTheme, resid, force); 973 AssetManager.copyTheme(mTheme, other.mTheme); 999 AssetManager [all...] |
H A D | AssetManager.java | 36 public final class AssetManager { class 60 private static final String TAG = "AssetManager"; 66 private static AssetManager sSystem = null; 81 * Create a new AssetManager containing only the basic system assets. 87 public AssetManager() { method in class:AssetManager 102 AssetManager system = new AssetManager(true); 109 private AssetManager(boolean isSystem) { method in class:AssetManager 125 public static AssetManager getSystem() { 522 Log.w(TAG, "AssetManager " [all...] |
/frameworks/base/libs/utils/ |
H A D | AssetManager.cpp | 24 #include <utils/AssetManager.h> 61 * AssetManager 65 int32_t AssetManager::getGlobalCount() 70 AssetManager::AssetManager(CacheMode cacheMode) function in class:AssetManager 76 //LOGI("Creating AssetManager %p #%d\n", this, count); 80 AssetManager::~AssetManager(void) 83 //LOGI("Destroying AssetManager in %p #%d\n", this, count); 93 bool AssetManager [all...] |
H A D | Android.mk | 23 AssetManager.cpp \
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 24 #include <utils/AssetManager.h> 36 class AssetManager; 81 status_t initTexture(Texture* texture, AssetManager& asset, const char* name); 87 AssetManager mAssets;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Typeface.java | 19 import android.content.res.AssetManager; 120 public static Typeface createFromAsset(AssetManager mgr, String path) { 176 private static native int nativeCreateFromAsset(AssetManager mgr, String path);
|
H A D | BitmapFactory.java | 19 import android.content.res.AssetManager; 446 if (is instanceof AssetManager.AssetInputStream) { 447 bm = nativeDecodeAsset(((AssetManager.AssetInputStream) is).getAssetInt(),
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | AssetTest.java | 19 import android.content.res.AssetManager; 27 private AssetManager mAssets;
|
/frameworks/base/services/java/com/android/server/ |
H A D | DemoDataSet.java | 23 import android.content.res.AssetManager; 102 AssetManager ass = AssetManager.getSystem();
|
/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 33 #include <utils/AssetManager.h> 114 AssetManager* assetManagerForJavaObject(JNIEnv* env, jobject obj) 116 AssetManager* am = (AssetManager*)env->GetIntField(obj, gAssetManagerOffsets.mObject); 120 jniThrowException(env, "java/lang/IllegalStateException", "AssetManager has been finalized!"); 127 AssetManager* am = assetManagerForJavaObject(env, clazz); 195 AssetManager* am = assetManagerForJavaObject(env, clazz); 227 AssetManager* am = assetManagerForJavaObject(env, clazz); 267 AssetManager* am = assetManagerForJavaObject(env, clazz); 299 AssetManager* a [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Typeface.java | 21 import android.content.res.AssetManager; 149 public static Typeface createFromAsset(AssetManager mgr, String path) {
|
H A D | BitmapFactory.java | 19 import android.content.res.AssetManager; 448 if (is instanceof AssetManager.AssetInputStream) {
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Typeface.cpp | 8 #include <utils/AssetManager.h> 122 AssetManager* mgr = assetManagerForJavaObject(env, jassetMgr); 170 { "nativeCreateFromAsset", "(Landroid/content/res/AssetManager;Ljava/lang/String;)I",
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockResources.java | 19 import android.content.res.AssetManager; 42 super(new AssetManager(), null, null);
|
H A D | MockContext.java | 30 import android.content.res.AssetManager; 55 public AssetManager getAssets() {
|
/frameworks/base/include/utils/ |
H A D | AssetManager.h | 18 // Asset management class. AssetManager objects are thread-safe. 43 * The purpose of the AssetManager is to create Asset objects. To do 51 class AssetManager { class in namespace:android 60 AssetManager(CacheMode cacheMode = CACHE_OFF); 61 virtual ~AssetManager(void); 101 * the lifetime of an AssetManager if the user updates the device's 122 * The object returned does not depend on the AssetManager. It should 188 * Return true if the files this AssetManager references are all 190 * is returned, you will need to create a new AssetManager to get
|
H A D | AssetDir.h | 38 * The contents are populated by our friend, the AssetManager. 72 friend class AssetManager; 104 /* used by AssetManager */ 137 /* AssetManager uses this to initialize us */
|
H A D | Asset.h | 40 * provide most of the implementation. The AssetManager uses one of the 144 /* AssetManager needs access to our "create" functions */ 145 friend class AssetManager;
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | Texture.java | 26 import android.content.res.AssetManager;
|
/frameworks/base/core/java/android/webkit/ |
H A D | FileLoader.java | 21 import android.content.res.AssetManager; 140 AssetManager.ACCESS_STREAMING);
|
/frameworks/base/core/java/android/content/ |
H A D | Context.java | 21 import android.content.res.AssetManager; 119 /** Return an AssetManager instance for your application's package. */ 120 public abstract AssetManager getAssets();
|