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()
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.java37 import android.print.PrintDocumentAdapter;
190 new PrintDocumentAdapter() { in printBitmap()
316 PrintDocumentAdapter printDocumentAdapter = new PrintDocumentAdapter() { in printBitmap()
/frameworks/base/core/java/android/webkit/
DWebViewProvider.java31 import android.print.PrintDocumentAdapter;
161 public PrintDocumentAdapter createPrintDocumentAdapter(String documentName); in createPrintDocumentAdapter()
DWebView.java37 import android.print.PrintDocumentAdapter;
1234 public PrintDocumentAdapter createPrintDocumentAdapter() { in createPrintDocumentAdapter()
1252 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/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.txt26221 public abstract class PrintDocumentAdapter {
26222 ctor public PrintDocumentAdapter();
26224 …int.PrintAttributes, android.os.CancellationSignal, android.print.PrintDocumentAdapter.LayoutResul…
26226 …arcelFileDescriptor, android.os.CancellationSignal, android.print.PrintDocumentAdapter.WriteResult…
26230 public static abstract class PrintDocumentAdapter.LayoutResultCallback {
26236 public static abstract class PrintDocumentAdapter.WriteResultCallback {
26315 …method public android.print.PrintJob print(java.lang.String, android.print.PrintDocumentAdapter, a…
41512 method public deprecated android.print.PrintDocumentAdapter createPrintDocumentAdapter();
41513 method public android.print.PrintDocumentAdapter createPrintDocumentAdapter(java.lang.String);
41783 …method public abstract android.print.PrintDocumentAdapter createPrintDocumentAdapter(java.lang.Str…
Dcurrent.txt24265 public abstract class PrintDocumentAdapter {
24266 ctor public PrintDocumentAdapter();
24268 …int.PrintAttributes, android.os.CancellationSignal, android.print.PrintDocumentAdapter.LayoutResul…
24270 …arcelFileDescriptor, android.os.CancellationSignal, android.print.PrintDocumentAdapter.WriteResult…
24274 public static abstract class PrintDocumentAdapter.LayoutResultCallback {
24280 public static abstract class PrintDocumentAdapter.WriteResultCallback {
24359 …method public android.print.PrintJob print(java.lang.String, android.print.PrintDocumentAdapter, a…
39142 method public deprecated android.print.PrintDocumentAdapter createPrintDocumentAdapter();
39143 method public android.print.PrintDocumentAdapter createPrintDocumentAdapter(java.lang.String);