Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java192 RenderResources renderResources = getContext().getRenderResources(); in getBarColor() local
194 boolean translucent = ResourceHelper.getBooleanThemeFrameworkAttrValue(renderResources, in getBarColor()
200 boolean transparent = ResourceHelper.getBooleanThemeFrameworkAttrValue(renderResources, in getBarColor()
203 return getColor(renderResources, colorAttrName); in getBarColor()
208 private static int getColor(RenderResources renderResources, String attr) { in getColor() argument
211 renderResources.findItemInTheme(BridgeContext.createFrameworkAttrReference(attr)); in getColor()
213 resource = renderResources.resolveResValue(resource); in getColor()
DStatusBar.java128 RenderResources renderResources = getContext().getRenderResources(); in getForegroundColor() local
130 ResourceHelper.getBooleanThemeFrameworkAttrValue(renderResources, in getForegroundColor()
136 ResourceHelper.getBooleanThemeFrameworkAttrValue(renderResources, in getForegroundColor()
140 ResourceHelper.getBooleanThemeFrameworkAttrValue(renderResources, in getForegroundColor()
/frameworks/layoutlib/bridge/tests/src/android/util/
DBridgeXmlPullAttributesTest.java59 RenderResources renderResources = new RenderResources() { in prepareContext() local
67 when(context.getRenderResources()).thenReturn(renderResources); in prepareContext()
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java156 RenderResources renderResources = getContext(resources).getRenderResources(); in getResourceValue() local
157 ResourceValue value = renderResources.getResolvedResource(resourceInfo); in getResourceValue()
318 RenderResources renderResources = getContext(resources).getRenderResources(); in getTextArray() local
319 return new CharSequence[] { renderResources.resolveResValue(resValue).getValue() }; in getTextArray()
472 RenderResources renderResources = getContext(resources).getRenderResources(); in resolveReference() local
473 ResourceValue resolvedValue = renderResources.resolveResValue(value); in resolveReference()
530 RenderResources renderResources = context.getRenderResources(); in obtainAttributes() local
532 renderResources.getAllThemes().clear(); in obtainAttributes()
535 renderResources.clearStyles(); in obtainAttributes()
549 RenderResources renderResources = context.getRenderResources(); in obtainTypedArray() local
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java250 @NonNull RenderResources renderResources, in BridgeContext() argument
260 mRenderResources = new DynamicRenderResources(renderResources); in BridgeContext()