Home
last modified time | relevance | path

Searched refs:POINTS_PER_INCH (Results 1 – 2 of 2) sorted by relevance

/packages/services/BuiltInPrintService/src/com/android/bips/
DImageToPdfTask.java42 private static final float POINTS_PER_INCH = 72; field in ImageToPdfTask
93 scale = Math.max(extent.height() / POINTS_PER_INCH * mDpi / mBitmap.getHeight(), in writeBitmapToPage()
94 extent.width() / POINTS_PER_INCH * mDpi / mBitmap.getWidth()); in writeBitmapToPage()
98 scale = Math.min(extent.height() / POINTS_PER_INCH * mDpi / mBitmap.getWidth(), in writeBitmapToPage()
99 extent.width() / POINTS_PER_INCH * mDpi / mBitmap.getHeight()); in writeBitmapToPage()
142 float targetWidth = (extent.width() / POINTS_PER_INCH * mDpi); in drawOptimized()
143 float targetHeight = (extent.height() / POINTS_PER_INCH * mDpi); in drawOptimized()
/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_mupdf.c58 const float POINTS_PER_INCH = MUPDF_DEFAULT_RESOLUTION; in _mupdf_get_hdr() local
59 zoom = (image_info->pdf_render_resolution) / POINTS_PER_INCH; in _mupdf_get_hdr()