/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
PageContentView.java | 23 import android.print.PrintAttributes.Margins; 43 private Margins mMinMargins; 69 MediaSize mediaSize, Margins minMargins) {
|
/frameworks/base/core/java/android/print/pdf/ |
PrintedPdfDocument.java | 25 import android.print.PrintAttributes.Margins; 94 Margins minMargins = attributes.getMinMargins();
|
/external/chromium_org/components/cloud_devices/common/ |
printer_description.h | 71 struct Margins { 72 Margins(); 73 Margins(MarginsType type, 79 bool operator==(const Margins& other) const; 80 bool operator!=(const Margins& other) const { return !(*this == other); } 347 typedef SelectionCapability<Margins, MarginsTraits> MarginsCapability; 361 typedef TicketItem<Margins, MarginsTraits> MarginsTicketItem;
|
printer_description_unittest.cc | 76 " 'margins': {" 216 " 'margins': {" 273 MarginsCapability margins; local 288 EXPECT_FALSE(margins.LoadFrom(description)); 319 MarginsCapability margins; local 352 margins.AddDefaultOption(Margins(NO_MARGINS, 0, 0, 0, 0), true); 353 margins.AddOption(Margins(STANDARD_MARGINS, 100, 200, 300, 400)); 354 margins.AddOption(Margins(CUSTOM_MARGINS, 1, 2, 3, 4)) 399 MarginsCapability margins; local 484 MarginsTicketItem margins; local 520 MarginsTicketItem margins; local 572 MarginsTicketItem margins; local [all...] |
printer_description.cc | 41 extern const char kOptionMargins[] = "margins"; 404 Margins::Margins() 408 Margins::Margins(MarginsType type, 420 bool Margins::operator==(const Margins& other) const { 652 static bool Load(const base::DictionaryValue& dict, Margins* option) { 664 static void Save(const Margins& option, base::DictionaryValue* dict) { 819 template class SelectionCapability<Margins, MarginsTraits> [all...] |
/frameworks/base/core/java/android/print/ |
PrinterCapabilitiesInfo.java | 21 import android.print.PrintAttributes.Margins; 36 * minimal margins of the printer based on its technical design, 52 private static final Margins DEFAULT_MARGINS = new Margins(0, 0, 0, 0); 54 private Margins mMinMargins = DEFAULT_MARGINS; 135 * Gets the minimal margins. These are the minimal margins 138 * @return The minimal margins. 140 public Margins getMinMargins() { 336 private void writeMargins(Margins margins, Parcel parcel) [all...] |
PrintAttributes.java | 50 private Margins mMinMargins; 61 mMinMargins = (parcel.readInt() == 1) ? Margins.createFromParcel(parcel) : null; 106 * Gets the minimal margins. If the content does not fit 107 * these margins it will be clipped. 109 * <strong>These margins are physically imposed by the printer and they 116 * @return The margins or <code>null</code> if not set. 118 public Margins getMinMargins() { 123 * Sets the minimal margins. If the content does not fit 124 * these margins it will be clipped. 126 * <strong>These margins are physically imposed by the printer and the [all...] |
/packages/experimental/PrintService2/src/foo/bar/printservice2/ |
MyPrintService.java | 10 import android.print.PrintAttributes.Margins; 140 .setMinMargins(new Margins(0, 0, 0, 0), new Margins(0, 0, 0, 0)) 176 .setMinMargins(new Margins(0, 0, 0, 0), new Margins(0, 0, 0, 0))
|
/cts/tests/tests/print/src/android/print/cts/ |
PrintDocumentAdapterContractTest.java | 29 import android.print.PrintAttributes.Margins; 140 .setMinMargins(Margins.NO_MARGINS) 158 .setMinMargins(Margins.NO_MARGINS) 250 .setMinMargins(Margins.NO_MARGINS) 368 .setMinMargins(Margins.NO_MARGINS) 386 .setMinMargins(Margins.NO_MARGINS) 398 .setMinMargins(Margins.NO_MARGINS) 410 .setMinMargins(Margins.NO_MARGINS) 422 .setMinMargins(Margins.NO_MARGINS) 537 .setMinMargins(Margins.NO_MARGINS [all...] |
PrinterDiscoverySessionLifecycleTest.java | 24 import android.print.PrintAttributes.Margins; 363 .setMinMargins(new Margins(200, 200, 200, 200))
|
PageRangeAdjustmentTest.java | 26 import android.print.PrintAttributes.Margins; 632 .setMinMargins(new Margins(200, 200, 200, 200))
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
ViewMetadataRepository.java | 31 import com.android.ide.common.api.Margins; 782 public static Margins getInsets(String fqcn, Density density, String theme) { 789 return new Margins(5, 5, 5, 5); 792 return new Margins(4, 4, 0, 7); 797 return new Margins(3, 3, 3, 3); 800 return new Margins(2, 2, 0, 4); 805 return new Margins(2, 2, 2, 2); 808 return new Margins(1, 3, 0, 4); 815 return new Margins(5, 5, 5, 5); 818 return new Margins(2, 2, 0, 5) [all...] |
NodeProxy.java | 24 import com.android.ide.common.api.Margins; 59 private static final Margins NO_MARGINS = new Margins(0, 0, 0, 0); 97 public @NonNull Margins getMargins() { 101 Margins margins = view.getMargins(); local 102 if (margins != null) { 103 return margins;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SelectionHandles.java | 19 import com.android.ide.common.api.Margins; 95 Margins insets = canvas.getInsets(mItem.getNode().getFqcn());
|
SelectionOverlay.java | 22 import com.android.ide.common.api.Margins; 138 // when making pixel margins 203 Margins insets = mCanvas.getInsets(selectedNode.getFqcn());
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
PrintPreviewController.java | 25 import android.print.PrintAttributes.Margins; 133 Margins minMargins) { 309 Margins margins = (Margins) args.arg4; local 314 mediaSize, margins);
|
PageAdapter.java | 26 import android.print.PrintAttributes.Margins; 106 private Margins mMinMargins; 194 int documentPageCount, MediaSize mediaSize, Margins minMargins) {
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
PdfManipulationService.java | 33 import android.print.PrintAttributes.Margins; 139 Margins minMargins = attributes.getMinMargins();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
LayoutTestBase.java | 31 import com.android.ide.common.api.Margins; 239 public @NonNull Margins getInsets() {
|
TestNode.java | 31 import com.android.ide.common.api.Margins; 229 public @NonNull Margins getMargins() {
|
/packages/experimental/PrintService/src/foo/bar/printservice/ |
MyPrintService.java | 27 import android.print.PrintAttributes.Margins; 384 .setMinMargins(new Margins(200, 200, 200, 200))
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/printing/ |
PrintingControllerTest.java | 99 .setMinMargins(PrintAttributes.Margins.NO_MARGINS)
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
PageContentRepository.java | 33 import android.print.PrintAttributes.Margins; 341 MediaSize mediaSize, Margins minMargins) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridDropHandler.java | 36 import com.android.ide.common.api.Margins; 623 Margins insets = metadata.getInsets(); 661 Margins insets = metadata.getInsets(); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
ConstraintPainter.java | 39 import com.android.ide.common.api.Margins; 364 * margins, or where the two nodes overlap horizontally and where they don't, etc. 387 Margins targetMargins = targetNode.getMargins(); 440 // for small margins 529 // them (but this will require me to evaluate margins!) 607 * Paints a horizontal constraint, handling the various scenarios where there are margins, 615 Margins targetMargins = targetNode.getMargins(); [all...] |