Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/print/
DPrinterCapabilitiesInfo.java24 import android.print.PrintAttributes.Margins;
58 private static final Margins DEFAULT_MARGINS = new Margins(0, 0, 0, 0);
60 private @NonNull Margins mMinMargins = DEFAULT_MARGINS;
148 public @NonNull Margins getMinMargins() { in getMinMargins()
407 private void writeMargins(Margins margins, Parcel parcel) { in writeMargins()
416 private Margins readMargins(Parcel parcel) { in readMargins()
417 return (parcel.readInt() == 1) ? Margins.createFromParcel(parcel) : null; in readMargins()
532 public @NonNull Builder setMinMargins(@NonNull Margins margins) { in setMinMargins()
DPrintAttributes.java87 private @Nullable Margins mMinMargins;
99 mMinMargins = (parcel.readInt() == 1) ? Margins.createFromParcel(parcel) : null; in PrintAttributes()
163 public @Nullable Margins getMinMargins() { in getMinMargins()
182 public void setMinMargins(Margins margins) { in setMinMargins()
1221 public static final class Margins { class in PrintAttributes
1222 public static final Margins NO_MARGINS = new Margins(0, 0, 0, 0);
1237 public Margins(int leftMils, int topMils, int rightMils, int bottomMils) { in Margins() method in PrintAttributes.Margins
1287 static Margins createFromParcel(Parcel parcel) { in createFromParcel()
1288 return new Margins( in createFromParcel()
1317 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;
80 MediaSize mediaSize, Margins minMargins) { in init()
/frameworks/base/core/java/android/print/pdf/
DPrintedPdfDocument.java25 import android.print.PrintAttributes.Margins;
93 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.java28 import android.print.PrintAttributes.Margins;
112 private Margins mMinMargins;
209 int documentPageCount, MediaSize mediaSize, Margins minMargins) { in update()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DPdfManipulationService.java33 import android.print.PrintAttributes.Margins;
144 Margins minMargins = attributes.getMinMargins(); in renderPage()
335 Margins minMargins = attributes.getMinMargins(); in applyPrintAttributes()
/frameworks/base/core/java/com/android/internal/print/
DDumpUtils.java190 @NonNull PrintAttributes.Margins margins) { in writeMargins()
224 PrintAttributes.Margins minMargins = attributes.getMinMargins(); in writePrintAttributes()
/frameworks/base/core/tests/coretests/src/android/print/
DIPrintManagerParametersTest.java35 import android.print.PrintAttributes.Margins;
136 new Margins(200, 200, 200, 200))
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java36 import android.print.PrintAttributes.Margins;
366 MediaSize mediaSize, Margins minMargins) { in RenderSpec()
DPrintSpoolerService.java47 import android.print.PrintAttributes.Margins;
1038 Margins margins = attributes.getMinMargins(); in doWriteStateLocked()
1311 Margins margins = new Margins(leftMils, topMils, rightMils, bottomMils); in parsePrintJobLocked()
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java111 builder.setMinMargins(new PrintAttributes.Margins(0, 0, 0, 0)) in addPrinter()
/frameworks/base/core/proto/android/service/
Dprint.proto269 // Margins around the document
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22859 method public android.print.PrintAttributes.Margins getMinMargins();
22872 … public android.print.PrintAttributes.Builder setMinMargins(android.print.PrintAttributes.Margins);
22876 public static final class PrintAttributes.Margins {
22877 ctor public PrintAttributes.Margins(int, int, int, int);
22882 field public static final android.print.PrintAttributes.Margins NO_MARGINS;
23089 method public android.print.PrintAttributes.Margins getMinMargins();
23101 …android.print.PrinterCapabilitiesInfo.Builder setMinMargins(android.print.PrintAttributes.Margins);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt54840 Landroid/print/PrintAttributes$Margins;->createFromParcel(Landroid/os/Parcel;)Landroid/print/PrintA…
54841 Landroid/print/PrintAttributes$Margins;->mBottomMils:I
54842 Landroid/print/PrintAttributes$Margins;->mLeftMils:I
54843 Landroid/print/PrintAttributes$Margins;->mRightMils:I
54844 Landroid/print/PrintAttributes$Margins;->mTopMils:I
54845 Landroid/print/PrintAttributes$Margins;->writeToParcel(Landroid/os/Parcel;)V
54880 Landroid/print/PrintAttributes;->mMinMargins:Landroid/print/PrintAttributes$Margins;
54885 Landroid/print/PrintAttributes;->setMinMargins(Landroid/print/PrintAttributes$Margins;)V
54906 Landroid/print/PrinterCapabilitiesInfo;->DEFAULT_MARGINS:Landroid/print/PrintAttributes$Margins;
54914 Landroid/print/PrinterCapabilitiesInfo;->mMinMargins:Landroid/print/PrintAttributes$Margins;
[all …]
/frameworks/base/non-updatable-api/
Dcurrent.txt36401 method @Nullable public android.print.PrintAttributes.Margins getMinMargins();
36418 …ndroid.print.PrintAttributes.Builder setMinMargins(@NonNull android.print.PrintAttributes.Margins);
36422 public static final class PrintAttributes.Margins {
36423 ctor public PrintAttributes.Margins(int, int, int, int);
36428 field public static final android.print.PrintAttributes.Margins NO_MARGINS;
36639 method @NonNull public android.print.PrintAttributes.Margins getMinMargins();
36652 …rint.PrinterCapabilitiesInfo.Builder setMinMargins(@NonNull android.print.PrintAttributes.Margins);
/frameworks/base/api/
Dcurrent.txt36545 method @Nullable public android.print.PrintAttributes.Margins getMinMargins();
36562 …ndroid.print.PrintAttributes.Builder setMinMargins(@NonNull android.print.PrintAttributes.Margins);
36566 public static final class PrintAttributes.Margins {
36567 ctor public PrintAttributes.Margins(int, int, int, int);
36572 field public static final android.print.PrintAttributes.Margins NO_MARGINS;
36783 method @NonNull public android.print.PrintAttributes.Margins getMinMargins();
36796 …rint.PrinterCapabilitiesInfo.Builder setMinMargins(@NonNull android.print.PrintAttributes.Margins);