Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeResources.java130 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id); in getResourceValue() local
132 if (resourceInfo != null) { in getResourceValue()
134 String attributeName = resourceInfo.getSecond(); in getResourceValue()
137 resourceInfo.getFirst(), attributeName)); in getResourceValue()
142 resourceInfo = mProjectCallback.resolveResourceId(id); in getResourceValue()
144 if (resourceInfo != null) { in getResourceValue()
146 String attributeName = resourceInfo.getSecond(); in getResourceValue()
149 resourceInfo.getFirst(), attributeName)); in getResourceValue()
682 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id); in throwException() local
685 if (resourceInfo == null && mProjectCallback != null) { in throwException()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java275 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(resid); in resolveThemeAttribute() local
277 if (resourceInfo == null) { in resolveThemeAttribute()
278 resourceInfo = mProjectCallback.resolveResourceId(resid); in resolveThemeAttribute()
282 if (resourceInfo == null) { in resolveThemeAttribute()
286 ResourceValue value = mRenderResources.findItemInTheme(resourceInfo.getSecond(), in resolveThemeAttribute()
327 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id); in resolveId() local
329 if (resourceInfo != null) { in resolveId()
330 return new ResourceReference(resourceInfo.getSecond(), true); in resolveId()
335 resourceInfo = mProjectCallback.resolveResourceId(id); in resolveId()
337 if (resourceInfo != null) { in resolveId()
[all …]