Home
last modified time | relevance | path

Searched refs:qualifyResName (Results 1 – 10 of 10) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DResNameTest.java22 assertThat(ResName.qualifyResName("some.package:type/name", "default_package", "default_type")) in shouldQualifyResNameFromString()
24 assertThat(ResName.qualifyResName("some.package:name", "default_package", "default_type")) in shouldQualifyResNameFromString()
26 assertThat(ResName.qualifyResName("type/name", "default_package", "default_type")) in shouldQualifyResNameFromString()
28 assertThat(ResName.qualifyResName("name", "default_package", "default_type")) in shouldQualifyResNameFromString()
30 assertThat(ResName.qualifyResName("type/package:name", "default_package", "default_type")) in shouldQualifyResNameFromString()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DAttributeResource.java41 … return ResName.qualifyResName(deref(trimmedValue).replace("+", ""), contextPackageName, "style"); in getResourceReference()
50 return ResName.qualifyResName(value.substring(1), contextPackageName, "attr"); in getStyleReference()
76 return ResName.qualifyResName(deref(value).replace("+", ""), defPackage, defType); in getResourceReference()
89 return ResName.qualifyResName(value.substring(1), defPackage, defType); in getStyleReference()
DResName.java47 … ResName resName = qualifyResName(possiblyQualifiedResourceName, defaultPackageName, defaultType); in qualifyResourceName()
51 …public static ResName qualifyResName(@Nonnull String possiblyQualifiedResourceName, ResName defaul… in qualifyResName() method in ResName
52 return qualifyResName(possiblyQualifiedResourceName, defaults.packageName, defaults.type); in qualifyResName()
55 …public static ResName qualifyResName(@Nonnull String possiblyQualifiedResourceName, String default… in qualifyResName() method in ResName
91 …public static String qualifyResName(String possiblyQualifiedResourceName, String contextPackageNam… in qualifyResName() method in ResName
DStaxStyleLoader.java33 ResName attrResName = ResName.qualifyResName(attrName, xmlContext.getPackageName(), "attr"); in StaxStyleLoader()
DStyleResolver.java86 ResName styleRef = ResName.qualifyResName(parent, style.getPackageName(), "style"); in getParent()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DLegacyManifestParser.java152 ResName.qualifyResName( in createPackage()
159 ResName.qualifyResName(androidManifest.getLabelRef(), androidManifest.getPackageName()); in createPackage()
199 ResName.qualifyResName(themeRef.replace("@", ""), pkg.packageName, "style")); in createPackage()
206 ResName.qualifyResName( in createPackage()
DShadowLegacyAssetManager.java316 …Integer resourceId = resourceTable.getResourceId(ResName.qualifyResName(name, defPackage, defType)… in getResourceIdentifier()
1054 resName = ResName.qualifyResName(refStr, resName); in resolveResource()
1069 resName = ResName.qualifyResName(refStr, resName); in resolveResourceValue()
1240 …ResName resName = ResName.qualifyResName(attributeSet.getAttributeName(i), defaultPackageName, "at… in findAttributeValue()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/
DMetaData.java40 ResName resName = ResName.qualifyResName(value.substring(1), packageName, null); in init()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
DAttributeSetBuilderImpl.java291 attrResName = ResName.qualifyResName(attrNameStr, packageName, "attr"); in build()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DXmlResourceParserImpl.java798 …ResName resName = ResName.qualifyResName(possiblyQualifiedResourceName, defaultPackageName, defaul… in getResourceId()