Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java228 RenderResources renderResources = getContext().getRenderResources(); in getBarColor() local
230 boolean translucent = ResourceHelper.getBooleanThemeFrameworkAttrValue(renderResources, in getBarColor()
236 boolean transparent = ResourceHelper.getBooleanThemeFrameworkAttrValue(renderResources, in getBarColor()
239 return getColor(renderResources, colorAttrName); in getBarColor()
244 private static int getColor(RenderResources renderResources, String attr) { in getColor() argument
247 renderResources.findItemInTheme(BridgeContext.createFrameworkAttrReference(attr)); in getColor()
249 resource = renderResources.resolveResValue(resource); in getColor()
/frameworks/layoutlib/bridge/tests/src/android/util/
DBridgeXmlPullAttributesTest.java40 RenderResources renderResources = new RenderResources(); in testGetAttributeIntValueForEnums() local
54 when(context.getRenderResources()).thenReturn(renderResources); in testGetAttributeIntValueForEnums()
/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()
317 RenderResources renderResources = getContext(resources).getRenderResources(); in getTextArray() local
318 return new CharSequence[] { renderResources.resolveResValue(resValue).getValue() }; in getTextArray()
471 RenderResources renderResources = getContext(resources).getRenderResources(); in resolveReference() local
472 ResourceValue resolvedValue = renderResources.resolveResValue(value); in resolveReference()
541 RenderResources renderResources = context.getRenderResources(); in obtainTypedArray() local
542 ResourceValue value = renderResources.getResolvedResource(reference); in obtainTypedArray()
559 elementValue = renderResources.getResolvedResource(elementRef); in obtainTypedArray()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java216 @NonNull RenderResources renderResources, in BridgeContext() argument
226 mRenderResources = renderResources; in BridgeContext()