Home
last modified time | relevance | path

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

12345678

/frameworks/base/libs/hwui/jni/pdf/
DPdfUtils.cpp106 FPDF_DOCUMENT document = FPDF_LoadCustomDocument(&loader, NULL); in nativeOpen() local
107 if (!document) { in nativeOpen()
113 return reinterpret_cast<jlong>(document); in nativeOpen()
117 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeClose() local
118 FPDF_CloseDocument(document); in nativeClose()
124 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeGetPageCount() local
126 return FPDF_GetPageCount(document); in nativeGetPageCount()
130 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeScaleForPrinting() local
131 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.cpp59 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeRemovePage() local
61 FPDFPage_Delete(document, pageIndex); in nativeRemovePage()
62 return FPDF_GetPageCount(document); in nativeRemovePage()
98 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeWrite() local
102 const bool success = FPDF_SaveAsCopy(document, &writer, FPDF_NO_INCREMENTAL); in nativeWrite()
111 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeSetTransformAndClip() local
113 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeSetTransformAndClip()
123 const int result = FPDF_GetPageSizeByIndex(document, pageIndex, &width, &height); in nativeSetTransformAndClip()
166 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeGetPageSize() local
168 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeGetPageSize()
[all …]
DPdfRenderer.cpp42 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); in nativeOpenPageAndGetSize() local
44 FPDF_PAGE page = FPDF_LoadPage(document, pageIndex); in nativeOpenPageAndGetSize()
54 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/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverter.java51 public static DocumentProto toDocumentProto(@NonNull GenericDocument document) { in toDocumentProto() argument
52 Objects.requireNonNull(document); in toDocumentProto()
55 .setUri(document.getId()) in toDocumentProto()
56 .setSchema(document.getSchemaType()) in toDocumentProto()
57 .setNamespace(document.getNamespace()) in toDocumentProto()
58 .setScore(document.getScore()) in toDocumentProto()
59 .setTtlMs(document.getTtlMillis()) in toDocumentProto()
60 .setCreationTimestampMs(document.getCreationTimestampMillis()); in toDocumentProto()
61 ArrayList<String> keys = new ArrayList<>(document.getPropertyNames()); in toDocumentProto()
66 Object property = document.getProperty(name); in toDocumentProto()
DSearchResultToProtoConverter.java106 GenericDocument document = in toSearchResult() local
111 .setGenericDocument(document) in toSearchResult()
/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/
DSearchResult.java180 public Builder setGenericDocument(@NonNull GenericDocument document) { in setGenericDocument() argument
181 Objects.requireNonNull(document); in setGenericDocument()
183 mGenericDocument = document; in setGenericDocument()
320 MatchInfo(@NonNull Bundle bundle, @Nullable GenericDocument document) { in MatchInfo() argument
322 mDocument = document; in MatchInfo()
422 private static String getPropertyValues(GenericDocument document, String propertyName) { in getPropertyValues() argument
426 String result = document.getPropertyString(propertyName); in getPropertyValues()
DMigrator.java68 int currentVersion, int finalVersion, @NonNull GenericDocument document); in onUpgrade() argument
90 int currentVersion, int finalVersion, @NonNull GenericDocument document); in onDowngrade() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java445 GenericDocument document = new GenericDocument.Builder<>("namespace", "id", "type").build(); in testTriggerCheckOptimizeByMutationSize() local
446 mAppSearchImpl.putDocument("package", "database", document, /*logger=*/ null); in testTriggerCheckOptimizeByMutationSize()
632 GenericDocument document = new GenericDocument.Builder<>("namespace", "id", "type").build(); in testRewriteSearchSpec_oneInstance() local
633 mAppSearchImpl.putDocument("package", "database", document, /*logger=*/ null); in testRewriteSearchSpec_oneInstance()
720 GenericDocument document = new GenericDocument.Builder<>("namespace", "id", "type").build(); in testRewriteSearchSpec_ignoresSearchSpecSchemaFilters() local
721 mAppSearchImpl.putDocument("package", "database", document, /*logger=*/ null); in testRewriteSearchSpec_ignoresSearchSpecSchemaFilters()
775 GenericDocument document = in testQueryWithMultiplePackages_noPackageFilters() local
777 mAppSearchImpl.putDocument("package1", "database1", document, /*logger=*/ null); in testQueryWithMultiplePackages_noPackageFilters()
787 document = new GenericDocument.Builder<>("namespace", "id", "schema2").build(); in testQueryWithMultiplePackages_noPackageFilters()
788 mAppSearchImpl.putDocument("package2", "database2", document, /*logger=*/ null); in testQueryWithMultiplePackages_noPackageFilters()
[all …]
DAppSearchLoggerTest.java500 GenericDocument document = in testLoggingStats_putDocument_success() local
505 mAppSearchImpl.putDocument(testPackageName, testDatabase, document, mLogger); in testLoggingStats_putDocument_success()
547 GenericDocument document = in testLoggingStats_putDocument_failure() local
557 testPackageName, testDatabase, document, mLogger)); in testLoggingStats_putDocument_failure()
705 GenericDocument document = in testLoggingStats_remove_success() local
707 mAppSearchImpl.putDocument(testPackageName, testDatabase, document, /*logger=*/ null); in testLoggingStats_remove_success()
740 GenericDocument document = in testLoggingStats_remove_failure() local
742 mAppSearchImpl.putDocument(testPackageName, testDatabase, document, /*logger=*/ null); in testLoggingStats_remove_failure()
/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/
DAppSearchMigrationHelper.java187 GenericDocument document; in readAndTransform() local
190 document = readDocumentFromInputStream(inputStream); in readAndTransform()
198 newDocument = migrator.onUpgrade(currentVersion, finalVersion, document); in readAndTransform()
201 newDocument = migrator.onDowngrade(currentVersion, finalVersion, document); in readAndTransform()
DAppSearchSession.java355 GenericDocument document; in getByDocumentId()
357 document = new GenericDocument(bundleEntry.getValue()); in getByDocumentId()
368 bundleEntry.getKey(), document); in getByDocumentId()
/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/apex/appsearch/testing/java/com/android/server/appsearch/testing/external/
DAppSearchEmail.java88 public AppSearchEmail(@NonNull GenericDocument document) { in AppSearchEmail() argument
89 super(document); in AppSearchEmail()
/frameworks/base/core/java/android/content/pm/
DAppSearchPerson.java45 public AppSearchPerson(@NonNull GenericDocument document) { in AppSearchPerson() argument
46 super(document); in AppSearchPerson()
DAppSearchShortcutInfo.java314 public AppSearchShortcutInfo(@NonNull GenericDocument document) { in AppSearchShortcutInfo() argument
315 super(document); in AppSearchShortcutInfo()
928 final GenericDocument document = persons[i]; in parsePerson() local
929 if (document == null) continue; in parsePerson()
930 final AppSearchPerson person = new AppSearchPerson(document); in parsePerson()
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverterTest.java65 GenericDocument document = in testDocumentProtoConvert() local
132 GenericDocumentToProtoConverter.toDocumentProto(document); in testDocumentProtoConvert()
135 assertThat(convertedGenericDocument).isEqualTo(document); in testDocumentProtoConvert()
/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()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java503 GenericDocument document = new GenericDocument(documentBundles.get(i)); in putDocuments() local
506 packageName, databaseName, document, instance.getLogger()); in putDocuments()
507 resultBuilder.setSuccess(document.getId(), /*value=*/ null); in putDocuments()
510 resultBuilder.setResult(document.getId(), throwableToFailedResult(t)); in putDocuments()
512 resultBuilder.setResult(document.getId(), result); in putDocuments()
591 GenericDocument document = instance.getAppSearchImpl().getDocument( in getDocuments() local
598 resultBuilder.setSuccess(id, document.getBundle()); in getDocuments()
908 GenericDocument document; in putDocumentsFromFile() local
914 document = AppSearchMigrationHelper in putDocumentsFromFile()
922 packageName, databaseName, document, /*logger=*/ null); in putDocumentsFromFile()
[all …]
/frameworks/base/core/proto/android/service/
Dprint.proto269 // Margins around the document
305 // Name of the document to print
314 // The size of the document
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/
DLogBuffer.kt125 inline fun document( in document() method in com.android.systemui.log.LogBuffer
/frameworks/native/opengl/include/GLES3/
DNOTICE1 This document is licensed under the SGI Free Software B License Version

12345678