Home
last modified time | relevance | path

Searched refs:Resources_Delegate (Results 1 – 6 of 6) sorted by relevance

/frameworks/layoutlib/bridge/tests/src/android/content/res/
DResources_DelegateTest.java44 Resources_Delegate.resourceUrlFromName("pkg:name", null, null); in resourceUrlFromName()
49 assertNull(Resources_Delegate.resourceUrlFromName("package:invalid/name", null, null)); in resourceUrlFromName()
50 assertNull(Resources_Delegate.resourceUrlFromName("package:name", "invalid", null)); in resourceUrlFromName()
52 Resources_Delegate.resourceUrlFromName("package:name", "id", null)); in resourceUrlFromName()
54 Resources_Delegate.resourceUrlFromName("name", "id", "package")); in resourceUrlFromName()
56 Resources_Delegate.resourceUrlFromName("package:string/test", null, null)); in resourceUrlFromName()
58 Resources_Delegate.resourceUrlFromName("string/test", null, null)); in resourceUrlFromName()
63 Resources_Delegate.resourceUrlFromName("p1:string/r1", "id", "p2")); in resourceUrlFromName()
65 Resources_Delegate.resourceUrlFromName("string/r1", "id", "p2")); in resourceUrlFromName()
67 Resources_Delegate.resourceUrlFromName("p1:r1", "id", "p2")); in resourceUrlFromName()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DAdaptiveIconDrawable_Delegate.java22 import android.content.res.Resources_Delegate;
31 String pathString = Resources_Delegate.getLayoutlibCallback(Resources.getSystem()).getFlag( in constructor_after()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java51 import android.content.res.Resources_Delegate;
602 Resources resources = Resources_Delegate.initSystem(context, assetManager, metrics, in testGetResourceNameVariants()
610 int id = Resources_Delegate.getLayoutlibCallback(resources).getResourceId( in testGetResourceNameVariants()
644 Resources resources = Resources_Delegate.initSystem(context, assetManager, metrics, in testStringEscaping()
647 int id = Resources_Delegate.getLayoutlibCallback(resources).getResourceId( in testStringEscaping()
875 Resources resources = Resources_Delegate.initSystem(context, assetManager, metrics, in testResourcesGetIdentifier()
877 int id = Resources_Delegate.getLayoutlibCallback(resources).getResourceId( in testResourcesGetIdentifier()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java64 import android.content.res.Resources_Delegate;
259 mSystemResources = Resources_Delegate.initSystem( in initResources()
272 Resources_Delegate.disposeSystem(); in disposeResources()
758 Resources_Delegate.newTypeArray(mSystemResources, attrs.length, isPlatformFile); in internalObtainStyledAttributes()
1027 Resources_Delegate.newTypeArray(mSystemResources, attrs.length, false); in createStyleBasedTypedArray()
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java71 public class Resources_Delegate { class
89 Resources resources = new Resources(Resources_Delegate.class.getClassLoader()); in initSystem()
840 Resources_Delegate.getValue(resources, id, outValue, true); in getFont()
DBridgeTypedArray.java763 …return count >= 0 ? Resources_Delegate.fillValues(mBridgeResources, array, new CharSequence[count]… in getTextArray()