Searched refs:getMediaSize (Results 1 – 9 of 9) sorted by relevance
116 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()
302 !printAttributes[0].getMediaSize().equals( in addAndSelectPrinter()341 !printAttributes[0].getMediaSize().equals( in addAndSelectPrinter()370 !printAttributes[0].getMediaSize().equals( in addAndSelectPrinter()
84 MediaSize mediaSize = attributes.getMediaSize(); in PrintedPdfDocument()
650 mSelectedPages, mPrintJob.getAttributes().getMediaSize(), in updatePrintPreviewController()873 MediaSize oldMediaSize = currAttributes.getMediaSize(); in onAdvancedPrintOptionsActivityResult()874 MediaSize newMediaSize = newAttributes.getMediaSize(); in onAdvancedPrintOptionsActivityResult()877 MediaSize newMediaSizePortrait = newAttributes.getMediaSize().asPortrait(); in onAdvancedPrintOptionsActivityResult()884 if (currAttributes.getMediaSize().isPortrait()) { in onAdvancedPrintOptionsActivityResult()1182 MediaSize currMediaSize = attributes.getMediaSize(); in updatePrintAttributesFromCapabilities()1185 attributes.setMediaSize(defaults.getMediaSize()); in updatePrintAttributesFromCapabilities()1204 newMediaSize = defaults.getMediaSize(); in updatePrintAttributesFromCapabilities()1708 MediaSize oldMediaSize = attributes.getMediaSize(); in updateOptionsUi()1731 defaultAttributes.getMediaSize()), 0); in updateOptionsUi()[all …]
115 public @Nullable MediaSize getMediaSize() { in getMediaSize() method in PrintAttributes273 attributes.setMediaSize(getMediaSize().asPortrait()); in asPortrait()311 attributes.setMediaSize(getMediaSize().asLandscape()); in asLandscape()
213 PrintAttributes.MediaSize mediaSize = attributes.getMediaSize(); in writePrintAttributes()
1002 MediaSize mediaSize = attributes.getMediaSize(); in doWriteStateLocked()
32884 method @Nullable public android.print.PrintAttributes.MediaSize getMediaSize();
22858 method public android.print.PrintAttributes.MediaSize getMediaSize();