Searched refs:MILS_PER_INCH (Results 1 – 2 of 2) sorted by relevance
66 private static final int MILS_PER_INCH = 1000; field in PrintedPdfDocument87 mPageWidth = (int) (((float) mediaSize.getWidthMils() / MILS_PER_INCH) in PrintedPdfDocument()89 mPageHeight = (int) (((float) mediaSize.getHeightMils() / MILS_PER_INCH) in PrintedPdfDocument()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()
57 private static final int MILS_PER_INCH = 1000; field in PdfManipulationService396 return (int) (((float) mils / MILS_PER_INCH) * POINTS_IN_INCH); in pointsFromMils()