Home | History | Annotate | Download | only in print

Lines Matching refs:resolution

26 import android.print.PrintAttributes.Resolution;
62 private @NonNull List<Resolution> mResolutions;
109 mResolutions = new ArrayList<Resolution>(other.mResolutions);
138 public @NonNull List<Resolution> getResolutions() {
400 mResolutions = new ArrayList<Resolution>();
403 mResolutions.add(Resolution.createFromParcel(parcel));
490 * Adds a supported resolution.
495 * @param resolution A resolution.
502 * @see PrintAttributes.Resolution
504 public @NonNull Builder addResolution(@NonNull Resolution resolution, boolean isDefault) {
506 mPrototype.mResolutions = new ArrayList<Resolution>();
509 mPrototype.mResolutions.add(resolution);
621 throw new IllegalStateException("No resolution specified.");
624 throw new IllegalStateException("No default resolution specified.");