/external/chromium_org/printing/ |
D | page_setup_unittest.cc | 31 gfx::Rect printable_area(rand() % kMax, rand() % kMax, 0, 0); in TEST() local 32 printable_area.set_width(page_size.width() - (rand() % kMax) - in TEST() 33 printable_area.x()); in TEST() 34 printable_area.set_height(page_size.height() - (rand() % kMax) - in TEST() 35 printable_area.y()); in TEST() 40 setup.Init(page_size, printable_area, kTextHeight); in TEST() 44 effective_margins.header = std::max(margins.header, printable_area.y()); in TEST() 45 effective_margins.left = std::max(margins.left, printable_area.x()); in TEST() 50 printable_area.bottom()); in TEST() 53 printable_area.right()); in TEST() [all …]
|
D | page_setup.cc | 67 const gfx::Rect& printable_area, in Init() argument 69 DCHECK_LE(printable_area.right(), physical_size.width()); in Init() 73 DCHECK_GE(printable_area.x(), 0); in Init() 74 DCHECK_GE(printable_area.y(), 0); in Init() 77 printable_area_ = printable_area; in Init()
|
D | page_setup.h | 46 void Init(const gfx::Size& physical_size, const gfx::Rect& printable_area, 61 const gfx::Rect& printable_area() const { return printable_area_; } in printable_area() function
|
D | printed_document_win.cc | 68 content_area.x() - page_setup.printable_area().x(), in RenderPrintedPage() 69 content_area.y() - page_setup.printable_area().y(), in RenderPrintedPage()
|
D | printing_context_no_system_dialog.cc | 47 gfx::Rect printable_area(0, 0, physical_size.width(), physical_size.height()); in UseDefaultSettings() local 49 settings_.SetPrinterPrintableArea(physical_size, printable_area, true); in UseDefaultSettings()
|
D | print_settings_conversion.cc | 246 SetRectToJobSettings("printable_area", page_setup.printable_area(), debug); in PrintSettingsToJobSettingsDebug()
|
/external/chromium_org/ppapi/tests/ |
D | test_printing.cc | 61 ASSERT_TRUE(g_print_settings.printable_area.point.x < 200); in TestGetDefaultPrintSettings() 62 ASSERT_TRUE(g_print_settings.printable_area.point.y < 200); in TestGetDefaultPrintSettings() 63 ASSERT_TRUE(g_print_settings.printable_area.size.width < 2000); in TestGetDefaultPrintSettings() 64 ASSERT_TRUE(g_print_settings.printable_area.size.height < 2000); in TestGetDefaultPrintSettings()
|
/external/chromium_org/android_webview/browser/renderer_host/ |
D | print_manager.cc | 94 params->printable_area.SetRect( in RenderParamsFromPrintSettings() 95 settings.page_setup_device_units().printable_area().x(), in RenderParamsFromPrintSettings() 96 settings.page_setup_device_units().printable_area().y(), in RenderParamsFromPrintSettings() 97 settings.page_setup_device_units().printable_area().width(), in RenderParamsFromPrintSettings() 98 settings.page_setup_device_units().printable_area().height()); in RenderParamsFromPrintSettings()
|
/external/chromium_org/android_webview/common/ |
D | print_messages.cc | 16 printable_area(), in PrintMsg_Print_Params() 42 printable_area = gfx::Rect(); in Reset()
|
D | print_messages.h | 34 gfx::Rect printable_area; member 92 IPC_STRUCT_TRAITS_MEMBER(printable_area)
|
/external/chromium_org/chrome/common/ |
D | print_messages.cc | 14 printable_area(), in PrintMsg_Print_Params() 40 printable_area = gfx::Rect(); in Reset()
|
D | print_messages.h | 32 gfx::Rect printable_area; member 92 IPC_STRUCT_TRAITS_MEMBER(printable_area)
|
/external/chromium_org/chrome/browser/ui/webui/print_preview/ |
D | print_preview_ui.cc | 486 const PageSizeMargins& page_layout, const gfx::Rect& printable_area, in OnDidGetDefaultPageLayout() argument 491 printable_area.width() <= 0 || printable_area.height() <= 0) { in OnDidGetDefaultPageLayout() 503 layout.SetInteger(printing::kSettingPrintableAreaX, printable_area.x()); in OnDidGetDefaultPageLayout() 504 layout.SetInteger(printing::kSettingPrintableAreaY, printable_area.y()); in OnDidGetDefaultPageLayout() 506 printable_area.width()); in OnDidGetDefaultPageLayout() 508 printable_area.height()); in OnDidGetDefaultPageLayout()
|
D | print_preview_ui.h | 94 const gfx::Rect& printable_area,
|
/external/chromium_org/ppapi/proxy/ |
D | printing_resource_unittest.cc | 85 EXPECT_TRUE(PP_RectEqual(reply_settings.printable_area, in TEST_F() 86 output_settings.printable_area)); in TEST_F()
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
D | pepper_print_settings_manager.cc | 65 settings.printable_area = PrintAreaToPPPrintArea(page_setup.printable_area(), in ComputeDefaultPrintSettings()
|
D | pepper_printing_host_unittest.cc | 110 EXPECT_TRUE(PP_RectEqual(expected_settings.printable_area, in TEST_F() 111 actual_settings.printable_area)); in TEST_F()
|
/external/chromium_org/chrome/browser/printing/ |
D | printing_message_filter.cc | 64 params->printable_area.SetRect( in RenderParamsFromPrintSettings() 65 settings.page_setup_device_units().printable_area().x(), in RenderParamsFromPrintSettings() 66 settings.page_setup_device_units().printable_area().y(), in RenderParamsFromPrintSettings() 67 settings.page_setup_device_units().printable_area().width(), in RenderParamsFromPrintSettings() 68 settings.page_setup_device_units().printable_area().height()); in RenderParamsFromPrintSettings()
|
D | print_dialog_cloud.cc | 445 default_settings.printable_area = gfx::Rect(0, 0, kWidth, kHeight); in HandleSetPageParameters()
|
/external/chromium_org/ppapi/c/dev/ |
D | pp_print_settings_dev.h | 60 struct PP_Rect printable_area; member
|
/external/chromium_org/chrome/renderer/printing/ |
D | mock_printer.cc | 117 printable_area_ = params.printable_area; in SetDefaultPrintSettings() 157 settings->params.printable_area = printable_area_; in ScriptedPrint() 304 params->printable_area = printable_area_; in SetPrintParams()
|
D | print_web_view_helper.cc | 91 !params.printable_area.IsEmpty() && params.document_cookie && in PrintMsg_Print_Params_IsValid() 240 page_params->printable_area.set_size( in EnsureOrientationMatches() 241 gfx::Size(page_params->printable_area.height(), in EnsureOrientationMatches() 242 page_params->printable_area.width())); in EnsureOrientationMatches() 260 ConvertUnit(print_params.printable_area.x(), dpi, in ComputeWebKitPrintParamsInDesiredDpi() 263 ConvertUnit(print_params.printable_area.y(), dpi, in ComputeWebKitPrintParamsInDesiredDpi() 266 ConvertUnit(print_params.printable_area.width(), dpi, in ComputeWebKitPrintParamsInDesiredDpi() 269 ConvertUnit(print_params.printable_area.height(), in ComputeWebKitPrintParamsInDesiredDpi() 927 print_params.printable_area = gfx::Rect(print_params.page_size); in OnPrintForPrintPreview() 1112 ConvertUnit(print_params.printable_area.x(), dpi, kPointsPerInch), in CreatePreviewDocument() [all …]
|
D | print_web_view_helper_pdf_win.cc | 111 printed_page_params.content_area = params.params.printable_area; in PrintPagesNative()
|
/external/chromium_org/android_webview/renderer/ |
D | print_web_view_helper.cc | 97 !params.printable_area.IsEmpty() && params.document_cookie && in PrintMsg_Print_Params_IsValid() 246 page_params->printable_area.set_size( in EnsureOrientationMatches() 247 gfx::Size(page_params->printable_area.height(), in EnsureOrientationMatches() 248 page_params->printable_area.width())); in EnsureOrientationMatches() 266 ConvertUnit(print_params.printable_area.x(), dpi, in ComputeWebKitPrintParamsInDesiredDpi() 269 ConvertUnit(print_params.printable_area.y(), dpi, in ComputeWebKitPrintParamsInDesiredDpi() 272 ConvertUnit(print_params.printable_area.width(), dpi, in ComputeWebKitPrintParamsInDesiredDpi() 275 ConvertUnit(print_params.printable_area.height(), in ComputeWebKitPrintParamsInDesiredDpi() 884 print_params.printable_area = gfx::Rect(print_params.page_size); in OnPrintForPrintPreview() 1084 ConvertUnit(print_params.printable_area.x(), dpi, kPointsPerInch), in CreatePreviewDocument() [all …]
|
/external/chromium_org/ppapi/api/dev/ |
D | pp_print_settings_dev.idl | 36 PP_Rect printable_area;
|