/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/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/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/webkit/Tools/QtTestBrowser/ |
locationedit.cpp | 95 QMargins margins = textMargins(); local 96 margins.setLeft(m_pageIconLabel->sizeHint().width() + spacing); 97 setTextMargins(margins);
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/ui/ |
GridLayoutBuilder.java | 48 /** Sets all margins to 0. */ 59 /** Sets all margins to <code>n</code>. */ 60 public GridLayoutBuilder margins(int n) { method in class:GridLayoutBuilder
|
/external/webkit/Source/WebCore/platform/chromium/ |
ThemeChromiumMac.mm | 305 static IntRect inflateRect(const IntRect& zoomedRect, const IntSize& zoomedSize, const int* margins, float zoomFactor) 309 int widthDelta = zoomedRect.width() - (zoomedSize.width() + margins[leftMargin] * zoomFactor + margins[rightMargin] * zoomFactor); 310 int heightDelta = zoomedRect.height() - (zoomedSize.height() + margins[topMargin] * zoomFactor + margins[bottomMargin] * zoomFactor); 313 result.setX(result.x() - margins[leftMargin] * zoomFactor); 317 result.setY(result.y() - margins[topMargin] * zoomFactor); 333 static const int margins[3][4] = 339 return margins[controlSize]; 418 static const int margins[3][4] [all...] |
/external/webkit/Source/WebCore/platform/mac/ |
ThemeMac.mm | 187 static IntRect inflateRect(const IntRect& zoomedRect, const IntSize& zoomedSize, const int* margins, float zoomFactor) 191 int widthDelta = zoomedRect.width() - (zoomedSize.width() + margins[leftMargin] * zoomFactor + margins[rightMargin] * zoomFactor); 192 int heightDelta = zoomedRect.height() - (zoomedSize.height() + margins[topMargin] * zoomFactor + margins[bottomMargin] * zoomFactor); 195 result.setX(result.x() - margins[leftMargin] * zoomFactor); 199 result.setY(result.y() - margins[topMargin] * zoomFactor); 215 static const int margins[3][4] = 221 return margins[controlSize]; 297 static const int margins[3][4] [all...] |
/external/webkit/Source/WebCore/rendering/ |
RenderThemeSafari.cpp | 296 IntRect RenderThemeSafari::inflateRect(const IntRect& r, const IntSize& size, const int* margins) const 300 int widthDelta = r.width() - (size.width() + margins[leftMargin] + margins[rightMargin]); 301 int heightDelta = r.height() - (size.height() + margins[topMargin] + margins[bottomMargin]); 304 result.setX(result.x() - margins[leftMargin]); 308 result.setY(result.y() - margins[topMargin]); 433 static const int margins[3][4] = local 439 return margins[controlSize]; 472 static const int margins[3][4] local 557 static const int margins[3][4] = local 651 static const int margins[3][4] = local [all...] |
RenderThemeSafari.h | 145 IntRect inflateRect(const IntRect&, const IntSize&, const int* margins) const;
|
RenderThemeMac.h | 181 IntRect inflateRect(const IntRect&, const IntSize&, const int* margins, float zoomLevel = 1.0f) const;
|
RenderThemeMac.mm | 532 IntRect RenderThemeMac::inflateRect(const IntRect& r, const IntSize& size, const int* margins, float zoomLevel) const 536 int widthDelta = r.width() - (size.width() + margins[leftMargin] * zoomLevel + margins[rightMargin] * zoomLevel); 537 int heightDelta = r.height() - (size.height() + margins[topMargin] * zoomLevel + margins[bottomMargin] * zoomLevel); 540 result.setX(result.x() - margins[leftMargin] * zoomLevel); 544 result.setY(result.y() - margins[topMargin] * zoomLevel); 746 static const int margins[3][4] = 752 return margins[[popupButton() controlSize]]; [all...] |
RenderBox.cpp | 1880 int margins = collapsedMarginBefore() + collapsedMarginAfter(); local [all...] |
RenderBlock.cpp | 94 // Whether or not we can collapse our own margins with our children. We don't do this 104 // margins with our children's margins. To do otherwise would be to risk odd visual 4869 float margins = 0; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
GuidelineHandler.java | 59 import com.android.ide.common.api.Margins; 133 * edges, and top and bottom edges offset by the applicable margins in each direction 139 * right edges offset by the applicable margins in each direction 313 Margins margins = node.getMargins(); local 315 if (margins.top != 0) { 317 mHorizontalEdges.add(new Segment(b.y - margins.top, b.x, b.x2(), node, id, 322 if (margins.bottom != 0) { 325 mHorizontalEdges.add(new Segment(b.y2() + margins.bottom, b.x, b.x2(), node, 333 if (margins.left != 0) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
BaseLayoutRule.java | 95 BaseLayoutRule.class.getResource("margins.png"); //$NON-NLS-1$ 119 parentNode.editXml("Change Margins", new INodeHandler() { 128 String[] margins = mRulesEngine.displayMarginInput(all, left, 130 if (margins != null) { 131 assert margins.length == 5; 133 child.setAttribute(uri, ATTR_LAYOUT_MARGIN, margins[0]); 134 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_LEFT, margins[1]); 135 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_RIGHT, margins[2]); 136 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_TOP, margins[3]); 137 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_BOTTOM, margins[4]) [all...] |
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/ |
android-support-v7-gridlayout.jar | |
/frameworks/base/core/java/android/widget/ |
GridLayout.java | 93 * property is set, default margins around children are automatically 95 * Each of the margins so defined may be independently overridden by an assignment 199 * to their margins, before the edges of the resulting rectangle are aligned. 407 * Returns whether or not this GridLayout will allocate default margins when no 410 * @return {@code true} if default margins should be allocated 421 * When {@code true}, GridLayout allocates default margins around children 423 * margins so defined may be independently overridden by an assignment 426 * When {@code false}, the default value of all margins is zero. 434 * @param useDefaultMargins use {@code true} to make GridLayout allocate default margins 637 int[] margins = leading ? axis.getLeadingMargins() : axis.getTrailingMargins() local 1603 int[] margins = leading ? leadingMargins : trailingMargins; local [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
GridLayout.java | 93 * property is set, default margins around children are automatically 95 * Each of the margins so defined may be independently overridden by an assignment 198 * to their margins, before the edges of the resulting rectangle are aligned. 387 * Returns whether or not this GridLayout will allocate default margins when no 390 * @return {@code true} if default margins should be allocated 401 * When {@code true}, GridLayout allocates default margins around children 403 * margins so defined may be independently overridden by an assignment 406 * When {@code false}, the default value of all margins is zero. 414 * @param useDefaultMargins use {@code true} to make GridLayout allocate default margins 617 int[] margins = leading ? axis.getLeadingMargins() : axis.getTrailingMargins() local 1538 int[] margins = leading ? leadingMargins : trailingMargins; local [all...] |
/build/tools/droiddoc/templates-sdk/assets/js/ |
global-libraries-combined.js | [all...] |
/build/tools/droiddoc/templates-sdk/assets/design/ |
default.scss | 772 .layout-with-list-item-margins {
|
/external/kernel-headers/original/linux/ |
fb.h | [all...] |
/external/e2fsprogs/lib/et/ |
texinfo.tex | [all...] |
/external/chromium/chrome/browser/resources/touch_ntp/ |
newtab.js | 375 // margins between apps doesn't do anything
|
/external/chromium/chrome/browser/resources/ |
new_new_tab.js | 515 // same if document.body has no margins. [all...] |