Home
last modified time | relevance | path

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

123456789

/frameworks/libs/systemui/monet/tests/com/android/systemui/monet/
DColorSchemeTest.kt86 val document = buildDoc<Any>() in generateThemeStyles() constant
88 val themes = document.createElement("themes") in generateThemeStyles()
89 document.appendWithBreak(themes) in generateThemeStyles()
96 val theme = document.createElement("theme") in generateThemeStyles()
109 val style = document.createElement(styleValue.name.lowercase()) in generateThemeStyles()
113 document.createTextNode( in generateThemeStyles()
131 saveFile(document, "current_themes.xml") in generateThemeStyles()
136 val document = buildDoc<Any>() in generateDefaultValues() constant
138 val resources = document.createElement("resources") in generateDefaultValues()
139 document.appendWithBreak(resources) in generateDefaultValues()
[all …]
/frameworks/base/libs/hwui/jni/pdf/
DPdfUtils.cpp103 FPDF_DOCUMENT document = FPDF_LoadCustomDocument(&loader, NULL); in nativeOpen() local
104 if (!document) { in nativeOpen()
110 return reinterpret_cast<jlong>(document); in nativeOpen()
114 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeClose() local
115 FPDF_CloseDocument(document); in nativeClose()
121 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeGetPageCount() local
123 return FPDF_GetPageCount(document); in nativeGetPageCount()
127 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeScaleForPrinting() local
128 FPDF_BOOL printScaling = FPDF_VIEWERREF_GetPrintScaling(document); in nativeScaleForPrinting()
DPdfDocument.cpp89 sk_sp<SkDocument> document = SkPDF::MakeDocument(stream); in write() local
93 SkCanvas* canvas = document->beginPage(page->mWidth, page->mHeight, in write()
97 document->endPage(); in write()
99 document->close(); in write()
125 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); in nativeStartPage() local
126 SkCanvas* canvas = document->startPage(pageWidth, pageHeight, in nativeStartPage()
132 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); in nativeFinishPage() local
133 document->finishPage(); in nativeFinishPage()
138 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); in nativeWriteTo() local
140 document->write(skWStream); in nativeWriteTo()
[all …]
DPdfEditor.cpp56 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeRemovePage() local
58 FPDFPage_Delete(document, pageIndex); in nativeRemovePage()
59 return FPDF_GetPageCount(document); in nativeRemovePage()
95 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeWrite() local
99 const bool success = FPDF_SaveAsCopy(document, &writer, FPDF_NO_INCREMENTAL); in nativeWrite()
108 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeSetTransformAndClip() local
110 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeSetTransformAndClip()
120 const int result = FPDF_GetPageSizeByIndex(document, pageIndex, &width, &height); in nativeSetTransformAndClip()
163 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeGetPageSize() local
165 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeGetPageSize()
[all …]
/frameworks/base/tools/app_metadata_bundles/src/lib/java/com/android/asllib/
DAslConverter.java57 Document document = factory.newDocumentBuilder().parse(in); in readFromStream() local
63 document, XmlUtils.HR_TAG_APP_METADATA_BUNDLES, true); in readFromStream()
69 XmlUtils.getSingleChildElement(document, XmlUtils.OD_TAG_BUNDLE, true); in readFromStream()
90 var document = docBuilder.newDocument(); in writeToStream() local
94 for (var child : asl.toHrDomElements(document)) { in writeToStream()
95 document.appendChild(child); in writeToStream()
99 for (var child : asl.toOdDomElements(document)) { in writeToStream()
100 document.appendChild(child); in writeToStream()
113 DOMSource domSource = new DOMSource(document); in writeToStream()
/frameworks/base/packages/CarrierDefaultApp/assets/
Dslice_purchase_test.js19 document.getElementById("requested_capability").innerHTML =
25 document.getElementById("purchase_successful").innerHTML =
31 document.getElementById("purchase_failed").innerHTML =
37 document.getElementById("dismiss_flow").innerHTML =
/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/tools/app_metadata_bundles/src/test/java/com/android/asllib/marshallable/
DSecurityLabelsTest.java67 securityLabels.toOdDomElements(TestUtils.document()); in testMissingOptionalFields()
75 securityLabels.toHrDomElements(TestUtils.document()); in testMissingOptionalFields()
81 TestUtils.document(), in testHrToOdSecurityLabels()
90 TestUtils.document(), in testOdToHrSecurityLabels()
DDeveloperInfoTest.java101 developerInfo.toOdDomElements(TestUtils.document()); in testMissingOptionalFields()
111 developerInfo.toHrDomElements(TestUtils.document()); in testMissingOptionalFields()
117 TestUtils.document(), in testHrToOdDeveloperInfo()
126 TestUtils.document(), in testOdToHrDeveloperInfo()
DAppInfoTest.java122 appInfo.toOdDomElements(TestUtils.document()); in testMissingOptionalFields()
131 appInfo.toHrDomElements(TestUtils.document()); in testMissingOptionalFields()
137 TestUtils.document(), in testHrToOdAppInfo()
146 TestUtils.document(), in testOdToHrAppInfo()
DTransparencyInfoTest.java68 TestUtils.document(), in testHrToOdTransparencyInfo()
77 TestUtils.document(), in testOdToHrTransparencyInfo()
DSystemAppSafetyLabelTest.java72 TestUtils.document(), in testHrToOdSystemAppSafetyLabel()
81 TestUtils.document(), in testOdToHrSystemAppSafetyLabel()
DThirdPartyVerificationTest.java72 TestUtils.document(), in testHrToOdThirdPartyVerification()
81 TestUtils.document(), in testOdToHrThirdPartyVerification()
DAndroidSafetyLabelTest.java97 TestUtils.document(), in testHrToOdAndroidSafetyLabel()
106 TestUtils.document(), in testOdToHrAndroidSafetyLabel()
DSafetyLabelsTest.java93 TestUtils.document(), in testHrToOdSafetyLabels()
102 TestUtils.document(), in testOdToHrSafetyLabels()
/frameworks/base/tools/app_metadata_bundles/src/test/java/com/android/asllib/testutils/
DTestUtils.java70 Document document = factory.newDocumentBuilder().parse(stream); in getElementsFromResource() local
71 Element root = document.getDocumentElement(); in getElementsFromResource()
123 Document document = factory.newDocumentBuilder().parse(stream); in getFormattedXml() local
124 stripEmptyElements(document); in getFormattedXml()
125 return docToStr(document, omitXmlDeclaration); in getFormattedXml()
129 public static Document document() throws ParserConfigurationException { in document() method in TestUtils
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/
DRemoteComposeDocument.java41 public void setDocument(CoreDocument document) { in setDocument() argument
42 this.mDocument = document; in setDocument()
/frameworks/proto_logging/stats/atoms/pdf/
Dpdfviewer_extension_atoms.proto63 // Unique identifier for a particular loaded document.
64 // Note: This identifier will be different even if the same pdf document is loaded twice.
79 // Unique identifier for a particular loaded document
118 // Unique identifier for a particular loaded document
/frameworks/base/core/tests/coretests/src/android/os/
DVintfObjectTest.java66 var document = builder.parse(inputSource); in rootAndType() local
67 var root = document.getDocumentElement(); in rootAndType()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DRemotePrintDocument.java167 public void onUpdateCompleted(RemotePrintDocumentInfo document); in onUpdateCompleted() argument
590 …public AsyncCommand(Looper looper, IPrintDocumentAdapter adapter, RemotePrintDocumentInfo document, in AsyncCommand() argument
594 mDocument = document; in AsyncCommand()
740 RemotePrintDocumentInfo document, PrintAttributes oldAttributes, in LayoutCommand() argument
742 super(looper, adapter, document, callback); in LayoutCommand()
1017 RemotePrintDocumentInfo document, int pageCount, PageRange[] pages, in WriteCommand() argument
1019 super(looper, adapter, document, callback); in WriteCommand()
1308 public PrintDocumentAdapterObserver(RemotePrintDocument document) { in PrintDocumentAdapterObserver() argument
1309 mWeakDocument = new WeakReference<>(document); in PrintDocumentAdapterObserver()
1314 final RemotePrintDocument document = mWeakDocument.get(); in onDestroy() local
[all …]
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java226 PrintedPdfDocument document = new PrintedPdfDocument(getActivity(), in print()
229 PdfDocument.Page page = document.startPage(0); in print()
230 document.finishPage(page); in print()
233 document.writeTo(os); in print()
237 document.close(); in print()
/frameworks/layoutlib/validator/src/
DResourceConverter.java87 Document document = documentBuilder.parse(file); in loadStrings() local
88 NodeList nodeList = document.getElementsByTagName("string"); in loadStrings()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/
DRemoteContext.java122 public void setDocument(CoreDocument document) { in setDocument() argument
123 this.mDocument = document; in setDocument()
/frameworks/base/services/permission/java/com/android/server/permission/access/util/
DBinaryXmlSerializerExtensions.kt28 document(block) in serializeBinaryXml()
39 inline fun BinaryXmlSerializer.document(block: BinaryXmlSerializer.() -> Unit) { in document() method
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtils.java124 Document document = in getXmlRootNode() local
128 document.getDocumentElement().normalize(); in getXmlRootNode()
129 return document.getDocumentElement(); in getXmlRootNode()

123456789