/frameworks/base/core/java/android/content/res/ |
D | TypedArray.java | 56 final int fullLen = len * AssetManager.STYLE_NUM_ENTRIES; in obtain() 67 new int[len*AssetManager.STYLE_NUM_ENTRIES], in obtain() 73 private AssetManager mAssets; 159 index *= AssetManager.STYLE_NUM_ENTRIES; in getText() 161 final int type = data[index+AssetManager.STYLE_TYPE]; in getText() 196 index *= AssetManager.STYLE_NUM_ENTRIES; in getString() 198 final int type = data[index+AssetManager.STYLE_TYPE]; in getString() 235 index *= AssetManager.STYLE_NUM_ENTRIES; in getNonResourceString() 237 final int type = data[index+AssetManager.STYLE_TYPE]; in getNonResourceString() 239 final int cookie = data[index+AssetManager.STYLE_ASSET_COOKIE]; in getNonResourceString() [all …]
|
D | AssetManager.java | 42 public final class AssetManager implements AutoCloseable { class 72 /*package*/ static AssetManager sSystem = null; 93 public AssetManager() { in AssetManager() method in AssetManager 108 AssetManager system = new AssetManager(true); in ensureSystemAssets() 115 private AssetManager(boolean isSystem) { in AssetManager() method in AssetManager 131 public static AssetManager getSystem() { in getSystem() 599 synchronized (AssetManager.this) { in close()
|
D | ResourcesImpl.java | 115 final AssetManager mAssets; 140 public ResourcesImpl(@NonNull AssetManager assets, @Nullable DisplayMetrics metrics, in ResourcesImpl() 153 public AssetManager getAssets() { in getAssets() 301 AssetManager.ACCESS_STREAMING); in openRawResource() 719 value.assetCookie, file, AssetManager.ACCESS_STREAMING); in loadDrawableForCookie() 1054 private final AssetManager mAssets; 1087 AssetManager.applyThemeStyle(mTheme, resId, force); in applyStyle() 1097 AssetManager.copyTheme(mTheme, other.mTheme); in setTo() 1120 AssetManager.applyStyle(mTheme, defStyleAttr, defStyleRes, in obtainStyledAttributes() 1142 AssetManager.resolveAttrs(mTheme, 0, 0, values, attrs, array.mData, array.mIndices); in resolveAttributes() [all …]
|
/frameworks/base/libs/androidfw/ |
D | AssetManager.cpp | 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"; 136 int32_t AssetManager::getGlobalCount() in getGlobalCount() 141 AssetManager::AssetManager(CacheMode cacheMode) in AssetManager() function in AssetManager 153 AssetManager::~AssetManager(void) in ~AssetManager() 168 bool AssetManager::addAssetPath( in addAssetPath() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
D | BridgeAssetManager.java | 22 public class BridgeAssetManager extends AssetManager { 34 public static AssetManager initSystem() { in initSystem() 35 if (!(AssetManager.sSystem instanceof BridgeAssetManager)) { in initSystem() 38 AssetManager.sSystem = new BridgeAssetManager(); in initSystem() 39 AssetManager.sSystem.makeStringBlocks(null); in initSystem() 41 return AssetManager.sSystem; in initSystem() 49 AssetManager.sSystem = null; in clearSystem()
|
D | AssetManager_Delegate.java | 31 /*package*/ static long newTheme(AssetManager manager) { in newTheme() 37 /*package*/ static void deleteTheme(AssetManager manager, long theme) { in deleteTheme()
|
/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 | 181 argv[argc++] = AssetManager::IDMAP_BIN; in verifySystemIdmaps() 183 argv[argc++] = AssetManager::TARGET_PACKAGE_NAME; in verifySystemIdmaps() 184 argv[argc++] = AssetManager::TARGET_APK_PATH; in verifySystemIdmaps() 185 argv[argc++] = AssetManager::IDMAP_DIR; in verifySystemIdmaps() 189 if (stat(AssetManager::OVERLAY_DIR, &st) == 0) { in verifySystemIdmaps() 190 argv[argc++] = AssetManager::OVERLAY_DIR; in verifySystemIdmaps() 195 execv(AssetManager::IDMAP_BIN, (char* const*)argv); in verifySystemIdmaps() 212 AssetManager* assetManagerForJavaObject(JNIEnv* env, jobject obj) in assetManagerForJavaObject() 215 AssetManager* am = reinterpret_cast<AssetManager*>(amHandle); in assetManagerForJavaObject() 226 AssetManager* am = assetManagerForJavaObject(env, clazz); in android_content_AssetManager_openAsset() [all …]
|
/frameworks/base/cmds/idmap/ |
D | create.cpp | 122 if (get_zip_entry_crc(target_apk_path, AssetManager::RESOURCES_FILENAME, in is_idmap_stale_fd() 126 if (get_zip_entry_crc(overlay_apk_path, AssetManager::RESOURCES_FILENAME, in is_idmap_stale_fd() 156 if (get_zip_entry_crc(target_apk_path, AssetManager::RESOURCES_FILENAME, in create_idmap() 160 if (get_zip_entry_crc(overlay_apk_path, AssetManager::RESOURCES_FILENAME, in create_idmap() 165 AssetManager am; in create_idmap()
|
D | inspect.cpp | 147 status_t resource_metadata(const AssetManager& am, uint32_t res_id, in resource_metadata() 167 status_t parse_idmap_header(IdmapBuffer& buf, AssetManager& am) { in parse_idmap_header() 225 status_t parse_data(IdmapBuffer& buf, const AssetManager& am) { in parse_data() 300 AssetManager am; in idmap_inspect()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Movie.java | 19 import android.content.res.AssetManager; 55 if (is instanceof AssetManager.AssetInputStream) { in decodeStream() 56 final long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); in decodeStream()
|
D | FontFamily.java | 19 import android.content.res.AssetManager; 88 public boolean addFontFromAsset(AssetManager mgr, String path) { in addFontFromAsset() 98 private static native boolean nAddFontFromAsset(long nativeFamily, AssetManager mgr, in nAddFontFromAsset()
|
D | BitmapRegionDecoder.java | 18 import android.content.res.AssetManager; 115 if (is instanceof AssetManager.AssetInputStream) { in newInstance() 117 ((AssetManager.AssetInputStream) is).getNativeAsset(), in newInstance()
|
/frameworks/base/rs/java/android/renderscript/ |
D | FileA3D.java | 22 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 long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); in createFromResource()
|
D | Font.java | 26 import android.content.res.AssetManager; 185 AssetManager mgr = res.getAssets(); in createFromAsset() 213 if (is instanceof AssetManager.AssetInputStream) { in createFromResource() 214 long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); in createFromResource()
|
/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/core/java/com/android/internal/policy/ |
D | DecorContext.java | 20 import android.content.res.AssetManager; 67 public AssetManager getAssets() { in getAssets()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
D | AvgBrightnessFilterTest.java | 19 import android.content.res.AssetManager; 33 private AssetManager assetMgr = null;
|
D | ContrastRatioFilterTest.java | 26 import android.content.res.AssetManager; 39 private AssetManager assetMgr = null;
|
D | ExposureFilterTest.java | 19 import android.content.res.AssetManager; 38 private AssetManager assetMgr = null;
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | AssetTest.java | 19 import android.content.res.AssetManager; 27 private AssetManager mAssets;
|
/frameworks/base/core/tests/benchmarks/src/android/content/res/ |
D | ResourcesBenchmark.java | 31 private AssetManager mAsset; 41 mAsset = new AssetManager(); in setUp()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.h | 90 status_t initTexture(Texture* texture, AssetManager& asset, const char* name); 105 AssetManager mAssets;
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesLocaleTest.java | 44 final AssetManager assets = new AssetManager(); in createResourcesWithApk()
|
/frameworks/base/core/java/android/view/ |
D | ContextThemeWrapper.java | 22 import android.content.res.AssetManager; 114 public AssetManager getAssets() { in getAssets()
|