/external/fio/ |
printing.c | 13 } print_params = { 0 }; variable in typeref:struct:printing_parameters 18 print_params.page_setup = gtk_print_context_get_page_setup(context); 20 print_params.width = gtk_print_context_get_width(context); 21 print_params.height = gtk_print_context_get_height(context); 22 print_params.xdpi = gtk_print_context_get_dpi_x(context); 23 print_params.ydpi = gtk_print_context_get_dpi_y(context); 42 cairo_line_to(cr, print_params.width, print_params.height); 43 cairo_move_to(cr, 0.0, print_params.height); 44 cairo_line_to(cr, print_params.width, 0.0) [all...] |
/external/chromium_org/android_webview/renderer/ |
print_web_view_helper.cc | 85 int GetDPI(const PrintMsg_Print_Params* print_params) { 91 return static_cast<int>(print_params->dpi); 252 const PrintMsg_Print_Params& print_params, 254 int dpi = GetDPI(&print_params); 256 webkit_print_params->printScalingOption = print_params.print_scaling_option; 259 ConvertUnit(print_params.content_size.width(), dpi, 260 print_params.desired_dpi); 262 ConvertUnit(print_params.content_size.height(), dpi, 263 print_params.desired_dpi); 266 ConvertUnit(print_params.printable_area.x(), dpi 590 PrintMsg_Print_Params print_params = params; local 882 PrintMsg_Print_Params& print_params = print_pages_params_->params; local 1037 const PrintMsg_Print_Params& print_params = print_pages_params_->params; local 1064 const PrintMsg_Print_Params& print_params = print_pages_params_->params; local 1313 const PrintMsg_Print_Params& print_params = params.params; local 1351 const PrintMsg_Print_Params& print_params = params.params; local 1591 const PrintMsg_Print_Params& print_params = params.params; local 1732 const PrintMsg_Print_Params& print_params = print_pages_params_->params; local [all...] |
/external/chromium_org/chrome/renderer/printing/ |
print_web_view_helper.cc | 85 int GetDPI(const PrintMsg_Print_Params* print_params) { 91 return static_cast<int>(print_params->dpi); 253 const PrintMsg_Print_Params& print_params, 255 int dpi = GetDPI(&print_params); 257 webkit_print_params->printScalingOption = print_params.print_scaling_option; 260 ConvertUnit(print_params.content_size.width(), dpi, 261 print_params.desired_dpi); 263 ConvertUnit(print_params.content_size.height(), dpi, 264 print_params.desired_dpi); 267 ConvertUnit(print_params.printable_area.x(), dpi 621 PrintMsg_Print_Params print_params = params; local 925 PrintMsg_Print_Params& print_params = print_pages_params_->params; local 1065 const PrintMsg_Print_Params& print_params = print_pages_params_->params; local 1092 const PrintMsg_Print_Params& print_params = print_pages_params_->params; local 1334 const PrintMsg_Print_Params& print_params = params.params; local 1370 const PrintMsg_Print_Params& print_params = params.params; local 1576 const PrintMsg_Print_Params& print_params = params.params; local 1691 const PrintMsg_Print_Params& print_params = print_pages_params_->params; local [all...] |