Home
last modified time | relevance | path

Searched refs:mediaSize (Results 1 – 7 of 7) sorted by relevance

/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DStartJobTask.java96 PrintAttributes.MediaSize mediaSize = mJobInfo.getAttributes().getMediaSize(); in populateJobParams() local
107 mJobParams.portrait_mode = mediaSize == null || mediaSize.isPortrait(); in populateJobParams()
109 mJobParams.media_size = mMediaSizes.toMediaCode(mediaSize); in populateJobParams()
/packages/services/BuiltInPrintService/jni/ipphelper/
Dipp_print.c359 ipp_t *mediaSize = ippNew(); in _fill_job() local
362 ippAddString(mediaSize, IPP_TAG_JOB, IPP_TAG_KEYWORD, "media-size-name", NULL, in _fill_job()
365 ippAddInteger(mediaSize, IPP_TAG_JOB, IPP_TAG_INTEGER, "x-dimension", (int) mediaWidth); in _fill_job()
366 ippAddInteger(mediaSize, IPP_TAG_JOB, IPP_TAG_INTEGER, "y-dimension", in _fill_job()
369 ippAddCollection(col[col_index], IPP_TAG_JOB, "media-size", mediaSize); in _fill_job()
Dipphelper.c660 static int getMediaDimensions_mm(const char *mediaSize, media_dimension_mm_t *media_dimensions) { in getMediaDimensions_mm() argument
671 tempMediaSize = malloc(strlen(mediaSize) + 1); in getMediaDimensions_mm()
675 strcpy(tempMediaSize, mediaSize); in getMediaDimensions_mm()
678 um = substring(mediaSize, strlen(tempMediaSize) - 1, 2); in getMediaDimensions_mm()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DStorageFragment.java201 final long dcimSize = totalValues(details.mediaSize.get(currentUser), in updateDetails()
205 final long musicSize = totalValues(details.mediaSize.get(currentUser), in updateDetails()
210 final long downloadsSize = totalValues(details.mediaSize.get(currentUser), in updateDetails()
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
DMediaSizes.java155 public int toMediaCode(PrintAttributes.MediaSize mediaSize) { in toMediaCode() argument
158 if (entry.getValue().getId().equals(mediaSize.getId())) { in toMediaCode()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceController.java385 Map<String, Long> map = details.mediaSize.get(userId); in totalValues()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeSettings.java646 HashMap<String, Long> map = details.mediaSize.get(userId); in totalValues()