Home
last modified time | relevance | path

Searched refs:PrintDocumentAdapter (Results 1 – 13 of 13) 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()
747 ((PrintDocumentAdapter) message.obj).onStart(); in handleMessage()
752 PrintDocumentAdapter adapter = (PrintDocumentAdapter) args.arg1; in handleMessage()
766 PrintDocumentAdapter.EXTRA_PRINT_PREVIEW)); in handleMessage()
777 PrintDocumentAdapter adapter = (PrintDocumentAdapter) args.arg1; in handleMessage()
800 ((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.java31 import android.print.PrintDocumentAdapter;
153 public PrintDocumentAdapter createPrintDocumentAdapter(String documentName); in createPrintDocumentAdapter()
DWebView.java35 import android.print.PrintDocumentAdapter;
1158 public PrintDocumentAdapter createPrintDocumentAdapter() { in createPrintDocumentAdapter()
1177 public PrintDocumentAdapter createPrintDocumentAdapter(String documentName) { in createPrintDocumentAdapter()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DRemotePrintDocument.java37 import android.print.PrintDocumentAdapter;
650 mMetadata.putBoolean(PrintDocumentAdapter.EXTRA_PRINT_PREVIEW, preview); in LayoutCommand()
/frameworks/webview/chromium/java/com/android/webview/chromium/
DWebViewChromium.java37 import android.print.PrintDocumentAdapter;
2142 public PrintDocumentAdapter createPrintDocumentAdapter() {
2147 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/
Dsystem-current.txt24579 public abstract class PrintDocumentAdapter {
24580 ctor public PrintDocumentAdapter();
24582 …int.PrintAttributes, android.os.CancellationSignal, android.print.PrintDocumentAdapter.LayoutResul…
24584 …arcelFileDescriptor, android.os.CancellationSignal, android.print.PrintDocumentAdapter.WriteResult…
24588 public static abstract class PrintDocumentAdapter.LayoutResultCallback {
24594 public static abstract class PrintDocumentAdapter.WriteResultCallback {
24673 …method public android.print.PrintJob print(java.lang.String, android.print.PrintDocumentAdapter, a…
38743 method public deprecated android.print.PrintDocumentAdapter createPrintDocumentAdapter();
38744 method public android.print.PrintDocumentAdapter createPrintDocumentAdapter(java.lang.String);
38994 …method public abstract android.print.PrintDocumentAdapter createPrintDocumentAdapter(java.lang.Str…
Dcurrent.txt22989 public abstract class PrintDocumentAdapter {
22990 ctor public PrintDocumentAdapter();
22992 …int.PrintAttributes, android.os.CancellationSignal, android.print.PrintDocumentAdapter.LayoutResul…
22994 …arcelFileDescriptor, android.os.CancellationSignal, android.print.PrintDocumentAdapter.WriteResult…
22998 public static abstract class PrintDocumentAdapter.LayoutResultCallback {
23004 public static abstract class PrintDocumentAdapter.WriteResultCallback {
23083 …method public android.print.PrintJob print(java.lang.String, android.print.PrintDocumentAdapter, a…
36437 method public deprecated android.print.PrintDocumentAdapter createPrintDocumentAdapter();
36438 method public android.print.PrintDocumentAdapter createPrintDocumentAdapter(java.lang.String);