Home
last modified time | relevance | path

Searched defs:asset (Results 1 – 17 of 17) 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/java/android/content/res/
DAssetManager.java315 int asset = openAsset(fileName, accessMode); in open() local
407 int asset = openNonAssetNative(cookie, fileName, accessMode); in openNonAsset() local
542 private AssetInputStream(int asset) in AssetInputStream()
677 private native final void destroyAsset(int asset); in destroyAsset()
678 private native final int readAssetChar(int asset); in readAssetChar()
679 private native final int readAsset(int asset, byte[] b, int off, int len); in readAsset()
680 private native final long seekAsset(int asset, long offset, int whence); in seekAsset()
681 private native final long getAssetLength(int asset); in getAssetLength()
682 private native final long getAssetRemainingLength(int asset); in getAssetRemainingLength()
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp58 AssetStream(Asset* asset, bool hasMemoryBase) : fAsset(asset) in AssetStream()
128 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); in Typeface_createFromAsset() local
DBitmapFactory.cpp331 static SkStream* copyAssetToStream(Asset* asset) { in copyAssetToStream()
361 Asset* asset = reinterpret_cast<Asset*>(native_asset); in nativeDecodeAsset() local
DBitmapRegionDecoder.cpp169 Asset* asset = reinterpret_cast<Asset*>(native_asset); in nativeNewInstanceFromAsset() local
/frameworks/base/libs/rs/
DrsFileA3D.cpp85 bool FileA3D::load(Asset *asset) { in load()
425 Asset *asset = static_cast<Asset *>(_asset); in rsaFileA3DCreateFromAsset() local
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java144 /*package*/ static Bitmap nativeDecodeAsset(int asset, Rect padding, Options opts) { in nativeDecodeAsset()
/frameworks/base/graphics/java/android/graphics/
DBitmapRegionDecoder.java262 int asset, boolean isShareable); in nativeNewInstance()
DBitmapFactory.java625 private static native Bitmap nativeDecodeAsset(int asset, Rect padding, Options opts); in nativeDecodeAsset()
/frameworks/base/graphics/java/android/renderscript/
DFileA3D.java284 int asset = ((AssetManager.AssetInputStream) is).getAssetInt(); in createFromResource() local
DFont.java189 int asset = ((AssetManager.AssetInputStream) is).getAssetInt(); in createFromResource() local
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp329 jint asset) in android_content_AssetManager_destroyAsset()
344 jint asset) in android_content_AssetManager_readAssetChar()
359 jint asset, jbyteArray bArray, in android_content_AssetManager_readAsset()
392 jint asset, in android_content_AssetManager_seekAsset()
407 jint asset) in android_content_AssetManager_getAssetLength()
420 jint asset) in android_content_AssetManager_getAssetRemainingLength()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp95 Asset* asset = assets.open(name, Asset::ACCESS_BUFFER); in initTexture() local
/frameworks/base/libs/utils/
DAssetManager.cpp1818 Asset* AssetManager::SharedZip::setResourceTableAsset(Asset* asset) in setResourceTableAsset()
1932 Asset* asset) in setZipResourceTableAsset()
DResourceTypes.cpp1812 status_t ResTable::add(Asset* asset, void* cookie, bool copyData, const void* idmap) in add()
1848 Asset* asset, bool copyData, const Asset* idmap) in add()
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp708 Asset* asset = reinterpret_cast<Asset*>(native_asset); in nFileA3DCreateFromAssetStream() local
723 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); in nFileA3DCreateFromAsset() local
791 Asset* asset = reinterpret_cast<Asset*>(native_asset); in nFontCreateFromAssetStream() local
811 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); in nFontCreateFromAsset() local
/frameworks/base/tools/aapt/
DCommand.cpp431 Asset* asset = NULL; in doDump() local