Home
last modified time | relevance | path

Searched refs:getAssets (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
DLocalOverlayManager.java47 final String[] oldApkPaths = res.getAssets().getApkPaths(); in setEnabledAndWait()
50 if (!Arrays.equals(oldApkPaths, res.getAssets().getApkPaths())) { in setEnabledAndWait()
/frameworks/base/core/tests/coretests/src/android/graphics/
DFontFileUtilTest.java102 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testRegularFonts()
117 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testTtcFont()
133 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testVariationFont()
DPaintTest.java80 getInstrumentation().getContext().getAssets(), FONT_PATH); in testHintingWidth()
123 getInstrumentation().getContext().getAssets(), "fonts/hasGlyphTestFont.ttf"); in testHasGlyph_variationSelectors()
341 getInstrumentation().getContext().getAssets(), "fonts/underlineTestFont.ttf"); in testGetUnderlinePositionAndThickness()
/frameworks/base/core/java/com/android/internal/policy/
DDecorContext.java97 public AssetManager getAssets() { in getAssets() method in DecorContext
98 return mActivityResources.getAssets(); in getAssets()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DTypefaceCreatePerfTest.java73 final AssetManager am = context.getAssets(); in testCreate_fromAsset()
84 final AssetManager am = context.getAssets(); in testCreate_fromFile()
/frameworks/base/core/java/android/view/
DContextThemeWrapper.java121 public AssetManager getAssets() { in getAssets() method in ContextThemeWrapper
123 return getResourcesInternal().getAssets(); in getAssets()
/frameworks/base/core/java/android/content/res/
DResources.java362 CharSequence res = mResourcesImpl.getAssets().getResourceText(id); in getText()
562 CharSequence res = id != 0 ? mResourcesImpl.getAssets().getResourceText(id) : null; in getText()
579 CharSequence[] res = mResourcesImpl.getAssets().getResourceTextArray(id); in getTextArray()
600 String[] res = mResourcesImpl.getAssets().getResourceStringArray(id); in getStringArray()
620 int[] res = mResourcesImpl.getAssets().getResourceIntArray(id); in getIntArray()
643 int len = impl.getAssets().getResourceArraySize(id); in obtainTypedArray()
649 array.mLength = impl.getAssets().getResourceArray(id, array.mData); in obtainTypedArray()
1920 mResourcesImpl.getAssets().retrieveAttributes(parser, attrs, array.mData, array.mIndices); in obtainAttributes()
2228 public final AssetManager getAssets() { in getAssets() method in Resources
2229 return mResourcesImpl.getAssets(); in getAssets()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DBridgeContextTest.java58 params.getAssets(), params.getLayoutlibCallback(), configuration, in basic()
105 params.getAssets(), params.getLayoutlibCallback(), configuration, in checkNoErrorWhenUsingDefaults()
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
DRemoteRenderParamsAdapter.java82 public RemoteAssetRepository getAssets() { in getAssets() method in RemoteRenderParamsAdapter
84 return RemoteAssetRepositoryAdapter.create(mDelegate.getAssets()); in getAssets()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DLocaleUtils.java87 String[] localeArray = context.getAssets().getLocales(); in getLocaleForLanguageCountry()
184 for (String localeId : context.getAssets().getLocales()) { in isTranslated()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/myapplication.widgets/
DAssetView.java29 InputStream istr = context.getAssets().open("asset.png"); in init()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DAvgBrightnessFilterTest.java36 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
DContrastRatioFilterTest.java43 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
DExposureFilterTest.java41 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
DIfElseFilterTest.java46 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteRenderParams.java39 RemoteAssetRepository getAssets() throws RemoteException; in getAssets() method
/frameworks/base/core/tests/coretests/src/android/content/
DAssetTest.java33 mAssets = mContext.getAssets(); in setUp()
/frameworks/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java242 Typeface typeface = Typeface.findFromCache(context.getAssets(), path); in createFromDisk()
267 typeface = Typeface.createFromResources(entry, context.getAssets(), path); in createFromDisk()
279 typeface = new Typeface.Builder(context.getAssets(), path).build(); in createFromDisk()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
DTestData.java301 return context.getResources().getAssets().open(TEST_FILE_FOLDER_NAME + "/" + relativePath); in openTestFile()
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/
DLargeAssetTest.java56 mValidateThread.execute(LargeAssetTest.this.getAssets());
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesLocaleTest.java54 final String[] supportedLocales = resources.getAssets().getNonSystemLocales(); in ensureNoLanguage()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DReportEncoderTests.java105 context.getResources().getAssets().open(assetPath)))) { in readAsset()
/frameworks/base/core/tests/coretests/src/android/text/
DFontFallbackSetup.java63 InstrumentationRegistry.getInstrumentation().getContext().getAssets(); in FontFallbackSetup()
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
DSampleProvider.java173 return getContext().getAssets().openFd(fileName); in openAssetFile()
/frameworks/base/core/java/android/webkit/
DWebViewDelegate.java183 resources.getAssets().getAssignedPackageIdentifiers(); in getPackageId()

1234