Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_image.c87 unsigned int bottom_margin, unsigned int render_flags, unsigned int max_decode_stripe, in wprint_image_set_output_properties() argument
116 unsigned int input_render_flags = render_flags; in wprint_image_set_output_properties()
126 image_info->render_flags = render_flags; in wprint_image_set_output_properties()
194 if ((image_info->render_flags & RENDER_FLAG_AUTO_FIT) && (decode_ifc != NULL) && in wprint_image_set_output_properties()
208 && !((image_info->render_flags & RENDER_FLAG_AUTO_SCALE) in wprint_image_set_output_properties()
209 || ((image_info->render_flags & RENDER_FLAG_AUTO_FIT) in wprint_image_set_output_properties()
210 && !(image_info->render_flags & RENDER_FLAG_DOCUMENT_SCALING)))) { in wprint_image_set_output_properties()
219 if ((image_info->render_flags & (RENDER_FLAG_AUTO_SCALE | RENDER_FLAG_AUTO_FIT)) && in wprint_image_set_output_properties()
234 while (((image_info->render_flags & RENDER_FLAG_AUTO_SCALE) && in wprint_image_set_output_properties()
237 ((image_info->render_flags & RENDER_FLAG_AUTO_FIT) && in wprint_image_set_output_properties()
[all …]
Dplugin_pcl.c327 if ((job_params->render_flags & RENDER_FLAG_PORTRAIT_MODE) != 0) { in _print_page()
330 } else if ((job_params->render_flags & RENDER_FLAG_LANDSCAPE_MODE) != 0) { in _print_page()
334 ((job_params->render_flags & RENDER_FLAG_AUTO_ROTATE) != 0)) { in _print_page()
339 if ((job_params->render_flags & RENDER_FLAG_CENTER_ON_ORIENTATION) != 0) { in _print_page()
340 job_params->render_flags &= ~(RENDER_FLAG_CENTER_HORIZONTAL | in _print_page()
342 job_params->render_flags |= ((rotation == ROT_0) ? RENDER_FLAG_CENTER_HORIZONTAL in _print_page()
348 ((job_params->render_flags & RENDER_FLAG_ROTATE_BACK_PAGE) != 0) && in _print_page()
349 ((job_params->render_flags & RENDER_FLAG_BACK_PAGE_PREROTATED) == 0)) { in _print_page()
358 job_params->render_flags, job_params->strip_height, MAX_SEND_BUFFS, in _print_page()
Dwprint_image.h88 unsigned int render_flags; member
189 unsigned int bottom_margin, unsigned int render_flags, unsigned int max_decode_stripe,
/packages/services/BuiltInPrintService/jni/lib/
DwprintJNI.c736 wprintJobParams->render_flags = (unsigned int) (*env)->GetIntField( in _convertJobParams_to_C()
752 wprintJobParams->render_flags |= RENDER_FLAG_PORTRAIT_MODE; in _convertJobParams_to_C()
754 wprintJobParams->render_flags |= RENDER_FLAG_LANDSCAPE_MODE; in _convertJobParams_to_C()
756 wprintJobParams->render_flags |= RENDER_FLAG_AUTO_ROTATE; in _convertJobParams_to_C()
759 wprintJobParams->render_flags |= AUTO_SCALE_RENDER_FLAGS; in _convertJobParams_to_C()
761 wprintJobParams->render_flags |= AUTO_FIT_RENDER_FLAGS; in _convertJobParams_to_C()
763 wprintJobParams->render_flags |= RENDER_FLAG_DOCUMENT_SCALING; in _convertJobParams_to_C()
769 wprintJobParams->render_flags &= ~(RENDER_FLAG_CENTER_VERTICAL | in _convertJobParams_to_C()
775 wprintJobParams->render_flags |= RENDER_FLAG_CENTER_HORIZONTAL; in _convertJobParams_to_C()
780 wprintJobParams->render_flags |= RENDER_FLAG_CENTER_VERTICAL; in _convertJobParams_to_C()
[all …]
Dlib_wprint.c1667 .pixel_units = DEFAULT_RESOLUTION, .render_flags = 0, .num_copies =1, in wprintGetDefaultJobParams()
1797 job_params->render_flags |= RENDER_FLAG_ROTATE_BACK_PAGE; in wprintGetFinalJobParams()
1800 if (job_params->render_flags & RENDER_FLAG_ROTATE_BACK_PAGE) { in wprintGetFinalJobParams()
1810 if (job_params->render_flags & RENDER_FLAG_AUTO_SCALE) { in wprintGetFinalJobParams()
1811 job_params->render_flags |= AUTO_SCALE_RENDER_FLAGS; in wprintGetFinalJobParams()
1812 } else if (job_params->render_flags & RENDER_FLAG_AUTO_FIT) { in wprintGetFinalJobParams()
1813 job_params->render_flags |= AUTO_FIT_RENDER_FLAGS; in wprintGetFinalJobParams()
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
DLocalJobParams.java31 public int render_flags; field in LocalJobParams
76 + " render_flags=" + render_flags in toString()
/packages/services/BuiltInPrintService/jni/ipphelper/
Dipp_print.c248 if (job_params->render_flags & RENDER_FLAG_AUTO_SCALE) { in _fill_job()
254 if (job_params->render_flags & RENDER_FLAG_PORTRAIT_MODE) { in _fill_job()
258 if (job_params->render_flags & RENDER_FLAG_LANDSCAPE_MODE) { in _fill_job()
/packages/services/BuiltInPrintService/jni/include/
Dlib_wprint.h136 unsigned int render_flags; member