HomeSort by relevance Sort by last modified time
    Searched refs:assets (Results 1 - 25 of 35) sorted by null

1 2

  /frameworks/base/tools/aapt/
Images.h 4 // Build resource files from raw assets.
12 status_t preProcessImage(Bundle* bundle, const sp<AaptAssets>& assets,
15 status_t postProcessImage(const sp<AaptAssets>& assets,
Main.h 27 const sp<AaptAssets>& assets,
31 const sp<AaptAssets>& assets);
34 const sp<AaptAssets>& assets, const String8& pkgName, bool includePrivate);
36 extern android::status_t writeProguardFile(Bundle* bundle, const sp<AaptAssets>& assets);
40 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptAssets>& assets);
42 extern status_t filterResources(Bundle* bundle, const sp<AaptAssets>& assets);
Resource.cpp 4 // Build resource files from raw assets.
156 static sp<AaptFile> getResourceFile(const sp<AaptAssets>& assets, bool makeIfNecessary=true)
158 sp<AaptGroup> group = assets->getFiles().valueFor(String8("resources.arsc"));
170 return assets->addFile(String8("resources.arsc"), AaptGroupEntry(), String8(),
174 static status_t parsePackage(Bundle* bundle, const sp<AaptAssets>& assets,
217 assets->setPackage(String8(block.getAttributeStringValue(nameIndex, &len)));
242 static status_t makeFileResources(Bundle* bundle, const sp<AaptAssets>& assets,
274 table->addEntry(SourcePos(it.getPath(), 0), String16(assets->getPackage()),
280 assets->addResource(it.getLeafName(), resPath, it.getFile(), type8);
286 static status_t preProcessImages(Bundle* bundle, const sp<AaptAssets>& assets,
    [all...]
Command.cpp 190 AssetManager assets; local
191 if (!assets.addAssetPath(String8(zipFileName), NULL)) {
192 fprintf(stderr, "ERROR: list -a failed because assets could not be loaded\n");
196 const ResTable& res = assets.getResources(false);
204 Asset* manifestAsset = assets.openNonAsset("AndroidManifest.xml",
377 AssetManager assets; local
379 if (!assets.addAssetPath(String8(filename), &assetsCookie)) {
380 fprintf(stderr, "ERROR: dump failed because assets could not be loaded\n");
384 const ResTable& res = assets.getResources(false);
402 asset = assets.openNonAsset(resname, Asset::ACCESS_BUFFER)
1285 sp<AaptAssets> assets; local
    [all...]
Package.cpp 4 // Package assets into Zip files.
35 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptAssets>& assets);
50 status_t writeAPK(Bundle* bundle, const sp<AaptAssets>& assets,
106 count = processAssets(bundle, zip, assets);
108 fprintf(stderr, "ERROR: unable to process assets while packaging '%s'\n",
194 const sp<AaptAssets>& assets)
204 const size_t N = assets->getGroupEntries().size();
206 const AaptGroupEntry& ge = assets->getGroupEntries()[i];
210 ssize_t res = processAssets(bundle, zip, assets, ge);
XMLNode.h 4 // Build resource files from raw assets.
131 status_t parseValues(const sp<AaptAssets>& assets, ResourceTable* table);
133 status_t assignResourceIds(const sp<AaptAssets>& assets,
ResourceTable.h 4 // Build resource files from raw assets.
34 status_t compileXmlFile(const sp<AaptAssets>& assets,
39 status_t compileXmlFile(const sp<AaptAssets>& assets,
45 status_t compileXmlFile(const sp<AaptAssets>& assets,
52 const sp<AaptAssets>& assets,
81 status_t addIncludedResources(Bundle* bundle, const sp<AaptAssets>& assets);
ResourceTable.cpp 4 // Build resource files from raw assets.
17 status_t compileXmlFile(const sp<AaptAssets>& assets,
27 return compileXmlFile(assets, root, target, table, options);
30 status_t compileXmlFile(const sp<AaptAssets>& assets,
41 return compileXmlFile(assets, root, outTarget, table, options);
44 status_t compileXmlFile(const sp<AaptAssets>& assets,
63 status_t err = root->assignResourceIds(assets, table);
69 status_t err = root->parseValues(assets, table);
649 const sp<AaptAssets>& assets,
714 const String16 myPackage(assets->getPackage())
    [all...]
XMLNode.cpp 4 // Build resource files from raw assets.
766 status_t XMLNode::parseValues(const sp<AaptAssets>& assets,
773 String16 defPackage(assets->getPackage());
779 if (!assets->getIncludedResources()
792 status_t err = mChildren.itemAt(i)->parseValues(assets, table);
800 status_t XMLNode::assignResourceIds(const sp<AaptAssets>& assets,
824 : assets->getIncludedResources().
842 status_t err = mChildren.itemAt(i)->assignResourceIds(assets, table);
    [all...]
  /development/simulator/app/
Android.mk 117 # also, we need to copy our assets. We place these by hand now, because
120 asset_files := $(addprefix $(LOCAL_PATH)/assets/,$(call find-subdir-assets,$(LOCAL_PATH)/assets))
121 asset_target := $(HOST_COMMON_OUT_ROOT)/sim-assets/simulator$(COMMON_PACKAGE_SUFFIX)
122 $(asset_target): PRIVATE_ASSET_ROOT := $(LOCAL_PATH)/assets
  /build/tools/droiddoc/test/stubs/
func.sh 52 && rm -rf $OBJ_DIR/docs/assets \
53 && mkdir -p $OBJ_DIR/docs/assets \
54 && cp -fr tools/droiddoc/templates/assets/* $OBJ_DIR/docs/assets/ \
Android.mk 25 LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=assets-google
  /build/core/
package.mk 56 # Android packages should use Android resources or assets.
83 LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets
99 #$(warning Finding assets for $(LOCAL_ASSET_DIR))
101 all_assets := $(call find-subdir-assets,$(LOCAL_ASSET_DIR))
102 all_assets := $(addprefix $(LOCAL_ASSET_DIR)/,$(patsubst assets/%,%,$(all_assets)))
108 $(call find-subdir-assets,$(dir)) \
116 # If no assets or resources were found, clear the directory variables so
216 # add-assets-to-package looks at PRODUCT_AAPT_CONFIG, but this target
222 $(add-assets-to-package)
321 $(add-assets-to-package
    [all...]
droiddoc.mk 51 LOCAL_DROIDDOC_ASSET_DIR := assets
54 LOCAL_DROIDDOC_CUSTOM_ASSET_DIR := assets
  /build/tools/droiddoc/test/generics/
Android.mk 25 LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=assets-google
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
BridgeResources.java 63 AssetManager assets,
69 assets,
89 private BridgeResources(BridgeContext context, AssetManager assets, DisplayMetrics metrics,
91 super(assets, metrics, config);
  /build/tools/droiddoc/templates/assets/
android-developer-reference.js 125 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
134 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
185 node.plus_img.src = me.toroot + "assets/images/triangle-opened-small.png";
314 trigger.src = toRoot + "assets/images/triangle-opened.png";
320 trigger.src = toRoot + "assets/images/triangle-closed.png";
  /sdk/anttasks/src/com/android/ant/
AaptExecLoopTask.java 49 * <tr><td>-A asset-source-dir</td><td>assets</td><td>attribute (Path</td></tr>
61 * This let the developers prevent compression of some files in assets/ and res/raw/
63 * If the extension is null, this will disable compression for all files in assets/ and
147 * Sets the value of the "assets" attribute.
148 * @param assets the value.
150 public void setAssets(Path assets) {
151 mAssets = TaskHelper.checkSinglePath("assets", assets);
392 // assets location. This may not exists, and aapt doesn't like it, so we check first.
  /cts/tests/SignatureTest/
Android.mk 73 static_res_deps := $(call find-subdir-assets,$(LOCAL_PATH)/res)
  /frameworks/base/core/java/android/content/res/
XmlBlock.java 479 XmlBlock(AssetManager assets, int xmlBlock) {
480 mAssets = assets;
Resources.java 47 * provides a higher-level API for getting typed data from the assets.
124 * Create a new Resources object on top of an existing set of assets in an
127 * @param assets Previously created AssetManager.
133 public Resources(AssetManager assets, DisplayMetrics metrics,
135 this(assets, metrics, config, (CompatibilityInfo) null);
141 * @param assets Previously created AssetManager.
150 public Resources(AssetManager assets, DisplayMetrics metrics,
152 mAssets = assets;
160 assets.ensureStringBlocks();
    [all...]
  /build/tools/droiddoc/templates-pdk/
customization.cs 9 src="<?cs var:toroot ?>assets/images/open_source.png" alt="Android Open Source Project" /></a>
34 <!-- <img src="<?cs var:toroot ?>assets/images/icon_world.jpg" alt="" /> -->
  /development/pdk/
Pdk.mk 196 LOCAL_DROIDDOC_CUSTOM_ASSET_DIR := assets
  /frameworks/base/
Android.mk 475 LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=assets-sdk
511 LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=assets-sdk
547 LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=assets-sdk
572 LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=assets-sdk
  /frameworks/base/cmds/bootanimation/
BootAnimation.cpp 88 status_t BootAnimation::initTexture(Texture* texture, AssetManager& assets,
90 Asset* asset = assets.open(name, Asset::ACCESS_BUFFER);

Completed in 1221 milliseconds

1 2