Searched refs:resValue (Results 1 – 4 of 4) sorted by relevance
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 248 Pair<String, ResourceValue> resValue = getResourceValue(resources, id); in getColorStateList() local 250 if (resValue != null) { in getColorStateList() 251 ColorStateList stateList = ResourceHelper.getColorStateList(resValue.getSecond(), in getColorStateList() 270 ResourceValue resValue = value.getSecond(); in getText() local 272 assert resValue != null; in getText() 273 if (resValue != null) { in getText() 274 String v = resValue.getValue(); in getText() 289 ResourceValue resValue = value.getSecond(); in getText() local 291 assert resValue != null; in getText() 292 if (resValue != null) { in getText() [all …]
|
D | BridgeTypedArray.java | 583 ResourceValue resValue = mResourceData[index]; in getResourceId() local 586 if (resValue == null) { in getResourceId() 591 if (resValue instanceof StyleResourceValue) { in getResourceId() 593 return mContext.getDynamicIdByStyle((StyleResourceValue)resValue); in getResourceId() 599 if (!(resValue instanceof UnresolvedResourceValue)) { in getResourceId() 600 return mContext.getResourceId(resValue.asReference(), defValue); in getResourceId() 604 String value = resValue.getValue(); in getResourceId() 613 ResourceNamespace contextNamespace = resValue.getNamespace(); in getResourceId() 614 Resolver namespaceResolver = resValue.getNamespaceResolver(); in getResourceId()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 156 private static ComplexColor getInternalComplexColor(@NonNull ResourceValue resValue, in getInternalComplexColor() argument 158 String value = resValue.getValue(); in getInternalComplexColor() 171 BridgeXmlBlockParser blockParser = getXmlBlockParser(context, resValue); in getInternalComplexColor() 228 public static ColorStateList getColorStateList(@NonNull ResourceValue resValue, in getColorStateList() argument 230 return (ColorStateList) getInternalComplexColor(resValue, context, in getColorStateList() 243 public static ComplexColor getComplexColor(@NonNull ResourceValue resValue, in getComplexColor() argument 245 return getInternalComplexColor(resValue, context, in getComplexColor()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 503 ResourceValue resValue = mRenderResources.getResolvedResource(layout); in inflateView() local 505 if (resValue != null) { in inflateView() 506 String path = resValue.getValue(); in inflateView() 1031 ResourceValue resValue; in createStyleBasedTypedArray() local 1033 resValue = mRenderResources.findItemInStyle(style, attrHolder.asReference()); in createStyleBasedTypedArray() 1035 resValue = mRenderResources.findItemInTheme(attrHolder.asReference()); in createStyleBasedTypedArray() 1038 if (resValue != null) { in createStyleBasedTypedArray() 1039 defaultPropMap.put(attrHolder.asReference(), resValue); in createStyleBasedTypedArray() local 1041 resValue = mRenderResources.resolveResValue(resValue); in createStyleBasedTypedArray() 1045 resValue); in createStyleBasedTypedArray() [all …]
|