Home
last modified time | relevance | path

Searched refs:ANDROID_RES_NS_PREFIX (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DAttributeSetBuilderTest.java7 import static org.robolectric.res.AttributeResource.ANDROID_RES_NS_PREFIX;
53 …assertThat(roboAttributeSet.getAttributeResourceValue(ANDROID_RES_NS_PREFIX + "com.some.namespace"… in getSystemAttributeResourceValue_shouldReturnDefaultValueForNullResourceId()
63 …assertThat(roboAttributeSet.getAttributeResourceValue(ANDROID_RES_NS_PREFIX + "com.some.other.name… in getSystemAttributeResourceValue_shouldReturnDefaultValueForNonMatchingNamespaceId()
131 …assertThat(roboAttributeSet.getAttributeBooleanValue(ANDROID_RES_NS_PREFIX + "com.some.namespace",… in getAttributeBooleanValue_shouldReturnDefaultBooleanValueWhenNotInAttributeSet()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DXmlResourceParserImpl.java3 import static org.robolectric.res.AttributeResource.ANDROID_RES_NS_PREFIX;
72 this.applicationNamespace = ANDROID_RES_NS_PREFIX + applicationPackageName; in XmlResourceParserImpl()
598 } else if (attributeNamespace.startsWith(ANDROID_RES_NS_PREFIX)) { in getAttributeNameResource()
599 attributeNamespace = attributeNamespace.substring(ANDROID_RES_NS_PREFIX.length()); in getAttributeNameResource()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DAttributeResource.java8 public static final String ANDROID_RES_NS_PREFIX = "http://schemas.android.com/apk/res/"; field in AttributeResource