/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
BridgeAssetManager.java | 21 import android.content.res.AssetManager; 23 public class BridgeAssetManager extends AssetManager { 26 * This initializes the static field {@link AssetManager#mSystem} which is used 27 * by methods who get a global asset manager using {@link AssetManager#getSystem()}. 33 public static AssetManager initSystem() { 34 if (!(AssetManager.sSystem instanceof BridgeAssetManager)) { 35 // Note that AssetManager() creates a system AssetManager and we override it 37 AssetManager.sSystem = new BridgeAssetManager(); 38 AssetManager.sSystem.makeStringBlocks(false) [all...] |
/frameworks/base/core/java/android/content/res/ |
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.STYLE_TYPE] [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/ |
AudioAssets.java | 20 import android.content.res.AssetManager; 41 AssetManager assetManager = context.getAssets(); 44 ais = assetManager.open(filename);
|
/external/webkit/Source/WebKit/android/ |
RenderSkinNinePatch.h | 24 class AssetManager; 44 static bool decodeAsset(android::AssetManager*, const char* fileName, NinePatch*);
|
RenderSkinAndroid.h | 32 class AssetManager; 67 static bool DecodeBitmap(android::AssetManager* am, const char* fileName, SkBitmap* bitmap);
|
RenderSkinButton.cpp | 39 #include <utils/AssetManager.h> 45 extern android::AssetManager* globalAssetManager(); 72 android::AssetManager* am = globalAssetManager();
|
RenderSkinRadio.cpp | 39 #include <utils/AssetManager.h> 42 extern android::AssetManager* globalAssetManager(); 64 android::AssetManager* am = globalAssetManager();
|
/frameworks/base/include/android_runtime/ |
android_util_AssetManager.h | 20 #include <utils/AssetManager.h> 26 extern AssetManager* assetManagerForJavaObject(JNIEnv* env, jobject assetMgr);
|
/development/ndk/platforms/android-9/samples/native-audio/src/com/example/nativeaudio/ |
NativeAudio.java | 20 import android.content.res.AssetManager; 35 static AssetManager assetManager; 46 assetManager = getAssets(); 90 created = createAssetAudioPlayer(assetManager, "background.mp3"); 157 public static native boolean createAssetAudioPlayer(AssetManager assetManager, String filename);
|
/frameworks/base/cmds/bootanimation/ |
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/native/android/ |
asset_manager.cpp | 21 #include <utils/AssetManager.h> 33 // AAssetManager is actually a secret typedef for an empty base class of AssetManager, 72 AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject assetManager) 78 jclass amClass = env->FindClass("android/content/res/AssetManager"); 84 return (AAssetManager*) env->GetIntField(assetManager, gAssetManagerOffsets.mObject); 107 AssetManager* mgr = static_cast<AssetManager*>(amgr); 118 AssetManager* mgr = static_cast<AssetManager*>(amgr);
|
/frameworks/base/libs/utils/ |
AssetManager.cpp | 24 #include <utils/AssetManager.h> 105 * AssetManager 109 int32_t AssetManager::getGlobalCount() 114 AssetManager::AssetManager(CacheMode cacheMode) 120 //LOGI("Creating AssetManager %p #%d\n", this, count); 124 AssetManager::~AssetManager(void) 127 //LOGI("Destroying AssetManager in %p #%d\n", this, count); 137 bool AssetManager::addAssetPath(const String8& path, void** cookie [all...] |
/development/ndk/platforms/android-9/include/android/ |
asset_manager_jni.h | 29 * Given a Dalvik AssetManager object, obtain the corresponding native AAssetManager 34 AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject assetManager);
|
/frameworks/base/native/include/android/ |
asset_manager_jni.h | 29 * Given a Dalvik AssetManager object, obtain the corresponding native AAssetManager 34 AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject assetManager);
|
/prebuilt/ndk/android-ndk-r5/platforms/android-9/arch-arm/usr/include/android/ |
asset_manager_jni.h | 29 * Given a Dalvik AssetManager object, obtain the corresponding native AAssetManager 34 AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject assetManager);
|
/prebuilt/ndk/android-ndk-r6/platforms/android-9/arch-arm/usr/include/android/ |
asset_manager_jni.h | 29 * Given a Dalvik AssetManager object, obtain the corresponding native AAssetManager 34 AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject assetManager);
|
/prebuilt/ndk/android-ndk-r6/platforms/android-9/arch-x86/usr/include/android/ |
asset_manager_jni.h | 29 * Given a Dalvik AssetManager object, obtain the corresponding native AAssetManager 34 AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject 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/include/utils/ |
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 */
|
AssetManager.h | 18 // Asset management class. AssetManager objects are thread-safe. 61 * The purpose of the AssetManager is to create Asset objects. To do 69 class AssetManager : public AAssetManager { 78 AssetManager(CacheMode cacheMode = CACHE_OFF); 79 virtual ~AssetManager(void); 119 * the lifetime of an AssetManager if the user updates the device's 142 * The object returned does not depend on the AssetManager. It should 208 * Return true if the files this AssetManager references are all 210 * is returned, you will need to create a new AssetManager to get
|
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetManagerTest.java | 27 import android.content.res.AssetManager; 41 @TestTargetClass(AssetManager.class) 43 private AssetManager mAssets; 114 inputStream = mAssets.open(fileName, AssetManager.ACCESS_BUFFER); 146 mAssets.open("notExistFile.txt", AssetManager.ACCESS_BUFFER);
|
/external/webkit/Source/WebCore/platform/text/android/ |
HyphenationAndroid.cpp | 31 #include <utils/AssetManager.h> 35 extern android::AssetManager* globalAssetManager(); 43 android::AssetManager* am = globalAssetManager();
|
/frameworks/base/core/jni/android/graphics/ |
Typeface.cpp | 8 #include <utils/AssetManager.h> 122 AssetManager* mgr = assetManagerForJavaObject(env, jassetMgr); 176 { "nativeCreateFromAsset", "(Landroid/content/res/AssetManager;Ljava/lang/String;)I",
|
/frameworks/base/core/jni/ |
android_util_AssetManager.cpp | 35 #include <utils/AssetManager.h> 106 AssetManager* assetManagerForJavaObject(JNIEnv* env, jobject obj) 108 AssetManager* am = (AssetManager*)env->GetIntField(obj, gAssetManagerOffsets.mObject); 112 jniThrowException(env, "java/lang/IllegalStateException", "AssetManager has been finalized!"); 119 AssetManager* am = assetManagerForJavaObject(env, clazz); 184 AssetManager* am = assetManagerForJavaObject(env, clazz); 213 AssetManager* am = assetManagerForJavaObject(env, clazz); 250 AssetManager* am = assetManagerForJavaObject(env, clazz); 279 AssetManager* am = assetManagerForJavaObject(env, clazz) [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
RecoverySystemTest.java | 26 import android.content.res.AssetManager; 36 private AssetManager mAssets;
|