/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
D | XmlContext.java | 7 private final FsFile xmlFile; field in XmlContext 10 public XmlContext(String packageName, FsFile xmlFile, Qualifiers qualifiers) { in XmlContext() argument 12 this.xmlFile = xmlFile; in XmlContext() 29 return xmlFile; in getXmlFile() 33 return '{' + packageName + ':' + xmlFile + '}'; in toString()
|
D | StaxDocumentLoader.java | 25 FsFile xmlFile = xmlContext.getXmlFile(); in loadResourceXmlFile() local 29 xmlStreamReader = factory.createXMLStreamReader(xmlFile.getInputStream()); in loadResourceXmlFile() 32 throw new RuntimeException("error parsing " + xmlFile, e); in loadResourceXmlFile()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/ |
D | XTagXmlResourceLoader.java | 38 …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()
|
D | DrawableResourceLoader.java | 101 …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()
|
D | MenuLoader.java | 33 …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()
|
D | DocumentLoader.java | 62 private Document parse(File xmlFile) throws Exception { in parse() argument 64 return documentBuilder.parse(xmlFile); in parse()
|
D | PreferenceLoader.java | 34 …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()
|
D | ViewLoader.java | 40 …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()
|
D | XmlLoader.java | 15 …protected abstract void processResourceXml(File xmlFile, Document document, boolean isSystem) thro… in processResourceXml() argument
|
D | XpathResourceXmlLoader.java | 21 …@Override protected void processResourceXml(File xmlFile, Document document, boolean isSystem) thr… in processResourceXml() argument
|
D | AttrResourceLoader.java | 26 …protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Except… in processResourceXml() argument
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ConverterTest.java | 24 FsFile xmlFile = Fs.newFile(new File("res/values/foo.xml")); in setUp() local 25 Qualifiers qualifiers = Qualifiers.fromParentDir(xmlFile.getParent()); in setUp() 27 xmlContext = new XmlContext("", xmlFile, qualifiers); in setUp()
|
/external/doclava/src/com/google/doclava/ |
D | ArtifactTagger.java | 70 String xmlFile = artifactSpec.getKey(); in tagAll() local 75 specApi = new ApiCheck().parseApi(xmlFile); in tagAll() 80 "Failed to parse " + xmlFile + " for " + artifactName + " artifact data.\n" in tagAll()
|
D | SinceTagger.java | 61 String xmlFile = versionSpec.getKey(); in tagAll() local 66 specApi = new ApiCheck().parseApi(xmlFile); in tagAll() 71 "Failed to parse " + xmlFile + " for " + versionName + " since data.\n" in tagAll()
|
/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/ |
D | QualifiersTest.java | 26 FsFile xmlFile = Fs.newFile(path + "/whatever.xml"); in configFrom() local 27 Qualifiers qualifiers = Qualifiers.fromParentDir(xmlFile.getParent()); in configFrom() 29 ResTable_config config = new XmlContext("package", xmlFile, qualifiers) in configFrom()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/builder/ |
D | XmlBlock.java | 25 private synchronized static Document parse(FsFile xmlFile) { in parse() argument 35 inputStream = xmlFile.getInputStream(); in parse()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/builder/ |
D | XmlResourceParserImplTest.java | 50 FsFile xmlFile = typedResource.getXmlContext().getXmlFile(); in setUp() local 52 XmlBlock xmlBlock = XmlBlock.create(xmlFile, packageName); in setUp()
|