/frameworks/libs/systemui/monet/tests/com/android/systemui/monet/ |
D | ColorSchemeTest.kt | 86 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/ |
D | PdfUtils.cpp | 103 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()
|
D | PdfDocument.cpp | 89 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 …]
|
D | PdfEditor.cpp | 56 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/ |
D | AslConverter.java | 57 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/ |
D | slice_purchase_test.js | 19 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/ |
D | sorttable.js | 30 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/ |
D | SecurityLabelsTest.java | 67 securityLabels.toOdDomElements(TestUtils.document()); in testMissingOptionalFields() 75 securityLabels.toHrDomElements(TestUtils.document()); in testMissingOptionalFields() 81 TestUtils.document(), in testHrToOdSecurityLabels() 90 TestUtils.document(), in testOdToHrSecurityLabels()
|
D | DeveloperInfoTest.java | 101 developerInfo.toOdDomElements(TestUtils.document()); in testMissingOptionalFields() 111 developerInfo.toHrDomElements(TestUtils.document()); in testMissingOptionalFields() 117 TestUtils.document(), in testHrToOdDeveloperInfo() 126 TestUtils.document(), in testOdToHrDeveloperInfo()
|
D | AppInfoTest.java | 122 appInfo.toOdDomElements(TestUtils.document()); in testMissingOptionalFields() 131 appInfo.toHrDomElements(TestUtils.document()); in testMissingOptionalFields() 137 TestUtils.document(), in testHrToOdAppInfo() 146 TestUtils.document(), in testOdToHrAppInfo()
|
D | TransparencyInfoTest.java | 68 TestUtils.document(), in testHrToOdTransparencyInfo() 77 TestUtils.document(), in testOdToHrTransparencyInfo()
|
D | SystemAppSafetyLabelTest.java | 72 TestUtils.document(), in testHrToOdSystemAppSafetyLabel() 81 TestUtils.document(), in testOdToHrSystemAppSafetyLabel()
|
D | ThirdPartyVerificationTest.java | 72 TestUtils.document(), in testHrToOdThirdPartyVerification() 81 TestUtils.document(), in testOdToHrThirdPartyVerification()
|
D | AndroidSafetyLabelTest.java | 97 TestUtils.document(), in testHrToOdAndroidSafetyLabel() 106 TestUtils.document(), in testOdToHrAndroidSafetyLabel()
|
D | SafetyLabelsTest.java | 93 TestUtils.document(), in testHrToOdSafetyLabels() 102 TestUtils.document(), in testOdToHrSafetyLabels()
|
/frameworks/base/tools/app_metadata_bundles/src/test/java/com/android/asllib/testutils/ |
D | TestUtils.java | 70 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/ |
D | RemoteComposeDocument.java | 41 public void setDocument(CoreDocument document) { in setDocument() argument 42 this.mDocument = document; in setDocument()
|
/frameworks/proto_logging/stats/atoms/pdf/ |
D | pdfviewer_extension_atoms.proto | 63 // 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/ |
D | VintfObjectTest.java | 66 var document = builder.parse(inputSource); in rootAndType() local 67 var root = document.getDocumentElement(); in rootAndType()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | RemotePrintDocument.java | 167 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/ |
D | WorkflowTest.java | 226 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/ |
D | ResourceConverter.java | 87 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/ |
D | RemoteContext.java | 122 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/ |
D | BinaryXmlSerializerExtensions.kt | 28 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/ |
D | CertUtils.java | 124 Document document = in getXmlRootNode() local 128 document.getDocumentElement().normalize(); in getXmlRootNode() 129 return document.getDocumentElement(); in getXmlRootNode()
|