/frameworks/base/core/java/android/content/res/ |
D | TypedArray.java | 90 index *= AssetManager.STYLE_NUM_ENTRIES; in getText() 92 final int type = data[index+AssetManager.STYLE_TYPE]; in getText() 118 index *= AssetManager.STYLE_NUM_ENTRIES; in getString() 120 final int type = data[index+AssetManager.STYLE_TYPE]; in getString() 153 index *= AssetManager.STYLE_NUM_ENTRIES; in getNonResourceString() 155 final int type = data[index+AssetManager.STYLE_TYPE]; in getNonResourceString() 157 final int cookie = data[index+AssetManager.STYLE_ASSET_COOKIE]; in getNonResourceString() 160 data[index+AssetManager.STYLE_DATA]).toString(); in getNonResourceString() 179 index *= AssetManager.STYLE_NUM_ENTRIES; in getNonConfigurationString() 181 final int type = data[index+AssetManager.STYLE_TYPE]; in getNonConfigurationString() [all …]
|
D | Resources.java | 114 /*package*/ final AssetManager mAssets; 183 public Resources(AssetManager assets, DisplayMetrics metrics, in Resources() 200 public Resources(AssetManager assets, DisplayMetrics metrics, in Resources() 948 AssetManager.ACCESS_STREAMING); in openRawResource() 1110 AssetManager.applyThemeStyle(mTheme, resid, force); in applyStyle() 1123 AssetManager.copyTheme(mTheme, other.mTheme); in setTo() 1149 AssetManager.applyStyle(mTheme, 0, 0, 0, attrs, in obtainStyledAttributes() 1180 AssetManager.applyStyle(mTheme, 0, resid, 0, attrs, in obtainStyledAttributes() 1198 int d = i*AssetManager.STYLE_NUM_ENTRIES; in obtainStyledAttributes() 1199 value.type = data[d+AssetManager.STYLE_TYPE]; in obtainStyledAttributes() [all …]
|
D | AssetManager.java | 35 public final class AssetManager { class 65 /*package*/ static AssetManager sSystem = null; 87 public AssetManager() { in AssetManager() method in AssetManager 102 AssetManager system = new AssetManager(true); in ensureSystemAssets() 109 private AssetManager(boolean isSystem) { in AssetManager() method in AssetManager 125 public static AssetManager getSystem() { in getSystem() 558 synchronized (AssetManager.this) { in close()
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
D | BridgeAssetManager.java | 21 import android.content.res.AssetManager; 23 public class BridgeAssetManager extends AssetManager { 33 public static AssetManager initSystem() { in initSystem() 34 if (!(AssetManager.sSystem instanceof BridgeAssetManager)) { in initSystem() 37 AssetManager.sSystem = new BridgeAssetManager(); in initSystem() 38 AssetManager.sSystem.makeStringBlocks(false); in initSystem() 40 return AssetManager.sSystem; in initSystem() 48 AssetManager.sSystem = null; in clearSystem()
|
/frameworks/base/libs/utils/ |
D | AssetManager.cpp | 109 int32_t AssetManager::getGlobalCount() in getGlobalCount() 114 AssetManager::AssetManager(CacheMode cacheMode) in AssetManager() function in AssetManager 124 AssetManager::~AssetManager(void) in ~AssetManager() 137 bool AssetManager::addAssetPath(const String8& path, void** cookie) in addAssetPath() 211 bool AssetManager::isIdmapStaleLocked(const String8& originalPath, const String8& overlayPath, in isIdmapStaleLocked() 264 bool AssetManager::getZipEntryCrcLocked(const String8& zipPath, const char* entryFilename, in getZipEntryCrcLocked() 283 bool AssetManager::createIdmapFileLocked(const String8& originalPath, const String8& overlayPath, in createIdmapFileLocked() 355 bool AssetManager::addDefaultAssets() in addDefaultAssets() 366 void* AssetManager::nextAssetPath(void* cookie) const in nextAssetPath() 373 String8 AssetManager::getAssetPath(void* cookie) const in getAssetPath() [all …]
|
D | README | 99 is governed by AssetManager.cpp, which tracks loaded resources per 102 Assets are looked up by path and filename in AssetManager.cpp. The path 104 handled like assets by AssetManager.cpp. Other resources are handled 120 AssetManager, which in turn keeps a forest structure of loaded 190 the process' AssetManager (by proxy, via AssetManager.java and JNI)
|
D | Android.mk | 23 AssetManager.cpp \
|
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/ |
D | LargeAssetTest.java | 21 import android.content.res.AssetManager; 63 class Validator extends AsyncTask<AssetManager, Integer, Boolean> { 67 protected Boolean doInBackground(AssetManager... params) { in doInBackground() 68 AssetManager am = params[0]; in doInBackground() 70 InputStream is = am.open("million-ints", AssetManager.ACCESS_STREAMING); in doInBackground()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 106 AssetManager* assetManagerForJavaObject(JNIEnv* env, jobject obj) in assetManagerForJavaObject() 108 AssetManager* am = (AssetManager*)env->GetIntField(obj, gAssetManagerOffsets.mObject); in assetManagerForJavaObject() 119 AssetManager* am = assetManagerForJavaObject(env, clazz); in android_content_AssetManager_openAsset() 184 AssetManager* am = assetManagerForJavaObject(env, clazz); in android_content_AssetManager_openAssetFd() 213 AssetManager* am = assetManagerForJavaObject(env, clazz); in android_content_AssetManager_openNonAssetNative() 250 AssetManager* am = assetManagerForJavaObject(env, clazz); in android_content_AssetManager_openNonAssetFdNative() 279 AssetManager* am = assetManagerForJavaObject(env, clazz); in android_content_AssetManager_list() 440 AssetManager* am = assetManagerForJavaObject(env, clazz); in android_content_AssetManager_addAssetPath() 453 AssetManager* am = assetManagerForJavaObject(env, clazz); in android_content_AssetManager_isUpToDate() 468 AssetManager* am = assetManagerForJavaObject(env, clazz); in android_content_AssetManager_setLocale() [all …]
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.h | 36 class AssetManager; variable 81 status_t initTexture(Texture* texture, AssetManager& asset, const char* name); 87 AssetManager mAssets;
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 19 import android.content.res.AssetManager; 120 public static Typeface createFromAsset(AssetManager mgr, String path) { in createFromAsset() 176 private static native int nativeCreateFromAsset(AssetManager mgr, String path); in nativeCreateFromAsset()
|
D | BitmapRegionDecoder.java | 18 import android.content.res.AssetManager; 114 if (is instanceof AssetManager.AssetInputStream) { in newInstance() 116 ((AssetManager.AssetInputStream) is).getAssetInt(), in newInstance()
|
D | BitmapFactory.java | 19 import android.content.res.AssetManager; 482 if (is instanceof AssetManager.AssetInputStream) { in decodeStream() 483 bm = nativeDecodeAsset(((AssetManager.AssetInputStream) is).getAssetInt(), in decodeStream()
|
/frameworks/base/native/android/ |
D | asset_manager.cpp | 107 AssetManager* mgr = static_cast<AssetManager*>(amgr); in AAssetManager_open() 118 AssetManager* mgr = static_cast<AssetManager*>(amgr); in AAssetManager_openDir()
|
/frameworks/base/graphics/java/android/renderscript/ |
D | FileA3D.java | 23 import android.content.res.AssetManager; 220 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) { in createFromAsset() 283 if (is instanceof AssetManager.AssetInputStream) { in createFromResource() 284 int asset = ((AssetManager.AssetInputStream) is).getAssetInt(); in createFromResource()
|
D | Font.java | 27 import android.content.res.AssetManager; 163 AssetManager mgr = res.getAssets(); in createFromAsset() 188 if (is instanceof AssetManager.AssetInputStream) { in createFromResource() 189 int asset = ((AssetManager.AssetInputStream) is).getAssetInt(); in createFromResource()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | AssetTest.java | 19 import android.content.res.AssetManager; 27 private AssetManager mAssets;
|
/frameworks/base/include/utils/ |
D | AssetManager.h | 69 class AssetManager : public AAssetManager { 78 AssetManager(CacheMode cacheMode = CACHE_OFF); 79 virtual ~AssetManager(void);
|
D | AssetDir.h | 72 friend class AssetManager; variable
|
/frameworks/base/include/android_runtime/ |
D | android_util_AssetManager.h | 26 extern AssetManager* assetManagerForJavaObject(JNIEnv* env, jobject assetMgr);
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockResources.java | 19 import android.content.res.AssetManager; 42 super(new AssetManager(), null, null); in MockResources()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Typeface_Delegate.java | 25 import android.content.res.AssetManager; 141 /*package*/ static synchronized int nativeCreateFromAsset(AssetManager mgr, String path) { in nativeCreateFromAsset()
|
/frameworks/base/core/java/android/webkit/ |
D | FileLoader.java | 21 import android.content.res.AssetManager; 140 AssetManager.ACCESS_STREAMING); in setupStreamAndSendStatus()
|
D | BrowserFrame.java | 22 import android.content.res.AssetManager; 250 AssetManager am = context.getAssets(); in BrowserFrame() 744 AssetManager.ACCESS_STREAMING); in inputStreamForAndroidResource() 759 AssetManager assets = mContext.getAssets(); in inputStreamForAndroidResource() 760 return assets.open(url, AssetManager.ACCESS_STREAMING); in inputStreamForAndroidResource() 1306 private native void nativeCreateFrame(WebViewCore w, AssetManager am, in nativeCreateFrame()
|
/frameworks/base/core/java/android/content/ |
D | Context.java | 21 import android.content.res.AssetManager; 191 public abstract AssetManager getAssets(); in getAssets()
|