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.java397 ResourceReference resourceInfo = Bridge.resolveResourceId(resId); in resolveThemeAttribute() local
398 if (resourceInfo == null) { in resolveThemeAttribute()
399 resourceInfo = mLayoutlibCallback.resolveResourceId(resId); in resolveThemeAttribute()
402 if (resourceInfo == null || resourceInfo.getResourceType() != ResourceType.ATTR) { in resolveThemeAttribute()
406 ResourceValue value = mRenderResources.findItemInTheme(resourceInfo); in resolveThemeAttribute()
465 ResourceReference resourceInfo = Bridge.resolveResourceId(id); in resolveId() local
467 if (resourceInfo != null) { in resolveId()
468 return resourceInfo; in resolveId()
473 resourceInfo = mLayoutlibCallback.resolveResourceId(id); in resolveId()
475 if (resourceInfo != null) { in resolveId()
[all …]