HomeSort by relevance Sort by last modified time
    Searched refs:resValue (Results 1 - 5 of 5) sorted by null

  /frameworks/base/tools/layoutlib/bridge/src/android/content/res/
BridgeResources.java 195 Pair<String, ResourceValue> resValue = getResourceValue(id, mPlatformResourceFlag);
197 if (resValue != null) {
198 ColorStateList stateList = ResourceHelper.getColorStateList(resValue.getSecond(),
217 ResourceValue resValue = value.getSecond();
219 assert resValue != null;
220 if (resValue != null) {
221 String v = resValue.getValue();
329 ResourceValue resValue = value.getSecond();
331 assert resValue != null;
332 if (resValue != null)
    [all...]
BridgeTypedArray.java 345 ResourceValue resValue = mResourceData[index];
346 String value = resValue.getValue();
363 parser, mContext, resValue.isFramework());
650 ResourceValue resValue = mResourceData[index];
653 if (resValue == null) {
658 if (resValue instanceof StyleResourceValue) {
660 return mContext.getDynamicIdByStyle((StyleResourceValue)resValue);
663 if (RenderResources.REFERENCE_NULL.equals(resValue.getValue())) {
671 if (resValue.getResourceType() != null) {
673 if (mPlatformFile || resValue.isFramework())
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
BridgeContext.java 338 ResourceValue resValue;
340 resValue = (ResourceValue) resource;
343 resValue = mRenderResources.getFrameworkResource(ResourceType.LAYOUT,
346 resValue = mRenderResources.getProjectResource(ResourceType.LAYOUT,
351 if (resValue != null) {
353 File xml = new File(resValue.getValue());
636 ResourceValue resValue = null;
640 resValue = mRenderResources.findItemInStyle(customStyleValues, name);
644 if (resValue == null && defStyleValues != null) {
645 resValue = mRenderResources.findItemInStyle(defStyleValues, name)
    [all...]
  /sdk/ide_common/src/com/android/ide/common/resources/
ResourceResolver.java 299 ResourceValue resValue = findResValue(value, isFrameworkValue);
301 // if resValue is null, but value is not null, this means it was not a reference.
304 if (resValue == null) {
309 return resolveResValue(resValue);
313 public ResourceValue resolveResValue(ResourceValue resValue) {
314 if (resValue == null) {
319 String value = resValue.getValue();
321 return resValue;
325 ResourceValue resolvedResValue = findResValue(value, resValue.isFramework());
329 return resValue;
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
ResourceHelper.java 114 public static ColorStateList getColorStateList(ResourceValue resValue, BridgeContext context) {
115 String value = resValue.getValue();
126 parser, context, resValue.isFramework());

Completed in 84 milliseconds