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.java423 ResourceReference resourceInfo = Bridge.resolveResourceId(resId); in resolveThemeAttribute() local
424 if (resourceInfo == null) { in resolveThemeAttribute()
425 resourceInfo = mLayoutlibCallback.resolveResourceId(resId); in resolveThemeAttribute()
428 if (resourceInfo == null || resourceInfo.getResourceType() != ResourceType.ATTR) { in resolveThemeAttribute()
432 ResourceValue value = mRenderResources.findItemInTheme(resourceInfo); in resolveThemeAttribute()
503 ResourceReference resourceInfo = Bridge.resolveResourceId(id); in resolveId() local
505 if (resourceInfo != null) { in resolveId()
506 return resourceInfo; in resolveId()
511 resourceInfo = mLayoutlibCallback.resolveResourceId(id); in resolveId()
513 if (resourceInfo != null) { in resolveId()
[all …]