Home | History | Annotate | Download | only in print

Lines Matching defs:mPrototype

375         private final PrinterCapabilitiesInfo mPrototype;
388 mPrototype = new PrinterCapabilitiesInfo();
406 if (mPrototype.mMediaSizes == null) {
407 mPrototype.mMediaSizes = new ArrayList<MediaSize>();
409 final int insertionIndex = mPrototype.mMediaSizes.size();
410 mPrototype.mMediaSizes.add(mediaSize);
413 mPrototype.mDefaults[PROPERTY_MEDIA_SIZE] = insertionIndex;
434 if (mPrototype.mResolutions == null) {
435 mPrototype.mResolutions = new ArrayList<Resolution>();
437 final int insertionIndex = mPrototype.mResolutions.size();
438 mPrototype.mResolutions.add(resolution);
441 mPrototype.mDefaults[PROPERTY_RESOLUTION] = insertionIndex;
465 mPrototype.mMinMargins = margins;
502 mPrototype.mColorModes = colorModes;
503 mPrototype.mDefaults[PROPERTY_COLOR_MODE] = defaultColorMode;
517 if (mPrototype.mMediaSizes == null || mPrototype.mMediaSizes.isEmpty()) {
520 if (mPrototype.mDefaults[PROPERTY_MEDIA_SIZE] == DEFAULT_UNDEFINED) {
523 if (mPrototype.mResolutions == null || mPrototype.mResolutions.isEmpty()) {
526 if (mPrototype.mDefaults[PROPERTY_RESOLUTION] == DEFAULT_UNDEFINED) {
529 if (mPrototype.mColorModes == 0) {
532 if (mPrototype.mDefaults[PROPERTY_COLOR_MODE] == DEFAULT_UNDEFINED) {
535 if (mPrototype.mMinMargins == null) {
538 return mPrototype;
542 if (mPrototype.mDefaults[propertyIndex] != DEFAULT_UNDEFINED) {