Searched refs:newMediaSize (Results 1 – 1 of 1) sorted by relevance
875 MediaSize newMediaSize = newAttributes.getMediaSize(); in onAdvancedPrintOptionsActivityResult() local876 if (newMediaSize != null && !oldMediaSize.equals(newMediaSize)) { in onAdvancedPrintOptionsActivityResult()883 currAttributes.setMediaSize(newMediaSize); in onAdvancedPrintOptionsActivityResult()1188 MediaSize newMediaSize = null; in updatePrintAttributesFromCapabilities() local1198 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 …]