Searched defs:margins (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/printing/
H A Dpage_setup_unittest.cc18 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.
42 effective_margins.header = std::max(margins
102 printing::PageMargins margins; local
166 printing::PageMargins margins; local
196 printing::PageMargins margins; local
[all...]
H A Dprint_settings.cc159 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
[all...]
/external/chromium_org/android_webview/native/
H A Daw_pdf_exporter.cc88 PageMargins margins; local
89 margins.left =
91 margins.right =
93 margins.top =
95 margins.bottom =
97 print_settings_->SetCustomMargins(margins);
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
H A DGridLayoutFactory.java69 * Sets the horizontal margins.
71 public GridLayoutFactory marginsH(int margins) { argument
72 m_layout.marginWidth = margins;
77 * Sets the vertical margins.
79 public GridLayoutFactory marginsV(int margins) { argument
80 m_layout.marginHeight = margins;
85 * Sets the horizontal/vertical margins.
87 public GridLayoutFactory margins(int margins) { argument
88 m_layout.marginWidth = m_layout.marginHeight = margins;
[all...]
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dbrowser_desktop_root_window_host_win.cc255 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
H A Dbrowser_frame_win.cc424 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/chrome/browser/ui/views/frame/
H A Dbrowser_frame_win.cc250 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/third_party/skia/src/utils/
H A DSkNinePatch.cpp255 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
254 drawNineViaRects(SkCanvas* canvas, const SkRect& dst, const SkBitmap& bitmap, const SkIRect& margins, const SkPaint* paint) argument
301 DrawNine(SkCanvas* canvas, const SkRect& bounds, const SkBitmap& bitmap, const SkIRect& margins, const SkPaint* paint) argument
[all...]
/external/skia/src/utils/
H A DSkNinePatch.cpp255 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
254 drawNineViaRects(SkCanvas* canvas, const SkRect& dst, const SkBitmap& bitmap, const SkIRect& margins, const SkPaint* paint) argument
301 DrawNine(SkCanvas* canvas, const SkRect& bounds, const SkBitmap& bitmap, const SkIRect& margins, const SkPaint* paint) argument
[all...]
/external/chromium_org/ui/views/bubble/
H A Dbubble_delegate.h79 const gfx::Insets& margins() const { return margins_; } function in class:views::BubbleDelegateView
80 void set_margins(const gfx::Insets& margins) { margins_ = margins; } argument
191 // The margins between the content and the inside of the border.
/external/chromium_org/ui/views/win/
H A Dhwnd_message_handler.cc1283 MARGINS margins = {-1,-1,-1,-1}; local
1284 DwmExtendFrameIntoClientArea(hwnd(), &margins); local
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderBox.cpp1654 // We need to see if margins on either the start side or the end side can contain the floats in question. If they can,
1658 // "consumed" by the float. Negative margins aren't consumed by the float, and so we ignore them.
2153 // just calculate margins
2278 // auto margins mean we don't stretch. Note that this function will only be used for
2362 // Inline blocks/tables and floats don't have their margins increased.
2371 // See also http://dev.w3.org/csswg/css-flexbox/#auto-margins
2406 // Case Four: Either no auto margins, or our width is >= the container width (css2.1, 10.3.3). In that case
2407 // auto margins will just turn into 0.
2540 // For tables, calculate margins only.
2612 LayoutUnit margins local
[all...]
H A DRenderBlock.cpp96 LayoutUnit margins[2]; member in struct:WebCore::SameSizeAsMarginInfo
177 // margins with our children's margins. To do otherwise would be to risk odd visual
1318 // (e) have specified that one of our margins can't collapse using a CSS extension
1581 // our current maximal positive and negative margins. These values are used when we
1588 // Start out by setting our margin values to our current margins. Table cells have
1589 // no margins, so we don't fill in the values for table cells.
1742 // When we have overflow clip, propagate the original spillout since it will include collapsed bottom margins
1842 // Positioned blocks don't collapse margins, so add the margin provided by
1863 // use the top margins, sinc
6061 LayoutUnit margins = 0; local
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jface_3.6.1.M20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 493 milliseconds