Searched refs:possiblyQualifiedResourceName (Results 1 – 2 of 2) sorted by relevance
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
D | ResName.java | 46 …public static String qualifyResourceName(@Nonnull String possiblyQualifiedResourceName, String def… in qualifyResourceName() argument 47 … ResName resName = qualifyResName(possiblyQualifiedResourceName, defaultPackageName, defaultType); in qualifyResourceName() 51 …public static ResName qualifyResName(@Nonnull String possiblyQualifiedResourceName, ResName defaul… in qualifyResName() argument 52 return qualifyResName(possiblyQualifiedResourceName, defaults.packageName, defaults.type); in qualifyResName() 55 …public static ResName qualifyResName(@Nonnull String possiblyQualifiedResourceName, String default… in qualifyResName() argument 56 int indexOfColon = possiblyQualifiedResourceName.indexOf(':'); in qualifyResName() 57 int indexOfSlash = possiblyQualifiedResourceName.indexOf('/'); in qualifyResName() 60 String name = possiblyQualifiedResourceName; in qualifyResName() 63 type = possiblyQualifiedResourceName.substring(0, indexOfSlash); in qualifyResName() 65 packageName = possiblyQualifiedResourceName.substring(indexOfSlash + 1, indexOfColon); in qualifyResName() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/ |
D | XmlResourceParserImpl.java | 776 …private int getResourceId(String possiblyQualifiedResourceName, String defaultPackageName, String … in getResourceId() argument 778 if (AttributeResource.isNull(possiblyQualifiedResourceName)) return 0; in getResourceId() 780 if (AttributeResource.isStyleReference(possiblyQualifiedResourceName)) { in getResourceId() 781 …ResName styleReference = AttributeResource.getStyleReference(possiblyQualifiedResourceName, defaul… in getResourceId() 789 if (AttributeResource.isResourceReference(possiblyQualifiedResourceName)) { in getResourceId() 790 …me resourceReference = AttributeResource.getResourceReference(possiblyQualifiedResourceName, defau… in getResourceId() 797 possiblyQualifiedResourceName = removeLeadingSpecialCharsIfAny(possiblyQualifiedResourceName); in getResourceId() 798 …ResName resName = ResName.qualifyResName(possiblyQualifiedResourceName, defaultPackageName, defaul… in getResourceId()
|