HomeSort by relevance Sort by last modified time
    Searched full:printdocumentadapter (Results 1 - 25 of 27) sorted by null

1 2

  /external/chromium_org/printing/android/java/src/org/chromium/printing/
PrintManagerDelegateImpl.java 8 import android.print.PrintDocumentAdapter;
22 public void print(String printJobName, PrintDocumentAdapter documentAdapter,
PrintDocumentAdapterWrapper.java 12 import android.print.PrintDocumentAdapter;
16 * Wrapper for {@link PrintDocumentAdapter} for easier testing.
18 * Normally, {@link PrintDocumentAdapter#LayoutResultCallback} and
19 * {@link PrintDocumentAdapter#WriteResultCallback} don't have public constructors. This makes
21 * {@link PrintDocumentAdapter#onLayout} and {@link PrintDocumentAdapter#onWrite}. This class helps
24 public class PrintDocumentAdapterWrapper extends PrintDocumentAdapter {
PrintManagerDelegate.java 8 import android.print.PrintDocumentAdapter;
21 PrintDocumentAdapter documentAdapter,
PrintingContext.java 7 import android.print.PrintDocumentAdapter;
24 * {@link PrintDocumentAdapter#onWrite}) to a PrintingContext.
46 * {@link PrintDocumentAdapter#onWrite}.
PrintingController.java 7 import android.print.PrintDocumentAdapter;
22 * is provided to us by {@link PrintDocumentAdapter#onWrite}.
  /external/chromium_org/android_webview/java/src/org/chromium/android_webview/
AwPrintDocumentAdapter.java 12 import android.print.PrintDocumentAdapter;
19 * system class PrintDocumentAdapter and hides all printing details from
22 public class AwPrintDocumentAdapter extends PrintDocumentAdapter {
AwPdfExporter.java 33 // to own the Webview (via PrintDocumentAdapter).
  /development/samples/ApiDemos/src/com/example/android/apis/app/
PrintHtmlOffScreen.java 26 import android.print.PrintDocumentAdapter;
95 // Create a wrapper PrintDocumentAdapter to clean up when done.
96 PrintDocumentAdapter adapter = new PrintDocumentAdapter() {
97 private final PrintDocumentAdapter mWrappedInstance =
PrintCustomContent.java 30 import android.print.PrintDocumentAdapter;
64 * PrintDocumentAdapter} in which:
77 * @see PrintDocumentAdapter
111 new PrintDocumentAdapter() {
  /frameworks/base/docs/html/training/printing/
custom-docs.jd 61 // 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 i
    [all...]
html-docs.jd 79 // Keep a reference to WebView object until you pass the PrintDocumentAdapter
158 PrintDocumentAdapter printAdapter = webView.createPrintDocumentAdapter();
  /frameworks/base/core/java/android/print/
PrintManager.java 31 import android.print.PrintDocumentAdapter.LayoutResultCallback;
32 import android.print.PrintDocumentAdapter.WriteResultCallback;
65 * by the {@link PrintDocumentAdapter} class. At a higher level the contract is that
75 * Print jobs are started by calling the {@link #print(String, PrintDocumentAdapter,
336 * Creates a print job for printing a {@link PrintDocumentAdapter} with
349 * Also the passed in {@link PrintDocumentAdapter} will be considered invalid if
373 public PrintJob print(String printJobName, PrintDocumentAdapter documentAdapter,
460 private PrintDocumentAdapter mDocumentAdapter; // Strong reference OK - cleared in finish
479 PrintDocumentAdapter documentAdapter) {
762 final PrintDocumentAdapter adapter
    [all...]
PrintDocumentInfo.java 33 * passed to the {@link PrintDocumentAdapter.LayoutResultCallback#onLayoutFinished(
34 * PrintDocumentInfo, boolean) PrintDocumentAdapter.LayoutResultCallback.onLayoutFinished(
36 * content which is performed in {@link PrintDocumentAdapter#onLayout(PrintAttributes,
37 * PrintAttributes, android.os.CancellationSignal, PrintDocumentAdapter.LayoutResultCallback,
38 * android.os.Bundle) PrintDocumentAdapter.onLayout(PrintAttributes,
40 * PrintDocumentAdapter.LayoutResultCallback, android.os.Bundle)}.
package.html 17 {@link android.print.PrintDocumentAdapter} which defines the contract between the system
PrintFileDocumentAdapter.java 47 public class PrintFileDocumentAdapter extends PrintDocumentAdapter {
PrintDocumentAdapter.java 109 public abstract class PrintDocumentAdapter {
255 * PrintDocumentAdapter#onWrite(PageRange[], ParcelFileDescriptor, CancellationSignal,
297 * PrintDocumentAdapter#onLayout(PrintAttributes, PrintAttributes,
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/printing/
PrintingControllerTest.java 11 import android.print.PrintDocumentAdapter;
89 PrintDocumentAdapter documentAdapter,
99 // {@link PrintDocumentAdapter#onStart} is always called first.
  /frameworks/support/v4/kitkat/android/support/v4/print/
PrintHelperKitkat.java 32 import android.print.PrintDocumentAdapter;
179 new PrintDocumentAdapter() {
289 PrintDocumentAdapter printDocumentAdapter = new PrintDocumentAdapter() {
445 printManager.print(jobName, printDocumentAdapter, attr);
  /packages/experimental/PrintApp/src/foo/bar/print/
PrintActivity.java 34 import android.print.PrintDocumentAdapter;
79 new PrintDocumentAdapter() {
  /cts/tests/src/android/webkit/cts/
WebViewOnUiThread.java 27 import android.print.PrintDocumentAdapter;
688 public PrintDocumentAdapter createPrintDocumentAdapter() {
689 return getValue(new ValueGetter<PrintDocumentAdapter>() {
691 public PrintDocumentAdapter capture() {
  /frameworks/base/core/java/android/webkit/
WebViewProvider.java 29 import android.print.PrintDocumentAdapter;
150 public PrintDocumentAdapter createPrintDocumentAdapter();
WebView.java 35 import android.print.PrintDocumentAdapter;
    [all...]
  /frameworks/base/docs/html/sdk/api_diff/19/changes/
android.webkit.WebView.html 87 <nobr><code>PrintDocumentAdapter</code>&nbsp;<A HREF="../../../../reference/android/webkit/WebView.html#createPrintDocumentAdapter()" target="_top"><code>createPrintDocumentAdapter</code></A>()</nobr>
  /cts/tests/tests/webkit/src/android/webkit/cts/
WebViewTest.java 45 import android.print.PrintDocumentAdapter;
46 import android.print.PrintDocumentAdapter.LayoutResultCallback;
47 import android.print.PrintDocumentAdapter.WriteResultCallback;
    [all...]
  /frameworks/base/docs/html/about/versions/
android-4.4.jd 199 <p>If you want to print content from your UI as a document, you need to first create a subclass of {@link android.print.PrintDocumentAdapter}. Within this class, you must implement a few callback methods, including {@link android.print.PrintDocumentAdapter#onLayout onLayout()} to establish your layout based on the provided printing properties, and {@link android.print.PrintDocumentAdapter#onWrite onWrite()} to serialize your printable content into a {@link android.os.ParcelFileDescriptor}. </p>
203 <p>Once you've defined your implementation for {@link android.print.PrintDocumentAdapter}, you can execute print jobs upon the user's request using the {@link android.print.PrintManager} method, {@link android.print.PrintManager#print print()}, which takes the {@link android.print.PrintDocumentAdapter} as one of its arguments.</p>
    [all...]

Completed in 1926 milliseconds

1 2