/frameworks/base/include/androidfw/ |
D | Asset.h | 45 class Asset { 47 virtual ~Asset(void); 122 Asset(void); // constructor; only invoked indirectly 134 Asset(const Asset& src); 135 Asset& operator=(const Asset& src); 143 static Asset* createFromFile(const char* fileName, AccessMode mode); 148 static Asset* createFromCompressedFile(const char* fileName, 158 static Asset* createFromFileSegment(int fd, off64_t offset, size_t length, 171 static Asset* createFromCompressedData(int fd, off64_t offset, 181 static Asset* createFromUncompressedMap(FileMap* dataMap, AccessMode mode); [all …]
|
D | AssetManager.h | 53 class Asset; // fwd decl for things that include Asset.h first variable 143 typedef Asset::AccessMode AccessMode; // typing shortcut 154 Asset* open(const char* fileName, AccessMode mode); 164 Asset* openNonAsset(const char* fileName, AccessMode mode, int32_t* outCookie = NULL); 170 Asset* openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode); 244 Asset* openInPathLocked(const char* fileName, AccessMode mode, 246 Asset* openNonAssetInPathLocked(const char* fileName, AccessMode mode, 248 Asset* openInLocaleVendorLocked(const char* fileName, AccessMode mode, 257 Asset* openAssetFromFileLocked(const String8& fileName, AccessMode mode); 258 Asset* openAssetFromZipLocked(const ZipFileRO* pZipFile, [all …]
|
D | ResourceTypes.h | 1520 status_t add(Asset* asset, const int32_t cookie=-1, bool copyData=false); 1521 status_t add(Asset* asset, Asset* idmapAsset, const int32_t cookie=-1, bool copyData=false);
|
/frameworks/base/docs/html/training/wearables/data-layer/ |
D | assets.jd | 10 <li><a href="#TransferAsset">Transfer an Asset</a></li> 11 <li><a href="#ReceiveAsset">Receive an Asset</a></li> 19 <a href="{@docRoot}reference/com/google/android/gms/wearable/Asset.html"><code>Asset</code></a> to a 35 <h2 id="TransferAsset">Transfer an Asset</h2> 37 <a href="{@docRoot}reference/com/google/android/gms/wearable/Asset.html"><code>Asset</code></a> cla… 39 <a href="{@docRoot}reference/com/google/android/gms/wearable/Asset.html#createFromBytes(byte[])"><c… 44 private static Asset createAssetFromBitmap(Bitmap bitmap) { 47 return Asset.createFromBytes(byteStream.toByteArray()); 62 Asset asset = createAssetFromBitmap(bitmap); 71 Asset asset = createAssetFromBitmap(bitmap); [all …]
|
D | index.jd | 40 <dt><b>Asset</b></dt> 41 …<dd><a href="{@docRoot}reference/com/google/android/gms/wearable/Asset.html"><code>Asset</code></a…
|
/frameworks/base/libs/androidfw/ |
D | Asset.cpp | 50 static Asset* gHead = NULL; 51 static Asset* gTail = NULL; 53 int32_t Asset::getGlobalCount() in getGlobalCount() 59 String8 Asset::getAssetAllocations() in getAssetAllocations() 63 Asset* cur = gHead; in getAssetAllocations() 79 Asset::Asset(void) in Asset() function in Asset 95 Asset::~Asset(void) in ~Asset() 121 /*static*/ Asset* Asset::createFromFile(const char* fileName, AccessMode mode) in createFromFile() 177 /*static*/ Asset* Asset::createFromCompressedFile(const char* fileName, in createFromCompressedFile() 235 /*static*/ Asset* Asset::createFromFileSegment(int fd, off64_t offset, [all …]
|
D | AssetManager.cpp | 81 static Asset* const kExcludedAsset = (Asset*) 0xd000000d; 210 Asset* manifestAsset = const_cast<AssetManager*>(this)->openNonAssetInPathLocked( in addAssetPath() 211 kAndroidManifest, Asset::ACCESS_BUFFER, ap); in addAssetPath() 254 Asset* idmap = NULL; in addOverlayPath() 255 if ((idmap = openAssetFromFileLocked(idmapPath, Asset::ACCESS_BUFFER)) == NULL) { in addOverlayPath() 313 Asset* ass = openNonAssetInPathLocked("resources.arsc", Asset::ACCESS_BUFFER, ap); in createIdmap() 489 Asset* AssetManager::open(const char* fileName, AccessMode mode) in open() 511 Asset* pAsset = openNonAssetInPathLocked(assetName.string(), mode, mAssetPaths.itemAt(i)); in open() 526 Asset* AssetManager::openNonAsset(const char* fileName, AccessMode mode, int32_t* outCookie) in openNonAsset() 544 Asset* pAsset = openNonAssetInPathLocked( in openNonAsset() [all …]
|
D | Android.mk | 21 Asset.cpp \
|
/frameworks/base/native/android/ |
D | asset_manager.cpp | 49 Asset* mAsset; 51 AAsset(Asset* asset) : mAsset(asset) { } in AAsset() 89 Asset::AccessMode amMode; in AAssetManager_open() 92 amMode = Asset::ACCESS_UNKNOWN; in AAssetManager_open() 95 amMode = Asset::ACCESS_RANDOM; in AAssetManager_open() 98 amMode = Asset::ACCESS_STREAMING; in AAssetManager_open() 101 amMode = Asset::ACCESS_BUFFER; in AAssetManager_open() 108 Asset* asset = mgr->open(filename, amMode); in AAssetManager_open()
|
/frameworks/base/core/jni/android/graphics/ |
D | Utils.h | 45 AssetStreamAdaptor(Asset*, OwnAsset, HasMemoryBase); 58 Asset* fAsset; 69 SkMemoryStream* CopyAssetToStream(Asset*);
|
D | Utils.cpp | 22 AssetStreamAdaptor::AssetStreamAdaptor(Asset* asset, OwnAsset ownAsset, in AssetStreamAdaptor() 95 SkMemoryStream* android::CopyAssetToStream(Asset* asset) { in CopyAssetToStream()
|
D | FontFamily.cpp | 96 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); in FontFamily_addFontFromAsset()
|
D | Movie.cpp | 85 android::Asset* asset = reinterpret_cast<android::Asset*>(native_asset); in movie_decodeAsset()
|
D | BitmapRegionDecoder.cpp | 155 Asset* asset = reinterpret_cast<Asset*>(native_asset); in nativeNewInstanceFromAsset()
|
D | BitmapFactory.cpp | 529 Asset* asset = reinterpret_cast<Asset*>(native_asset); in nativeDecodeAsset()
|
/frameworks/rs/ |
D | rsFileA3D.h | 29 class Asset; variable 63 bool load(Asset *asset); 88 Asset *mAsset;
|
D | rsFileA3D.cpp | 94 bool FileA3D::load(Asset *asset) { in load() 450 Asset *asset = static_cast<Asset *>(_asset); in rsaFileA3DCreateFromAsset()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 207 if (mode != Asset::ACCESS_UNKNOWN && mode != Asset::ACCESS_RANDOM in android_content_AssetManager_openAsset() 208 && mode != Asset::ACCESS_STREAMING && mode != Asset::ACCESS_BUFFER) { in android_content_AssetManager_openAsset() 213 Asset* a = am->open(fileName8.c_str(), (Asset::AccessMode)mode); in android_content_AssetManager_openAsset() 225 static jobject returnParcelFileDescriptor(JNIEnv* env, Asset* a, jlongArray outOffsets) in returnParcelFileDescriptor() 272 Asset* a = am->open(fileName8.c_str(), Asset::ACCESS_RANDOM); in android_content_AssetManager_openAssetFd() 301 if (mode != Asset::ACCESS_UNKNOWN && mode != Asset::ACCESS_RANDOM in android_content_AssetManager_openNonAssetNative() 302 && mode != Asset::ACCESS_STREAMING && mode != Asset::ACCESS_BUFFER) { in android_content_AssetManager_openNonAssetNative() 307 Asset* a = cookie in android_content_AssetManager_openNonAssetNative() 309 (Asset::AccessMode)mode) in android_content_AssetManager_openNonAssetNative() 310 : am->openNonAsset(fileName8.c_str(), (Asset::AccessMode)mode); in android_content_AssetManager_openNonAssetNative() [all …]
|
/frameworks/base/tools/split-select/ |
D | Main.cpp | 131 Asset* asset = assetManager.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER); in getAppInfo()
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 228 Asset* manifestAsset = assets.openNonAsset("AndroidManifest.xml", in doList() 229 Asset::ACCESS_BUFFER); in doList() 394 Asset* aidAsset = assets.openNonAsset(xmlPath, Asset::ACCESS_BUFFER); in getNfcAidCategories() 635 Asset* asset = NULL; in doDump() 655 asset = assets.openNonAsset(assetsCookie, resname, Asset::ACCESS_BUFFER); in doDump() 681 asset = assets.openNonAsset(assetsCookie, resname, Asset::ACCESS_BUFFER); in doDump() 699 asset = assets.openNonAsset(assetsCookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER); in doDump()
|
/frameworks/base/docs/html/training/wearables/apps/ |
D | packaging.jd | 14 <li><a href="#AssetCompression">Turn off Asset Compression</a></li> 132 <h2 id="AssetCompression">Turn off Asset Compression</h2>
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 828 Asset* asset = reinterpret_cast<Asset*>(native_asset); in nFileA3DCreateFromAssetStream() 844 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); in nFileA3DCreateFromAsset() 912 Asset* asset = reinterpret_cast<Asset*>(native_asset); in nFontCreateFromAssetStream() 932 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); in nFontCreateFromAsset()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 110 Asset* asset = assets.open(name, Asset::ACCESS_BUFFER); in initTexture()
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
D | icon_design_menu.jd | 125 <li>Full Asset: 72 x 72 px</li> 141 <li>Full Asset: 48 x 48 px</li> 158 <li>Full Asset: 36 x 36 px</li>
|
D | icon_design_tab.jd | 171 <li>Full Asset: 48 x 48 px</li> 186 <li>Full Asset: 32 x 32 px</li> 202 <li>Full Asset: 24 x 24 px</li>
|