Searched refs:MediaSize (Results 1 – 17 of 17) sorted by relevance
85 private @Nullable MediaSize mMediaSize;97 mMediaSize = (parcel.readInt() == 1) ? MediaSize.createFromParcel(parcel) : null; in PrintAttributes()115 public @Nullable MediaSize getMediaSize() { in getMediaSize()126 public void setMediaSize(MediaSize mediaSize) { in setMediaSize()459 public static final class MediaSize { class in PrintAttributes462 private static final Map<String, MediaSize> sIdToMediaSizeMap =472 public static final MediaSize UNKNOWN_PORTRAIT =473 new MediaSize("UNKNOWN_PORTRAIT", "android",483 public static final MediaSize UNKNOWN_LANDSCAPE =484 new MediaSize("UNKNOWN_LANDSCAPE", "android",[all …]
26 import android.print.PrintAttributes.MediaSize;63 private @NonNull List<MediaSize> mMediaSizes;100 mMediaSizes = new ArrayList<MediaSize>(other.mMediaSizes); in copyFrom()131 public @NonNull List<MediaSize> getMediaSizes() { in getMediaSizes()380 mMediaSizes = new ArrayList<MediaSize>(); in readMediaSizes()383 mMediaSizes.add(MediaSize.createFromParcel(parcel)); in readMediaSizes()478 public @NonNull Builder addMediaSize(@NonNull MediaSize mediaSize, boolean isDefault) { in addMediaSize()480 mPrototype.mMediaSizes = new ArrayList<MediaSize>(); in addMediaSize()
23 import android.print.PrintAttributes.MediaSize;36 private static Map<MediaSize, Integer> sMediaSizeToStandardMap;51 public static MediaSize getDefault(Context context) { in getDefault()53 return MediaSize.getStandardMediaSizeById(mediaSizeId); in getDefault()64 private static int getStandardForMediaSize(Context context, MediaSize mediaSize) { in getStandardForMediaSize()75 MediaSize key = MediaSize.getStandardMediaSizeById(mediaSizeId); in getStandardForMediaSize()89 public static final class MediaSizeComparator implements Comparator<MediaSize> {99 private final @NonNull Map<MediaSize, String> mMediaSizeToLabel;131 public @NonNull String getLabel(@NonNull Context context, @NonNull MediaSize mediaSize) { in getLabel()143 public int compare(MediaSize lhs, MediaSize rhs) { in compare()
67 private PrintAttributes.MediaSize mFirst;69 private PrintAttributes.MediaSize mSecond;71 public WorkflowTest(PrintAttributes.MediaSize first, boolean selectPrinter, in WorkflowTest()72 PrintAttributes.MediaSize second) { in WorkflowTest()107 String name, PrintAttributes.MediaSize mediaSize) { in addPrinter()160 ArrayList<String> trackedPrinters, PrintAttributes.MediaSize mediaSize) { in setMockPrintServiceCallbacks()255 for (PrintAttributes.MediaSize first : new PrintAttributes.MediaSize[]{ in getParameters()256 PrintAttributes.MediaSize.ISO_A0, null}) { in getParameters()258 for (PrintAttributes.MediaSize second : new PrintAttributes.MediaSize[]{ in getParameters()259 PrintAttributes.MediaSize.ISO_A1, null}) { in getParameters()
22 import android.print.PrintAttributes.MediaSize;41 private MediaSize mMediaSize;80 MediaSize mediaSize, Margins minMargins) { in init()
26 import android.print.PrintAttributes.MediaSize;84 MediaSize mediaSize = attributes.getMediaSize(); in PrintedPdfDocument()
24 import android.print.PrintAttributes.MediaSize;132 PageRange[] writtenPages, PageRange[] selectedPages, MediaSize mediaSize, in onContentUpdated()299 MediaSize mediaSize = (MediaSize) args.arg3; in handleMessage()
53 import android.print.PrintAttributes.MediaSize;210 private ArrayAdapter<SpinnerItem<MediaSize>> mMediaSizeSpinnerAdapter;876 MediaSize oldMediaSize = currAttributes.getMediaSize(); in onAdvancedPrintOptionsActivityResult()877 MediaSize newMediaSize = newAttributes.getMediaSize(); in onAdvancedPrintOptionsActivityResult()880 MediaSize newMediaSizePortrait = newAttributes.getMediaSize().asPortrait(); in onAdvancedPrintOptionsActivityResult()882 MediaSize supportedSizePortrait = mMediaSizeSpinnerAdapter.getItem(i) in onAdvancedPrintOptionsActivityResult()1179 List<MediaSize> sortedMediaSizes = new ArrayList<>(capabilities.getMediaSizes()); in updatePrintAttributesFromCapabilities()1185 MediaSize currMediaSize = attributes.getMediaSize(); in updatePrintAttributesFromCapabilities()1190 MediaSize newMediaSize = null; in updatePrintAttributesFromCapabilities()1195 MediaSize currMediaSizePortrait = currMediaSize.asPortrait(); in updatePrintAttributesFromCapabilities()[all …]
29 import android.print.PrintAttributes.MediaSize;111 private MediaSize mMediaSize;209 int documentPageCount, MediaSize mediaSize, Margins minMargins) { in update()
154 String idName, long id, @NonNull PrintAttributes.MediaSize mediaSize) { in writeMediaSize()213 PrintAttributes.MediaSize mediaSize = attributes.getMediaSize(); in writePrintAttributes()
36 import android.print.PrintAttributes.MediaSize;142 .addMediaSize(MediaSize.ISO_A4, true)
37 import android.print.PrintAttributes.MediaSize;366 MediaSize mediaSize, Margins minMargins) { in RenderSpec()
48 import android.print.PrintAttributes.MediaSize;1002 MediaSize mediaSize = attributes.getMediaSize(); in doWriteStateLocked()1276 MediaSize mediaSize = new MediaSize(id, label, packageName, in parsePrintJobLocked()
34984 method @Nullable public android.print.PrintAttributes.MediaSize getMediaSize();35001 …droid.print.PrintAttributes.Builder setMediaSize(@NonNull android.print.PrintAttributes.MediaSize);35015 public static final class PrintAttributes.MediaSize {35016 …ctor public PrintAttributes.MediaSize(@NonNull String, @NonNull String, @IntRange(from=1) int, @In…35017 method @NonNull public android.print.PrintAttributes.MediaSize asLandscape();35018 method @NonNull public android.print.PrintAttributes.MediaSize asPortrait();35024 field @NonNull public static final android.print.PrintAttributes.MediaSize ANSI_C;35025 field @NonNull public static final android.print.PrintAttributes.MediaSize ANSI_D;35026 field @NonNull public static final android.print.PrintAttributes.MediaSize ANSI_E;35027 field @NonNull public static final android.print.PrintAttributes.MediaSize ANSI_F;[all …]
22858 method public android.print.PrintAttributes.MediaSize getMediaSize();22871 …public android.print.PrintAttributes.Builder setMediaSize(android.print.PrintAttributes.MediaSize);22885 public static final class PrintAttributes.MediaSize {22886 ctor public PrintAttributes.MediaSize(java.lang.String, java.lang.String, int, int);22887 method public android.print.PrintAttributes.MediaSize asLandscape();22888 method public android.print.PrintAttributes.MediaSize asPortrait();22894 field public static final android.print.PrintAttributes.MediaSize ISO_A0;22895 field public static final android.print.PrintAttributes.MediaSize ISO_A1;22896 field public static final android.print.PrintAttributes.MediaSize ISO_A10;22897 field public static final android.print.PrintAttributes.MediaSize ISO_A2;[all …]
40318 Landroid/print/PrintAttributes$MediaSize;-><init>(Ljava/lang/String;Ljava/lang/String;III)V40319 Landroid/print/PrintAttributes$MediaSize;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/St…40320 Landroid/print/PrintAttributes$MediaSize;->createFromParcel(Landroid/os/Parcel;)Landroid/print/Prin…40321 Landroid/print/PrintAttributes$MediaSize;->getAllPredefinedSizes()Landroid/util/ArraySet;40322 …droid/print/PrintAttributes$MediaSize;->getStandardMediaSizeById(Ljava/lang/String;)Landroid/print…40323 Landroid/print/PrintAttributes$MediaSize;->LOG_TAG:Ljava/lang/String;40324 Landroid/print/PrintAttributes$MediaSize;->mHeightMils:I40325 Landroid/print/PrintAttributes$MediaSize;->mId:Ljava/lang/String;40326 Landroid/print/PrintAttributes$MediaSize;->mLabel:Ljava/lang/String;40327 Landroid/print/PrintAttributes$MediaSize;->mLabelResId:I[all …]
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...