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.java146 final AssetManager mAssets; field in ResourcesImpl
175 mAssets = assets; in ResourcesImpl()
188 return mAssets; in getAssets()
203 return mAssets.getSizeConfigurations(); in getSizeConfigurations()
207 return mAssets.getSizeAndUiModeConfigurations(); in getSizeAndUiModeConfigurations()
226 boolean found = mAssets.getResourceValue(id, 0, outValue, resolveRefs); in getValue()
235 boolean found = mAssets.getResourceValue(id, density, outValue, resolveRefs); in getValueForDensity()
261 return mAssets.getResourceIdentifier(name, defType, defPackage); in getIdentifier()
266 String str = mAssets.getResourceName(resid); in getResourceName()
274 String str = mAssets.getResourcePackageName(resid); in getResourcePackageName()
[all …]
DApkAssets.java122 private final AssetsProvider mAssets; field in ApkAssets
298 mAssets = assets; in ApkAssets()
309 mAssets = assets; in ApkAssets()
320 mAssets = assets; in ApkAssets()
327 mAssets = assets; in ApkAssets()
365 return mAssets; in getAssetsProvider()
DXmlBlock.java50 mAssets = null; in XmlBlock()
56 mAssets = null; in XmlBlock()
75 if (mAssets != null) { in decOpenCountLocked()
76 mAssets.xmlBlockGone(hashCode()); in decOpenCountLocked()
525 mAssets = assets; in XmlBlock()
530 private @Nullable final AssetManager mAssets; field in XmlBlock
DTypedArray.java60 attrs.mAssets = res.getAssets(); in obtain()
82 private AssetManager mAssets; field in TypedArray
1261 mAssets = null; in recycle()
1400 return mAssets.getPooledStringForCookie(cookie, data[index + STYLE_DATA]); in loadStringValueAt()
1407 mAssets = mResources.getAssets(); in TypedArray()
DResources.java1874 mThemeImpl.rebase(resImpl.mAssets); in rebase()
2683 r -> history.put(Arrays.asList(r.mResourcesImpl.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.cpp495 mAssets.addDefaultAssets(); in readyToRun()
844 initTexture(&mAndroid[0], mAssets, "images/android-logo-mask.png"); in android()
845 initTexture(&mAndroid[1], mAssets, "images/android-logo-shine.png"); in android()
1033 status = initTexture(&font->texture, mAssets, fallback); in initFont()
/frameworks/base/tools/aapt/
DResourceTable.cpp1811 mAssets = assets; in addIncludedResources()
1837 uint32_t rid = mAssets->getIncludedResources() in addPublic()
1866 uint32_t rid = mAssets->getIncludedResources() in addEntry()
1901 uint32_t rid = mAssets->getIncludedResources() in startBag()
1961 uint32_t rid = mAssets->getIncludedResources() in addBag()
1998 uint32_t rid = mAssets->getIncludedResources() in hasBagOrEntry()
2024 uint32_t rid = mAssets->getIncludedResources() in hasBagOrEntry()
2117 uint32_t rid = mAssets->getIncludedResources() in makeAttribute()
2209 uint32_t rid = mAssets->getIncludedResources() in getResId()
2317 res = mAssets->getIncludedResources() in stringToValue()
[all …]
DResourceTable.h626 sp<AaptAssets> mAssets; variable
DResource.cpp346 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/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java161 private final BridgeAssetManager mAssets; field in BridgeContext
247 mAssets = (BridgeAssetManager) systemAssetManager; in BridgeContext()
251 mAssets.setAssetRepository(assets); in BridgeContext()
289 mAssets.setAssetRepository(assetRepository); in initResources()
309 mAssets.releaseAssetRepository(); in disposeResources()
1478 return mAssets; in getAssets()
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java557 mAssets = assets; in AssetSource()
561 private final AssetManager mAssets; field in ImageDecoder.AssetSource
566 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;