Home
last modified time | relevance | path

Searched refs:PrintDocumentAdapter (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/docs/html/training/printing/
Dcustom-docs.jd61 // Start a print job, passing in a PrintDocumentAdapter implementation
69 android.print.PrintDocumentAdapter} class which handles the steps of the printing lifecycle. The
94 <p>The {@link android.print.PrintDocumentAdapter} abstract class is designed to handle the
99 <li>{@link android.print.PrintDocumentAdapter#onStart onStart()} - Called once at the
103 <li>{@link android.print.PrintDocumentAdapter#onLayout onLayout()} - Called each time a
108 <li>{@link android.print.PrintDocumentAdapter#onWrite onWrite()} - Called to render printed
110 {@link android.print.PrintDocumentAdapter#onLayout onLayout()} call.</li>
111 <li>{@link android.print.PrintDocumentAdapter#onFinish onFinish()} - Called once at the end
129 <p>Within an implementation of the {@link android.print.PrintDocumentAdapter} class, your
132 The implementation of the {@link android.print.PrintDocumentAdapter#onLayout onLayout()} method in
[all …]
Dhtml-docs.jd79 // Keep a reference to WebView object until you pass the PrintDocumentAdapter
158 PrintDocumentAdapter printAdapter = webView.createPrintDocumentAdapter();
/frameworks/base/core/java/android/print/
DPrintManager.java32 import android.print.PrintDocumentAdapter.LayoutResultCallback;
33 import android.print.PrintDocumentAdapter.WriteResultCallback;
414 public PrintJob print(String printJobName, PrintDocumentAdapter documentAdapter, in print()
514 private PrintDocumentAdapter mDocumentAdapter; // Strong reference OK - cleared in destroy
523 PrintDocumentAdapter documentAdapter) { in PrintDocumentAdapterDelegate()
735 ((PrintDocumentAdapter) message.obj).onStart(); in handleMessage()
740 PrintDocumentAdapter adapter = (PrintDocumentAdapter) args.arg1; in handleMessage()
754 PrintDocumentAdapter.EXTRA_PRINT_PREVIEW)); in handleMessage()
765 PrintDocumentAdapter adapter = (PrintDocumentAdapter) args.arg1; in handleMessage()
788 ((PrintDocumentAdapter) message.obj).onFinish(); in handleMessage()
DPrintDocumentAdapter.java109 public abstract class PrintDocumentAdapter { class
DPrintFileDocumentAdapter.java47 public class PrintFileDocumentAdapter extends PrintDocumentAdapter {
/frameworks/support/v4/kitkat/android/support/v4/print/
DPrintHelperKitkat.java32 import android.print.PrintDocumentAdapter;
185 new PrintDocumentAdapter() { in printBitmap()
303 PrintDocumentAdapter printDocumentAdapter = new PrintDocumentAdapter() { in printBitmap()
/frameworks/base/core/java/android/webkit/
DWebViewProvider.java30 import android.print.PrintDocumentAdapter;
151 public PrintDocumentAdapter createPrintDocumentAdapter(String documentName); in createPrintDocumentAdapter()
DWebView.java34 import android.print.PrintDocumentAdapter;
1152 public PrintDocumentAdapter createPrintDocumentAdapter() { in createPrintDocumentAdapter()
1171 public PrintDocumentAdapter createPrintDocumentAdapter(String documentName) { in createPrintDocumentAdapter()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DRemotePrintDocument.java37 import android.print.PrintDocumentAdapter;
638 mMetadata.putBoolean(PrintDocumentAdapter.EXTRA_PRINT_PREVIEW, preview); in LayoutCommand()
/frameworks/webview/chromium/java/com/android/webview/chromium/
DWebViewChromium.java37 import android.print.PrintDocumentAdapter;
2135 public PrintDocumentAdapter createPrintDocumentAdapter() {
2140 public PrintDocumentAdapter createPrintDocumentAdapter(String documentName) {
/frameworks/base/docs/html/about/versions/
Dandroid-4.4.jd199PrintDocumentAdapter}. Within this class, you must implement a few callback methods, including {@l…
203PrintDocumentAdapter}, you can execute print jobs upon the user's request using the {@link android…
/frameworks/base/api/
Dcurrent.txt22916 public abstract class PrintDocumentAdapter {
22917 ctor public PrintDocumentAdapter();
22919 …int.PrintAttributes, android.os.CancellationSignal, android.print.PrintDocumentAdapter.LayoutResul…
22921 …arcelFileDescriptor, android.os.CancellationSignal, android.print.PrintDocumentAdapter.WriteResult…
22925 public static abstract class PrintDocumentAdapter.LayoutResultCallback {
22931 public static abstract class PrintDocumentAdapter.WriteResultCallback {
23010 …method public android.print.PrintJob print(java.lang.String, android.print.PrintDocumentAdapter, a…
36233 method public deprecated android.print.PrintDocumentAdapter createPrintDocumentAdapter();
36234 method public android.print.PrintDocumentAdapter createPrintDocumentAdapter(java.lang.String);