• Home
  • Raw
  • Download

Lines Matching refs:SupportedMediaSizes

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()
697 if (SupportedMediaSizes[i].WidthInMicrometers / 10 == mediaColReadyWidth in getMediaSizeNameFromDimens()
698 && SupportedMediaSizes[i].HeightInMicrometers / 10 == mediaColReadyHeight) { in getMediaSizeNameFromDimens()
699 *media_size = SupportedMediaSizes[i].media_size; in getMediaSizeNameFromDimens()
737 if(SupportedMediaSizes[i].WidthInMicrometers / 10 <= width in addRollSupportedSizes()
738 && SupportedMediaSizes[i].HeightInMicrometers / 10 >= minHeight in addRollSupportedSizes()
739 && SupportedMediaSizes[i].HeightInMicrometers / 10 <= maxHeight) { in addRollSupportedSizes()
740 addMediaIfNotDuplicate(i, sizesIdx, media_supported, SupportedMediaSizes[i].media_size); in addRollSupportedSizes()
907 idx, SupportedMediaSizes[idx].PWGName); in parse_printerAttributes()