Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_image.c413 int paddingDelta = (image_info->printable_width - image_info->scaled_width); in wprint_image_set_output_properties() local
414 delta = paddingDelta / 2; in wprint_image_set_output_properties()
416 image_info->output_padding_right += delta + (paddingDelta & 0x1); in wprint_image_set_output_properties()
431 int paddingDelta = (image_info->printable_height - image_info->scaled_height); in wprint_image_set_output_properties() local
432 delta = paddingDelta / 2; in wprint_image_set_output_properties()
434 image_info->output_padding_bottom += delta + (paddingDelta & 0x1); in wprint_image_set_output_properties()
448 int paddingDelta = (image_info->printable_width - image_info->scaled_width); in wprint_image_set_output_properties() local
449 delta = paddingDelta / 2; in wprint_image_set_output_properties()
451 image_info->output_padding_right += delta + (paddingDelta & 0x1); in wprint_image_set_output_properties()
466 int paddingDelta = (image_info->printable_height - image_info->scaled_height); in wprint_image_set_output_properties() local
[all …]