Searched refs:resValue (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DResources_Delegate.java226 Pair<String, ResourceValue> resValue =
229 if (resValue != null) {
230 ColorStateList stateList = ResourceHelper.getColorStateList(resValue.getSecond(),
249 ResourceValue resValue = value.getSecond();
251 assert resValue != null;
252 if (resValue != null) {
253 String v = resValue.getValue();
268 ResourceValue resValue = value.getSecond();
270 assert resValue != null;
271 if (resValue !
319 fillValues(Resources resources, ArrayResourceValue resValue, T[] values) argument
[all...]
H A DBridgeTypedArray.java553 ResourceValue resValue = mResourceData[index];
556 if (resValue == null) {
561 if (resValue instanceof StyleResourceValue) {
563 return mContext.getDynamicIdByStyle((StyleResourceValue)resValue);
570 if (resValue.getResourceType() != null) {
572 if (mPlatformFile || resValue.isFramework()) {
575 resValue.getResourceType(), resValue.getName(), defValue);
580 resValue.getResourceType(), resValue
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DBridgeInflater.java376 ResourceValue resValue = bc.getRenderResources().findResValue(attrVal, false);
377 if (resValue.isFramework()) {
378 resourceId = Bridge.getResourceId(resValue.getResourceType(),
379 resValue.getName());
381 resourceId = mLayoutlibCallback.getResourceId(resValue.getResourceType(),
382 resValue.getName());
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DResourceHelper.java137 * @param resValue the value containing a color value or a file path to a complex color
145 private static ComplexColor getInternalComplexColor(@NonNull ResourceValue resValue, argument
147 String value = resValue.getValue();
176 parser, context, resValue.isFramework());
237 * @param resValue the value containing a color value or a file path to a complex color
242 public static ColorStateList getColorStateList(@NonNull ResourceValue resValue, argument
244 return (ColorStateList) getInternalComplexColor(resValue, context, context.getTheme(),
251 * @param resValue the value containing a color value or a file path to a complex color
256 public static ComplexColor getComplexColor(@NonNull ResourceValue resValue, argument
258 return getInternalComplexColor(resValue, contex
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java468 ResourceValue resValue;
470 resValue = (ResourceValue) resource;
473 resValue = mRenderResources.getFrameworkResource(ResourceType.LAYOUT,
476 resValue = mRenderResources.getProjectResource(ResourceType.LAYOUT,
481 if (resValue != null) {
483 File xml = new File(resValue.getValue());
1028 ResourceValue resValue;
1032 resValue = mRenderResources.findItemInStyle(style, attrName, frameworkAttr);
1034 resValue = mRenderResources.findItemInTheme(attrName, frameworkAttr);
1037 if (resValue !
1107 getDynamicIdByStyle(StyleResourceValue resValue) argument
[all...]

Completed in 540 milliseconds