Home
last modified time | relevance | path

Searched refs:minMargins (Results 1 – 7 of 7) 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/core/java/com/android/internal/print/
DDumpUtils.java224 PrintAttributes.Margins minMargins = attributes.getMinMargins(); in writePrintAttributes() local
225 if (minMargins != null) { in writePrintAttributes()
226 writeMargins(proto, "min_margings", PrintAttributesProto.MIN_MARGINS, minMargins); in writePrintAttributes()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintPreviewController.java133 Margins minMargins) { in onContentUpdated() argument
165 args.arg4 = minMargins; in onContentUpdated()
DPageAdapter.java209 int documentPageCount, MediaSize mediaSize, Margins minMargins) { in update() argument
246 if (mMinMargins == null || !mMinMargins.equals(minMargins)) { in update()
247 mMinMargins = minMargins; in update()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java366 MediaSize mediaSize, Margins minMargins) { in RenderSpec() argument
370 printAttributes.setMinMargins(minMargins); in RenderSpec()