Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DResourcesImpl.java157 final AssetManager mAssets; field in ResourcesImpl
203 mAssets = assets; in ResourcesImpl()
218 return mAssets; in getAssets()
239 return mAssets.getSizeConfigurations(); in getSizeConfigurations()
243 return mAssets.getSizeAndUiModeConfigurations(); in getSizeAndUiModeConfigurations()
262 boolean found = mAssets.getResourceValue(id, 0, outValue, resolveRefs); in getValue()
271 boolean found = mAssets.getResourceValue(id, density, outValue, resolveRefs); in getValueForDensity()
310 return mAssets.getResourceIdentifier(name, defType, defPackage); in getIdentifier()
315 String str = mAssets.getResourceName(resid); in getResourceName()
323 String str = mAssets.getResourcePackageName(resid); in getResourcePackageName()
[all …]
DApkAssets.java129 private final AssetsProvider mAssets; field in ApkAssets
305 mAssets = assets; in ApkAssets()
316 mAssets = assets; in ApkAssets()
327 mAssets = assets; in ApkAssets()
334 mAssets = assets; in ApkAssets()
372 return mAssets; in getAssetsProvider()
DXmlBlock.java52 mAssets = null; in XmlBlock()
58 mAssets = null; in XmlBlock()
79 if (mAssets != null) { in decOpenCountLocked()
80 mAssets.xmlBlockGone(hashCode()); in decOpenCountLocked()
646 mAssets = assets; in XmlBlock()
651 private @Nullable final AssetManager mAssets; field in XmlBlock
DTypedArray.java60 attrs.mAssets = res.getAssets(); in obtain()
82 private AssetManager mAssets; field in TypedArray
1265 mAssets = null; in recycle()
1404 value = mAssets.getPooledStringForCookie(cookie, data[index + STYLE_DATA]); in loadStringValueAt()
1416 mAssets = mResources.getAssets(); in TypedArray()
DResources.java1887 mThemeImpl.rebase(resImpl.mAssets); in rebase()
2822 history.put(Arrays.asList(impl.mAssets.getApkAssets()), r); in dumpHistory()
/frameworks/base/core/tests/coretests/src/android/content/
DAssetTest.java28 private AssetManager mAssets; field in AssetTest
33 mAssets = mContext.getAssets(); in setUp()
65 InputStream is = mAssets.open("text.txt"); in testReadToEnd()
71 String[] files = mAssets.list(""); in xxtestListDir()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupDataTest.java55 private AssetManager mAssets; field in BackupDataTest
62 mAssets = mContext.getAssets(); in setUp()
169 mAssets.openFd("backup_mock.gld").createInputStream())); in testReadMockData()
198 mAssets.openFd("backup_real.gld").createInputStream())); in testReadRealData()
225 FileInputStream fileInputStream = mAssets.openFd(source).createInputStream(); in copyAssetToFile()
/frameworks/base/cmds/bootanimation/
DBootAnimation.h216 AssetManager mAssets; variable
DBootAnimation.cpp508 mAssets.addDefaultAssets(); in readyToRun()
874 initTexture(&mAndroid[0], mAssets, "images/android-logo-mask.png"); in android()
875 initTexture(&mAndroid[1], mAssets, "images/android-logo-shine.png"); in android()
1071 status = initTexture(&font->texture, mAssets, fallback); in initFont()
/frameworks/base/tools/aapt/
DResourceTable.cpp1813 mAssets = assets; in addIncludedResources()
1839 uint32_t rid = mAssets->getIncludedResources() in addPublic()
1868 uint32_t rid = mAssets->getIncludedResources() in addEntry()
1903 uint32_t rid = mAssets->getIncludedResources() in startBag()
1963 uint32_t rid = mAssets->getIncludedResources() in addBag()
2000 uint32_t rid = mAssets->getIncludedResources() in hasBagOrEntry()
2026 uint32_t rid = mAssets->getIncludedResources() in hasBagOrEntry()
2119 uint32_t rid = mAssets->getIncludedResources() in makeAttribute()
2211 uint32_t rid = mAssets->getIncludedResources() in getResId()
2319 res = mAssets->getIncludedResources() in stringToValue()
[all …]
DResourceTable.h626 sp<AaptAssets> mAssets; variable
DResource.cpp349 mBundle(bundle), mAssets(assets), mFile(file), mHasErrors(hasErrors) { in PreProcessImageWorkUnit()
353 status_t status = preProcessImage(mBundle, mAssets, mFile, NULL); in run()
362 sp<AaptAssets> mAssets; member in PreProcessImageWorkUnit
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java171 private final BridgeAssetManager mAssets; field in BridgeContext
264 mAssets = (BridgeAssetManager) systemAssetManager; in BridgeContext()
268 mAssets.setAssetRepository(assets); in BridgeContext()
308 mAssets.setAssetRepository(assetRepository); in initResources()
328 mAssets.releaseAssetRepository(); in disposeResources()
1539 return mAssets; in getAssets()
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java560 mAssets = assets; in AssetSource()
564 private final AssetManager mAssets; field in ImageDecoder.AssetSource
569 InputStream is = mAssets.open(mFileName); in createImageDecoder()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt13853 Landroid/content/res/ResourcesImpl$ThemeImpl;->mAssets:Landroid/content/res/AssetManager;
14004 Landroid/content/res/XmlBlock;->mAssets:Landroid/content/res/AssetManager;
17797 Landroid/graphics/ImageDecoder$AssetSource;->mAssets:Landroid/content/res/AssetManager;