Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java875 MediaSize newMediaSize = newAttributes.getMediaSize(); in onAdvancedPrintOptionsActivityResult() local
876 if (newMediaSize != null && !oldMediaSize.equals(newMediaSize)) { in onAdvancedPrintOptionsActivityResult()
883 currAttributes.setMediaSize(newMediaSize); in onAdvancedPrintOptionsActivityResult()
1188 MediaSize newMediaSize = null; in updatePrintAttributesFromCapabilities() local
1198 newMediaSize = mediaSize; in updatePrintAttributesFromCapabilities()
1203 if (newMediaSize == null) { in updatePrintAttributesFromCapabilities()
1205 newMediaSize = defaults.getMediaSize(); in updatePrintAttributesFromCapabilities()
1208 if (newMediaSize != null) { in updatePrintAttributesFromCapabilities()
1210 attributes.setMediaSize(newMediaSize.asPortrait()); in updatePrintAttributesFromCapabilities()
1212 attributes.setMediaSize(newMediaSize.asLandscape()); in updatePrintAttributesFromCapabilities()
[all …]