/frameworks/base/core/jni/android/graphics/pdf/ |
D | PdfEditor.cpp | 88 FPDF_DOCUMENT document = FPDF_LoadCustomDocument(&loader, NULL); in nativeOpen() local 90 if (!document) { in nativeOpen() 107 return reinterpret_cast<jlong>(document); in nativeOpen() 111 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeClose() local 112 FPDF_CloseDocument(document); in nativeClose() 117 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeGetPageCount() local 118 return FPDF_GetPageCount(document); in nativeGetPageCount() 122 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeRemovePage() local 123 FPDFPage_Delete(document, pageIndex); in nativeRemovePage() 124 return FPDF_GetPageCount(document); in nativeRemovePage() [all …]
|
D | PdfDocument.cpp | 95 SkDocument* document = SkDocument::CreatePDF(stream); in write() local 99 SkCanvas* canvas = document->beginPage(page->mWidth, page->mHeight, in write() 106 document->endPage(); in write() 108 document->close(); in write() 134 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); in nativeStartPage() local 135 SkCanvas* canvas = document->startPage(pageWidth, pageHeight, in nativeStartPage() 141 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); in nativeFinishPage() local 142 document->finishPage(); in nativeFinishPage() 147 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); in nativeWriteTo() local 149 document->write(skWStream); in nativeWriteTo() [all …]
|
D | PdfRenderer.cpp | 81 FPDF_DOCUMENT document = FPDF_LoadCustomDocument(&loader, NULL); in nativeCreate() local 83 if (!document) { in nativeCreate() 100 return reinterpret_cast<jlong>(document); in nativeCreate() 105 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeOpenPageAndGetSize() local 107 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeOpenPageAndGetSize() 118 const int result = FPDF_GetPageSizeByIndex(document, pageIndex, &width, &height); in nativeOpenPageAndGetSize() 138 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeClose() local 139 FPDF_CloseDocument(document); in nativeClose() 144 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeGetPageCount() local 145 return FPDF_GetPageCount(document); in nativeGetPageCount() [all …]
|
/frameworks/base/tools/aidl/ |
D | generate_java.cpp | 73 Document* document = new Document; in generate_java() local 74 document->comment = ""; in generate_java() 75 if (iface->package) document->package = iface->package; in generate_java() 76 document->originalSrc = originalSrc; in generate_java() 77 document->classes.push_back(cl); in generate_java() 94 document->Write(to); in generate_java()
|
/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/docs/html/sdk/ |
D | download.jd | 9 document.getElementById('download-button').disabled = 10 !document.getElementById('checkbox').checked; 16 if (document.getElementById('checkbox').checked) { 17 document.location = "https://dl.google.com/android/" + filename; 19 … document.getElementById('click-download').setAttribute("href", "https://dl.google.com/android/" 23 document.getElementById('checkbox').disabled=true; 24 document.getElementById('download-button').disabled=true; 57 document.write("File: " + filename);
|
/frameworks/base/docs/html/guide/topics/providers/ |
D | document-provider.jd | 6 <h2>In this document 22 <li><a href="#metadata">Examine document metadata</a></li> 23 <li><a href="#open">Open a document</a></li> 24 <li><a href="#create">Create a new document</a></li> 25 <li><a href="#delete">Delete a document</a></li> 26 <li><a href="#edit">Edit a document</a></li> 80 across all of their their preferred document storage providers. A standard, easy-to-use UI 92 storage service (such as Google Drive) to reveal the files it manages. A document provider is 94 The document-provider schema is based on a traditional file hierarchy, 95 though how your document provider physically stores data is up to you. [all …]
|
/frameworks/base/docs/html/training/printing/ |
D | custom-docs.jd | 19 <li><a href="#doc-info">Compute print document info</a></li> 20 <li><a href="#write-file">Write a print document file</a></li> 31 to print an image or an HTML document. The print output for these types of applications requires 62 // to handle the generation of a print document 86 a document for printing. These selections can influence the final output as the user chooses 89 print document, in preparation for final output. Once a user taps the print button, the framework 90 takes the final print document and passes it to a print provider for output. During the printing 107 in the printed document.</li> 123 layout or print document writing work in separate {@link android.os.AsyncTask} objects. 127 <h3 id="doc-info">Compute print document info</h3> [all …]
|
D | html-docs.jd | 24 print document. The Android framework provides a way to use HTML to compose a document and 31 <p>This lesson shows you how to quickly build an HTML document containing text and graphics and 37 <p>Printing an HTML document with {@link android.webkit.WebView} involves loading an HTML 38 resource or building an HTML document as a string. This section describes how to build an HTML 52 android.webkit.WebViewClient} and load an HTML document created on the fly:</p> 74 // Generate an HTML document on the fly: 124 <li>You cannot add headers or footers, including page numbers, to the document.</li> 125 <li>The printing options for the HTML document do not include the ability to print page 126 ranges, for example: Printing page 2 to 4 of a 10 page HTML document is not supported.</li> 128 <li>An HTML document containing CSS print attributes, such as landscape properties, is not [all …]
|
/frameworks/base/docs/html/guide/components/ |
D | recents.jd | 9 <h2>In this document</h2> 45 Google Drive may have a task for each of several Google documents. Each document appears as a 63 over when and how a document gets opened or reopened in the overview screen. When you use the 65 attributes you can choose between always opening the document in a new task or reusing an 66 existing task for the document.</p> 70 <p>When you create a new document for your activity, you call the 83 the new document, the system always creates a new task with the target activity as the root. 84 This setting allows the same document to be opened in more than one task. The following code demons… 122 The new activity gets the intent and creates a new document in the overview screen, as in the 143 is reused to create a new document. [all …]
|
/frameworks/base/docs/html/guide/topics/renderscript/ |
D | reference.jd | 13 newheight = element.contentWindow.document.body.scrollHeight + 20; 14 newwidth = element.contentWindow.document.body.scrollWidth;
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | RemotePrintDocument.java | 154 public void onUpdateCompleted(RemotePrintDocumentInfo document); in onUpdateCompleted() argument 542 public AsyncCommand(IPrintDocumentAdapter adapter, RemotePrintDocumentInfo document, in AsyncCommand() argument 545 mDocument = document; in AsyncCommand() 643 RemotePrintDocumentInfo document, PrintAttributes oldAttributes, in LayoutCommand() argument 645 super(adapter, document, callback); in LayoutCommand() 879 RemotePrintDocumentInfo document, int pageCount, PageRange[] pages, in WriteCommand() argument 881 super(adapter, document, callback); in WriteCommand() 1137 public PrintDocumentAdapterObserver(RemotePrintDocument document) { in PrintDocumentAdapterObserver() argument 1138 mWeakDocument = new WeakReference<>(document); in PrintDocumentAdapterObserver() 1143 final RemotePrintDocument document = mWeakDocument.get(); in onDestroy() local [all …]
|
/frameworks/base/docs/html/samples/ |
D | content.jd | 10 $(document).ready(showSamples);
|
D | notification.jd | 10 $(document).ready(showSamples);
|
D | testing.jd | 10 $(document).ready(showSamples);
|
D | views.jd | 10 $(document).ready(showSamples);
|
D | wearable.jd | 10 $(document).ready(showSamples);
|
D | security.jd | 10 $(document).ready(showSamples);
|
D | input.jd | 10 $(document).ready(showSamples);
|
D | ui.jd | 10 $(document).ready(showSamples);
|
D | background.jd | 10 $(document).ready(showSamples);
|
D | sensors.jd | 10 $(document).ready(showSamples);
|
D | renderscript.jd | 10 $(document).ready(showSamples);
|
D | connectivity.jd | 10 $(document).ready(showSamples);
|
D | admin.jd | 10 $(document).ready(showSamples);
|