/frameworks/base/core/java/android/print/pdf/ |
PrintedPdfDocument.java | 25 import android.print.PrintAttributes.Margins; 94 Margins minMargins = attributes.getMinMargins();
|
/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 * @return The margins or <code>null</code> if not set. 111 public Margins getMinMargins() { 116 * Sets the minimal margins. If the content does not fit 117 * these margins it will be clipped. 119 * @param The margins. 123 public void setMinMargins(Margins margins) [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))
|
/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;
|
ClientRulesEngine.java | 35 import com.android.ide.common.api.Margins; 247 public @NonNull Margins getInsets() {
|
/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());
|
CanvasViewInfo.java | 27 import com.android.ide.common.api.Margins; 327 * Returns the {@link Margins} for this {@link CanvasViewInfo} 329 * @return the {@link Margins} for this {@link CanvasViewInfo} 332 public Margins getMargins() { 338 return new Margins( [all...] |
LayoutCanvas.java | 24 import com.android.ide.common.api.Margins; 881 // Reduce the margins if necessary [all...] |
/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 | 112 .setMinMargins(PrintAttributes.Margins.NO_MARGINS)
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
PrintJobConfigActivity.java | 50 import android.print.PrintAttributes.Margins; 1108 Margins margins = mCurrPrintAttributes.getMinMargins(); local [all...] |
PrintSpoolerService.java | 33 import android.print.PrintAttributes.Margins; 732 private static final String TAG_MARGINS = "margins"; 899 Margins margins = attributes.getMinMargins(); local 1147 Margins margins = new Margins(leftMils, topMils, rightMils, bottomMils); local [all...] |
/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...] |
GridModel.java | 54 import com.android.ide.common.api.Margins; [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...] |
GuidelineHandler.java | 61 import com.android.ide.common.api.Margins; 135 * edges, and top and bottom edges offset by the applicable margins in each direction 141 * right edges offset by the applicable margins in each direction 320 Margins margins = node.getMargins(); local 322 if (margins.top != 0) { 324 mHorizontalEdges.add(new Segment(b.y - margins.top, b.x, b.x2(), node, id, 329 if (margins.bottom != 0) { 332 mHorizontalEdges.add(new Segment(b.y2() + margins.bottom, b.x, b.x2(), node, 340 if (margins.left != 0) [all...] |
/prebuilts/devtools/tools/lib/ |
rule-api.jar | |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebViewTest.java | [all...] |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |