Searched refs:SupportedMediaSizes (Results 1 – 8 of 8) sorted by relevance
/packages/services/BuiltInPrintService/jni/plugins/ |
D | lib_pclm.c | 41 if (media_size == SupportedMediaSizes[i].media_size) { in _get_pclm_media_size_name() 42 strncpy(media_name, SupportedMediaSizes[i].PCL6Name, in _get_pclm_media_size_name() 43 strlen(SupportedMediaSizes[i].PCL6Name)); in _get_pclm_media_size_name() 66 if (media_size == SupportedMediaSizes[i].media_size) { in _get_pclm_media_size() 67 strncpy(myPageInfo->mediaSizeName, SupportedMediaSizes[i].PCL6Name, in _get_pclm_media_size() 71 _MI_TO_POINTS(SupportedMediaSizes[i].WidthInInches)); in _get_pclm_media_size() 73 _MI_TO_POINTS(SupportedMediaSizes[i].HeightInInches)); in _get_pclm_media_size() 76 media_size, SupportedMediaSizes[i].PCL6Name, myPageInfo->mediaWidth, in _get_pclm_media_size()
|
D | lib_pwg.c | 108 if (media_size == SupportedMediaSizes[i].media_size) { in _get_pwg_media_size() 109 strncpy(myPageInfo->mediaSizeName, SupportedMediaSizes[i].PCL6Name, in _get_pwg_media_size() 113 _MI_TO_POINTS(SupportedMediaSizes[i].WidthInInches)); in _get_pwg_media_size() 115 _MI_TO_POINTS(SupportedMediaSizes[i].HeightInInches)); in _get_pwg_media_size() 118 media_size, SupportedMediaSizes[i].PCL6Name, myPageInfo->mediaWidth, in _get_pwg_media_size()
|
D | media.h | 41 extern struct MediaSizeTableElement SupportedMediaSizes[SUPPORTED_MEDIA_SIZE_COUNT];
|
/packages/services/BuiltInPrintService/jni/ipphelper/ |
D | ipp_print.c | 142 if (media_size == SupportedMediaSizes[i].media_size) { in _get_pwg_media_size() 144 if ((SupportedMediaSizes[i].WidthInMm == UNKNOWN_VALUE) || in _get_pwg_media_size() 145 (SupportedMediaSizes[i].HeightInMm == UNKNOWN_VALUE)) { in _get_pwg_media_size() 146 *mediaWidth = floorf(_MI_TO_100MM(SupportedMediaSizes[i].WidthInInches)); in _get_pwg_media_size() 147 *mediaHeight = floorf(_MI_TO_100MM(SupportedMediaSizes[i].HeightInInches)); in _get_pwg_media_size() 149 *mediaWidth = SupportedMediaSizes[i].WidthInMm * 100; in _get_pwg_media_size() 150 *mediaHeight = SupportedMediaSizes[i].HeightInMm * 100; in _get_pwg_media_size() 152 *mediaSizeName = (char *) SupportedMediaSizes[i].PWGName; in _get_pwg_media_size() 155 media_size, SupportedMediaSizes[i].PCL6Name, *mediaWidth, *mediaHeight); in _get_pwg_media_size()
|
D | ipphelper.c | 57 struct MediaSizeTableElement SupportedMediaSizes[SUPPORTED_MEDIA_SIZE_COUNT] = { variable 607 if (SupportedMediaSizes[i].media_size == (media_size_t) media_size) { in mapDFMediaToIPPKeyword() 608 return (SupportedMediaSizes[i].PWGName); in mapDFMediaToIPPKeyword() 611 return (SupportedMediaSizes[0].PWGName); in mapDFMediaToIPPKeyword() 618 if (strcmp(SupportedMediaSizes[i].PWGName, ipp_media_keyword) == 0) { in ipp_find_media_size() 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() 727 idx, SupportedMediaSizes[idx].PWGName); in parse_printerAttributes()
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | printable_area.c | 39 if (job_params->media_size == SupportedMediaSizes[i].media_size) { in printable_area_get() 40 job_params->page_width = SupportedMediaSizes[i].WidthInInches / 1000; in printable_area_get() 41 job_params->page_height = SupportedMediaSizes[i].HeightInInches / 1000; in printable_area_get()
|
D | lib_wprint.c | 1439 if (SupportedMediaSizes[i].media_size == media_size) return true; in is_supported()
|
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
D | genPCLm.cpp | 1895 if (strcasecmp(mediaRequested, SupportedMediaSizes[i].PCL6Name) == 0) { in GetPclmMediaDimensions() 1897 _MI_TO_POINTS(SupportedMediaSizes[i].WidthInInches)); in GetPclmMediaDimensions() 1899 _MI_TO_POINTS(SupportedMediaSizes[i].HeightInInches)); in GetPclmMediaDimensions() 1901 _MI_TO_PIXELS(SupportedMediaSizes[i].WidthInInches, in GetPclmMediaDimensions() 1904 _MI_TO_PIXELS(SupportedMediaSizes[i].HeightInInches, in GetPclmMediaDimensions()
|