Home
last modified time | relevance | path

Searched refs:assets (Results 1 – 25 of 76) sorted by relevance

1234

/frameworks/base/tools/aapt/
DMain.h27 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);
DResource.cpp156 static sp<AaptFile> getResourceFile(const sp<AaptAssets>& assets, bool makeIfNecessary=true) in getResourceFile() argument
158 sp<AaptGroup> group = assets->getFiles().valueFor(String8("resources.arsc")); in getResourceFile()
170 return assets->addFile(String8("resources.arsc"), AaptGroupEntry(), String8(), in getResourceFile()
174 static status_t parsePackage(Bundle* bundle, const sp<AaptAssets>& assets, in parsePackage() argument
217 assets->setPackage(String8(block.getAttributeStringValue(nameIndex, &len))); in parsePackage()
242 static status_t makeFileResources(Bundle* bundle, const sp<AaptAssets>& assets, in makeFileResources() argument
274 table->addEntry(SourcePos(it.getPath(), 0), String16(assets->getPackage()), in makeFileResources()
280 assets->addResource(it.getLeafName(), resPath, it.getFile(), type8); in makeFileResources()
286 static status_t preProcessImages(Bundle* bundle, const sp<AaptAssets>& assets, in preProcessImages() argument
295 res = preProcessImage(bundle, assets, it.getFile(), NULL); in preProcessImages()
[all …]
DCommand.cpp191 AssetManager assets; in doList() local
192 if (!assets.addAssetPath(String8(zipFileName), NULL)) { in doList()
197 const ResTable& res = assets.getResources(false); in doList()
205 Asset* manifestAsset = assets.openNonAsset("AndroidManifest.xml", in doList()
417 AssetManager assets; in doDump() local
419 if (!assets.addAssetPath(String8(filename), &assetsCookie)) { in doDump()
424 const ResTable& res = assets.getResources(false); in doDump()
442 asset = assets.openNonAsset(resname, Asset::ACCESS_BUFFER); in doDump()
469 asset = assets.openNonAsset(resname, Asset::ACCESS_BUFFER); in doDump()
487 asset = assets.openNonAsset("AndroidManifest.xml", in doDump()
[all …]
DImages.h12 status_t preProcessImage(Bundle* bundle, const sp<AaptAssets>& assets,
15 status_t postProcessImage(const sp<AaptAssets>& assets,
DPackage.cpp35 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptAssets>& assets);
50 status_t writeAPK(Bundle* bundle, const sp<AaptAssets>& assets, in writeAPK() argument
106 count = processAssets(bundle, zip, assets); in writeAPK()
194 const sp<AaptAssets>& assets) in processAssets() argument
204 const size_t N = assets->getGroupEntries().size(); in processAssets()
206 const AaptGroupEntry& ge = assets->getGroupEntries()[i]; in processAssets()
210 ssize_t res = processAssets(bundle, zip, assets, ge); in processAssets()
DXMLNode.h132 status_t parseValues(const sp<AaptAssets>& assets, ResourceTable* table);
134 status_t assignResourceIds(const sp<AaptAssets>& assets,
DResourceTable.h34 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);
DXMLNode.cpp876 status_t XMLNode::parseValues(const sp<AaptAssets>& assets, in parseValues() argument
883 String16 defPackage(assets->getPackage()); in parseValues()
889 if (!assets->getIncludedResources() in parseValues()
902 status_t err = mChildren.itemAt(i)->parseValues(assets, table); in parseValues()
910 status_t XMLNode::assignResourceIds(const sp<AaptAssets>& assets, in assignResourceIds() argument
934 : assets->getIncludedResources(). in assignResourceIds()
952 status_t err = mChildren.itemAt(i)->assignResourceIds(assets, table); in assignResourceIds()
/frameworks/base/docs/html/intl/ja/
Dindex.jd14 …<img src="/assets/images/home/android_adc.png" alt="Android Developer Challenge 2" width="232px" />
44 …class="imageCell"><a href="{@docRoot}sdk/index.html"><img src="{@docRoot}assets/images/icon_downlo…
55 …geCell"><a href="http://www.android.com/market.html"><img src="{@docRoot}assets/images/icon_market…
66 …lass="imageCell"><a href="http://source.android.com"><img src="{@docRoot}assets/images/icon_contri…
77 …href="http://www.youtube.com/user/androiddevelopers"><img src="{@docRoot}assets/images/video-droid…
156 <script type="text/javascript" src="{@docRoot}assets/carousel.js"></script>
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dicon_design.jd294 drawable assets for your application. The tips assume that you are using
297 <h3>Use common naming conventions for icon assets</h3>
299 <p>Try to name files so that related assets will group together inside a
352 <pre>assets/...
367 ultimately store the finished assets in your application's resources. Because
369 can quickly determine which assets should be copied to each application
370 resources directory. Separating assets by density also helps you detect any
372 corresponding assets for different densities must share the same filename.</p>
391 use vector shapes so that if the need arises, assets can be scaled up without
401 <p>Because you will need to create assets for different screen densities, as
[all …]
/frameworks/base/docs/html/
Drobots.txt4 Disallow: /assets/
Dindex.jd49 …class="imageCell"><a href="{@docRoot}sdk/index.html"><img src="{@docRoot}assets/images/icon_downlo…
60 …geCell"><a href="http://www.android.com/market.html"><img src="{@docRoot}assets/images/icon_market…
71 …lass="imageCell"><a href="http://source.android.com"><img src="{@docRoot}assets/images/icon_contri…
185 <script type="text/javascript" src="{@docRoot}assets/carousel.js"></script>
Dsearch.jd5 <script src="{@docRoot}assets/jquery-history.js" type="text/javascript"></script>
146 <img src="{@docRoot}assets/images/hr_gray_main.jpg" />
Doffline.jd9 <img src="{@docRoot}assets/images/home/sdk-large.png" style="float:right; margin:-2em 3em 3em;" />
/frameworks/base/docs/html/guide/topics/resources/
Dindex.jd94 assets/} directory. This should only be necessary if you need direct access to original files and
95 directories by name. Files saved in the {@code assets/} directory will not be given a resource
97 query data in the {@code assets/} directory like an ordinary file system, search through the
103 is uncommon, but if you need direct access to original files in {@code assets/}, refer to the {@link
/frameworks/base/docs/html/sdk/ndk/
Dindex.jd30 …$(".toggle-img", toggleable).attr("title", "hide").attr("src", "{@docRoot}assets/images/triangle-o…
35 …$(".toggle-img", toggleable).attr("title", "show").attr("src", "/assets/images/triangle-closed.png…
65 onclick="return toggleDiv(this)"><img src="{@docRoot}assets/images/triangle-opened.png"
117 onclick="return toggleDiv(this)"><img src="{@docRoot}assets/images/triangle-closed.png"
126 graphics and window management, assets, and storage. Developers can also implement the
153 <li>Access to assets packaged in an <code>.apk</code> file.</li>
196 onclick="return toggleDiv(this)"><img src="{@docRoot}assets/images/triangle-closed.png"
270 onclick="return toggleDiv(this)"><img src="{@docRoot}assets/images/triangle-closed.png"
298 onclick="return toggleDiv(this)"><img src="{@docRoot}assets/images/triangle-closed.png"
324 onclick="return toggleDiv(this)"><img src="{@docRoot}assets/images/triangle-closed.png"
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeResources.java98 AssetManager assets, in initSystem() argument
103 assets, in initSystem()
121 private BridgeResources(BridgeContext context, AssetManager assets, DisplayMetrics metrics, in BridgeResources() argument
123 super(assets, metrics, config); in BridgeResources()
/frameworks/base/docs/html/guide/developing/tools/
Daapt.jd4 …d update Zip-compatible archives (zip, jar, apk). It can also compile resources into binary assets.
/frameworks/base/docs/html/sdk/
Dtools-notes.jd33 …$(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-o…
38 …$(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-c…
67 …<img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px"…
124 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…
191 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…
224 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…
255 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…
303 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…
352 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…
Dandroid-1.5.jd82 …$(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-o…
87 …$(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-c…
117 …<img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px"…
140 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…
154 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…
163 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…
Dwin-usb.jd78 …$(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-o…
83 …$(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-c…
112 <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px"
125 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
138 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…
151 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…
Dandroid-2.1.jd83 …$(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-o…
88 …$(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-c…
118 …<img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px"…
141 …<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"…
/frameworks/base/docs/html/guide/topics/manifest/
Duses-permission-element.jd7 <img id="rule" src="{@docRoot}assets/images/grad-rule-qv.png">
9 <img src="{@docRoot}assets/images/icon_market.jpg" style="float:left;margin:0;padding:0;">
/frameworks/base/docs/html/resources/articles/
Dusing-webviews.jd18 the web, or it can come from local files stored in your assets
21 …de.google.com/p/apps-for-android/source/browse/trunk/Samples/WebViewDemo/assets/demo.html">demo.ht…
/frameworks/base/
DAndroid.mk478 LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=assets-sdk
505 LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=assets-sdk
543 LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=assets-sdk
584 LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=assets-sdk
610 LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=assets-sdk

1234