Searched refs:left_margin (Results 1 – 10 of 10) sorted by relevance
/packages/services/BuiltInPrintService/jni/lib/ |
D | printable_area.c | 26 void printable_area_get(wprint_job_params_t *job_params, float top_margin, float left_margin, in printable_area_get() argument 54 (left_margin + right_margin)) * (float)job_params->pixel_units)); in printable_area_get() 60 job_params->page_left_margin = left_margin; in printable_area_get() 71 if (job_params->job_left_margin > left_margin) { in printable_area_get() 72 job_params->print_left_margin = floorf(((job_params->job_left_margin - left_margin) * in printable_area_get() 76 ((left_margin) * (float) job_params->pixel_units)); in printable_area_get() 104 float *left_margin, float *right_margin, in printable_area_get_default_margins() argument 118 *left_margin = 0.0f; in printable_area_get_default_margins() 124 *left_margin = -0.10f; in printable_area_get_default_margins() 134 *left_margin = (float) printer_cap->printerLeftMargin / 2540; in printable_area_get_default_margins() [all …]
|
D | lib_wprint.c | 173 unsigned int left_margin; member 1028 jq->job_params.print_left_margin += page.left_margin; in _job_thread() 1066 jq->job_params.print_left_margin -= page.left_margin; in _job_thread() 2029 bool pdf_page, unsigned int top_margin, unsigned int left_margin, unsigned int right_margin, in wprintPage() argument 2062 page.left_margin = left_margin; in wprintPage()
|
/packages/services/BuiltInPrintService/jni/plugins/ |
D | lib_pclm.c | 93 float left_margin) { in _start_job() argument 114 media_tray, top_margin, left_margin); in _start_job() 132 if ((left_margin < 0.0f) || (top_margin < 0.0f)) { in _start_job() 136 job_info->pclm_page_info.mediaWidthOffset = (left_margin * (float) STANDARD_SCALE_FOR_PDF); in _start_job()
|
D | wprint_image.c | 86 unsigned int top_margin, unsigned int left_margin, unsigned int right_margin, in wprint_image_set_output_properties() argument 106 top_margin = left_margin; in wprint_image_set_output_properties() 107 left_margin = bottom_margin; in wprint_image_set_output_properties() 122 image_info->printable_width = printable_width - (left_margin + right_margin); in wprint_image_set_output_properties() 163 image_info->output_padding_right = left_margin; in wprint_image_set_output_properties() 170 image_info->output_padding_left = left_margin; in wprint_image_set_output_properties()
|
D | lib_pwg.c | 145 float left_margin) { in _start_job() argument 184 if (left_margin < 0.0f || top_margin < 0.0f) { in _start_job() 188 job_info->pclm_page_info.mediaWidthOffset = left_margin; in _start_job()
|
D | wprint_image.h | 188 unsigned int top_margin, unsigned int left_margin, unsigned int right_margin,
|
D | lib_pcl.h | 131 float top_margin, float left_margin);
|
/packages/services/BuiltInPrintService/jni/include/ |
D | lib_printable_area.h | 28 float left_margin, float right_margin, float bottom_margin); 34 const printer_capabilities_t *printer_cap, float *top_margin, float *left_margin,
|
D | ifc_printer_capabilities.h | 44 float *top_margin, float *left_margin, float *right_margin, float *bottom_margin);
|
D | lib_wprint.h | 327 bool pdf_page, unsigned int top_margin, unsigned int left_margin,
|