/frameworks/base/core/java/android/print/ |
PrintDocumentInfo.aidl | 19 parcelable PrintDocumentInfo;
|
ILayoutResultCallback.aidl | 20 import android.print.PrintDocumentInfo; 29 void onLayoutFinished(in PrintDocumentInfo info, boolean changed, int sequence);
|
PrintDocumentInfo.java | 41 * PrintDocumentInfo, boolean) PrintDocumentAdapter.LayoutResultCallback.onLayoutFinished( 42 * PrintDocumentInfo, boolean)} callback after successfully laying out the 63 * PrintDocumentInfo info = new PrintDocumentInfo 65 * .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT) 77 public final class PrintDocumentInfo implements Parcelable { 126 private PrintDocumentInfo() { 135 private PrintDocumentInfo(@NonNull PrintDocumentInfo prototype) { 147 private PrintDocumentInfo(Parcel parcel) [all...] |
PrintDocumentAdapter.java | 137 * LayoutResultCallback#onLayoutFinished(PrintDocumentInfo, boolean)} with 315 * @see PrintDocumentInfo 317 public void onLayoutFinished(PrintDocumentInfo info, boolean changed) {
|
PrintFileDocumentAdapter.java | 55 private final PrintDocumentInfo mDocumentInfo; 67 PrintDocumentInfo documentInfo) {
|
PrintJobInfo.java | 181 private PrintDocumentInfo mDocumentInfo; 244 mDocumentInfo = (PrintDocumentInfo) parcel.readParcelable(null); 546 public PrintDocumentInfo getDocumentInfo() { 557 public void setDocumentInfo(PrintDocumentInfo info) {
|
/frameworks/base/core/java/android/printservice/ |
PrintDocument.java | 23 import android.print.PrintDocumentInfo; 45 private final PrintDocumentInfo mInfo; 48 PrintDocumentInfo info) { 55 * Gets the {@link PrintDocumentInfo} that describes this document. 59 public @NonNull PrintDocumentInfo getInfo() {
|
/cts/tests/tests/print/src/android/print/cts/ |
ClassParametersTest.java | 22 import android.print.PrintDocumentInfo; 114 * Test that we cannot create PrintDocumentInfo with illegal parameters. 120 assertException(() -> new PrintDocumentInfo.Builder(null), 122 assertException(() -> new PrintDocumentInfo.Builder(""), 125 assertException(() -> new PrintDocumentInfo.Builder("doc").setPageCount(-2),
|
PrintDocumentAdapterContractTest.java | 35 import android.print.PrintDocumentInfo; 78 PrintDocumentInfo info = new PrintDocumentInfo.Builder(PRINT_JOB_NAME) 79 .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT) 203 PrintDocumentInfo info = new PrintDocumentInfo.Builder(PRINT_JOB_NAME) 204 .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT) 297 PrintDocumentInfo info = new PrintDocumentInfo.Builder(PRINT_JOB_NAME) 298 .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT [all...] |
PageRangeAdjustmentTest.java | 32 import android.print.PrintDocumentInfo; 104 PrintDocumentInfo info = new PrintDocumentInfo.Builder(PRINT_JOB_NAME) 105 .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT) 212 PrintDocumentInfo info = new PrintDocumentInfo.Builder(PRINT_JOB_NAME) 213 .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT) 332 PrintDocumentInfo info = new PrintDocumentInfo.Builder(PRINT_JOB_NAME) 333 .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT [all...] |
PrinterInfoTest.java | 32 import android.print.PrintDocumentInfo; 82 PrintDocumentInfo info = new PrintDocumentInfo.Builder(PRINT_JOB_NAME) 83 .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT)
|
PrinterCapabilitiesTest.java | 28 import android.print.PrintDocumentInfo; 194 PrintDocumentInfo info = new PrintDocumentInfo.Builder(PRINT_JOB_NAME) 195 .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT) 660 PrintDocumentInfo info = new PrintDocumentInfo.Builder(PRINT_JOB_NAME) [all...] |
CustomPrintOptionsTest.java | 28 import android.print.PrintDocumentInfo; 171 PrintDocumentInfo info = new PrintDocumentInfo.Builder(PRINT_JOB_NAME) 172 .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT)
|
PrintAttributesTest.java | 28 import android.print.PrintDocumentInfo; 238 PrintDocumentInfo info = new PrintDocumentInfo.Builder(PRINT_JOB_NAME) 239 .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT)
|
PrintServicesTest.java | 43 import android.print.PrintDocumentInfo; 109 PrintDocumentInfo info = new PrintDocumentInfo.Builder(PRINT_JOB_NAME) 110 .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT)
|
PrinterDiscoverySessionLifecycleTest.java | 30 import android.print.PrintDocumentInfo; 500 PrintDocumentInfo info = new PrintDocumentInfo.Builder(PRINT_JOB_NAME) 501 .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT)
|
PrintJobTest.java | 28 import android.print.PrintDocumentInfo; 92 PrintDocumentInfo info = new PrintDocumentInfo.Builder(PRINT_JOB_NAME) 93 .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT)
|
/frameworks/support/core-utils/kitkat/android/support/v4/print/ |
PrintHelperKitkat.java | 38 import android.print.PrintDocumentInfo; 257 PrintDocumentInfo info = new PrintDocumentInfo.Builder(jobName) 258 .setContentType(PrintDocumentInfo.CONTENT_TYPE_PHOTO) 472 PrintDocumentInfo info = new PrintDocumentInfo.Builder(jobName) 473 .setContentType(PrintDocumentInfo.CONTENT_TYPE_PHOTO) 532 PrintDocumentInfo info = new PrintDocumentInfo.Builder(jobName) 533 .setContentType(PrintDocumentInfo.CONTENT_TYPE_PHOTO [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
PrintCustomContent.java | 31 import android.print.PrintDocumentInfo; 116 private PrintDocumentInfo mDocumentInfo; 205 new AsyncTask<Void, Void, PrintDocumentInfo>() { 220 protected PrintDocumentInfo doInBackground(Void... params) { 264 PrintDocumentInfo info = new PrintDocumentInfo 266 .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT) 285 protected void onPostExecute(PrintDocumentInfo result) { 292 protected void onCancelled(PrintDocumentInfo result) {
|
/packages/experimental/PrintApp/src/foo/bar/permission2/ |
PrintActivity.java | 38 import android.print.PrintDocumentInfo; 148 PrintDocumentInfo info = new PrintDocumentInfo 150 .setContentType(PrintDocumentInfo
|
/packages/experimental/PrintApp/src/foo/bar/print/ |
PrintActivity.java | 37 import android.print.PrintDocumentInfo; 155 PrintDocumentInfo info = new PrintDocumentInfo 157 .setContentType(PrintDocumentInfo
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
RemotePrintDocument.java | 39 import android.print.PrintDocumentInfo; 99 != PrintDocumentInfo.PAGE_COUNT_UNKNOWN 516 public PrintDocumentInfo info; 769 private void handleOnLayoutFinished(PrintDocumentInfo info, 842 private boolean equalsIgnoreSize(PrintDocumentInfo lhs, PrintDocumentInfo rhs) { 915 PrintDocumentInfo info = (PrintDocumentInfo) message.obj; [all...] |
PageContentRepository.java | 35 import android.print.PrintDocumentInfo; 425 private int mPageCount = PrintDocumentInfo.PAGE_COUNT_UNKNOWN; 502 mPageCount = PrintDocumentInfo.PAGE_COUNT_UNKNOWN; 709 mPageCount = PrintDocumentInfo.PAGE_COUNT_UNKNOWN; 715 mPageCount = PrintDocumentInfo.PAGE_COUNT_UNKNOWN; [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
PrintPreviewController.java | 26 import android.print.PrintDocumentInfo; 272 if (mDocumentPageCount == PrintDocumentInfo.PAGE_COUNT_UNKNOWN) {
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
PageRangeUtils.java | 20 import android.print.PrintDocumentInfo; 404 && pageCount == PrintDocumentInfo.PAGE_COUNT_UNKNOWN) {
|