Searched refs:minMargins (Results 1 – 6 of 6) sorted by relevance
93 Margins minMargins = attributes.getMinMargins(); in PrintedPdfDocument() local94 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()
144 Margins minMargins = attributes.getMinMargins(); in renderPage() local145 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() local336 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()
80 MediaSize mediaSize, Margins minMargins) { in init() argument88 ? minMargins != null : !mMinMargins.equals(minMargins); in init()98 mMinMargins = minMargins; in init()
133 Margins minMargins) { in onContentUpdated() argument165 args.arg4 = minMargins; in onContentUpdated()
206 int documentPageCount, MediaSize mediaSize, Margins minMargins) { in update() argument243 if (mMinMargins == null || !mMinMargins.equals(minMargins)) { in update()244 mMinMargins = minMargins; in update()
343 MediaSize mediaSize, Margins minMargins) { in RenderSpec() argument347 printAttributes.setMinMargins(minMargins); in RenderSpec()