Home
last modified time | relevance | path

Searched refs:margin_top (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/android_webview/common/
Dprint_messages.cc17 margin_top(0), in PrintMsg_Print_Params()
43 margin_top = 0; in Reset()
Dprint_messages.h35 int margin_top; member
95 IPC_STRUCT_TRAITS_MEMBER(margin_top)
173 IPC_STRUCT_TRAITS_MEMBER(margin_top)
/external/chromium_org/chrome/common/
Dprint_messages.cc15 margin_top(0), in PrintMsg_Print_Params()
41 margin_top = 0; in Reset()
Dprint_messages.h33 int margin_top; member
95 IPC_STRUCT_TRAITS_MEMBER(margin_top)
173 IPC_STRUCT_TRAITS_MEMBER(margin_top)
/external/chromium_org/chrome/renderer/printing/
Dmock_printer.cc29 params->margin_top = 0; in UpdateMargins()
34 params->margin_top = static_cast<int>(0.25 * dpi); in UpdateMargins()
39 params->margin_top = static_cast<int>(0.30 * dpi); in UpdateMargins()
119 margin_top_ = params.margin_top; in SetDefaultPrintSettings()
306 params->margin_top = margin_top_; in SetPrintParams()
Dprint_web_view_helper.cc93 params.dpi && (params.margin_top >= 0) && (params.margin_left >= 0); in PrintMsg_Print_Params_IsValid()
107 ConvertUnit(page_params.margin_top, dpi, kPixelsPerInch); in GetCssPrintParams()
114 page_params.content_size.height() - page_params.margin_top, in GetCssPrintParams()
158 page_css_params.margin_top = in GetCssPrintParams()
190 params_to_fit->margin_top = static_cast<int>( in FitPrintParamsToPage()
192 (params_to_fit->margin_top * scale_factor)); in FitPrintParamsToPage()
210 content_height - params.margin_top; in CalculatePageLayoutFromPrintParams()
218 page_layout_in_points->margin_top = in CalculatePageLayoutFromPrintParams()
219 ConvertUnit(params.margin_top, dpi, kPointsPerInch); in CalculatePageLayoutFromPrintParams()
376 result_params.margin_top = params.margin_top; in CalculatePrintParamsForCss()
[all …]
Dprint_web_view_helper_browsertest.cc543 int margin_top, int margin_bottom, in VerifyDefaultPageLayout() argument
556 EXPECT_EQ(margin_top, param.a.margin_top); in VerifyDefaultPageLayout()
/external/chromium_org/android_webview/renderer/
Dprint_web_view_helper.cc99 params.dpi && (params.margin_top >= 0) && (params.margin_left >= 0); in PrintMsg_Print_Params_IsValid()
113 ConvertUnit(page_params.margin_top, dpi, kPixelsPerInch); in GetCssPrintParams()
120 page_params.content_size.height() - page_params.margin_top, in GetCssPrintParams()
164 page_css_params.margin_top = in GetCssPrintParams()
196 params_to_fit->margin_top = static_cast<int>( in FitPrintParamsToPage()
198 (params_to_fit->margin_top * scale_factor)); in FitPrintParamsToPage()
216 content_height - params.margin_top; in CalculatePageLayoutFromPrintParams()
224 page_layout_in_points->margin_top = in CalculatePageLayoutFromPrintParams()
225 ConvertUnit(params.margin_top, dpi, kPointsPerInch); in CalculatePageLayoutFromPrintParams()
347 result_params.margin_top = params.margin_top; in CalculatePrintParamsForCss()
[all …]
/external/chromium_org/printing/
Dpage_size_margins.h17 double margin_top; member
Dprint_settings_conversion.cc29 &page_size_margins->margin_top) || in GetCustomMarginsFromJobSettings()
138 margins_in_points.top = page_size_margins.margin_top; in PrintSettingsFromJobSettings()
/external/chromium_org/android_webview/browser/renderer_host/
Dprint_manager.cc99 params->margin_top = settings.page_setup_device_units().content_area().y(); in RenderParamsFromPrintSettings()
/external/chromium_org/chrome/browser/ui/webui/print_preview/
Dprint_preview_ui.cc488 if (page_layout.margin_top < 0 || page_layout.margin_left < 0 || in OnDidGetDefaultPageLayout()
497 layout.SetDouble(printing::kSettingMarginTop, page_layout.margin_top); in OnDidGetDefaultPageLayout()
/external/chromium_org/chrome/browser/printing/
Dprinting_message_filter.cc69 params->margin_top = settings.page_setup_device_units().content_area().y(); in RenderParamsFromPrintSettings()