Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java218 XmlPullParser xmlPullParser = XmlPullParserFactory.newInstance().newPullParser(); in getEnumMap() local
219 xmlPullParser.setInput(new FileInputStream(path), null); in getEnumMap()
220 int eventType = xmlPullParser.getEventType(); in getEnumMap()
224 if (TAG_ATTR.equals(xmlPullParser.getName())) { in getEnumMap()
225 attr = xmlPullParser.getAttributeValue(null, ATTR_NAME); in getEnumMap()
226 } else if (TAG_ENUM.equals(xmlPullParser.getName()) in getEnumMap()
227 || TAG_FLAG.equals(xmlPullParser.getName())) { in getEnumMap()
228 String name = xmlPullParser.getAttributeValue(null, ATTR_NAME); in getEnumMap()
229 String value = xmlPullParser.getAttributeValue(null, ATTR_VALUE); in getEnumMap()
241 if (TAG_ATTR.equals(xmlPullParser.getName())) { in getEnumMap()
[all …]