Home
last modified time | relevance | path

Searched refs:document (Results 1 – 25 of 175) sorted by relevance

1234567

/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/pom/
DPomDocument.kt30 class PomDocument(val file: ArchiveFile, private val document: Document) { in <lambda>() constant in com.android.tools.build.jetifier.processor.transform.pom.PomDocument
36 val document = XmlUtils.createDocumentFromByteArray(file.data) in <lambda>() constant
37 val pomDoc = PomDocument(file, document) in <lambda>()
49 val propertiesGroup = document.rootElement in <lambda>()
50 .getChild("properties", document.rootElement.namespace) in <lambda>()
57 dependenciesGroup = document.rootElement in <lambda>()
58 .getChild("dependencies", document.rootElement.namespace) ?: return in <lambda>()
102 newDependencies.forEach { dependenciesGroup!!.addContent(it.toXmlElement(document)) } in <lambda>()
107 val groupIdNode = document.rootElement in <lambda>()
108 .getChild("groupId", document.rootElement.namespace) in <lambda>()
[all …]
DPomDependencyExtensions.kt26 fun PomDependency.toXmlElement(document: Document): Element { in PomDependency()
28 node.namespace = document.rootElement.namespace in PomDependency()
DXmlUtils.kt39 fun convertDocumentToByteArray(document: Document): ByteArray { in convertDocumentToByteArray()
43 xmlOutput.output(document, it) in convertDocumentToByteArray()
/frameworks/base/core/jni/android/graphics/pdf/
DPdfUtils.cpp105 FPDF_DOCUMENT document = FPDF_LoadCustomDocument(&loader, NULL); in nativeOpen() local
106 if (!document) { in nativeOpen()
112 return reinterpret_cast<jlong>(document); in nativeOpen()
116 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeClose() local
117 FPDF_CloseDocument(document); in nativeClose()
123 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeGetPageCount() local
125 return FPDF_GetPageCount(document); in nativeGetPageCount()
129 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeScaleForPrinting() local
130 FPDF_BOOL printScaling = FPDF_VIEWERREF_GetPrintScaling(document); in nativeScaleForPrinting()
DPdfDocument.cpp91 sk_sp<SkDocument> document = SkDocument::MakePDF(stream); in write() local
95 SkCanvas* canvas = document->beginPage(page->mWidth, page->mHeight, in write()
99 document->endPage(); in write()
101 document->close(); in write()
127 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); in nativeStartPage() local
128 SkCanvas* canvas = document->startPage(pageWidth, pageHeight, in nativeStartPage()
134 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); in nativeFinishPage() local
135 document->finishPage(); in nativeFinishPage()
140 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); in nativeWriteTo() local
142 document->write(skWStream); in nativeWriteTo()
[all …]
DPdfEditor.cpp60 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeRemovePage() local
62 FPDFPage_Delete(document, pageIndex); in nativeRemovePage()
63 return FPDF_GetPageCount(document); in nativeRemovePage()
99 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeWrite() local
103 const bool success = FPDF_SaveAsCopy(document, &writer, FPDF_NO_INCREMENTAL); in nativeWrite()
112 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeSetTransformAndClip() local
114 FPDF_PAGE* page = (FPDF_PAGE*) FPDF_LoadPage(document, pageIndex); in nativeSetTransformAndClip()
124 const int result = FPDF_GetPageSizeByIndex(document, pageIndex, &width, &height); in nativeSetTransformAndClip()
167 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeGetPageSize() local
169 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeGetPageSize()
[all …]
DPdfRenderer.cpp45 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeOpenPageAndGetSize() local
47 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeOpenPageAndGetSize()
57 int result = FPDF_GetPageSizeByIndex(document, pageIndex, &width, &height); in nativeOpenPageAndGetSize()
/frameworks/base/tools/preload/
Dsorttable.js30 if (!document.createElement || !document.getElementsByTagName) return;
34 forEach(document.getElementsByTagName('table'), function(table) {
46 the = document.createElement('thead');
68 tfo = document.createElement('tfoot');
100 this.removeChild(document.getElementById('sorttable_sortfwdind'));
101 sortrevind = document.createElement('span');
113 this.removeChild(document.getElementById('sorttable_sortrevind'));
114 sortfwdind = document.createElement('span');
129 sortfwdind = document.getElementById('sorttable_sortfwdind');
131 sortrevind = document.getElementById('sorttable_sortrevind');
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DRemotePrintDocument.java166 public void onUpdateCompleted(RemotePrintDocumentInfo document); in onUpdateCompleted() argument
578 …public AsyncCommand(Looper looper, IPrintDocumentAdapter adapter, RemotePrintDocumentInfo document, in AsyncCommand() argument
582 mDocument = document; in AsyncCommand()
728 RemotePrintDocumentInfo document, PrintAttributes oldAttributes, in LayoutCommand() argument
730 super(looper, adapter, document, callback); in LayoutCommand()
1005 RemotePrintDocumentInfo document, int pageCount, PageRange[] pages, in WriteCommand() argument
1007 super(looper, adapter, document, callback); in WriteCommand()
1296 public PrintDocumentAdapterObserver(RemotePrintDocument document) { in PrintDocumentAdapterObserver() argument
1297 mWeakDocument = new WeakReference<>(document); in PrintDocumentAdapterObserver()
1302 final RemotePrintDocument document = mWeakDocument.get(); in onDestroy() local
[all …]
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java220 PrintedPdfDocument document = new PrintedPdfDocument(getActivity(), in print()
223 PdfDocument.Page page = document.startPage(0); in print()
224 document.finishPage(page); in print()
227 document.writeTo(os); in print()
231 document.close(); in print()
/frameworks/data-binding/compilerCommon/
DXMLParser.g434 document : prolog? misc* element misc*;
50 * the document.''
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtils.java130 Document document = in getXmlRootNode() local
134 document.getDocumentElement().normalize(); in getXmlRootNode()
135 return document.getDocumentElement(); in getXmlRootNode()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpDocumentsProviderTest.java1017 final HierarchyDocument document = ids.remove(); in setupHierarchyDocuments() local
1019 document.createChildDocument(objectHandle++), in setupHierarchyDocuments()
1020 document.createChildDocument(objectHandle++), in setupHierarchyDocuments()
1021 document.createChildDocument(objectHandle++), in setupHierarchyDocuments()
1024 0, 0, document.objectHandle, document.documentId, new MtpObjectInfo[] { in setupHierarchyDocuments()
/frameworks/base/core/proto/android/service/
Dprint.proto268 // Margins around the document
304 // Name of the document to print
313 // The size of the the document
/frameworks/support/core/ktx/src/androidTest/
Dfont_licenses.txt26 to any document created using the fonts or their derivatives.
77 remain under this license does not apply to any document created
/frameworks/native/opengl/include/GLES3/
DNOTICE1 This document is licensed under the SGI Free Software B License Version
/frameworks/base/tools/aapt2/
DResourceParser_test.cpp221 <string name="foo" xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> in TEST_F()
233 <string name="foo" xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> in TEST_F()
240 <string name="foo" xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> in TEST_F()
255 <string name="foo" xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> in TEST_F()
/frameworks/rs/tests/java_api/Refocus/dataExtraction/
DRefocusTestTimingProcess.txt1 This document is to explain the process to extract kernel running time of Refocus(Lens Blur) app in…
/frameworks/minikin/doc/
Dhyb_file_format.md16 physical file, to reduce number of open mmap'ed files. This document doesn't cover that.
/frameworks/base/services/core/java/com/android/server/am/
DRecentTasks.java1255 final boolean document = intent != null && intent.isDocument(); in findRemoveIndexForAddTask()
1275 final boolean bothDocuments = document && trIsDocument; in findRemoveIndexForAddTask()
1300 } else if (document || trIsDocument) { in findRemoveIndexForAddTask()
/frameworks/native/cmds/dumpstate/
Dbugreport-format.md3 This document specifies the format of the bugreport files generated by the
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java554 public void onUpdateCompleted(RemotePrintDocumentInfo document) { in onUpdateCompleted() argument
567 PrintDocumentInfo info = document.info; in onUpdateCompleted()
570 document.pagesWrittenToFile, getAdjustedPageCount(info)); in onUpdateCompleted()
584 mPrintJob.setPages(document.pagesInFileToPrint); in onUpdateCompleted()
601 updatePrintPreviewController(document.changed); in onUpdateCompleted()
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
DXmlEditor.java59 XMLParser.DocumentContext expr = parser.document(); in strip()
/frameworks/data-binding/compilerCommon/src/main/xml-gen/android/databinding/parser/
DXMLParser.java121 public final DocumentContext document() throws RecognitionException { in document() method in XMLParser
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
DLayoutFileParser.java108 XMLParser.DocumentContext expr = parser.document(); in parseOriginalXml()

1234567