Lines Matching refs:parser
86 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs)
89 super.inflate(r, parser, attrs);
95 final int innerDepth = parser.getDepth() + 1;
97 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT
98 && ((depth = parser.getDepth()) >= innerDepth
104 if (depth > innerDepth || !parser.getName().equals("item")) {
121 throw new XmlPullParserException(parser.getPositionDescription()
129 while ((type = parser.next()) == XmlPullParser.TEXT) {
133 parser.getPositionDescription()
137 dr = Drawable.createFromXmlInner(r, parser, attrs);