Home
last modified time | relevance | path

Searched refs:getMediaSize (Results 1 – 11 of 11) 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.java369 !printAttributes[0].getMediaSize().equals( in addAndSelectPrinter()
408 !printAttributes[0].getMediaSize().equals( in addAndSelectPrinter()
436 !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.java626 mSelectedPages, mPrintJob.getAttributes().getMediaSize(), in updatePrintPreviewController()
837 MediaSize oldMediaSize = currAttributes.getMediaSize(); in onAdvancedPrintOptionsActivityResult()
838 MediaSize newMediaSize = newAttributes.getMediaSize(); in onAdvancedPrintOptionsActivityResult()
841 MediaSize newMediaSizePortrait = newAttributes.getMediaSize().asPortrait(); in onAdvancedPrintOptionsActivityResult()
848 if (currAttributes.getMediaSize().isPortrait()) { in onAdvancedPrintOptionsActivityResult()
1146 MediaSize currMediaSize = attributes.getMediaSize(); in updatePrintAttributesFromCapabilities()
1149 attributes.setMediaSize(defaults.getMediaSize()); in updatePrintAttributesFromCapabilities()
1168 newMediaSize = defaults.getMediaSize(); in updatePrintAttributesFromCapabilities()
1672 MediaSize oldMediaSize = attributes.getMediaSize(); in updateOptionsUi()
1695 defaultAttributes.getMediaSize()), 0); in updateOptionsUi()
[all …]
/frameworks/base/core/java/android/print/
DPrintAttributes.java111 public @Nullable MediaSize getMediaSize() { in getMediaSize() method in PrintAttributes
269 attributes.setMediaSize(getMediaSize().asPortrait()); in asPortrait()
307 attributes.setMediaSize(getMediaSize().asLandscape()); in asLandscape()
/frameworks/support/core-utils/java/android/support/v4/print/
DPrintHelper.java329 .setMediaSize(other.getMediaSize()) in copyAttributes()
646 mediaSize = mAttributes.getMediaSize(); in printBitmap()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPrintSpoolerService.java959 MediaSize mediaSize = attributes.getMediaSize(); in doWriteStateLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22858 method public android.print.PrintAttributes.MediaSize getMediaSize();
/frameworks/base/api/
Dcurrent.txt32382 method public android.print.PrintAttributes.MediaSize getMediaSize();
Dtest-current.txt32568 method public android.print.PrintAttributes.MediaSize getMediaSize();
Dsystem-current.txt35252 method public android.print.PrintAttributes.MediaSize getMediaSize();