Searched defs:assets (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeResources.java94 AssetManager assets,
99 assets,
117 private BridgeResources(BridgeContext context, AssetManager assets, DisplayMetrics metrics, argument
119 super(assets, metrics, config);
93 initSystem(BridgeContext context, AssetManager assets, DisplayMetrics metrics, Configuration config, IProjectCallback projectCallback) argument
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp108 status_t BootAnimation::initTexture(Texture* texture, AssetManager& assets, argument
110 Asset* asset = assets.open(name, Asset::ACCESS_BUFFER);
/frameworks/base/core/java/android/content/res/
H A DXmlBlock.java479 XmlBlock(AssetManager assets, long xmlBlock) { argument
480 mAssets = assets;
H A DResources.java54 * provides a high-level API for getting typed data from the assets.
56 * <p>The Android resource system keeps track of all non-code assets associated with an
199 * Create a new Resources object on top of an existing set of assets in an
202 * @param assets Previously created AssetManager.
208 public Resources(AssetManager assets, DisplayMetrics metrics, Configuration config) { argument
209 this(assets, metrics, config, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null);
215 * @param assets Previously created AssetManager.
224 public Resources(AssetManager assets, DisplayMetrics metrics, Configuration config, argument
226 mAssets = assets;
233 assets
[all...]
/frameworks/base/tools/aapt/
H A DImages.cpp4 // Build resource files from raw assets.
1239 status_t preProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets, argument
1486 status_t postProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets, argument
1495 return compileXmlFile(bundle, assets, resourceName, file, table);
H A DCommand.cpp212 AssetManager assets; local
213 if (!assets.addAssetPath(String8(zipFileName), NULL)) {
214 fprintf(stderr, "ERROR: list -a failed because assets could not be loaded\n");
218 const ResTable& res = assets.getResources(false);
228 Asset* manifestAsset = assets.openNonAsset("AndroidManifest.xml",
390 Vector<String8> getNfcAidCategories(AssetManager& assets, String8 xmlPath, bool offHost, argument
393 Asset* aidAsset = assets.openNonAsset(xmlPath, Asset::ACCESS_BUFFER);
596 AssetManager assets; local
598 if (!assets.addAssetPath(String8(filename), &assetsCookie)) {
599 fprintf(stderr, "ERROR: dump failed because assets coul
2247 sp<AaptAssets> assets; local
[all...]
H A DResource.cpp4 // Build resource files from raw assets.
211 static status_t parsePackage(Bundle* bundle, const sp<AaptAssets>& assets, argument
254 assets->setPackage(String8(block.getAttributeStringValue(nameIndex, &len)));
279 static status_t makeFileResources(Bundle* bundle, const sp<AaptAssets>& assets, argument
311 table->addEntry(SourcePos(it.getPath(), 0), String16(assets->getPackage()),
317 assets->addResource(it.getLeafName(), resPath, it.getFile(), type8);
325 PreProcessImageWorkUnit(const Bundle* bundle, const sp<AaptAssets>& assets, argument
327 mBundle(bundle), mAssets(assets), mFile(file), mHasErrors(hasErrors) {
345 static status_t preProcessImages(const Bundle* bundle, const sp<AaptAssets>& assets, argument
355 bundle, assets, i
562 applyFileOverlay(Bundle *bundle, const sp<AaptAssets>& assets, sp<ResourceTypeSet> *baseSet, const char *resType) argument
913 getPlatformAssetCookie(const AssetManager& assets) argument
987 extractPlatformBuildVersion(AssetManager& assets, Bundle* bundle) argument
1050 generateAndroidManifestForSplit(Bundle* bundle, const sp<AaptAssets>& assets, const sp<ApkSplit>& split, sp<AaptFile>& outFile, ResourceTable* table) argument
1099 buildResources(Bundle* bundle, const sp<AaptAssets>& assets, sp<ApkBuilder>& builder) argument
1935 getSymbolPackage(const String8& symbol, const sp<AaptAssets>& assets, bool pub) argument
1951 getAttributeComment(const sp<AaptAssets>& assets, const String8& name, String16* outTypeComment = NULL) argument
1971 writeResourceLoadedCallbackForLayoutClasses( FILE* fp, const sp<AaptAssets>& assets, const sp<AaptSymbols>& symbols, int indent, bool includePrivate) argument
2000 writeResourceLoadedCallback( FILE* fp, const sp<AaptAssets>& assets, bool includePrivate, const sp<AaptSymbols>& symbols, const String8& className, int indent) argument
2042 writeLayoutClasses( FILE* fp, const sp<AaptAssets>& assets, const sp<AaptSymbols>& symbols, int indent, bool includePrivate, bool nonConstantId) argument
2280 writeTextLayoutClasses( FILE* fp, const sp<AaptAssets>& assets, const sp<AaptSymbols>& symbols, bool includePrivate) argument
2376 writeSymbolClass( FILE* fp, const sp<AaptAssets>& assets, bool includePrivate, const sp<AaptSymbols>& symbols, const String8& className, int indent, bool nonConstantId, bool emitCallback) argument
2506 writeTextSymbolClass( FILE* fp, const sp<AaptAssets>& assets, bool includePrivate, const sp<AaptSymbols>& symbols, const String8& className) argument
2547 writeResourceSymbols(Bundle* bundle, const sp<AaptAssets>& assets, const String8& package, bool includePrivate, bool emitCallback) argument
2720 writeProguardForAndroidManifest(ProguardKeepSet* keep, const sp<AaptAssets>& assets) argument
2916 writeProguardForLayouts(ProguardKeepSet* keep, const sp<AaptAssets>& assets) argument
2976 writeProguardFile(Bundle* bundle, const sp<AaptAssets>& assets) argument
3032 writeDependencyPreReqs(Bundle* bundle, const sp<AaptAssets>& assets, FILE* fp, bool includeRaw) argument
[all...]
H A DResourceTable.cpp4 // Build resource files from raw assets.
21 const sp<AaptAssets>& assets,
32 return compileXmlFile(bundle, assets, resourceName, root, target, table, options);
36 const sp<AaptAssets>& assets,
48 return compileXmlFile(bundle, assets, resourceName, root, outTarget, table, options);
52 const sp<AaptAssets>& assets,
72 status_t err = root->assignResourceIds(assets, table);
78 status_t err = root->parseValues(assets, table);
756 const sp<AaptAssets>& assets,
823 const String16 myPackage(assets
20 compileXmlFile(const Bundle* bundle, const sp<AaptAssets>& assets, const String16& resourceName, const sp<AaptFile>& target, ResourceTable* table, int options) argument
35 compileXmlFile(const Bundle* bundle, const sp<AaptAssets>& assets, const String16& resourceName, const sp<AaptFile>& target, const sp<AaptFile>& outTarget, ResourceTable* table, int options) argument
51 compileXmlFile(const Bundle* bundle, const sp<AaptAssets>& assets, const String16& resourceName, const sp<XMLNode>& root, const sp<AaptFile>& target, ResourceTable* table, int options) argument
755 compileResourceFile(Bundle* bundle, const sp<AaptAssets>& assets, const sp<AaptFile>& in, const ResTable_config& defParams, const bool overwrite, ResourceTable* outTable) argument
1763 addIncludedResources(Bundle* bundle, const sp<AaptAssets>& assets) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java763 final AssetManager assets = new AssetManager();
767 loadApkIntoAssetManager(assets, lite.baseCodePath, flags);
771 loadApkIntoAssetManager(assets, path, flags);
776 final Package pkg = parseBaseApk(baseApk, assets, flags);
789 parseSplitApk(pkg, i, assets, flags);
796 IoUtils.closeQuietly(assets);
820 final AssetManager assets = new AssetManager();
822 final Package pkg = parseBaseApk(apkFile, assets, flags);
826 IoUtils.closeQuietly(assets);
830 private static int loadApkIntoAssetManager(AssetManager assets, Strin argument
848 parseBaseApk(File apkFile, AssetManager assets, int flags) argument
889 parseSplitApk(Package pkg, int splitIndex, AssetManager assets, int flags) argument
[all...]

Completed in 134 milliseconds