/external/chromium_org/printing/ |
print_settings.cc | 155 PageMargins margins; local 158 // Default margins 1.0cm = ~2/5 of an inch. 161 margins.header = header_footer_text_height; 162 margins.footer = header_footer_text_height; 163 margins.top = margin_printer_units; 164 margins.bottom = margin_printer_units; 165 margins.left = margin_printer_units; 166 margins.right = margin_printer_units; 171 margins.header = 0; 172 margins.footer = 0 [all...] |
page_setup_unittest.cc | 19 // Margins. 20 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 104 printing::PageMargins margins; local 168 printing::PageMargins margins; local 198 printing::PageMargins margins; local [all...] |
print_settings_conversion.cc | 41 const PageMargins& margins, 45 dict->SetInteger(kSettingMarginTop, margins.top); 46 dict->SetInteger(kSettingMarginBottom, margins.bottom); 47 dict->SetInteger(kSettingMarginLeft, margins.left); 48 dict->SetInteger(kSettingMarginRight, margins.right);
|
/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/chrome/browser/ui/views/apps/ |
app_window_desktop_window_tree_host_win.cc | 70 MARGINS margins = {0}; 72 // If the opaque frame is visible, we use the default (zero) margins. 79 margins.cxLeftWidth = insets.left(); 80 margins.cxRightWidth = insets.right(); 81 margins.cyBottomHeight = insets.bottom(); 82 margins.cyTopHeight = insets.top(); 85 DwmExtendFrameIntoClientArea(GetHWND(), &margins); local
|
/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 | 86 PageMargins margins; local 87 margins.left = 89 margins.right = 91 margins.top = 93 margins.bottom = 95 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_org/chrome/browser/ui/views/frame/ |
browser_desktop_window_tree_host_win.cc | 228 MARGINS margins = GetDWMFrameMargins(); local 232 RECT rect = { 0, 0, client_rect.right, margins.cyTopHeight }; 289 MARGINS margins = GetDWMFrameMargins(); 291 DwmExtendFrameIntoClientArea(GetHWND(), &margins); local 294 MARGINS BrowserDesktopWindowTreeHostWin::GetDWMFrameMargins() const { 295 MARGINS margins = { 0 }; local 297 // If the opaque frame is visible, we use the default (zero) margins [all...] |
/external/chromium_org/components/cloud_devices/common/ |
printer_description_unittest.cc | 76 " 'margins': {" 216 " 'margins': {" 273 MarginsCapability margins; local 288 EXPECT_FALSE(margins.LoadFrom(description)); 319 MarginsCapability margins; local 352 margins.AddDefaultOption(Margins(NO_MARGINS, 0, 0, 0, 0), true); 353 margins.AddOption(Margins(STANDARD_MARGINS, 100, 200, 300, 400)); 354 margins.AddOption(Margins(CUSTOM_MARGINS, 1, 2, 3, 4)) 399 MarginsCapability margins; local 484 MarginsTicketItem margins; local 520 MarginsTicketItem margins; local 572 MarginsTicketItem margins; local [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/toolbox/ |
InspectedPagePlaceholder.js | 27 var margins = { top: 0, right: 0, bottom: 0, left: 0 }; 39 margins[side] = WebInspector.InspectedPagePlaceholder.MarginValue; 46 if (this._margins.top !== margins.top || this._margins.left !== margins.left || this._margins.right !== margins.right || this._margins.bottom !== margins.bottom) { 47 this._margins = margins;
|
/external/chromium_org/ui/views/bubble/ |
bubble_delegate.h | 76 const gfx::Insets& margins() const { return margins_; } function in class:views::BubbleDelegateView 77 void set_margins(const gfx::Insets& margins) { margins_ = margins; } 176 // The margins between the content and the inside of the border.
|
/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...] |
/external/chromium_org/third_party/WebKit/Source/platform/mac/ |
ThemeMac.h | 57 // Inflate an IntRect to accout for specific padding around margins. 64 static PLATFORM_EXPORT IntRect inflateRect(const IntRect&, const IntSize&, const int* margins, float zoomLevel = 1.0f);
|
ThemeMac.mm | 199 IntRect ThemeMac::inflateRect(const IntRect& zoomedRect, const IntSize& zoomedSize, const int* margins, float zoomFactor) 203 int widthDelta = zoomedRect.width() - (zoomedSize.width() + margins[LeftMargin] * zoomFactor + margins[RightMargin] * zoomFactor); 204 int heightDelta = zoomedRect.height() - (zoomedSize.height() + margins[TopMargin] * zoomFactor + margins[BottomMargin] * zoomFactor); 207 result.setX(result.x() - margins[LeftMargin] * zoomFactor); 211 result.setY(result.y() - margins[TopMargin] * zoomFactor); 251 static const int margins[3][4] = 257 return margins[controlSize]; 335 static const int margins[3][4] [all...] |
/frameworks/base/core/java/android/widget/ |
FastScroller.java | 113 * Padding in pixels around the preview text. Applied as layout margins to 601 // Apply the preview image's padding as layout margins. 602 final Rect margins = mTempMargins; local 603 margins.left = mPreviewImage.getPaddingLeft(); 604 margins.top = mPreviewImage.getPaddingTop(); 605 margins.right = mPreviewImage.getPaddingRight(); 606 margins.bottom = mPreviewImage.getPaddingBottom(); 609 measureFloating(v, margins, out); 611 measureViewToSide(v, mThumbImage, margins, out); 623 * @param margins Layout margins to apply to the view [all...] |
/external/chromium_org/ash/ime/ |
mode_indicator_view.cc | 86 views::BubbleFrameView* frame = new ModeIndicatorFrameView(margins());
|
/external/chromium_org/chrome/browser/ui/views/autofill/ |
info_bubble.cc | 123 frame_ = new InfoBubbleFrame(margins());
|
/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...] |
/external/chromium_org/chrome/browser/printing/ |
print_preview_pdf_generated_browsertest.cc | 76 // Waiting for the sixth message so the test can set the margins combobox 90 MarginType margins, 96 margins(margins), 103 MarginType margins; member in struct:printing::PrintPreviewSettings 188 script_argument.SetInteger("margins", settings_->margins); 190 failed_setting_ = "Margins";
|
/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;
|
/external/chromium_org/chrome/service/cloud_print/ |
cdd_conversion_win.cc | 49 MarginsTicketItem margins; local
|