/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 | 113 /*package*/ final AssetManager mAssets; 166 public Resources(AssetManager assets, DisplayMetrics metrics, Configuration config) { in Resources() 182 public Resources(AssetManager assets, DisplayMetrics metrics, in Resources() 942 AssetManager.ACCESS_STREAMING); in openRawResource() 1103 AssetManager.applyThemeStyle(mTheme, resid, force); in applyStyle() 1116 AssetManager.copyTheme(mTheme, other.mTheme); in setTo() 1142 AssetManager.applyStyle(mTheme, 0, 0, 0, attrs, in obtainStyledAttributes() 1173 AssetManager.applyStyle(mTheme, 0, resid, 0, attrs, in obtainStyledAttributes() 1191 int d = i*AssetManager.STYLE_NUM_ENTRIES; in obtainStyledAttributes() 1192 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/androidfw/ |
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 | Android.mk | 24 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/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; 232 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) { in createFromAsset() 298 if (is instanceof AssetManager.AssetInputStream) { in createFromResource() 299 int asset = ((AssetManager.AssetInputStream) is).getAssetInt(); in createFromResource()
|
D | Font.java | 27 import android.content.res.AssetManager; 186 AssetManager mgr = res.getAssets(); in createFromAsset() 214 if (is instanceof AssetManager.AssetInputStream) { in createFromResource() 215 int asset = ((AssetManager.AssetInputStream) is).getAssetInt(); in createFromResource()
|
/frameworks/base/graphics/java/android/graphics/ |
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 | Typeface.java | 19 import android.content.res.AssetManager; 148 public static Typeface createFromAsset(AssetManager mgr, String path) { in createFromAsset() 226 private static native int nativeCreateFromAsset(AssetManager mgr, String path); in nativeCreateFromAsset()
|
D | BitmapFactory.java | 19 import android.content.res.AssetManager; 486 if (is instanceof AssetManager.AssetInputStream) { in decodeStream() 487 final int asset = ((AssetManager.AssetInputStream) is).getAssetInt(); in decodeStream()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | AssetTest.java | 19 import android.content.res.AssetManager; 27 private AssetManager mAssets;
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.h | 81 status_t initTexture(Texture* texture, AssetManager& asset, const char* name); 89 AssetManager mAssets;
|
/frameworks/base/include/androidfw/ |
D | AssetManager.h | 70 class AssetManager : public AAssetManager { 79 AssetManager(CacheMode cacheMode = CACHE_OFF); 80 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/native/libs/utils/ |
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)
|
/frameworks/base/core/java/android/webkit/ |
D | BrowserFrame.java | 22 import android.content.res.AssetManager; 250 AssetManager am = context.getAssets(); in BrowserFrame() 728 AssetManager.ACCESS_STREAMING); in inputStreamForAndroidResource() 741 AssetManager assets = mContext.getAssets(); in inputStreamForAndroidResource() 743 return assets.open(uri.getPath(), AssetManager.ACCESS_STREAMING); in inputStreamForAndroidResource() 1216 private native void nativeCreateFrame(WebViewCore w, AssetManager am, in nativeCreateFrame()
|
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
D | MediaPlayerProxyTestCase.java | 23 import android.content.res.AssetManager; 534 AssetManager assets = getAssets(); in getTestContentUri() 578 private AssetManager getAssets() { in getAssets()
|
/frameworks/base/core/java/android/content/ |
D | Context.java | 21 import android.content.res.AssetManager; 208 public abstract AssetManager getAssets(); in getAssets()
|