Home
last modified time | relevance | path

Searched refs:Margins (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/print/
DPrinterCapabilitiesInfo.java21 import android.print.PrintAttributes.Margins;
53 private static final Margins DEFAULT_MARGINS = new Margins(0, 0, 0, 0);
55 private Margins mMinMargins = DEFAULT_MARGINS;
143 public Margins getMinMargins() { in getMinMargins()
380 private void writeMargins(Margins margins, Parcel parcel) { in writeMargins()
389 private Margins readMargins(Parcel parcel) { in readMargins()
390 return (parcel.readInt() == 1) ? Margins.createFromParcel(parcel) : null; in readMargins()
505 public Builder setMinMargins(Margins margins) { in setMinMargins()
DPrintAttributes.java60 private Margins mMinMargins;
72 mMinMargins = (parcel.readInt() == 1) ? Margins.createFromParcel(parcel) : null; in PrintAttributes()
130 public Margins getMinMargins() { in getMinMargins()
149 public void setMinMargins(Margins margins) { in setMinMargins()
1191 public static final class Margins { class in PrintAttributes
1192 public static final Margins NO_MARGINS = new Margins(0, 0, 0, 0);
1207 public Margins(int leftMils, int topMils, int rightMils, int bottomMils) { in Margins() method in PrintAttributes.Margins
1257 static Margins createFromParcel(Parcel parcel) { in createFromParcel()
1258 return new Margins( in createFromParcel()
1287 Margins other = (Margins) obj; in equals()
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPageContentView.java23 import android.print.PrintAttributes.Margins;
43 private Margins mMinMargins;
69 MediaSize mediaSize, Margins minMargins) { in init()
/frameworks/base/core/java/android/print/pdf/
DPrintedPdfDocument.java25 import android.print.PrintAttributes.Margins;
94 Margins minMargins = attributes.getMinMargins(); in PrintedPdfDocument()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintPreviewController.java25 import android.print.PrintAttributes.Margins;
133 Margins minMargins) { in onContentUpdated()
300 Margins margins = (Margins) args.arg4; in handleMessage()
DPageAdapter.java26 import android.print.PrintAttributes.Margins;
106 private Margins mMinMargins;
203 int documentPageCount, MediaSize mediaSize, Margins minMargins) { in update()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DPdfManipulationService.java33 import android.print.PrintAttributes.Margins;
145 Margins minMargins = attributes.getMinMargins(); in renderPage()
341 Margins minMargins = attributes.getMinMargins(); in applyPrintAttributes()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java34 import android.print.PrintAttributes.Margins;
342 MediaSize mediaSize, Margins minMargins) { in RenderSpec()
DPrintSpoolerService.java34 import android.print.PrintAttributes.Margins;
870 Margins margins = attributes.getMinMargins(); in doWriteStateLocked()
1124 Margins margins = new Margins(leftMils, topMils, rightMils, bottomMils); in parsePrintJob()
/frameworks/base/docs/html/guide/topics/ui/
Ddeclaring-layout.jd18 <li><a href="#SizePaddingMargins">Size, Padding and Margins</a></li>
259 <h2 id="SizePaddingMargins">Size, Padding and Margins</h2>
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dwidget_design.jd223 href="{@docRoot}guide/topics/appwidgets/index.html#AddingMargins">Adding Margins to App Widgets</a>
/frameworks/base/api/
Dcurrent.txt24133 method public android.print.PrintAttributes.Margins getMinMargins();
24150 … public android.print.PrintAttributes.Builder setMinMargins(android.print.PrintAttributes.Margins);
24154 public static final class PrintAttributes.Margins {
24155 ctor public PrintAttributes.Margins(int, int, int, int);
24160 field public static final android.print.PrintAttributes.Margins NO_MARGINS;
24368 method public android.print.PrintAttributes.Margins getMinMargins();
24381 …android.print.PrinterCapabilitiesInfo.Builder setMinMargins(android.print.PrintAttributes.Margins);
Dsystem-current.txt26089 method public android.print.PrintAttributes.Margins getMinMargins();
26106 … public android.print.PrintAttributes.Builder setMinMargins(android.print.PrintAttributes.Margins);
26110 public static final class PrintAttributes.Margins {
26111 ctor public PrintAttributes.Margins(int, int, int, int);
26116 field public static final android.print.PrintAttributes.Margins NO_MARGINS;
26324 method public android.print.PrintAttributes.Margins getMinMargins();
26337 …android.print.PrinterCapabilitiesInfo.Builder setMinMargins(android.print.PrintAttributes.Margins);