/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/ |
D | WorkflowTest.java | 26 import android.print.PrintAttributes; 66 private PrintAttributes.MediaSize mFirst; 68 private PrintAttributes.MediaSize mSecond; 70 public WorkflowTest(PrintAttributes.MediaSize first, boolean selectPrinter, in WorkflowTest() 71 PrintAttributes.MediaSize second) { in WorkflowTest() 102 String name, PrintAttributes.MediaSize mediaSize) { in addPrinter() 111 builder.setMinMargins(new PrintAttributes.Margins(0, 0, 0, 0)) in addPrinter() 112 .setColorModes(PrintAttributes.COLOR_MODE_COLOR, in addPrinter() 113 PrintAttributes.COLOR_MODE_COLOR) in addPrinter() 115 .addResolution(new PrintAttributes.Resolution("300x300", "300x300", 300, 300), in addPrinter() [all …]
|
/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 | PrintAttributes.java | 49 public final class PrintAttributes implements Parcelable { class 92 PrintAttributes() { in PrintAttributes() method in PrintAttributes 96 private PrintAttributes(@NonNull Parcel parcel) { in PrintAttributes() method in PrintAttributes 265 public PrintAttributes asPortrait() { in asPortrait() 270 PrintAttributes attributes = new PrintAttributes(); in asPortrait() 303 public PrintAttributes asLandscape() { in asLandscape() 308 PrintAttributes attributes = new PrintAttributes(); in asLandscape() 383 PrintAttributes other = (PrintAttributes) obj; in equals() 445 public void copyFrom(PrintAttributes other) { in copyFrom() 1393 private final PrintAttributes mAttributes = new PrintAttributes(); [all …]
|
D | IPrintDocumentAdapter.aidl | 25 import android.print.PrintAttributes; 35 void layout(in PrintAttributes oldAttributes, in PrintAttributes newAttributes, in layout()
|
D | PrintDocumentAdapter.java | 187 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 | 185 private PrintAttributes mAttributes; 250 mAttributes = (PrintAttributes) parcel.readParcelable(null); in PrintJobInfo() 531 public @NonNull PrintAttributes getAttributes() { in getAttributes() 542 public void setAttributes(PrintAttributes attributes) { in setAttributes() 811 public void setAttributes(@NonNull PrintAttributes attributes) { in setAttributes()
|
D | PrintFileDocumentAdapter.java | 82 public void onLayout(PrintAttributes oldAttributes, PrintAttributes newAttributes, in onLayout()
|
D | PrintAttributes.aidl | 19 parcelable PrintAttributes;
|
D | PrintManager.java | 512 @Nullable PrintAttributes attributes) { in print() 847 public void layout(PrintAttributes oldAttributes, PrintAttributes newAttributes, in layout() 1041 PrintAttributes oldAttributes = (PrintAttributes) args.arg2; in handleMessage() 1042 PrintAttributes newAttributes = (PrintAttributes) args.arg3; in handleMessage()
|
D | IPrintSpooler.aidl | 26 import android.print.PrintAttributes;
|
/frameworks/base/core/java/com/android/internal/print/ |
D | DumpUtils.java | 24 import android.print.PrintAttributes; 92 if ((cap.getColorModes() & PrintAttributes.COLOR_MODE_MONOCHROME) != 0) { in writePrinterCapabilities() 96 if ((cap.getColorModes() & PrintAttributes.COLOR_MODE_COLOR) != 0) { in writePrinterCapabilities() 101 if ((cap.getDuplexModes() & PrintAttributes.DUPLEX_MODE_NONE) != 0) { in writePrinterCapabilities() 105 if ((cap.getDuplexModes() & PrintAttributes.DUPLEX_MODE_LONG_EDGE) != 0) { in writePrinterCapabilities() 109 if ((cap.getDuplexModes() & PrintAttributes.DUPLEX_MODE_SHORT_EDGE) != 0) { in writePrinterCapabilities() 154 String idName, long id, @NonNull PrintAttributes.MediaSize mediaSize) { in writeMediaSize() 172 @NonNull PrintAttributes.Resolution res) { in writeResolution() 190 @NonNull PrintAttributes.Margins margins) { in writeMargins() 210 @NonNull PrintAttributes attributes) { in writePrintAttributes() [all …]
|
/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 | 36 import android.print.PrintAttributes; 206 public boolean update(PrintAttributes attributes, PageRange[] pages, boolean preview) { in update() 239 PrintAttributes oldAttributes = mDocumentInfo.attributes != null in update() 240 ? mDocumentInfo.attributes : new PrintAttributes.Builder().build(); in update() 507 final PrintAttributes attributes = new PrintAttributes.Builder().build(); 511 public void update(PrintAttributes attributes, boolean preview, in update() 524 public boolean hasSameConstraints(PrintAttributes attributes, boolean preview) { in hasSameConstraints() 530 public PrintAttributes attributes; 725 private final PrintAttributes mOldAttributes = new PrintAttributes.Builder().build(); 726 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 | 46 import android.print.PrintAttributes; 47 import android.print.PrintAttributes.Margins; 48 import android.print.PrintAttributes.MediaSize; 49 import android.print.PrintAttributes.Resolution; 990 PrintAttributes attributes = printJob.getAttributes(); in doWriteStateLocked() 1250 PrintAttributes.Builder builder = new PrintAttributes.Builder(); in parsePrintJobLocked()
|
/frameworks/base/core/tests/coretests/src/android/print/ |
D | IPrintManagerParametersTest.java | 35 import android.print.PrintAttributes.Margins; 36 import android.print.PrintAttributes.MediaSize; 37 import android.print.PrintAttributes.Resolution; 99 public void onLayout(PrintAttributes oldAttributes, PrintAttributes newAttributes, in createMockAdapter() 142 PrintAttributes.COLOR_MODE_COLOR, 143 PrintAttributes.COLOR_MODE_COLOR) 207 mGoodPrintJob = print(createMockAdapter(), (PrintAttributes) null);
|
/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; 291 mPrintJob.setAttributes(new PrintAttributes.Builder().build()); in onCreate() 869 PrintAttributes currAttributes = mPrintJob.getAttributes(); in onAdvancedPrintOptionsActivityResult() 870 PrintAttributes newAttributes = printJobInfo.getAttributes(); in onAdvancedPrintOptionsActivityResult() 1174 PrintAttributes defaults = capabilities.getDefaults(); in updatePrintAttributesFromCapabilities() 1180 PrintAttributes attributes = mPrintJob.getAttributes(); in updatePrintAttributesFromCapabilities() 1679 PrintAttributes defaultAttributes = capabilities.getDefaults(); in updateOptionsUi() 1691 PrintAttributes attributes = mPrintJob.getAttributes(); in updateOptionsUi() [all …]
|
D | PrintPreviewController.java | 24 import android.print.PrintAttributes.MediaSize; 25 import android.print.PrintAttributes.Margins;
|
D | PageAdapter.java | 28 import android.print.PrintAttributes.Margins; 29 import android.print.PrintAttributes.MediaSize;
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
D | MediaSizeUtils.java | 23 import android.print.PrintAttributes.MediaSize;
|