Home
last modified time | relevance | path

Searched refs:renderResources (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java241 RenderResources renderResources = getContext().getRenderResources(); in getBarColor() local
243 boolean translucent = ResourceHelper.getBooleanThemeValue(renderResources, in getBarColor()
249 boolean transparent = ResourceHelper.getBooleanThemeValue(renderResources, in getBarColor()
252 return getColor(renderResources, colorAttrName); in getBarColor()
257 private static int getColor(RenderResources renderResources, String attr) { in getColor() argument
259 ResourceValue resource = renderResources.findItemInTheme(attr, true); in getColor()
261 resource = renderResources.resolveResValue(resource); in getColor()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java123 RenderResources renderResources = resources.mContext.getRenderResources(); in getResourceValue() local
125 renderResources.getFrameworkResource(resourceInfo.getFirst(), attributeName) : in getResourceValue()
126 renderResources.getProjectResource(resourceInfo.getFirst(), attributeName)); in getResourceValue()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java188 RenderResources renderResources, in BridgeContext() argument
198 mRenderResources = renderResources; in BridgeContext()