Lines Matching refs:SupportedMediaSizes

77 struct MediaSizeTableElement SupportedMediaSizes[SUPPORTED_MEDIA_SIZE_COUNT] = {  variable
913 if (SupportedMediaSizes[i].media_size == (media_size_t) media_size) { in mapDFMediaToIPPKeyword()
914 return (SupportedMediaSizes[i].PWGName); in mapDFMediaToIPPKeyword()
917 return (SupportedMediaSizes[0].PWGName); in mapDFMediaToIPPKeyword()
924 if (strcmp(SupportedMediaSizes[i].PWGName, ipp_media_keyword) == 0) { in ipp_find_media_size()
926 SupportedMediaSizes[i].PWGName, SupportedMediaSizes[i].media_size); in ipp_find_media_size()
931 *media_size = SupportedMediaSizes[i].media_size; in ipp_find_media_size()
943 if (strcmp(SupportedMediaSizes[i].PWGName, media_size_tag) == 0) { in getMediaSizeFromTag()
944 LOGD("Media size match: pwg name %s", SupportedMediaSizes[i].PWGName); in getMediaSizeFromTag()
945 *media_size = SupportedMediaSizes[i].media_size; in getMediaSizeFromTag()
958 if (SupportedMediaSizes[i].WidthInMicrometers / 10 == mediaColReadyWidth in getMediaSizeNameFromDimens()
959 && SupportedMediaSizes[i].HeightInMicrometers / 10 == mediaColReadyHeight) { in getMediaSizeNameFromDimens()
960 *media_size = SupportedMediaSizes[i].media_size; in getMediaSizeNameFromDimens()
999 if (SupportedMediaSizes[i].WidthInMicrometers / 10 >= minWidth in addRollSupportedSizes()
1000 && SupportedMediaSizes[i].WidthInMicrometers / 10 <= maxWidth in addRollSupportedSizes()
1001 && SupportedMediaSizes[i].HeightInMicrometers / 10 >= minHeight in addRollSupportedSizes()
1002 && SupportedMediaSizes[i].HeightInMicrometers / 10 <= maxHeight) { in addRollSupportedSizes()
1003 addMediaIfNotDuplicate(i, sizesIdx, media_supported, SupportedMediaSizes[i].media_size); in addRollSupportedSizes()
1211 idx, SupportedMediaSizes[idx].PWGName); in parse_printerAttributes()