Searched refs:native_scaling (Results 1 - 1 of 1) sorted by relevance

/packages/services/BuiltInPrintService/jni/plugins/
H A Dwprint_image.c203 float native_scaling = 1.0f; local
211 native_scaling = (image_info->print_resolution * 1.0f) / (native_units * 1.0f);
212 native_image_output_width = (int) floorf(image_output_width * native_scaling);
213 native_image_output_height = (int) floorf(image_output_height * native_scaling);
214 LOGD("need to do native scaling by %f factor to size %dx%d", native_scaling,
220 (native_scaling == 1.0f)) {
286 } else if ((native_scaling != 1.0f) &&
296 native_scaling = 1.0f;
306 || (native_scaling != 1.0f)) {

Completed in 24 milliseconds