Searched refs:resValue (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 195 Pair<String, ResourceValue> resValue = in getColorStateList() local 198 if (resValue != null) { in getColorStateList() 199 ColorStateList stateList = ResourceHelper.getColorStateList(resValue.getSecond(), in getColorStateList() 218 ResourceValue resValue = value.getSecond(); in getText() local 220 assert resValue != null; in getText() 221 if (resValue != null) { in getText() 222 String v = resValue.getValue(); in getText() 237 ResourceValue resValue = value.getSecond(); in getText() local 239 assert resValue != null; in getText() 240 if (resValue != null) { in getText() [all …]
|
D | BridgeTypedArray.java | 552 ResourceValue resValue = mResourceData[index]; in getResourceId() local 555 if (resValue == null) { in getResourceId() 560 if (resValue instanceof StyleResourceValue) { in getResourceId() 562 return mContext.getDynamicIdByStyle((StyleResourceValue)resValue); in getResourceId() 569 if (resValue.getResourceType() != null) { in getResourceId() 571 if (mPlatformFile || resValue.isFramework()) { in getResourceId() 574 resValue.getResourceType(), resValue.getName(), defValue); in getResourceId() 579 resValue.getResourceType(), resValue.getName(), defValue); in getResourceId() 583 String value = resValue.getValue(); in getResourceId() 638 if (resValue.isFramework()) { in getResourceId() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 425 ResourceValue resValue; in inflateView() local 427 resValue = (ResourceValue) resource; in inflateView() 430 resValue = mRenderResources.getFrameworkResource(ResourceType.LAYOUT, in inflateView() 433 resValue = mRenderResources.getProjectResource(ResourceType.LAYOUT, in inflateView() 438 if (resValue != null) { in inflateView() 440 File xml = new File(resValue.getValue()); in inflateView() 837 ResourceValue resValue = null; in obtainStyledAttributes() local 841 resValue = mRenderResources.findItemInStyle(customStyleValues, in obtainStyledAttributes() 846 if (resValue == null && defStyleValues != null) { in obtainStyledAttributes() 847 resValue = mRenderResources.findItemInStyle(defStyleValues, in obtainStyledAttributes() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | BridgeInflater.java | 283 ResourceValue resValue = bc.getRenderResources().findResValue(attrVal, false); in setupViewInContext() local 284 if (resValue.isFramework()) { in setupViewInContext() 285 resourceId = Bridge.getResourceId(resValue.getResourceType(), in setupViewInContext() 286 resValue.getName()); in setupViewInContext() 288 resourceId = mLayoutlibCallback.getResourceId(resValue.getResourceType(), in setupViewInContext() 289 resValue.getName()); in setupViewInContext()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 139 private static ComplexColor getInternalComplexColor(@NonNull ResourceValue resValue, in getInternalComplexColor() argument 141 String value = resValue.getValue(); in getInternalComplexColor() 170 parser, context, resValue.isFramework()); in getInternalComplexColor() 235 public static ColorStateList getColorStateList(@NonNull ResourceValue resValue, in getColorStateList() argument 237 return (ColorStateList) getInternalComplexColor(resValue, context, context.getTheme(), in getColorStateList() 249 public static ComplexColor getComplexColor(@NonNull ResourceValue resValue, in getComplexColor() argument 251 return getInternalComplexColor(resValue, context, context.getTheme(), true); in getComplexColor()
|