HomeSort by relevance Sort by last modified time
    Searched refs:margins (Results 1 - 25 of 48) sorted by null

1 2

  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
GridLayoutFactory.java 69 * Sets the horizontal margins.
71 public GridLayoutFactory marginsH(int margins) {
72 m_layout.marginWidth = margins;
77 * Sets the vertical margins.
79 public GridLayoutFactory marginsV(int margins) {
80 m_layout.marginHeight = margins;
85 * Sets the horizontal/vertical margins.
87 public GridLayoutFactory margins(int margins) { method in class:GridLayoutFactory
88 m_layout.marginWidth = m_layout.marginHeight = margins;
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
ImageFloatingTextView.java 96 int[] margins = null; local
98 margins = new int[mIndentLines + 1];
100 margins[i] = endMargin;
104 builder.setIndents(margins, null);
106 builder.setIndents(null, margins);
  /cts/tests/tests/print/src/android/print/pdf/cts/
PrintedPdfDocumentTest.java 39 private static final PrintAttributes.Margins ZERO_MARGINS = new PrintAttributes.Margins(0, 0, 0,
147 PrintAttributes.Margins margins = new PrintAttributes.Margins(50, 60, 70, 80); local
148 PrintAttributes attr = new PrintAttributes.Builder().setMinMargins(margins)
152 assertEquals(new Rect(milsToPts(margins.getLeftMils()), milsToPts(margins.getTopMils()),
153 milsToPts(attr.getMediaSize().getWidthMils()) - milsToPts(margins.getRightMils()),
155 milsToPts(margins.getBottomMils())), doc.getPageContentRect())
    [all...]
  /frameworks/base/core/java/android/print/
PrinterCapabilitiesInfo.java 24 import android.print.PrintAttributes.Margins;
41 * minimal margins of the printer based on its technical design,
58 private static final Margins DEFAULT_MARGINS = new Margins(0, 0, 0, 0);
60 private @NonNull Margins mMinMargins = DEFAULT_MARGINS;
143 * Gets the minimal margins. These are the minimal margins
146 * @return The minimal margins.
148 public @NonNull Margins getMinMargins() {
407 private void writeMargins(Margins margins, Parcel parcel)
    [all...]
PrintAttributes.java 83 private @Nullable Margins mMinMargins;
95 mMinMargins = (parcel.readInt() == 1) ? Margins.createFromParcel(parcel) : null;
147 * Gets the minimal margins. If the content does not fit
148 * these margins it will be clipped.
150 * <strong>These margins are physically imposed by the printer and they
157 * @return The margins or <code>null</code> if not set.
159 public @Nullable Margins getMinMargins() {
164 * Sets the minimal margins. If the content does not fit
165 * these margins it will be clipped.
167 * <strong>These margins are physically imposed by the printer and the
    [all...]
  /frameworks/base/core/java/android/widget/
FastScroller.java 120 * Padding in pixels around the preview text. Applied as layout margins to
615 // Apply the preview image's padding as layout margins.
616 final Rect margins = mTempMargins; local
617 margins.left = mPreviewImage.getPaddingLeft();
618 margins.top = mPreviewImage.getPaddingTop();
619 margins.right = mPreviewImage.getPaddingRight();
620 margins.bottom = mPreviewImage.getPaddingBottom();
623 measureFloating(v, margins, out);
625 measureViewToSide(v, mThumbImage, margins, out);
637 * @param margins Layout margins to apply to the view
    [all...]
GridLayout.java 105 * property is set, default margins around children are automatically
107 * Each of the margins so defined may be independently overridden by an assignment
228 * to their margins, before the edges of the resulting rectangle are aligned.
438 * Returns whether or not this GridLayout will allocate default margins when no
441 * @return {@code true} if default margins should be allocated
452 * When {@code true}, GridLayout allocates default margins around children
454 * margins so defined may be independently overridden by an assignment
457 * When {@code false}, the default value of all margins is zero.
465 * @param useDefaultMargins use {@code true} to make GridLayout allocate default margins
696 int[] margins = leading ? axis.getLeadingMargins() : axis.getTrailingMargins() local
1665 int[] margins = leading ? leadingMargins : trailingMargins; local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
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...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
BaseLayoutRule.java 97 BaseLayoutRule.class.getResource("margins.png"); //$NON-NLS-1$
123 parentNode.editXml("Change Margins", new INodeHandler() {
132 String[] margins = mRulesEngine.displayMarginInput(all, left,
134 if (margins != null) {
135 assert margins.length == 5;
137 child.setAttribute(uri, ATTR_LAYOUT_MARGIN, margins[0]);
138 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_LEFT, margins[1]);
139 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_RIGHT, margins[2]);
140 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_TOP, margins[3]);
141 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_BOTTOM, margins[4])
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
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;
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
PrintPreviewController.java 25 import android.print.PrintAttributes.Margins;
133 Margins minMargins) {
300 Margins margins = (Margins) args.arg4; local
305 mediaSize, margins);
  /packages/services/BuiltInPrintService/jni/lib/
lib_wprint.c 1584 float margins[NUM_PAGE_MARGINS]; local
    [all...]
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
PrintSpoolerService.java 39 import android.print.PrintAttributes.Margins;
817 private static final String TAG_MARGINS = "margins";
995 Margins margins = attributes.getMinMargins(); local
1268 Margins margins = new Margins(leftMils, topMils, rightMils, bottomMils); local
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
ViewInflater.java 559 MarginLayoutParams margins = (MarginLayoutParams) layout; local
561 margins.bottomMargin = size;
563 margins.topMargin = size;
565 margins.leftMargin = size;
567 margins.rightMargin = size;
    [all...]
  /prebuilts/sdk/current/support/v7/gridlayout/libs/
android-support-v7-gridlayout.jar 
  /sdk/testapps/gridlayoutTest/v7-gridlayout/libs/
android-support-v7-gridlayout.jar 
  /frameworks/support/v7/gridlayout/src/android/support/v7/widget/
GridLayout.java 101 * property is set, default margins around children are automatically
103 * Each of the margins so defined may be independently overridden by an assignment
213 * to their margins, before the edges of the resulting rectangle are aligned.
427 * Returns whether or not this GridLayout will allocate default margins when no
430 * @return {@code true} if default margins should be allocated
441 * When {@code true}, GridLayout allocates default margins around children
443 * margins so defined may be independently overridden by an assignment
446 * When {@code false}, the default value of all margins is zero.
454 * @param useDefaultMargins use {@code true} to make GridLayout allocate default margins
684 int[] margins = leading ? axis.getLeadingMargins() : axis.getTrailingMargins() local
1556 int[] margins = leading ? leadingMargins : trailingMargins; local
    [all...]
  /build/make/tools/droiddoc/templates-ndk/assets/js/
android_3p-bundle.js     [all...]
  /build/make/tools/droiddoc/templates-pdk/assets/design/
default.css 663 .layout-with-list-item-margins {
  /build/make/tools/droiddoc/templates-sac/assets/js/
android_3p-bundle.js     [all...]
  /external/doclava/res/assets/templates-sdk/assets/js/
android_3p-bundle.js     [all...]
  /prebuilts/tools/common/m2/repository/com/android/tools/external/propertysheet/1.0/
propertysheet-1.0.jar 
  /external/netperf/doc/
texinfo.tex     [all...]
  /external/e2fsprogs/doc/
texinfo.tex     [all...]
  /external/e2fsprogs/lib/et/
texinfo.tex     [all...]

Completed in 2499 milliseconds

1 2