/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...] |
/external/chromium_org/printing/ |
page_setup_unittest.cc | 17 // Margins. 18 printing::PageMargins margins; local 19 margins.header = rand() % kMax; 20 margins.footer = rand() % kMax; 21 margins.left = rand() % kMax; 22 margins.top = rand() % kMax; 23 margins.right = rand() % kMax; 24 margins.bottom = rand() % kMax; 37 setup.SetRequestedMargins(margins); 40 // Calculate the effective margins 102 printing::PageMargins margins; local 166 printing::PageMargins margins; local 196 printing::PageMargins margins; local [all...] |
print_settings.cc | 159 PageMargins margins; local 162 // Default margins 1.0cm = ~2/5 of an inch. 165 margins.header = header_footer_text_height; 166 margins.footer = header_footer_text_height; 167 margins.top = margin_printer_units; 168 margins.bottom = margin_printer_units; 169 margins.left = margin_printer_units; 170 margins.right = margin_printer_units; 175 margins.header = 0; 176 margins.footer = 0 [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
SkNinePatch.cpp | 255 const SkBitmap& bitmap, const SkIRect& margins, 258 0, margins.fLeft, bitmap.width() - margins.fRight, bitmap.width() 261 0, margins.fTop, bitmap.height() - margins.fBottom, bitmap.height() 264 dst.fLeft, dst.fLeft + SkIntToScalar(margins.fLeft), 265 dst.fRight - SkIntToScalar(margins.fRight), dst.fRight 268 dst.fTop, dst.fTop + SkIntToScalar(margins.fTop), 269 dst.fBottom - SkIntToScalar(margins.fBottom), dst.fBottom 273 dstX[1] = dstX[0] + (dstX[3] - dstX[0]) * SkIntToScalar(margins.fLeft) [all...] |
/external/skia/src/utils/ |
SkNinePatch.cpp | 255 const SkBitmap& bitmap, const SkIRect& margins, 258 0, margins.fLeft, bitmap.width() - margins.fRight, bitmap.width() 261 0, margins.fTop, bitmap.height() - margins.fBottom, bitmap.height() 264 dst.fLeft, dst.fLeft + SkIntToScalar(margins.fLeft), 265 dst.fRight - SkIntToScalar(margins.fRight), dst.fRight 268 dst.fTop, dst.fTop + SkIntToScalar(margins.fTop), 269 dst.fBottom - SkIntToScalar(margins.fBottom), dst.fBottom 273 dstX[1] = dstX[0] + (dstX[3] - dstX[0]) * SkIntToScalar(margins.fLeft) [all...] |
/external/chromium_org/android_webview/native/ |
aw_pdf_exporter.cc | 88 PageMargins margins; local 89 margins.left = 91 margins.right = 93 margins.top = 95 margins.bottom = 97 print_settings_->SetCustomMargins(margins);
|
/external/chromium_org/third_party/skia/include/utils/ |
SkNinePatch.h | 23 const SkBitmap& bitmap, const SkIRect& margins,
|
/external/skia/include/utils/ |
SkNinePatch.h | 23 const SkBitmap& bitmap, const SkIRect& margins,
|
/external/chromium/chrome/browser/ui/views/frame/ |
browser_frame_win.cc | 250 MARGINS margins = { 0 }; 256 margins.cxLeftWidth = kClientEdgeThickness + 1; 257 margins.cxRightWidth = kClientEdgeThickness + 1; 258 margins.cyBottomHeight = kClientEdgeThickness + 1; 259 margins.cyTopHeight = kClientEdgeThickness + 1; 266 margins.cyTopHeight = (browser_view_->UseVerticalTabs() ? 270 // For popup and app windows we want to use the default margins. 272 DwmExtendFrameIntoClientArea(GetNativeView(), &margins); local
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
browser_desktop_root_window_host_win.cc | 255 MARGINS margins = { 0 }; 257 // If the opaque frame is visible, we use the default (zero) margins. 264 margins.cxLeftWidth = kClientEdgeThickness + 1; 265 margins.cxRightWidth = kClientEdgeThickness + 1; 266 margins.cyBottomHeight = kClientEdgeThickness + 1; 267 margins.cyTopHeight = kClientEdgeThickness + 1; 275 margins.cyTopHeight = tabstrip_bounds.bottom() + kDWMFrameTopOffset; 279 DwmExtendFrameIntoClientArea(GetHWND(), &margins); local
|
browser_frame_win.cc | 424 MARGINS margins = { 0 }; 426 // If the opaque frame is visible, we use the default (zero) margins. 433 margins.cxLeftWidth = kClientEdgeThickness + 1; 434 margins.cxRightWidth = kClientEdgeThickness + 1; 435 margins.cyBottomHeight = kClientEdgeThickness + 1; 436 margins.cyTopHeight = kClientEdgeThickness + 1; 444 margins.cyTopHeight = tabstrip_bounds.bottom() + kDWMFrameTopOffset; 448 DwmExtendFrameIntoClientArea(GetNativeView(), &margins); local
|
/external/chromium_org/ui/views/bubble/ |
bubble_delegate.h | 79 const gfx::Insets& margins() const { return margins_; } function in class:views::BubbleDelegateView 80 void set_margins(const gfx::Insets& margins) { margins_ = margins; } 191 // The margins between the content and the inside of the border.
|
bubble_delegate.cc | 211 BubbleFrameView* frame = new BubbleFrameView(margins());
|
/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...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/mac/ |
ThemeMac.mm | 207 static IntRect inflateRect(const IntRect& zoomedRect, const IntSize& zoomedSize, const int* margins, float zoomFactor) 211 int widthDelta = zoomedRect.width() - (zoomedSize.width() + margins[leftMargin] * zoomFactor + margins[rightMargin] * zoomFactor); 212 int heightDelta = zoomedRect.height() - (zoomedSize.height() + margins[topMargin] * zoomFactor + margins[bottomMargin] * zoomFactor); 215 result.setX(result.x() - margins[leftMargin] * zoomFactor); 219 result.setY(result.y() - margins[topMargin] * zoomFactor); 235 static const int margins[3][4] = 241 return margins[controlSize]; 319 static const int margins[3][4] [all...] |
/frameworks/base/core/java/android/widget/ |
FastScroller.java | 127 * Padding in pixels around the preview text. Applied as layout margins to 550 // Apply the preview image's padding as layout margins. 551 final Rect margins = mTempMargins; local 552 margins.left = mPreviewImage.getPaddingLeft(); 553 margins.top = mPreviewImage.getPaddingTop(); 554 margins.right = mPreviewImage.getPaddingRight(); 555 margins.bottom = mPreviewImage.getPaddingBottom(); 558 measureViewToSide(v, mThumbImage, margins, out); 560 measureFloating(v, margins, out); 572 * @param margins Layout margins to apply to the view [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;
|
/ndk/docs/tools/ |
ndk-markdown-substitutions.py | 169 margins = [ 0 ]
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
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...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderThemeChromiumMac.mm | 558 IntRect RenderThemeChromiumMac::inflateRect(const IntRect& r, const IntSize& size, const int* margins, float zoomLevel) const 562 int widthDelta = r.width() - (size.width() + margins[leftMargin] * zoomLevel + margins[rightMargin] * zoomLevel); 563 int heightDelta = r.height() - (size.height() + margins[topMargin] * zoomLevel + margins[bottomMargin] * zoomLevel); 566 result.setX(result.x() - margins[leftMargin] * zoomLevel); 570 result.setY(result.y() - margins[topMargin] * zoomLevel); [all...] |
RenderThemeChromiumMac.h | 133 IntRect inflateRect(const IntRect&, const IntSize&, const int* margins, float zoomLevel = 1.0f) const;
|
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/ |
android-support-v7-gridlayout.jar | |