HomeSort by relevance Sort by last modified time
    Searched refs:MediaSize (Results 1 - 15 of 15) sorted by null

  /frameworks/base/core/java/android/print/
PrintAttributes.java 48 private MediaSize mMediaSize;
59 mMediaSize = (parcel.readInt() == 1) ? MediaSize.createFromParcel(parcel) : null;
70 public MediaSize getMediaSize() {
81 public void setMediaSize(MediaSize mediaSize) {
82 mMediaSize = mediaSize;
236 builder.append("mediaSize: ").append(mMediaSize);
274 public static final class MediaSize {
275 private static final String LOG_TAG = "MediaSize";
277 private static final Map<String, MediaSize> sIdToMediaSizeMap
    [all...]
PrinterCapabilitiesInfo.java 22 import android.print.PrintAttributes.MediaSize;
55 private List<MediaSize> mMediaSizes;
91 mMediaSizes = new ArrayList<MediaSize>(other.mMediaSizes);
121 public List<MediaSize> getMediaSizes() {
307 mMediaSizes = new ArrayList<MediaSize>();
310 mMediaSizes.add(MediaSize.createFromParcel(parcel));
397 * @param mediaSize A media size.
403 * @see PrintAttributes.MediaSize
405 public Builder addMediaSize(MediaSize mediaSize, boolean isDefault)
    [all...]
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
MediaSizeUtils.java 20 import android.print.PrintAttributes.MediaSize;
31 private static Map<MediaSize, String> sMediaSizeToStandardMap;
39 public static MediaSize getDefault(Context context) {
41 return MediaSize.getStandardMediaSizeById(mediaSizeId);
44 private static String getStandardForMediaSize(Context context, MediaSize mediaSize) {
46 sMediaSizeToStandardMap = new ArrayMap<MediaSize, String>();
52 MediaSize key = MediaSize.getStandardMediaSizeById(mediaSizeId);
57 String standard = sMediaSizeToStandardMap.get(mediaSize);
    [all...]
PrintJobConfigActivity.java 51 import android.print.PrintAttributes.MediaSize;
    [all...]
PrintSpoolerService.java 34 import android.print.PrintAttributes.MediaSize;
730 private static final String TAG_MEDIA_SIZE = "mediaSize";
    [all...]
  /frameworks/base/core/java/android/print/pdf/
PrintedPdfDocument.java 26 import android.print.PrintAttributes.MediaSize;
85 MediaSize mediaSize = attributes.getMediaSize();
88 mPageWidth = (int) (((float) mediaSize.getWidthMils() / MILS_PER_INCH)
90 mPageHeight = (int) (((float) mediaSize.getHeightMils() / MILS_PER_INCH)
  /packages/experimental/PrintService/src/foo/bar/printservice/
CustomPrintOptionsActivity.java 9 import android.print.PrintAttributes.MediaSize;
35 .setMediaSize(MediaSize.ISO_A5)
MyPrintService.java 28 import android.print.PrintAttributes.MediaSize;
385 .addMediaSize(MediaSize.ISO_A4, true)
386 .addMediaSize(MediaSize.ISO_A5, false)
  /packages/experimental/PrintService2/src/foo/bar/printservice2/
MyPrintService.java 141 .addMediaSize(PrintAttributes.MediaSize.ISO_A2, false)
142 .addMediaSize(PrintAttributes.MediaSize.ISO_A3, false)
143 .addMediaSize(PrintAttributes.MediaSize.ISO_A4, false)
144 .addMediaSize(PrintAttributes.MediaSize.ISO_A5, false)
145 .addMediaSize(PrintAttributes.MediaSize.ISO_A6, false)
146 .addMediaSize(PrintAttributes.MediaSize.NA_LETTER, true)
177 .addMediaSize(PrintAttributes.MediaSize.ISO_A4, true)
178 .addMediaSize(PrintAttributes.MediaSize.ISO_A5, false)
  /frameworks/support/v4/kitkat/android/support/v4/print/
PrintHelperKitkat.java 169 PrintAttributes.MediaSize mediaSize = PrintAttributes.MediaSize.UNKNOWN_PORTRAIT;
171 mediaSize = PrintAttributes.MediaSize.UNKNOWN_LANDSCAPE;
174 .setMediaSize(mediaSize)
439 builder.setMediaSize(PrintAttributes.MediaSize.UNKNOWN_LANDSCAPE);
441 builder.setMediaSize(PrintAttributes.MediaSize.UNKNOWN_PORTRAIT);
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/printing/
PrintingControllerTest.java 110 .setMediaSize(PrintAttributes.MediaSize.ISO_A4)
  /external/chromium_org/printing/android/java/src/org/chromium/printing/
PrintingControllerImpl.java 59 private PrintAttributes.MediaSize mMediaSize;
  /cts/tests/tests/webkit/src/android/webkit/cts/
WebViewTest.java     [all...]
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/current/
android.jar 

Completed in 100 milliseconds