Searched defs:resValue (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DResourceHelper.java131 * @param resValue the value containing a color value or a file path to a complex color
139 private static ComplexColor getInternalComplexColor(@NonNull ResourceValue resValue, argument
141 String value = resValue.getValue();
170 parser, context, resValue.isFramework());
230 * @param resValue the value containing a color value or a file path to a complex color
235 public static ColorStateList getColorStateList(@NonNull ResourceValue resValue, argument
237 return (ColorStateList) getInternalComplexColor(resValue, context, context.getTheme(),
244 * @param resValue the value containing a color value or a file path to a complex color
249 public static ComplexColor getComplexColor(@NonNull ResourceValue resValue, argument
251 return getInternalComplexColor(resValue, contex
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DResources_Delegate.java195 Pair<String, ResourceValue> resValue =
198 if (resValue != null) {
199 ColorStateList stateList = ResourceHelper.getColorStateList(resValue.getSecond(),
218 ResourceValue resValue = value.getSecond();
220 assert resValue != null;
221 if (resValue != null) {
222 String v = resValue.getValue();
237 ResourceValue resValue = value.getSecond();
239 assert resValue != null;
240 if (resValue !
288 fillValues(Resources resources, ArrayResourceValue resValue, T[] values) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java425 ResourceValue resValue;
427 resValue = (ResourceValue) resource;
430 resValue = mRenderResources.getFrameworkResource(ResourceType.LAYOUT,
433 resValue = mRenderResources.getProjectResource(ResourceType.LAYOUT,
438 if (resValue != null) {
440 File xml = new File(resValue.getValue());
837 ResourceValue resValue = null;
841 resValue = mRenderResources.findItemInStyle(customStyleValues,
846 if (resValue == null && defStyleValues != null) {
847 resValue
1026 getDynamicIdByStyle(StyleResourceValue resValue) argument
[all...]

Completed in 450 milliseconds