ConvertUnit 110 android_webview/renderer/print_web_view_helper.cc ConvertUnit(page_params.page_size.width(), dpi, kPixelsPerInch), ConvertUnit 111 android_webview/renderer/print_web_view_helper.cc ConvertUnit(page_params.page_size.height(), dpi, kPixelsPerInch)); ConvertUnit 113 android_webview/renderer/print_web_view_helper.cc ConvertUnit(page_params.margin_top, dpi, kPixelsPerInch); ConvertUnit 114 android_webview/renderer/print_web_view_helper.cc int margin_right_in_pixels = ConvertUnit( ConvertUnit 118 android_webview/renderer/print_web_view_helper.cc int margin_bottom_in_pixels = ConvertUnit( ConvertUnit 122 android_webview/renderer/print_web_view_helper.cc int margin_left_in_pixels = ConvertUnit( ConvertUnit 150 android_webview/renderer/print_web_view_helper.cc ConvertUnit(new_content_width, kPixelsPerInch, dpi), ConvertUnit 151 android_webview/renderer/print_web_view_helper.cc ConvertUnit(new_content_height, kPixelsPerInch, dpi)); ConvertUnit 155 android_webview/renderer/print_web_view_helper.cc ConvertUnit(page_size_in_pixels.width, kPixelsPerInch, dpi), ConvertUnit 156 android_webview/renderer/print_web_view_helper.cc ConvertUnit(page_size_in_pixels.height, kPixelsPerInch, dpi)); ConvertUnit 165 android_webview/renderer/print_web_view_helper.cc ConvertUnit(margin_top_in_pixels, kPixelsPerInch, dpi); ConvertUnit 167 android_webview/renderer/print_web_view_helper.cc ConvertUnit(margin_left_in_pixels, kPixelsPerInch, dpi); ConvertUnit 221 android_webview/renderer/print_web_view_helper.cc ConvertUnit(content_width, dpi, kPointsPerInch); ConvertUnit 223 android_webview/renderer/print_web_view_helper.cc ConvertUnit(content_height, dpi, kPointsPerInch); ConvertUnit 225 android_webview/renderer/print_web_view_helper.cc ConvertUnit(params.margin_top, dpi, kPointsPerInch); ConvertUnit 227 android_webview/renderer/print_web_view_helper.cc ConvertUnit(margin_right, dpi, kPointsPerInch); ConvertUnit 229 android_webview/renderer/print_web_view_helper.cc ConvertUnit(margin_bottom, dpi, kPointsPerInch); ConvertUnit 231 android_webview/renderer/print_web_view_helper.cc ConvertUnit(params.margin_left, dpi, kPointsPerInch); ConvertUnit 259 android_webview/renderer/print_web_view_helper.cc ConvertUnit(print_params.content_size.width(), dpi, ConvertUnit 262 android_webview/renderer/print_web_view_helper.cc ConvertUnit(print_params.content_size.height(), dpi, ConvertUnit 266 android_webview/renderer/print_web_view_helper.cc ConvertUnit(print_params.printable_area.x(), dpi, ConvertUnit 269 android_webview/renderer/print_web_view_helper.cc ConvertUnit(print_params.printable_area.y(), dpi, ConvertUnit 272 android_webview/renderer/print_web_view_helper.cc ConvertUnit(print_params.printable_area.width(), dpi, ConvertUnit 275 android_webview/renderer/print_web_view_helper.cc ConvertUnit(print_params.printable_area.height(), ConvertUnit 279 android_webview/renderer/print_web_view_helper.cc ConvertUnit(print_params.page_size.width(), dpi, ConvertUnit 282 android_webview/renderer/print_web_view_helper.cc ConvertUnit(print_params.page_size.height(), dpi, ConvertUnit 1072 android_webview/renderer/print_web_view_helper.cc ConvertUnit(print_params.printable_area.x(), dpi, kPointsPerInch), ConvertUnit 1073 android_webview/renderer/print_web_view_helper.cc ConvertUnit(print_params.printable_area.y(), dpi, kPointsPerInch), ConvertUnit 1074 android_webview/renderer/print_web_view_helper.cc ConvertUnit(print_params.printable_area.width(), dpi, kPointsPerInch), ConvertUnit 1075 android_webview/renderer/print_web_view_helper.cc ConvertUnit(print_params.printable_area.height(), dpi, kPointsPerInch)); ConvertUnit 106 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(page_params.page_size.width(), dpi, kPixelsPerInch), ConvertUnit 107 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(page_params.page_size.height(), dpi, kPixelsPerInch)); ConvertUnit 109 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(page_params.margin_top, dpi, kPixelsPerInch); ConvertUnit 110 chrome/renderer/printing/print_web_view_helper.cc int margin_right_in_pixels = ConvertUnit( ConvertUnit 114 chrome/renderer/printing/print_web_view_helper.cc int margin_bottom_in_pixels = ConvertUnit( ConvertUnit 118 chrome/renderer/printing/print_web_view_helper.cc int margin_left_in_pixels = ConvertUnit( ConvertUnit 146 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(new_content_width, kPixelsPerInch, dpi), ConvertUnit 147 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(new_content_height, kPixelsPerInch, dpi)); ConvertUnit 151 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(page_size_in_pixels.width, kPixelsPerInch, dpi), ConvertUnit 152 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(page_size_in_pixels.height, kPixelsPerInch, dpi)); ConvertUnit 161 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(margin_top_in_pixels, kPixelsPerInch, dpi); ConvertUnit 163 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(margin_left_in_pixels, kPixelsPerInch, dpi); ConvertUnit 217 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(content_width, dpi, kPointsPerInch); ConvertUnit 219 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(content_height, dpi, kPointsPerInch); ConvertUnit 221 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(params.margin_top, dpi, kPointsPerInch); ConvertUnit 223 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(margin_right, dpi, kPointsPerInch); ConvertUnit 225 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(margin_bottom, dpi, kPointsPerInch); ConvertUnit 227 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(params.margin_left, dpi, kPointsPerInch); ConvertUnit 255 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(print_params.content_size.width(), dpi, ConvertUnit 258 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(print_params.content_size.height(), dpi, ConvertUnit 262 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(print_params.printable_area.x(), dpi, ConvertUnit 265 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(print_params.printable_area.y(), dpi, ConvertUnit 268 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(print_params.printable_area.width(), dpi, ConvertUnit 271 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(print_params.printable_area.height(), ConvertUnit 275 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(print_params.page_size.width(), dpi, ConvertUnit 278 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(print_params.page_size.height(), dpi, ConvertUnit 1086 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(print_params.printable_area.x(), dpi, kPointsPerInch), ConvertUnit 1087 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(print_params.printable_area.y(), dpi, kPointsPerInch), ConvertUnit 1088 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(print_params.printable_area.width(), dpi, kPointsPerInch), ConvertUnit 1089 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(print_params.printable_area.height(), dpi, kPointsPerInch)); ConvertUnit 20 content/browser/renderer_host/pepper/pepper_print_settings_manager.cc return printing::ConvertUnit(device_units, device_units_per_inch, ConvertUnit 1914 content/renderer/pepper/pepper_plugin_instance_impl.cc size_in_pixels.set_width(printing::ConvertUnit( ConvertUnit 1918 content/renderer/pepper/pepper_plugin_instance_impl.cc size_in_pixels.set_height(printing::ConvertUnit( ConvertUnit 150 printing/print_settings.cc header_footer_text_height = ConvertUnit(kSettingHeaderFooterInterstice, ConvertUnit 158 printing/print_settings.cc int margin_printer_units = ConvertUnit(1000, kHundrethsMMPerInch, ConvertUnit 36 printing/units.cc return ConvertUnit(milli_inch, 100, 254); ConvertUnit 40 printing/units.cc return ConvertUnit(cmm, 254, 100); ConvertUnit 44 printing/units.cc return ConvertUnit(pixels, kPixelsPerInch, kPointsPerInch); ConvertUnit 43 printing/units.h PRINTING_EXPORT int ConvertUnit(int value, int old_unit, int new_unit); ConvertUnit 12 printing/units_unittest.cc EXPECT_EQ(100, ConvertUnit(100, 100, 100)); ConvertUnit 13 printing/units_unittest.cc EXPECT_EQ(-100, ConvertUnit(-100, 100, 100)); ConvertUnit 14 printing/units_unittest.cc EXPECT_EQ(0, ConvertUnit(0, 100, 100)); ConvertUnit 15 printing/units_unittest.cc EXPECT_EQ(99, ConvertUnit(99, 100, 100)); ConvertUnit 16 printing/units_unittest.cc EXPECT_EQ(101, ConvertUnit(101, 100, 100)); ConvertUnit 17 printing/units_unittest.cc EXPECT_EQ(99900, ConvertUnit(999, 10, 1000)); ConvertUnit 18 printing/units_unittest.cc EXPECT_EQ(100100, ConvertUnit(1001, 10, 1000)); ConvertUnit 21 printing/units_unittest.cc EXPECT_EQ(10, ConvertUnit(999, 1000, 10)); ConvertUnit 22 printing/units_unittest.cc EXPECT_EQ(10, ConvertUnit(950, 1000, 10)); ConvertUnit 23 printing/units_unittest.cc EXPECT_EQ(9, ConvertUnit(949, 1000, 10)); ConvertUnit 24 printing/units_unittest.cc EXPECT_EQ(10, ConvertUnit(1001, 1000, 10)); ConvertUnit 25 printing/units_unittest.cc EXPECT_EQ(10, ConvertUnit(1049, 1000, 10)); ConvertUnit 26 printing/units_unittest.cc EXPECT_EQ(11, ConvertUnit(1050, 1000, 10)); ConvertUnit 27 printing/units_unittest.cc EXPECT_EQ(-10, ConvertUnit(-999, 1000, 10)); ConvertUnit 28 printing/units_unittest.cc EXPECT_EQ(-10, ConvertUnit(-950, 1000, 10)); ConvertUnit 29 printing/units_unittest.cc EXPECT_EQ(-9, ConvertUnit(-949, 1000, 10)); ConvertUnit 30 printing/units_unittest.cc EXPECT_EQ(-10, ConvertUnit(-1001, 1000, 10)); ConvertUnit 31 printing/units_unittest.cc EXPECT_EQ(-10, ConvertUnit(-1049, 1000, 10)); ConvertUnit 32 printing/units_unittest.cc EXPECT_EQ(-11, ConvertUnit(-1050, 1000, 10)); ConvertUnit 34 printing/units_unittest.cc EXPECT_EQ(0, ConvertUnit(2, 1000000000, 1)); ConvertUnit 35 printing/units_unittest.cc EXPECT_EQ(2000000000, ConvertUnit(2, 1, 1000000000)); ConvertUnit 37 printing/units_unittest.cc static_cast<unsigned int>(ConvertUnit(2, 1, 2000000000)));