Home
last modified time | relevance | path

Searched refs:minMargins (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/print/pdf/
DPrintedPdfDocument.java93 Margins minMargins = attributes.getMinMargins(); in PrintedPdfDocument() local
94 final int marginLeft = (int) (((float) minMargins.getLeftMils() / MILS_PER_INCH) in PrintedPdfDocument()
96 final int marginTop = (int) (((float) minMargins.getTopMils() / MILS_PER_INCH) in PrintedPdfDocument()
98 final int marginRight = (int) (((float) minMargins.getRightMils() / MILS_PER_INCH) in PrintedPdfDocument()
100 final int marginBottom = (int) (((float) minMargins.getBottomMils() / MILS_PER_INCH) in PrintedPdfDocument()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DPdfManipulationService.java144 Margins minMargins = attributes.getMinMargins(); in renderPage() local
145 final int paddingLeftPts = pointsFromMils(minMargins.getLeftMils()); in renderPage()
146 final int paddingTopPts = pointsFromMils(minMargins.getTopMils()); in renderPage()
147 final int paddingRightPts = pointsFromMils(minMargins.getRightMils()); in renderPage()
148 final int paddingBottomPts = pointsFromMils(minMargins.getBottomMils()); in renderPage()
335 Margins minMargins = attributes.getMinMargins(); in applyPrintAttributes() local
336 final int paddingLeftPts = pointsFromMils(minMargins.getLeftMils()); in applyPrintAttributes()
337 final int paddingTopPts = pointsFromMils(minMargins.getTopMils()); in applyPrintAttributes()
338 final int paddingRightPts = pointsFromMils(minMargins.getRightMils()); in applyPrintAttributes()
339 final int paddingBottomPts = pointsFromMils(minMargins.getBottomMils()); in applyPrintAttributes()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPageContentView.java80 MediaSize mediaSize, Margins minMargins) { in init() argument
88 ? minMargins != null : !mMinMargins.equals(minMargins); in init()
98 mMinMargins = minMargins; in init()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintPreviewController.java133 Margins minMargins) { in onContentUpdated() argument
165 args.arg4 = minMargins; in onContentUpdated()
DPageAdapter.java206 int documentPageCount, MediaSize mediaSize, Margins minMargins) { in update() argument
243 if (mMinMargins == null || !mMinMargins.equals(minMargins)) { in update()
244 mMinMargins = minMargins; in update()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java343 MediaSize mediaSize, Margins minMargins) { in RenderSpec() argument
347 printAttributes.setMinMargins(minMargins); in RenderSpec()