Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/
DUiElementPullParserTest.java168 UiElementPullParser parser = new UiElementPullParser( in testParser() local
176 assertEquals(XmlPullParser.START_DOCUMENT, parser.getEventType()); in testParser()
179 assertEquals(XmlPullParser.START_TAG, parser.next()); in testParser()
180 assertEquals("LinearLayout", parser.getName()); in testParser()
181 assertEquals(1, parser.getAttributeCount()); in testParser()
182 assertEquals("orientation", parser.getAttributeName(0)); in testParser()
183 assertEquals(SdkConstants.NS_RESOURCES, parser.getAttributeNamespace(0)); in testParser()
184 assertEquals("android", parser.getAttributePrefix(0)); in testParser()
185 assertEquals("vertical", parser.getAttributeValue(0)); in testParser()
188 assertEquals(XmlPullParser.START_TAG, parser.next()); in testParser()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/
DCustomViewDescriptorService.java264 AttrsXmlParser parser = mParserCache.get(file); in getParser() local
265 if (parser == null) { in getParser()
266 parser = new AttrsXmlParser( in getParser()
269 parser.preload(); in getParser()
270 mParserCache.put(file, parser); in getParser()
273 return parser; in getParser()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DProjectCallback.java484 ILayoutPullParser parser = mLayoutEmbeddedParser; in getParser() local
489 return parser; in getParser()
496 ContextPullParser parser = new ContextPullParser(this, xml); in getParser() local
498 parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, true); in getParser()
500 parser.setInput(new StringReader(xmlText)); in getParser()
501 return parser; in getParser()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/layoutRendering/
DApiDemosRenderingTest.java248 TestParser parser = new TestParser(); in testSample() local
249 parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, true); in testSample()
250 parser.setInput(new FileReader(layout)); in testSample()
271 parser, in testSample()
/sdk/emulator/skins/dynamic/
Dlayout2 # that is missing is filled in at runtime by the skin parser.
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/resources/platform/
DAttributeInfoTest.java303 AttrsXmlParser parser = new AttrsXmlParser(attrsPath.getPath(), in testIsValid() local
305 parser.preload(); in testIsValid()
306 Map<String, AttributeInfo> attributeMap = parser.getAttributeMap(); in testIsValid()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DHyperlinks.java1087 OffsetTrackingParser parser = new OffsetTrackingParser(); in findValueInXml() local
1088 parser.parse(is); in findValueInXml()
1089 Document document = parser.getDocument(); in findValueInXml()
1091 return findValueInDocument(type, name, file, parser, document); in findValueInXml()
1104 File file, OffsetTrackingParser parser, Document document) { in findValueInDocument() argument
1111 Pair<File, Integer> result = findTag(name, file, parser, document, targetTag); in findValueInDocument()
1115 result = findTag(name, file, parser, document, targetTag); in findValueInDocument()
1120 private static Pair<File, Integer> findTag(String name, File file, OffsetTrackingParser parser, in findTag() argument
1130 return Pair.of(file, parser.getOffset(element)); in findTag()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutMetadata.java94 public static String getProperty(@NonNull XmlPullParser parser, @NonNull String name) { in getProperty() argument
95 String value = parser.getAttributeValue(TOOLS_URI, name); in getProperty()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringRefactoring.java1803 ASTParser parser = ASTParser.newParser(AST.JLS3);
1804 parser.setProject(unit.getJavaProject());
1805 parser.setSource(unit);
1806 parser.setResolveBindings(true);
1807 ASTNode node = parser.createAST(monitor.newChild(1));
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/
DDeviceView.java670 SystraceOutputParser parser = new SystraceOutputParser( in launchSystrace()
677 parser.parse(task.getAtraceOutput()); in launchSystrace()
679 String html = parser.getSystraceHtml(); in launchSystrace()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DGLFunctionTraceViewer.java250 TraceFileParserTask parser = new TraceFileParserTask(mFilePath); in setInput() local
252 dlg.run(true, true, parser); in setInput()
264 mTrace = parser.getTrace(); in setInput()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
DPreCompilerBuilder.java467 ManifestData parser = AndroidManifestHelper.parseUnchecked( in build() local
487 if (parser != null) { in build()
488 javaPackage = parser.getPackage(); in build()
489 minSdkVersion = parser.getMinSdkVersionString(); in build()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DEclipseLintClient.java77 import org.eclipse.jdt.internal.compiler.parser.Parser;