Home
last modified time | relevance | path

Searched refs:xmlFile (Results 1 – 11 of 11) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DXTagXmlResourceLoader.java38 …protected void processResourceXml( File xmlFile, Document document, boolean isSystem ) throws Exce… in processResourceXml() argument
40 String resourceName = toResourceName( xmlFile ); in processResourceXml()
60 private String toResourceName( File xmlFile ) { in toResourceName() argument
62 return xmlFile.getCanonicalPath().replaceAll( "[/\\\\\\\\]", "/" ).replaceAll( "^.*?/res/", "" ) in toResourceName()
DDrawableResourceLoader.java101 …protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Except… in processResourceXml() argument
102 String name = toResourceName(xmlFile); in processResourceXml()
117 private String toResourceName(File xmlFile) { in toResourceName() argument
119 return xmlFile.getCanonicalPath().replaceAll("[/\\\\\\\\]", "/") in toResourceName()
DMenuLoader.java33 …protected void processResourceXml(File xmlFile, Document document, boolean ignored) throws Excepti… in processResourceXml() argument
38 … throw new RuntimeException("Expected only one top-level item in menu file " + xmlFile.getName()); in processResourceXml()
40 … new RuntimeException("Expected a top-level item called 'menu' in menu file " + xmlFile.getName()); in processResourceXml()
43 menuNodesByMenuName.put("menu/" + xmlFile.getName().replace(".xml", ""), topLevelNode); in processResourceXml()
DDocumentLoader.java62 private Document parse(File xmlFile) throws Exception { in parse() argument
64 return documentBuilder.parse(xmlFile); in parse()
DXmlLoader.java15 …protected abstract void processResourceXml(File xmlFile, Document document, boolean isSystem) thro… in processResourceXml() argument
DPreferenceLoader.java34 …protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Except… in processResourceXml() argument
37 …prefNodesByResourceName.put( "xml/" + xmlFile.getName().replace(".xml", ""), topLevelNode.getChild… in processResourceXml()
DViewLoader.java40 …protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Except… in processResourceXml() argument
43 …String layoutName = xmlFile.getParentFile().getName() + "/" + xmlFile.getName().replace(".xml", ""… in processResourceXml()
DXpathResourceXmlLoader.java21 …@Override protected void processResourceXml(File xmlFile, Document document, boolean isSystem) thr… in processResourceXml() argument
DAttrResourceLoader.java26 …protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Except… in processResourceXml() argument
/external/doclava/src/com/google/doclava/
DArtifactTagger.java69 String xmlFile = artifactSpec.getKey(); in tagAll() local
74 specApi = new ApiCheck().parseApi(xmlFile); in tagAll()
79 "Failed to parse " + xmlFile + " for " + artifactName + " artifact data.\n" in tagAll()
DSinceTagger.java60 String xmlFile = versionSpec.getKey(); in tagAll() local
65 specApi = new ApiCheck().parseApi(xmlFile); in tagAll()
70 "Failed to parse " + xmlFile + " for " + versionName + " since data.\n" in tagAll()