Home
last modified time | relevance | path

Searched refs:resourceInfo (Results 1 – 2 of 2) sorted by relevance

/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java133 ResourceReference resourceInfo = Bridge.resolveResourceId(id); in getResourceInfo() local
143 if (resourceInfo == null) { in getResourceInfo()
145 resourceInfo = getLayoutlibCallback(resources).resolveResourceId(id); in getResourceInfo()
148 return resourceInfo; in getResourceInfo()
152 ResourceReference resourceInfo = getResourceInfo(resources, id); in getResourceValue() local
154 if (resourceInfo != null) { in getResourceValue()
155 String attributeName = resourceInfo.getName(); in getResourceValue()
157 ResourceValue value = renderResources.getResolvedResource(resourceInfo); in getResourceValue()
160 value = new ResourceValueImpl(resourceInfo.getNamespace(), in getResourceValue()
161 resourceInfo.getResourceType(), attributeName, attributeName); in getResourceValue()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java375 ResourceReference resourceInfo = Bridge.resolveResourceId(resId); in resolveThemeAttribute() local
376 if (resourceInfo == null) { in resolveThemeAttribute()
377 resourceInfo = mLayoutlibCallback.resolveResourceId(resId); in resolveThemeAttribute()
380 if (resourceInfo == null || resourceInfo.getResourceType() != ResourceType.ATTR) { in resolveThemeAttribute()
384 ResourceValue value = mRenderResources.findItemInTheme(resourceInfo); in resolveThemeAttribute()
427 ResourceReference resourceInfo = Bridge.resolveResourceId(id); in resolveId() local
429 if (resourceInfo != null) { in resolveId()
430 return resourceInfo; in resolveId()
435 resourceInfo = mLayoutlibCallback.resolveResourceId(id); in resolveId()
437 if (resourceInfo != null) { in resolveId()
[all …]