Searched refs:MILS_PER_INCH (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/print/pdf/
H A DPrintedPdfDocument.java66 private static final int MILS_PER_INCH = 1000; field in class:PrintedPdfDocument
87 mPageWidth = (int) (((float) mediaSize.getWidthMils() / MILS_PER_INCH)
89 mPageHeight = (int) (((float) mediaSize.getHeightMils() / MILS_PER_INCH)
94 final int marginLeft = (int) (((float) minMargins.getLeftMils() / MILS_PER_INCH)
96 final int marginTop = (int) (((float) minMargins.getTopMils() / MILS_PER_INCH)
98 final int marginRight = (int) (((float) minMargins.getRightMils() / MILS_PER_INCH)
100 final int marginBottom = (int) (((float) minMargins.getBottomMils() / MILS_PER_INCH)
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DPdfManipulationService.java57 private static final int MILS_PER_INCH = 1000; field in class:PdfManipulationService
396 return (int) (((float) mils / MILS_PER_INCH) * POINTS_IN_INCH);

Completed in 62 milliseconds