Searched refs:margins (Results 1 – 1 of 1) sorted by relevance
150 PrintAttributes.Margins margins = new PrintAttributes.Margins(50, 60, 70, 80); in getContentRectBigMargins() local151 PrintAttributes attr = new PrintAttributes.Builder().setMinMargins(margins) in getContentRectBigMargins()155 assertEquals(new Rect(milsToPts(margins.getLeftMils()), milsToPts(margins.getTopMils()), in getContentRectBigMargins()156 milsToPts(attr.getMediaSize().getWidthMils()) - milsToPts(margins.getRightMils()), in getContentRectBigMargins()158 milsToPts(margins.getBottomMils())), doc.getPageContentRect()); in getContentRectBigMargins()