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

/external/chromium_org/printing/
H A Dpage_setup_unittest.cc20 printing::PageMargins margins; local
21 margins.header = rand() % kMax;
22 margins.footer = rand() % kMax;
23 margins.left = rand() % kMax;
24 margins.top = rand() % kMax;
25 margins.right = rand() % kMax;
26 margins.bottom = rand() % kMax;
39 setup.SetRequestedMargins(margins);
42 // Calculate the effective margins.
44 effective_margins.header = std::max(margins
104 printing::PageMargins margins; local
168 printing::PageMargins margins; local
198 printing::PageMargins margins; local
[all...]
H A Dprint_settings.cc154 PageMargins margins; local
157 // Default margins 1.0cm = ~2/5 of an inch.
160 margins.header = header_footer_text_height;
161 margins.footer = header_footer_text_height;
162 margins.top = margin_printer_units;
163 margins.bottom = margin_printer_units;
164 margins.left = margin_printer_units;
165 margins.right = margin_printer_units;
170 margins.header = 0;
171 margins
[all...]
/external/chromium_org/android_webview/native/
H A Daw_pdf_exporter.cc89 PageMargins margins; local
90 margins.left =
92 margins.right =
94 margins.top =
96 margins.bottom =
98 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/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/chrome/browser/ui/views/frame/
H A Dbrowser_desktop_root_window_host_win.cc227 MARGINS margins = GetDWMFrameMargins(); local
231 RECT rect = { 0, 0, client_rect.right, margins.cyTopHeight };
288 MARGINS margins = GetDWMFrameMargins();
290 DwmExtendFrameIntoClientArea(GetHWND(), &margins); local
294 MARGINS margins = { 0 }; local
296 // If the opaque frame is visible, we use the default (zero) margins.
303 margins.cxLeftWidth = kClientEdgeThickness + 1;
304 margins.cxRightWidth = kClientEdgeThickness + 1;
305 margins.cyBottomHeight = kClientEdgeThickness + 1;
306 margins
[all...]
H A Dbrowser_frame_win.cc432 MARGINS margins = { 0 };
434 // If the opaque frame is visible, we use the default (zero) margins.
441 margins.cxLeftWidth = kClientEdgeThickness + 1;
442 margins.cxRightWidth = kClientEdgeThickness + 1;
443 margins.cyBottomHeight = kClientEdgeThickness + 1;
444 margins.cyTopHeight = kClientEdgeThickness + 1;
452 margins.cyTopHeight = tabstrip_bounds.bottom() + kDWMFrameTopOffset;
456 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/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
200 // The margins between the content and the inside of the border.
/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/third_party/WebKit/Source/core/rendering/
H A DRenderBlockFlow.cpp56 LayoutUnit margins[2]; member in struct:WebCore::SameSizeAsMarginInfo
62 // Collapsing flags for whether we can collapse our margins with our children's margins.
68 // margins in our container. Table cells and the body are the common examples. We
72 // This flag tracks whether we are still looking at child margins that can all collapse together at the beginning of a block.
78 // This flag is set when we know we're examining bottom margins and we know we're at the bottom of the block.
81 // These variables are used to detect quirky margins that we need to collapse away (in table cells
89 // These flags track the previous maximal positive and negative margins.
279 // our current maximal positive and negative margins. These values are used when we
286 // Start out by setting our margin values to our current margins
[all...]
H A DRenderBox.cpp1808 // We need to see if margins on either the start side or the end side can contain the floats in question. If they can,
1812 // "consumed" by the float. Negative margins aren't consumed by the float, and so we ignore them.
2308 // just calculate margins
2433 // auto margins mean we don't stretch. Note that this function will only be used for
2525 // Inline blocks/tables and floats don't have their margins increased.
2534 // See also http://dev.w3.org/csswg/css-flexbox/#auto-margins
2569 // Case Four: Either no auto margins, or our width is >= the container width (css2.1, 10.3.3). In that case
2570 // auto margins will just turn into 0.
2702 // For tables, calculate margins only.
2774 LayoutUnit margins local
[all...]
H A DRenderBlock.cpp1162 // (e) have specified that one of our margins can't collapse using a CSS extension
1566 // When we have overflow clip, propagate the original spillout since it will include collapsed bottom margins
1824 // Auto and percentage margins become 0 when computing min/max width.
1825 // Fixed margins can be added in as is.
3071 // If we are in the margins of block elements that are part of a
3493 return style()->fontDescription().computedPixelSize(); // "1em" is recommended as the normal gap setting. Matches <p> margins.
4124 // and are included in the iteration solely so that their margins can
4130 // margins and min/max width on its own line, and then terminate the line.
4170 // Inline replaced elts add in their margins to their min/max values.
4171 LayoutUnit margins local
[all...]
/external/chromium_org/ui/views/win/
H A Dhwnd_message_handler.cc1355 MARGINS margins = {-1,-1,-1,-1}; local
1356 DwmExtendFrameIntoClientArea(hwnd(), &margins); local
/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 613 milliseconds