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.java135 final AssetManager mAssets; field in Resources
251 mAssets = assets; in Resources()
295 CharSequence res = mAssets.getResourceText(id); in getText()
325 CharSequence res = mAssets.getResourceBagText(id, in getQuantityText()
330 res = mAssets.getResourceBagText(id, ID_OTHER); in getQuantityText()
487 CharSequence res = id != 0 ? mAssets.getResourceText(id) : null; in getText()
503 CharSequence[] res = mAssets.getResourceTextArray(id); in getTextArray()
523 String[] res = mAssets.getResourceStringArray(id); in getStringArray()
543 int[] res = mAssets.getArrayIntResource(id); in getIntArray()
565 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
996 return mAssets.getPooledStringForCookie(cookie, data[index+AssetManager.STYLE_DATA]); in loadStringValueAt()
1002 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.cpp1775 mAssets = assets; in addIncludedResources()
1801 uint32_t rid = mAssets->getIncludedResources() in addPublic()
1830 uint32_t rid = mAssets->getIncludedResources() in addEntry()
1865 uint32_t rid = mAssets->getIncludedResources() in startBag()
1925 uint32_t rid = mAssets->getIncludedResources() in addBag()
1962 uint32_t rid = mAssets->getIncludedResources() in hasBagOrEntry()
1988 uint32_t rid = mAssets->getIncludedResources() in hasBagOrEntry()
2118 uint32_t rid = mAssets->getIncludedResources() in getResId()
2221 res = mAssets->getIncludedResources() in stringToValue()
2769 const ResTable& table = mAssets->getIncludedResources(); in flatten()
[all …]
DResourceTable.h583 sp<AaptAssets> mAssets; variable
DResource.cpp336 mBundle(bundle), mAssets(assets), mFile(file), mHasErrors(hasErrors) { in PreProcessImageWorkUnit()
340 status_t status = preProcessImage(mBundle, mAssets, mFile, NULL); in run()
349 sp<AaptAssets> mAssets; member in PreProcessImageWorkUnit