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 | 43 extern struct MediaSizeTableElement SupportedMediaSizes[SUPPORTED_MEDIA_SIZE_COUNT];
|
/packages/services/BuiltInPrintService/jni/ipphelper/ |
D | ipphelper.c | 57 struct MediaSizeTableElement SupportedMediaSizes[SUPPORTED_MEDIA_SIZE_COUNT] = { variable 652 if (SupportedMediaSizes[i].media_size == (media_size_t) media_size) { in mapDFMediaToIPPKeyword() 653 return (SupportedMediaSizes[i].PWGName); in mapDFMediaToIPPKeyword() 656 return (SupportedMediaSizes[0].PWGName); in mapDFMediaToIPPKeyword() 663 if (strcmp(SupportedMediaSizes[i].PWGName, ipp_media_keyword) == 0) { in ipp_find_media_size() 665 SupportedMediaSizes[i].PWGName, SupportedMediaSizes[i].media_size); in ipp_find_media_size() 670 *media_size = SupportedMediaSizes[i].media_size; in ipp_find_media_size() 682 if (strcmp(SupportedMediaSizes[i].PWGName, media_size_tag) == 0) { in getMediaSizeFromTag() 683 LOGD("Media size match: pwg name %s", SupportedMediaSizes[i].PWGName); in getMediaSizeFromTag() 684 *media_size = SupportedMediaSizes[i].media_size; in getMediaSizeFromTag() [all …]
|
D | ipp_print.c | 145 if (media_size == SupportedMediaSizes[i].media_size) { in _get_pwg_media_size() 147 if ((SupportedMediaSizes[i].WidthInMm == UNKNOWN_VALUE) || in _get_pwg_media_size() 148 (SupportedMediaSizes[i].HeightInMm == UNKNOWN_VALUE)) { in _get_pwg_media_size() 149 *mediaWidth = floorf(_MI_TO_100MM(SupportedMediaSizes[i].WidthInInches)); in _get_pwg_media_size() 150 *mediaHeight = floorf(_MI_TO_100MM(SupportedMediaSizes[i].HeightInInches)); in _get_pwg_media_size() 152 *mediaWidth = SupportedMediaSizes[i].WidthInMm * 100; in _get_pwg_media_size() 153 *mediaHeight = SupportedMediaSizes[i].HeightInMm * 100; in _get_pwg_media_size() 155 *mediaSizeName = (char *) SupportedMediaSizes[i].PWGName; in _get_pwg_media_size() 158 media_size, SupportedMediaSizes[i].PCL6Name, *mediaWidth, *mediaHeight); in _get_pwg_media_size()
|
/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 | 1894 if (strcasecmp(mediaRequested, SupportedMediaSizes[i].PCL6Name) == 0) { in GetPclmMediaDimensions() 1896 _MI_TO_POINTS(SupportedMediaSizes[i].WidthInInches)); in GetPclmMediaDimensions() 1898 _MI_TO_POINTS(SupportedMediaSizes[i].HeightInInches)); in GetPclmMediaDimensions() 1900 _MI_TO_PIXELS(SupportedMediaSizes[i].WidthInInches, in GetPclmMediaDimensions() 1903 _MI_TO_PIXELS(SupportedMediaSizes[i].HeightInInches, in GetPclmMediaDimensions()
|