Home
last modified time | relevance | path

Searched refs:mAssets (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/
DAssetTest.java27 private AssetManager mAssets; field in AssetTest
32 mAssets = mContext.getAssets(); in setUp()
64 InputStream is = mAssets.open("text.txt"); in testReadToEnd()
70 String[] files = mAssets.list(""); in xxtestListDir()
/frameworks/base/core/java/android/content/res/
DResources.java128 final AssetManager mAssets; field in Resources
226 mAssets = assets; in Resources()
270 CharSequence res = mAssets.getResourceText(id); in getText()
300 CharSequence res = mAssets.getResourceBagText(id, in getQuantityText()
305 res = mAssets.getResourceBagText(id, ID_OTHER); in getQuantityText()
462 CharSequence res = id != 0 ? mAssets.getResourceText(id) : null; in getText()
478 CharSequence[] res = mAssets.getResourceTextArray(id); in getTextArray()
498 String[] res = mAssets.getResourceStringArray(id); in getStringArray()
518 int[] res = mAssets.getArrayIntResource(id); in getIntArray()
540 int len = mAssets.getArraySize(id); in obtainTypedArray()
[all …]
DXmlBlock.java38 mAssets = null; in XmlBlock()
44 mAssets = null; in XmlBlock()
62 if (mAssets != null) { in decOpenCountLocked()
63 mAssets.xmlBlockGone(hashCode()); in decOpenCountLocked()
480 mAssets = assets; in XmlBlock()
485 private final AssetManager mAssets; field in XmlBlock
DTypedArray.java64 private final AssetManager mAssets; field in TypedArray
972 return mAssets.getPooledStringForCookie(cookie, data[index+AssetManager.STYLE_DATA]); in loadStringValueAt()
978 mAssets = mResources.mAssets; in TypedArray()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupDataTest.java62 private AssetManager mAssets; field in BackupDataTest
69 mAssets = mContext.getAssets(); in setUp()
176 mAssets.openFd("backup_mock.gld").createInputStream())); in testReadMockData()
205 mAssets.openFd("backup_real.gld").createInputStream())); in testReadRealData()
232 FileInputStream fileInputStream = mAssets.openFd(source).createInputStream(); in copyAssetToFile()
/frameworks/base/cmds/bootanimation/
DBootAnimation.h94 AssetManager mAssets; variable
DBootAnimation.cpp231 mAssets.addDefaultAssets(); in readyToRun()
330 initTexture(&mAndroid[0], mAssets, "images/android-logo-mask.png"); in android()
331 initTexture(&mAndroid[1], mAssets, "images/android-logo-shine.png"); in android()
/frameworks/base/tools/aapt/
DResourceTable.cpp1770 mAssets = assets; in addIncludedResources()
1796 uint32_t rid = mAssets->getIncludedResources() in addPublic()
1825 uint32_t rid = mAssets->getIncludedResources() in addEntry()
1860 uint32_t rid = mAssets->getIncludedResources() in startBag()
1920 uint32_t rid = mAssets->getIncludedResources() in addBag()
1957 uint32_t rid = mAssets->getIncludedResources() in hasBagOrEntry()
1983 uint32_t rid = mAssets->getIncludedResources() in hasBagOrEntry()
2113 uint32_t rid = mAssets->getIncludedResources() in getResId()
2208 res = mAssets->getIncludedResources() in stringToValue()
2733 const ResTable& table = mAssets->getIncludedResources(); in flatten()
[all …]
DResourceTable.h573 sp<AaptAssets> mAssets; variable
DResource.cpp327 mBundle(bundle), mAssets(assets), mFile(file), mHasErrors(hasErrors) { in PreProcessImageWorkUnit()
331 status_t status = preProcessImage(mBundle, mAssets, mFile, NULL); in run()
340 sp<AaptAssets> mAssets; member in PreProcessImageWorkUnit