Home
last modified time | relevance | path

Searched defs:asset (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/native/android/
Dasset_manager.cpp108 Asset* asset = mgr->open(filename, amMode); in AAssetManager_open() local
171 int AAsset_read(AAsset* asset, void* buf, size_t count) in AAsset_read()
176 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) in AAsset_seek()
181 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) in AAsset_seek64()
186 void AAsset_close(AAsset* asset) in AAsset_close()
192 const void* AAsset_getBuffer(AAsset* asset) in AAsset_getBuffer()
197 off_t AAsset_getLength(AAsset* asset) in AAsset_getLength()
202 off64_t AAsset_getLength64(AAsset* asset) in AAsset_getLength64()
207 off_t AAsset_getRemainingLength(AAsset* asset) in AAsset_getRemainingLength()
212 off64_t AAsset_getRemainingLength64(AAsset* asset) in AAsset_getRemainingLength64()
[all …]
/frameworks/base/core/jni/android/graphics/
DUtils.cpp22 AssetStreamAdaptor::AssetStreamAdaptor(Asset* asset, OwnAsset ownAsset, in AssetStreamAdaptor()
95 SkMemoryStream* android::CopyAssetToStream(Asset* asset) { in CopyAssetToStream()
DFontFamily.cpp96 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); in FontFamily_addFontFromAsset() local
DMovie.cpp85 android::Asset* asset = reinterpret_cast<android::Asset*>(native_asset); in movie_decodeAsset() local
DBitmapRegionDecoder.cpp155 Asset* asset = reinterpret_cast<Asset*>(native_asset); in nativeNewInstanceFromAsset() local
DBitmapFactory.cpp529 Asset* asset = reinterpret_cast<Asset*>(native_asset); in nativeDecodeAsset() local
/frameworks/base/graphics/java/android/graphics/
DMovie.java51 final long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); in decodeStream() local
58 private static native Movie nativeDecodeAsset(long asset); in nativeDecodeAsset()
DBitmapRegionDecoder.java271 long asset, boolean isShareable); in nativeNewInstance()
DBitmapFactory.java608 final long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); in decodeStream() local
/frameworks/base/core/java/android/content/res/
DAssetManager.java313 long asset = openAsset(fileName, accessMode); in open() local
405 long asset = openNonAssetNative(cookie, fileName, accessMode); in openNonAsset() local
549 private AssetInputStream(long asset) in AssetInputStream()
710 private native final void destroyAsset(long asset); in destroyAsset()
711 private native final int readAssetChar(long asset); in readAssetChar()
712 private native final int readAsset(long asset, byte[] b, int off, int len); in readAsset()
713 private native final long seekAsset(long asset, long offset, int whence); in seekAsset()
714 private native final long getAssetLength(long asset); in getAssetLength()
715 private native final long getAssetRemainingLength(long asset); in getAssetRemainingLength()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java108 /*package*/ static Bitmap nativeDecodeAsset(long asset, Rect padding, Options opts) { in nativeDecodeAsset()
/frameworks/rs/
DrsFileA3D.cpp94 bool FileA3D::load(Asset *asset) { in load()
450 Asset *asset = static_cast<Asset *>(_asset); in rsaFileA3DCreateFromAsset() local
/frameworks/base/rs/java/android/renderscript/
DFileA3D.java295 long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); in createFromResource() local
DFont.java213 long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); in createFromResource() local
/frameworks/base/tools/split-select/
DMain.cpp131 Asset* asset = assetManager.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER); in getAppInfo() local
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp110 Asset* asset = assets.open(name, Asset::ACCESS_BUFFER); in initTexture() local
/frameworks/base/libs/androidfw/
DAssetManager.cpp1904 Asset* AssetManager::SharedZip::setResourceTableAsset(Asset* asset) in setResourceTableAsset()
2032 Asset* asset) in setZipResourceTableAsset()
DResourceTypes.cpp3317 status_t ResTable::add(Asset* asset, const int32_t cookie, bool copyData) { in add()
3327 status_t ResTable::add(Asset* asset, Asset* idmapAsset, const int32_t cookie, bool copyData) { in add()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp828 Asset* asset = reinterpret_cast<Asset*>(native_asset); in nFileA3DCreateFromAssetStream() local
844 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); in nFileA3DCreateFromAsset() local
912 Asset* asset = reinterpret_cast<Asset*>(native_asset); in nFontCreateFromAssetStream() local
932 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); in nFontCreateFromAsset() local
/frameworks/base/tools/aapt/
DCommand.cpp635 Asset* asset = NULL; in doDump() local
DResource.cpp1004 Asset* asset = assets.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_STREAMING); in extractPlatformBuildVersion() local