Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/plugins/
Dlib_pclm.c37 static void _get_pclm_media_size_name(pcl_job_info_t *job_info, media_size_t media_size, in _get_pclm_media_size_name() argument
41 if (media_size == SupportedMediaSizes[i].media_size) { in _get_pclm_media_size_name()
44 LOGD("_get_pclm_media_size_name(): match found: %d, %s", media_size, media_name); in _get_pclm_media_size_name()
52 media_size); in _get_pclm_media_size_name()
60 static void _get_pclm_media_size(pcl_job_info_t *job_info, media_size_t media_size, in _get_pclm_media_size() argument
66 if (media_size == SupportedMediaSizes[i].media_size) { in _get_pclm_media_size()
76 media_size, SupportedMediaSizes[i].PCL6Name, myPageInfo->mediaWidth, in _get_pclm_media_size()
85 LOGD("_get_pclm_media_size(): media size, %d, NOT FOUND, setting to letter", media_size); in _get_pclm_media_size()
90 static wJob_t _start_job(wJob_t job_handle, pcl_job_info_t *job_info, media_size_t media_size, in _start_job() argument
112 media_size, media_type, dry_time, in _start_job()
[all …]
Dlib_pwg.c103 static void _get_pwg_media_size(pcl_job_info_t *job_info, media_size_t media_size, in _get_pwg_media_size() argument
112 if (media_size == SupportedMediaSizes[i].media_size) { in _get_pwg_media_size()
122 media_size, SupportedMediaSizes[i].PCL6Name, myPageInfo->mediaWidth, in _get_pwg_media_size()
132 LOGD("_get_pwg_media_size(): media size, %d, NOT FOUND, setting to letter", media_size); in _get_pwg_media_size()
146 static wJob_t _start_job(wJob_t job_handle, pcl_job_info_t *job_info, media_size_t media_size, in _start_job() argument
166 LOGD("_start_job(), media_size %d, media_type %d, dt %d, %s, media_tray %d", media_size, in _start_job()
177 job_info->media_size = media_size; in _start_job()
186 _get_pwg_media_size(job_info, media_size, &job_info->pclm_page_info); in _start_job()
196 header_pwg.cupsMediaType = media_size; in _start_job()
Dlib_pcl.h101 media_size_t media_size; member
128 wJob_t (*start_job)(wJob_t job_handle, pcl_job_info_t *job_info, media_size_t media_size,
Dmedia.h31 media_size_t media_size; member
Dplugin_pcl.c120 priv->job_params->media_size, priv->job_params->media_type, in _send_thread()
/packages/services/BuiltInPrintService/jni/ipphelper/
Dipphelper.c604 const char *mapDFMediaToIPPKeyword(media_size_t media_size) { in mapDFMediaToIPPKeyword() argument
607 if (SupportedMediaSizes[i].media_size == (media_size_t) media_size) { in mapDFMediaToIPPKeyword()
614 int ipp_find_media_size(const char *ipp_media_keyword, media_size_t *media_size) { in ipp_find_media_size() argument
620 SupportedMediaSizes[i].PWGName, SupportedMediaSizes[i].media_size); in ipp_find_media_size()
625 *media_size = SupportedMediaSizes[i].media_size; in ipp_find_media_size()
809 media_supported->media_size[sizes_idx] = media_sizeTemp; in parse_getMediaSupported()
878 media_supported->media_size[sizes_idx] = in parse_getMediaSupported()
879 SupportedMediaSizes[i].media_size; in parse_getMediaSupported()
955 media_supported.media_size[i] = 0; in parse_printerAttributes()
965 if (media_supported.media_size[i] != 0) { in parse_printerAttributes()
[all …]
Dipp_print.c128 static void _get_pwg_media_size(media_size_t media_size, float *mediaWidth, float *mediaHeight, in _get_pwg_media_size() argument
133 if (media_size == SupportedMediaSizes[i].media_size) { in _get_pwg_media_size()
146 media_size, SupportedMediaSizes[i].PCL6Name, *mediaWidth, *mediaHeight); in _get_pwg_media_size()
153 LOGD("_get_pwg_media_size(): media size, %d, NOT FOUND, setting to letter", media_size); in _get_pwg_media_size()
358 _get_pwg_media_size(job_params->media_size, &mediaWidth, &mediaHeight, &mediaSizeName); in _fill_job()
379 mapDFMediaToIPPKeyword(job_params->media_size)); in _fill_job()
Dipphelper.h68 media_size_t media_size[PAGE_STATUS_MAX]; member
120 extern int ipp_find_media_size(const char *ipp_media_keyword, media_size_t *media_size);
125 extern const char *mapDFMediaToIPPKeyword(media_size_t media_size);
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
DLocalJobParams.java27 public int media_size; field in LocalJobParams
73 " media_size=" + media_size + in toString()
/packages/services/BuiltInPrintService/jni/lib/
Dprintable_area.c39 if (job_params->media_size == SupportedMediaSizes[i].media_size) { in printable_area_get()
Dlib_wprint.c1359 static bool is_supported(media_size_t media_size) { in is_supported() argument
1362 if (SupportedMediaSizes[i].media_size == media_size) return true; in is_supported()
1564 .pcl_type = _DEFAULT_PCL_TYPE, .media_size = US_LETTER, .media_type = MEDIA_PLAIN, in wprintGetDefaultJobParams()
1638 if (job_params->media_size == printer_cap->supportedMediaSizes[i]) { in wprintGetFinalJobParams()
1644 job_params->media_size = ISO_A4; in wprintGetFinalJobParams()
DwprintJNI.c712 wprintJobParams->media_size = (media_size_t) (*env)->GetIntField( in _convertJobParams_to_C()
863 (int) wprintJobParams->media_size); in _covertJobParams_to_Java()
/packages/services/BuiltInPrintService/jni/include/
Dlib_wprint.h128 media_size_t media_size; member
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DStartJobTask.java109 mJobParams.media_size = mMediaSizes.toMediaCode(mediaSize); in populateJobParams()