Home
last modified time | relevance | path

Searched refs:renderResources (Results 1 – 2 of 2) 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/com/android/layoutlib/bridge/android/
DBridgeContext.java186 RenderResources renderResources, in BridgeContext() argument
196 mRenderResources = renderResources; in BridgeContext()