Home
last modified time | relevance | path

Searched refs:getMediaSize (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DPdfManipulationService.java116 attributes.getMediaSize().getWidthMils()); in renderPage()
118 attributes.getMediaSize().getHeightMils()); in renderPage()
121 final boolean contentLandscape = !attributes.getMediaSize().isPortrait(); in renderPage()
284 final int dstWidthPts = pointsFromMils(attributes.getMediaSize().getWidthMils()); in applyPrintAttributes()
285 final int dstHeightPts = pointsFromMils(attributes.getMediaSize().getHeightMils()); in applyPrintAttributes()
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java297 !printAttributes[0].getMediaSize().equals( in addAndSelectPrinter()
336 !printAttributes[0].getMediaSize().equals( in addAndSelectPrinter()
365 !printAttributes[0].getMediaSize().equals( in addAndSelectPrinter()
/frameworks/base/core/java/android/print/pdf/
DPrintedPdfDocument.java84 MediaSize mediaSize = attributes.getMediaSize(); in PrintedPdfDocument()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java651 mSelectedPages, mPrintJob.getAttributes().getMediaSize(), in updatePrintPreviewController()
874 MediaSize oldMediaSize = currAttributes.getMediaSize(); in onAdvancedPrintOptionsActivityResult()
875 MediaSize newMediaSize = newAttributes.getMediaSize(); in onAdvancedPrintOptionsActivityResult()
878 MediaSize newMediaSizePortrait = newAttributes.getMediaSize().asPortrait(); in onAdvancedPrintOptionsActivityResult()
885 if (currAttributes.getMediaSize().isPortrait()) { in onAdvancedPrintOptionsActivityResult()
1183 MediaSize currMediaSize = attributes.getMediaSize(); in updatePrintAttributesFromCapabilities()
1186 attributes.setMediaSize(defaults.getMediaSize()); in updatePrintAttributesFromCapabilities()
1205 newMediaSize = defaults.getMediaSize(); in updatePrintAttributesFromCapabilities()
1709 MediaSize oldMediaSize = attributes.getMediaSize(); in updateOptionsUi()
1732 defaultAttributes.getMediaSize()), 0); in updateOptionsUi()
[all …]
/frameworks/base/core/java/android/print/
DPrintAttributes.java115 public @Nullable MediaSize getMediaSize() { in getMediaSize() method in PrintAttributes
273 attributes.setMediaSize(getMediaSize().asPortrait()); in asPortrait()
311 attributes.setMediaSize(getMediaSize().asLandscape()); in asLandscape()
/frameworks/base/core/java/com/android/internal/print/
DDumpUtils.java213 PrintAttributes.MediaSize mediaSize = attributes.getMediaSize(); in writePrintAttributes()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPrintSpoolerService.java1002 MediaSize mediaSize = attributes.getMediaSize(); in doWriteStateLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22858 method public android.print.PrintAttributes.MediaSize getMediaSize();
/frameworks/base/non-updatable-api/
Dcurrent.txt36400 method @Nullable public android.print.PrintAttributes.MediaSize getMediaSize();
/frameworks/base/api/
Dcurrent.txt36544 method @Nullable public android.print.PrintAttributes.MediaSize getMediaSize();