Home
last modified time | relevance | path

Searched refs:mAssets (Results 1 – 11 of 11) 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.java153 final AssetManager mAssets; field in Resources
265 mAssets = assets; in Resources()
308 CharSequence res = mAssets.getResourceText(id); in getText()
339 CharSequence res = mAssets.getResourceBagText(id, in getQuantityText()
344 res = mAssets.getResourceBagText(id, ID_OTHER); in getQuantityText()
504 CharSequence res = id != 0 ? mAssets.getResourceText(id) : null; in getText()
520 CharSequence[] res = mAssets.getResourceTextArray(id); in getTextArray()
541 String[] res = mAssets.getResourceStringArray(id); in getStringArray()
561 int[] res = mAssets.getArrayIntResource(id); in getIntArray()
584 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.java66 private final AssetManager mAssets; field in TypedArray
1156 return mAssets.getPooledStringForCookie(cookie, data[index+AssetManager.STYLE_DATA]); in loadStringValueAt()
1162 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.cpp232 mAssets.addDefaultAssets(); in readyToRun()
331 initTexture(&mAndroid[0], mAssets, "images/android-logo-mask.png"); in android()
332 initTexture(&mAndroid[1], mAssets, "images/android-logo-shine.png"); in android()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java119 private final BridgeAssetManager mAssets; field in BridgeContext
198 mAssets = new BridgeAssetManager(); in BridgeContext()
199 mAssets.setAssetRepository(assets); in BridgeContext()
1306 return mAssets; in getAssets()
/frameworks/base/tools/aapt/
DResourceTable.cpp1808 mAssets = assets; in addIncludedResources()
1834 uint32_t rid = mAssets->getIncludedResources() in addPublic()
1863 uint32_t rid = mAssets->getIncludedResources() in addEntry()
1898 uint32_t rid = mAssets->getIncludedResources() in startBag()
1958 uint32_t rid = mAssets->getIncludedResources() in addBag()
1995 uint32_t rid = mAssets->getIncludedResources() in hasBagOrEntry()
2021 uint32_t rid = mAssets->getIncludedResources() in hasBagOrEntry()
2151 uint32_t rid = mAssets->getIncludedResources() in getResId()
2257 res = mAssets->getIncludedResources() in stringToValue()
2823 const ResTable& table = mAssets->getIncludedResources(); in flatten()
[all …]
DResourceTable.h592 sp<AaptAssets> mAssets; variable
DResource.cpp345 mBundle(bundle), mAssets(assets), mFile(file), mHasErrors(hasErrors) { in PreProcessImageWorkUnit()
349 status_t status = preProcessImage(mBundle, mAssets, mFile, NULL); in run()
358 sp<AaptAssets> mAssets; member in PreProcessImageWorkUnit