Searched refs:mediaSize (Results 1 – 7 of 7) sorted by relevance
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | StartJobTask.java | 96 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/ |
D | ipp_print.c | 359 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()
|
D | ipphelper.c | 660 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/ |
D | StorageFragment.java | 201 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/ |
D | MediaSizes.java | 155 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/ |
D | StorageItemPreferenceController.java | 385 Map<String, Long> map = details.mediaSize.get(userId); in totalValues()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PrivateVolumeSettings.java | 646 HashMap<String, Long> map = details.mediaSize.get(userId); in totalValues()
|