/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/skia/samplecode/ |
SampleNinePatch.cpp | 75 SkIRect margins; local 79 margins.set(d, d, d, d); 80 margins.fLeft = fBM.width()/2 - 1; 81 margins.fTop = fBM.height()/2 - 1; 82 margins.fRight = fBM.width() - margins.fLeft - 1; 83 margins.fBottom = fBM.height() - margins.fTop - 1; 94 // SkNinePatch::DrawNine(canvas, dst, fBM, margins, &paint);
|
/external/webkit/Tools/QtTestBrowser/ |
locationedit.cpp | 95 QMargins margins = textMargins(); local 96 margins.setLeft(m_pageIconLabel->sizeHint().width() + spacing); 97 setTextMargins(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
|
/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...] |
/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...] |
RenderBox.cpp | 1875 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 4845 float margins = 0; local [all...] |
/frameworks/base/core/java/android/widget/ |
GridLayout.java | 89 * property is set, default margins around children are automatically 91 * Each of the margins so defined may be independently overridden by an assignment 195 * to their margins, before the edges of the resulting rectangle are aligned. 383 * Returns whether or not this GridLayout will allocate default margins when no 386 * @return {@code true} if default margins should be allocated 397 * When {@code true}, GridLayout allocates default margins around children 399 * margins so defined may be independently overridden by an assignment 402 * When {@code false}, the default value of all margins is zero. 410 * @param useDefaultMargins use {@code true} to make GridLayout allocate default margins 608 int[] margins = leading ? axis.getLeadingMargins() : axis.getTrailingMargins() local 1500 int[] margins = leading ? leadingMargins : trailingMargins; local [all...] |
/prebuilt/common/eclipse/ |
org.eclipse.jface_3.4.2.M20090107-0800.jar | |