/frameworks/base/core/tests/coretests/src/android/content/ |
D | AssetTest.java | 27 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/ |
D | ResourcesImpl.java | 119 final AssetManager mAssets; field in ResourcesImpl 146 mAssets = assets; in ResourcesImpl() 151 mAssets.ensureStringBlocks(); in ResourcesImpl() 159 return mAssets; in getAssets() 173 return mAssets.getSizeConfigurations(); in getSizeConfigurations() 191 boolean found = mAssets.getResourceValue(id, 0, outValue, resolveRefs); in getValue() 200 boolean found = mAssets.getResourceValue(id, density, outValue, resolveRefs); in getValueForDensity() 226 return mAssets.getResourceIdentifier(name, defType, defPackage); in getIdentifier() 231 String str = mAssets.getResourceName(resid); in getResourceName() 239 String str = mAssets.getResourcePackageName(resid); in getResourcePackageName() [all …]
|
D | XmlBlock.java | 40 mAssets = null; in XmlBlock() 46 mAssets = null; in XmlBlock() 64 if (mAssets != null) { in decOpenCountLocked() 65 mAssets.xmlBlockGone(hashCode()); in decOpenCountLocked() 482 mAssets = assets; in XmlBlock() 487 private final AssetManager mAssets; field in XmlBlock
|
D | TypedArray.java | 58 attrs.mAssets = res.getAssets(); in obtain() 66 private AssetManager mAssets; field in TypedArray 1148 mAssets = null; in recycle() 1272 return mAssets.getPooledStringForCookie(cookie, data[index+AssetManager.STYLE_DATA]); in loadStringValueAt() 1279 mAssets = mResources.getAssets(); in TypedArray()
|
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | BackupDataTest.java | 62 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/ |
D | BootAnimation.h | 152 AssetManager mAssets; variable
|
D | BootAnimation.cpp | 270 mAssets.addDefaultAssets(); in readyToRun() 375 initTexture(&mAndroid[0], mAssets, "images/android-logo-mask.png"); in android() 376 initTexture(&mAndroid[1], mAssets, "images/android-logo-shine.png"); in android() 552 status = initTexture(&font->texture, mAssets, fallback); in initFont()
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 1814 mAssets = assets; in addIncludedResources() 1840 uint32_t rid = mAssets->getIncludedResources() in addPublic() 1869 uint32_t rid = mAssets->getIncludedResources() in addEntry() 1904 uint32_t rid = mAssets->getIncludedResources() in startBag() 1964 uint32_t rid = mAssets->getIncludedResources() in addBag() 2001 uint32_t rid = mAssets->getIncludedResources() in hasBagOrEntry() 2027 uint32_t rid = mAssets->getIncludedResources() in hasBagOrEntry() 2120 uint32_t rid = mAssets->getIncludedResources() in makeAttribute() 2212 uint32_t rid = mAssets->getIncludedResources() in getResId() 2320 res = mAssets->getIncludedResources() in stringToValue() [all …]
|
D | ResourceTable.h | 626 sp<AaptAssets> mAssets; variable
|
D | Resource.cpp | 346 mBundle(bundle), mAssets(assets), mFile(file), mHasErrors(hasErrors) { in PreProcessImageWorkUnit() 350 status_t status = preProcessImage(mBundle, mAssets, mFile, NULL); in run() 359 sp<AaptAssets> mAssets; member in PreProcessImageWorkUnit
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 149 private final BridgeAssetManager mAssets; field in BridgeContext 230 mAssets = (BridgeAssetManager) systemAssetManager; in BridgeContext() 234 mAssets.setAssetRepository(assets); in BridgeContext() 1417 return mAssets; in getAssets()
|