Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DEclipseXmlPrettyPrinter.java83 EclipseXmlPrettyPrinter printer = new EclipseXmlPrettyPrinter(prefs, style, in prettyPrint() local
86 printer.setEndWithNewline(true); in prettyPrint()
90 printer.prettyPrint(-1, document, null, null, sb, false /*openTagOnly*/); in prettyPrint()
131 XmlPrettyPrinter printer = new EclipseXmlPrettyPrinter(prefs, style, lineSeparator); in prettyPrint() local
132 printer.setEndWithNewline(endWithNewline); in prettyPrint()
134 printer.prettyPrint(-1, node, null, null, sb, false /*openTagOnly*/); in prettyPrint()
DAndroidXmlFormattingStrategy.java346 XmlPrettyPrinter printer = new EclipseXmlPrettyPrinter(prefs, style, delimiter); in format() local
347 printer.setEndWithNewline(endWithNewline); in format()
350 printer.setIndentationLevels(indentationLevels); in format()
354 printer.prettyPrint(initialDepth, root, startNode, endNode, sb, isOpenTagOnly); in format()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DEclipseXmlPrettyPrinterTest.java65 EclipseXmlPrettyPrinter printer = new EclipseXmlPrettyPrinter(prefs, style, delimiter); in checkFormat() local
66 printer.setEndWithNewline(xml.endsWith("\n")); in checkFormat()
78 printer.prettyPrint(-1, document, startNode, endNode, sb, false/*openTagOnly*/); in checkFormat()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DTestNode.java259 XmlPrettyPrinter printer = new EclipseXmlPrettyPrinter(EclipseXmlFormatPreferences.create(), in toXml() local
263 printer.prettyPrint(-1, document, null, null, sb, false); in toXml()