Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_image.c57 image_info->scaled_width = -1; in wprint_image_get_info()
144 image_info->scaled_width = -1; in wprint_image_set_output_properties()
331 image_info->scaled_width = (int) floorf(rw); in wprint_image_set_output_properties()
335 image_info->scaled_width = (int) floorf(targetWidth); in wprint_image_set_output_properties()
339 image_info->scaled_width = native_image_output_width; in wprint_image_set_output_properties()
348 image_info->scaled_width, BYTES_PER_PIXEL(image_info->scaled_width), in wprint_image_set_output_properties()
388 image_info->scaled_width = image_output_width; in wprint_image_set_output_properties()
409 if (image_info->scaled_width > image_info->printable_width) { in wprint_image_set_output_properties()
411 (image_info->scaled_width - image_info->printable_width) / 2); in wprint_image_set_output_properties()
413 int paddingDelta = (image_info->printable_width - image_info->scaled_width); in wprint_image_set_output_properties()
[all …]
Dwprint_image.h103 unsigned int scaled_width; member