Home
last modified time | relevance | path

Searched refs:mediaSizeIndex (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/print/
DPrinterCapabilitiesInfo.java189 final int mediaSizeIndex = mDefaults[PROPERTY_MEDIA_SIZE]; in getDefaults() local
190 if (mediaSizeIndex >= 0) { in getDefaults()
191 builder.setMediaSize(mMediaSizes.get(mediaSizeIndex)); in getDefaults()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java1730 final int mediaSizeIndex = Math.max(mediaSizes.indexOf( in updateOptionsUi() local
1732 if (mMediaSizeSpinner.getSelectedItemPosition() != mediaSizeIndex) { in updateOptionsUi()
1733 mMediaSizeSpinner.setSelection(mediaSizeIndex); in updateOptionsUi()
1739 .getItem(mediaSizeIndex).value.asPortrait()); in updateOptionsUi()
1742 .getItem(mediaSizeIndex).value.asLandscape()); in updateOptionsUi()