ConvertUnitDouble 20 android_webview/native/aw_pdf_exporter.cc using printing::ConvertUnitDouble; ConvertUnitDouble 60 android_webview/native/aw_pdf_exporter.cc return static_cast<int>(ConvertUnitDouble(val, 1000.0, dpi)); ConvertUnitDouble 139 chrome/renderer/printing/print_web_view_helper_win.cc static_cast<int>(ConvertUnitDouble(page_size.width(), kPointsPerInch, ConvertUnitDouble 141 chrome/renderer/printing/print_web_view_helper_win.cc static_cast<int>(ConvertUnitDouble(page_size.height(), kPointsPerInch, ConvertUnitDouble 147 chrome/renderer/printing/print_web_view_helper_win.cc static_cast<int>(ConvertUnitDouble(content_area.x(), kPointsPerInch, ConvertUnitDouble 149 chrome/renderer/printing/print_web_view_helper_win.cc static_cast<int>(ConvertUnitDouble(content_area.y(), kPointsPerInch, ConvertUnitDouble 151 chrome/renderer/printing/print_web_view_helper_win.cc static_cast<int>(ConvertUnitDouble(content_area.width(), kPointsPerInch, ConvertUnitDouble 153 chrome/renderer/printing/print_web_view_helper_win.cc static_cast<int>(ConvertUnitDouble(content_area.height(), ConvertUnitDouble 181 printing/print_settings.cc margins.top = ConvertUnitDouble( ConvertUnitDouble 185 printing/print_settings.cc margins.bottom = ConvertUnitDouble( ConvertUnitDouble 189 printing/print_settings.cc margins.left = ConvertUnitDouble( ConvertUnitDouble 193 printing/print_settings.cc margins.right = ConvertUnitDouble( ConvertUnitDouble 129 printing/printing_context_android.cc width = Round(ConvertUnitDouble(width, kInchToMil, 1.0) * dpi); ConvertUnitDouble 130 printing/printing_context_android.cc height = Round(ConvertUnitDouble(height, kInchToMil, 1.0) * dpi); ConvertUnitDouble 48 printing/units.cc return ConvertUnitDouble(pixels, kPixelsPerInch, kPointsPerInch); ConvertUnitDouble 52 printing/units.cc return ConvertUnitDouble(points, kPointsPerInch, kPixelsPerInch); ConvertUnitDouble 46 printing/units.h PRINTING_EXPORT double ConvertUnitDouble(double value, double old_unit, ConvertUnitDouble 39 printing/units_unittest.cc EXPECT_EQ(100, ConvertUnitDouble(100, 100, 100)); ConvertUnitDouble 40 printing/units_unittest.cc EXPECT_EQ(-100, ConvertUnitDouble(-100, 100, 100)); ConvertUnitDouble 41 printing/units_unittest.cc EXPECT_EQ(0, ConvertUnitDouble(0, 100, 100)); ConvertUnitDouble 42 printing/units_unittest.cc EXPECT_DOUBLE_EQ(0.000002, ConvertUnitDouble(2, 1000, 0.001)); ConvertUnitDouble 43 printing/units_unittest.cc EXPECT_EQ(2000000, ConvertUnitDouble(2, 0.001, 1000));