/frameworks/support/core-utils/java/android/support/v4/print/ |
D | PrintHelper.java | 36 import android.print.PrintAttributes; 69 public static final int COLOR_MODE_MONOCHROME = PrintAttributes.COLOR_MODE_MONOCHROME; 74 public static final int COLOR_MODE_COLOR = PrintAttributes.COLOR_MODE_COLOR; 327 protected PrintAttributes.Builder copyAttributes(PrintAttributes other) { in copyAttributes() 328 PrintAttributes.Builder b = (new PrintAttributes.Builder()) in copyAttributes() 357 PrintAttributes.MediaSize mediaSize; in printBitmap() 359 mediaSize = PrintAttributes.MediaSize.UNKNOWN_PORTRAIT; in printBitmap() 361 mediaSize = PrintAttributes.MediaSize.UNKNOWN_LANDSCAPE; in printBitmap() 363 PrintAttributes attr = new PrintAttributes.Builder() in printBitmap() 370 private PrintAttributes mAttributes; in printBitmap() [all …]
|
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/ |
D | WorkflowTest.java | 24 import android.print.PrintAttributes; 70 private PrintAttributes.MediaSize mFirst; 72 private PrintAttributes.MediaSize mSecond; 74 public WorkflowTest(PrintAttributes.MediaSize first, boolean selectPrinter, in WorkflowTest() 75 PrintAttributes.MediaSize second) { in WorkflowTest() 174 String name, PrintAttributes.MediaSize mediaSize) { in addPrinter() 183 builder.setMinMargins(new PrintAttributes.Margins(0, 0, 0, 0)) in addPrinter() 184 .setColorModes(PrintAttributes.COLOR_MODE_COLOR, in addPrinter() 185 PrintAttributes.COLOR_MODE_COLOR) in addPrinter() 187 .addResolution(new PrintAttributes.Resolution("300x300", "300x300", 300, 300), in addPrinter() [all …]
|
D | BasePrintTest.java | 25 import android.print.PrintAttributes; 110 final PrintAttributes attributes) { in print()
|
/frameworks/base/core/java/android/print/ |
D | PrinterCapabilitiesInfo.java | 22 import android.print.PrintAttributes.ColorMode; 23 import android.print.PrintAttributes.DuplexMode; 24 import android.print.PrintAttributes.Margins; 25 import android.print.PrintAttributes.MediaSize; 26 import android.print.PrintAttributes.Resolution; 182 public @NonNull PrintAttributes getDefaults() { in getDefaults() 183 PrintAttributes.Builder builder = new PrintAttributes.Builder(); in getDefaults() 232 (currentMode) -> PrintAttributes.enforceValidColorMode(currentMode)); in PrinterCapabilitiesInfo() 236 (currentMode) -> PrintAttributes.enforceValidDuplexMode(currentMode)); in PrinterCapabilitiesInfo() 341 builder.append(PrintAttributes.colorModeToString(colorMode)); in colorModesToString() [all …]
|
D | IPrintDocumentAdapter.aidl | 25 import android.print.PrintAttributes; 35 void layout(in PrintAttributes oldAttributes, in PrintAttributes newAttributes, in layout()
|
D | PrintAttributes.java | 48 public final class PrintAttributes implements Parcelable { class 88 PrintAttributes() { in PrintAttributes() method in PrintAttributes 92 private PrintAttributes(@NonNull Parcel parcel) { in PrintAttributes() method in PrintAttributes 261 public PrintAttributes asPortrait() { in asPortrait() 266 PrintAttributes attributes = new PrintAttributes(); in asPortrait() 299 public PrintAttributes asLandscape() { in asLandscape() 304 PrintAttributes attributes = new PrintAttributes(); in asLandscape() 379 PrintAttributes other = (PrintAttributes) obj; in equals() 441 public void copyFrom(PrintAttributes other) { in copyFrom() 1389 private final PrintAttributes mAttributes = new PrintAttributes(); [all …]
|
D | PrintDocumentAdapter.java | 186 public abstract void onLayout(PrintAttributes oldAttributes, PrintAttributes newAttributes, in onLayout()
|
D | IPrintManager.aidl | 30 import android.print.PrintAttributes; 43 in PrintAttributes attributes, String packageName, int appId, int userId); in print()
|
D | PrintJobInfo.java | 178 private PrintAttributes mAttributes; 243 mAttributes = (PrintAttributes) parcel.readParcelable(null); in PrintJobInfo() 524 public @NonNull PrintAttributes getAttributes() { in getAttributes() 535 public void setAttributes(PrintAttributes attributes) { in setAttributes() 793 public void setAttributes(@NonNull PrintAttributes attributes) { in setAttributes()
|
D | PrintFileDocumentAdapter.java | 80 public void onLayout(PrintAttributes oldAttributes, PrintAttributes newAttributes, in onLayout()
|
D | PrintAttributes.aidl | 19 parcelable PrintAttributes;
|
D | PrintManager.java | 507 @Nullable PrintAttributes attributes) { in print() 842 public void layout(PrintAttributes oldAttributes, PrintAttributes newAttributes, in layout() 1036 PrintAttributes oldAttributes = (PrintAttributes) args.arg2; in handleMessage() 1037 PrintAttributes newAttributes = (PrintAttributes) args.arg3; in handleMessage()
|
D | IPrintSpooler.aidl | 26 import android.print.PrintAttributes;
|
/frameworks/base/core/java/android/print/pdf/ |
D | PrintedPdfDocument.java | 24 import android.print.PrintAttributes; 25 import android.print.PrintAttributes.Margins; 26 import android.print.PrintAttributes.MediaSize; 83 public PrintedPdfDocument(@NonNull Context context, @NonNull PrintAttributes attributes) { in PrintedPdfDocument()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
D | IPdfEditor.aidl | 21 import android.print.PrintAttributes; 29 void applyPrintAttributes(in PrintAttributes attributes); in applyPrintAttributes()
|
D | IPdfRenderer.aidl | 22 import android.print.PrintAttributes; 30 in PrintAttributes attributes, in ParcelFileDescriptor destination); in renderPage()
|
D | PdfManipulationService.java | 32 import android.print.PrintAttributes; 33 import android.print.PrintAttributes.Margins; 106 PrintAttributes attributes, ParcelFileDescriptor destination) { in renderPage() 269 public void applyPrintAttributes(PrintAttributes attributes) { in applyPrintAttributes()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | RemotePrintDocument.java | 37 import android.print.PrintAttributes; 201 public boolean update(PrintAttributes attributes, PageRange[] pages, boolean preview) { in update() 228 PrintAttributes oldAttributes = mDocumentInfo.attributes != null in update() 229 ? mDocumentInfo.attributes : new PrintAttributes.Builder().build(); in update() 496 final PrintAttributes attributes = new PrintAttributes.Builder().build(); 500 public void update(PrintAttributes attributes, boolean preview, in update() 513 public boolean hasSameConstraints(PrintAttributes attributes, boolean preview) { in hasSameConstraints() 519 public PrintAttributes attributes; 729 private final PrintAttributes mOldAttributes = new PrintAttributes.Builder().build(); 730 private final PrintAttributes mNewAttributes = new PrintAttributes.Builder().build(); [all …]
|
D | PageContentRepository.java | 35 import android.print.PrintAttributes; 36 import android.print.PrintAttributes.Margins; 37 import android.print.PrintAttributes.MediaSize; 363 final PrintAttributes printAttributes = new PrintAttributes.Builder().build();
|
D | PrintSpoolerService.java | 38 import android.print.PrintAttributes; 39 import android.print.PrintAttributes.Margins; 40 import android.print.PrintAttributes.MediaSize; 41 import android.print.PrintAttributes.Resolution; 947 PrintAttributes attributes = printJob.getAttributes(); in doWriteStateLocked() 1207 PrintAttributes.Builder builder = new PrintAttributes.Builder(); in parsePrintJob()
|
/frameworks/base/core/tests/coretests/src/android/print/ |
D | IPrintManagerParametersTest.java | 30 import android.print.PrintAttributes.Margins; 31 import android.print.PrintAttributes.MediaSize; 32 import android.print.PrintAttributes.Resolution; 97 public void onLayout(PrintAttributes oldAttributes, PrintAttributes newAttributes, in createMockAdapter() 140 PrintAttributes.COLOR_MODE_COLOR, 141 PrintAttributes.COLOR_MODE_COLOR)
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PageContentView.java | 22 import android.print.PrintAttributes.MediaSize; 23 import android.print.PrintAttributes.Margins;
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrintActivity.java | 52 import android.print.PrintAttributes; 53 import android.print.PrintAttributes.MediaSize; 54 import android.print.PrintAttributes.Resolution; 277 mPrintJob.setAttributes(new PrintAttributes.Builder().build()); in onCreate() 832 PrintAttributes currAttributes = mPrintJob.getAttributes(); in onAdvancedPrintOptionsActivityResult() 833 PrintAttributes newAttributes = printJobInfo.getAttributes(); in onAdvancedPrintOptionsActivityResult() 1137 PrintAttributes defaults = capabilities.getDefaults(); in updatePrintAttributesFromCapabilities() 1143 PrintAttributes attributes = mPrintJob.getAttributes(); in updatePrintAttributesFromCapabilities() 1642 PrintAttributes defaultAttributes = capabilities.getDefaults(); in updateOptionsUi() 1654 PrintAttributes attributes = mPrintJob.getAttributes(); in updateOptionsUi() [all …]
|
D | PrintPreviewController.java | 24 import android.print.PrintAttributes.MediaSize; 25 import android.print.PrintAttributes.Margins;
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
D | MediaSizeUtils.java | 23 import android.print.PrintAttributes.MediaSize;
|