Searched refs:asset (Results 26 - 35 of 35) sorted by path

12

/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp1547 Asset* asset = reinterpret_cast<Asset*>(native_asset); local
1548 ALOGV("______nFileA3D %p", asset);
1550 jlong id = (jlong)(uintptr_t)rsaFileA3DCreateFromMemory((RsContext)con, asset->getBuffer(false), asset->getLength());
1563 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); local
1564 if (asset == nullptr) {
1568 jlong id = (jlong)(uintptr_t)rsaFileA3DCreateFromAsset((RsContext)con, asset);
1631 Asset* asset = reinterpret_cast<Asset*>(native_asset); local
1637 asset->getBuffer(false), asset
1651 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); local
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp629 // The dynamicRefTable can be null if there are no resources for this asset cookie.
633 Asset* asset = NULL; local
653 asset = assets.openNonAsset(assetsCookie, resname, Asset::ACCESS_BUFFER);
654 if (asset == NULL) {
659 if (tree.setTo(asset->getBuffer(true),
660 asset->getLength()) != NO_ERROR) {
667 delete asset;
668 asset = NULL;
679 asset = assets.openNonAsset(assetsCookie, resname, Asset::ACCESS_BUFFER);
680 if (asset
[all...]
H A DResource.cpp1032 Asset* asset = assets.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_STREAMING); local
1033 if (asset == NULL) {
1039 if (tree.setTo(asset->getBuffer(true), asset->getLength()) != NO_ERROR) {
1046 delete asset;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java108 /*package*/ static Bitmap nativeDecodeAsset(long asset, Rect padding, Options opts) { argument
/frameworks/base/tools/split-select/
H A DMain.cpp131 Asset* asset = assetManager.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER); local
132 if (asset == NULL) {
137 if (xml.setTo(asset->getBuffer(true), asset->getLength(), false) != NO_ERROR) {
138 delete asset;
201 delete asset;
/frameworks/native/include/android/
H A Dasset_manager.h42 * The asset hierarchy may be examined like a filesystem, using
51 * {@link AAssetDir} provides access to a chunk of the asset hierarchy as if
61 * {@link AAsset} provides access to a read-only asset.
82 * Open the named directory within the asset hierarchy. The directory can then
91 * Open an asset.
98 * Iterate over the files in an asset directory. A NULL string is returned
124 int AAsset_read(AAsset* asset, void* buf, size_t count);
127 * Seek to the specified offset within the asset data. 'whence' uses the
132 off_t AAsset_seek(AAsset* asset, off_t offset, int whence);
135 * Seek to the specified offset within the asset dat
[all...]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DSetupWizardLayout.java268 * a suitable drawable from an asset and a horizontal repeating tile, use
282 * Set the illustration of the layout, which will be created asset and the horizontal tile as
283 * suitable. On phone layouts (not sw600dp), the asset will be scaled, maintaining aspect ratio.
285 * illustration area that the asset doesn't fill will be covered by the horizontalTile.
287 * @param asset Resource ID of the illustration asset.
290 public void setIllustration(int asset, int horizontalTile) { argument
294 final Drawable illustrationDrawable = getIllustration(asset, horizontalTile);
299 private void setIllustration(Drawable asset, Drawable horizontalTile) { argument
303 final Drawable illustrationDrawable = getIllustration(asset, horizontalTil
370 getIllustration(int asset, int horizontalTile) argument
378 getIllustration(Drawable asset, Drawable horizontalTile) argument
[all...]
/frameworks/rs/
H A Drs.h29 RsFile rsaFileA3DCreateFromAsset(RsContext, void *asset);
H A DrsFileA3D.cpp94 bool FileA3D::load(Asset *asset) { argument
96 mAsset = asset;
97 return load(asset->getBuffer(false), asset->getLength());
456 Asset *asset = static_cast<Asset *>(_asset); local
460 fa3d->load(asset);
H A DrsFileA3D.h63 bool load(Asset *asset);

Completed in 869 milliseconds

12