/frameworks/base/native/android/ |
D | asset_manager.cpp | 51 AAsset(Asset* asset) : mAsset(asset) { } in AAsset() 108 Asset* asset = mgr->open(filename, amMode); in AAssetManager_open() local 109 if (asset == NULL) { in AAssetManager_open() 113 return new AAsset(asset); in AAssetManager_open() 171 int AAsset_read(AAsset* asset, void* buf, size_t count) in AAsset_read() argument 173 return asset->mAsset->read(buf, (size_t)count); in AAsset_read() 176 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) in AAsset_seek() argument 178 return asset->mAsset->seek(offset, whence); in AAsset_seek() 181 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) in AAsset_seek64() argument 183 return asset->mAsset->seek(offset, whence); in AAsset_seek64() [all …]
|
/frameworks/native/include/android/ |
D | asset_manager.h | 86 int AAsset_read(AAsset* asset, void* buf, size_t count); 94 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 105 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence); 110 void AAsset_close(AAsset* asset); 117 const void* AAsset_getBuffer(AAsset* asset); 122 off_t AAsset_getLength(AAsset* asset); 128 off64_t AAsset_getLength64(AAsset* asset); 133 off_t AAsset_getRemainingLength(AAsset* asset); 140 off64_t AAsset_getRemainingLength64(AAsset* asset); 150 int AAsset_openFileDescriptor(AAsset* asset, off_t* outStart, off_t* outLength); [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 315 int asset = openAsset(fileName, accessMode); in open() local 316 if (asset != 0) { in open() 317 AssetInputStream res = new AssetInputStream(asset); in open() 407 int asset = openNonAssetNative(cookie, fileName, accessMode); in openNonAsset() local 408 if (asset != 0) { in openNonAsset() 409 AssetInputStream res = new AssetInputStream(asset); in openNonAsset() 542 private AssetInputStream(int asset) in AssetInputStream() argument 544 mAsset = asset; in AssetInputStream() 545 mLength = getAssetLength(asset); in AssetInputStream() 677 private native final void destroyAsset(int asset); in destroyAsset() argument [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | Typeface.cpp | 58 AssetStream(Asset* asset, bool hasMemoryBase) : fAsset(asset) in AssetStream() argument 128 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); in Typeface_createFromAsset() local 129 if (NULL == asset) { in Typeface_createFromAsset() 133 SkStream* stream = new AssetStream(asset, true); in Typeface_createFromAsset()
|
D | BitmapFactory.cpp | 464 static SkStream* copyAssetToStream(Asset* asset) { in copyAssetToStream() argument 466 off64_t size = asset->seek(0, SEEK_SET); in copyAssetToStream() 472 size = asset->getLength(); in copyAssetToStream() 480 off64_t len = asset->read(data, size); in copyAssetToStream() 493 Asset* asset = reinterpret_cast<Asset*>(native_asset); in nativeDecodeAssetScaled() local 498 stream = copyAssetToStream(asset); in nativeDecodeAssetScaled() 505 stream = new AssetStreamAdaptor(asset); in nativeDecodeAssetScaled()
|
D | BitmapRegionDecoder.cpp | 170 Asset* asset = reinterpret_cast<Asset*>(native_asset); in nativeNewInstanceFromAsset() local 171 assStream = new AssetStreamAdaptor(asset); in nativeNewInstanceFromAsset()
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 434 Asset* asset = NULL; in doDump() local 498 asset = assets.openNonAsset(resname, Asset::ACCESS_BUFFER); in doDump() 499 if (asset == NULL) { in doDump() 504 if (tree.setTo(asset->getBuffer(true), in doDump() 505 asset->getLength()) != NO_ERROR) { in doDump() 512 delete asset; in doDump() 513 asset = NULL; in doDump() 525 asset = assets.openNonAsset(resname, Asset::ACCESS_BUFFER); in doDump() 526 if (asset == NULL) { in doDump() 531 if (tree.setTo(asset->getBuffer(true), in doDump() [all …]
|
/frameworks/rs/ |
D | rsFileA3D.cpp | 91 bool FileA3D::load(Asset *asset) { in load() argument 93 mAsset = asset; in load() 94 return load(asset->getBuffer(false), asset->getLength()); in load() 444 Asset *asset = static_cast<Asset *>(_asset); in rsaFileA3DCreateFromAsset() local 448 fa3d->load(asset); in rsaFileA3DCreateFromAsset()
|
D | rsFileA3D.h | 62 bool load(Asset *asset);
|
D | rs.h | 30 RsFile rsaFileA3DCreateFromAsset(RsContext, void *asset);
|
/frameworks/base/graphics/java/android/graphics/ |
D | BitmapFactory.java | 489 final int asset = ((AssetManager.AssetInputStream) is).getAssetInt(); in decodeStream() local 502 bm = nativeDecodeAsset(asset, outPadding, opts, true, scale); in decodeStream() 507 bm = nativeDecodeAsset(asset, outPadding, opts); in decodeStream() 655 private static native Bitmap nativeDecodeAsset(int asset, Rect padding, Options opts); in nativeDecodeAsset() argument 656 private static native Bitmap nativeDecodeAsset(int asset, Rect padding, Options opts, in nativeDecodeAsset() argument
|
D | BitmapRegionDecoder.java | 273 int asset, boolean isShareable); in nativeNewInstance() argument
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 102 Asset* asset = assets.open(name, Asset::ACCESS_BUFFER); in initTexture() local 103 if (!asset) in initTexture() 106 SkImageDecoder::DecodeMemory(asset->getBuffer(false), asset->getLength(), in initTexture() 108 asset->close(); in initTexture() 109 delete asset; in initTexture()
|
D | BootAnimation.h | 81 status_t initTexture(Texture* texture, AssetManager& asset, const char* name);
|
/frameworks/base/graphics/java/android/renderscript/ |
D | FileA3D.java | 299 int asset = ((AssetManager.AssetInputStream) is).getAssetInt(); in createFromResource() local 300 fileId = rs.nFileA3DCreateFromAssetStream(asset); in createFromResource()
|
D | Font.java | 215 int asset = ((AssetManager.AssetInputStream) is).getAssetInt(); in createFromResource() local 216 fontId = rs.nFontCreateFromAssetStream(name, pointSize, dpi, asset); in createFromResource()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | BitmapFactory_Delegate.java | 147 /*package*/ static Bitmap nativeDecodeAsset(int asset, Rect padding, Options opts) { in nativeDecodeAsset() argument 153 /*package*/ static Bitmap nativeDecodeAsset(int asset, Rect padding, Options opts, in nativeDecodeAsset() argument
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
D | icon_design_menu.jd | 80 asset. Final asset sizes have not changed. 96 positioned inside the asset to create consistent visual weight with other 100 asset. You should size the icons <em>smaller than the actual bounds of the 101 asset</em>, to create a consistent visual weight. If your icon is square or 108 <li>The red box is the bounding box for the full asset.</li> 110 The icon box is sized smaller than the full asset box to allow for 175 icon asset.</p>
|
D | icon_design_tab.jd | 143 scaled and positioned inside the final asset.</p> 146 asset. You should size the icons <em>smaller than the actual bounds of the 147 asset</em>.</p> 153 <li>The red box is the bounding box for the full asset.</li> 155 The icon box is sized smaller than the full asset box to allow for 218 icon asset.</p>
|
/frameworks/base/include/androidfw/ |
D | AssetManager.h | 284 Asset* setResourceTableAsset(Asset* asset); 328 Asset* setZipResourceTableAsset(const String8& path, Asset* asset);
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 329 jint asset) in android_content_AssetManager_destroyAsset() argument 331 Asset* a = (Asset*)asset; in android_content_AssetManager_destroyAsset() 344 jint asset) in android_content_AssetManager_readAssetChar() argument 346 Asset* a = (Asset*)asset; in android_content_AssetManager_readAssetChar() 359 jint asset, jbyteArray bArray, in android_content_AssetManager_readAsset() argument 362 Asset* a = (Asset*)asset; in android_content_AssetManager_readAsset() 392 jint asset, in android_content_AssetManager_seekAsset() argument 395 Asset* a = (Asset*)asset; in android_content_AssetManager_seekAsset() 407 jint asset) in android_content_AssetManager_getAssetLength() argument 409 Asset* a = (Asset*)asset; in android_content_AssetManager_getAssetLength() [all …]
|
/frameworks/base/graphics/jni/ |
D | android_renderscript_RenderScript.cpp | 786 Asset* asset = reinterpret_cast<Asset*>(native_asset); in nFileA3DCreateFromAssetStream() local 788 jint id = (jint)rsaFileA3DCreateFromMemory(con, asset->getBuffer(false), asset->getLength()); in nFileA3DCreateFromAssetStream() 801 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); in nFileA3DCreateFromAsset() local 802 if (asset == NULL) { in nFileA3DCreateFromAsset() 806 jint id = (jint)rsaFileA3DCreateFromAsset(con, asset); in nFileA3DCreateFromAsset() 869 Asset* asset = reinterpret_cast<Asset*>(native_asset); in nFontCreateFromAssetStream() local 875 asset->getBuffer(false), asset->getLength()); in nFontCreateFromAssetStream() 889 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); in nFontCreateFromAsset() local 890 if (asset == NULL) { in nFontCreateFromAsset() 897 asset->getBuffer(false), asset->getLength()); in nFontCreateFromAsset() [all …]
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rs.h | 30 RsFile rsaFileA3DCreateFromAsset(RsContext, void *asset);
|
/frameworks/base/docs/html/design/style/ |
D | iconography.jd | 54 <p>Full asset, <strong>48x48 dp</strong></p> 151 <p>Full asset, <strong>32x32 dp</strong></p> 232 <p>Full asset, <strong>16x16 dp</strong></p> 311 <p>Full asset, <strong>24x24 dp</strong></p>
|
/frameworks/base/libs/androidfw/ |
D | AssetManager.cpp | 1836 Asset* AssetManager::SharedZip::setResourceTableAsset(Asset* asset) in setResourceTableAsset() argument 1841 mResourceTableAsset = asset; in setResourceTableAsset() 1844 asset->getBuffer(true); in setResourceTableAsset() 1845 return asset; in setResourceTableAsset() 1848 delete asset; in setResourceTableAsset() 1950 Asset* asset) in setZipResourceTableAsset() argument 1955 return zip->setResourceTableAsset(asset); in setZipResourceTableAsset()
|