/external/skia/src/utils/ |
D | SkNinePatch.cpp | 254 const SkBitmap& bitmap, const SkIRect& margins, in drawNineViaRects() argument 257 0, margins.fLeft, bitmap.width() - margins.fRight, bitmap.width() in drawNineViaRects() 260 0, margins.fTop, bitmap.height() - margins.fBottom, bitmap.height() in drawNineViaRects() 263 dst.fLeft, dst.fLeft + SkIntToScalar(margins.fLeft), in drawNineViaRects() 264 dst.fRight - SkIntToScalar(margins.fRight), dst.fRight in drawNineViaRects() 267 dst.fTop, dst.fTop + SkIntToScalar(margins.fTop), in drawNineViaRects() 268 dst.fBottom - SkIntToScalar(margins.fBottom), dst.fBottom in drawNineViaRects() 272 dstX[1] = dstX[0] + (dstX[3] - dstX[0]) * SkIntToScalar(margins.fLeft) / in drawNineViaRects() 273 (SkIntToScalar(margins.fLeft) + SkIntToScalar(margins.fRight)); in drawNineViaRects() 278 dstY[1] = dstY[0] + (dstY[3] - dstY[0]) * SkIntToScalar(margins.fTop) / in drawNineViaRects() [all …]
|
/external/skia/samplecode/ |
D | SampleNinePatch.cpp | 75 SkIRect margins; in onDrawContent() local 79 margins.set(d, d, d, d); in onDrawContent() 80 margins.fLeft = fBM.width()/2 - 1; in onDrawContent() 81 margins.fTop = fBM.height()/2 - 1; in onDrawContent() 82 margins.fRight = fBM.width() - margins.fLeft - 1; in onDrawContent() 83 margins.fBottom = fBM.height() - margins.fTop - 1; in onDrawContent()
|
/external/chromium/chrome/browser/ui/views/frame/ |
D | browser_frame_win.cc | 250 MARGINS margins = { 0 }; in UpdateDWMFrame() local 256 margins.cxLeftWidth = kClientEdgeThickness + 1; in UpdateDWMFrame() 257 margins.cxRightWidth = kClientEdgeThickness + 1; in UpdateDWMFrame() 258 margins.cyBottomHeight = kClientEdgeThickness + 1; in UpdateDWMFrame() 259 margins.cyTopHeight = kClientEdgeThickness + 1; in UpdateDWMFrame() 266 margins.cyTopHeight = (browser_view_->UseVerticalTabs() ? in UpdateDWMFrame() 272 DwmExtendFrameIntoClientArea(GetNativeView(), &margins); in UpdateDWMFrame()
|
/external/webkit/Tools/QtTestBrowser/ |
D | locationedit.cpp | 95 QMargins margins = textMargins(); in updateInternalGeometry() local 96 margins.setLeft(m_pageIconLabel->sizeHint().width() + spacing); in updateInternalGeometry() 97 setTextMargins(margins); in updateInternalGeometry()
|
/external/webkit/Source/WebCore/rendering/ |
D | RenderThemeSafari.cpp | 296 IntRect RenderThemeSafari::inflateRect(const IntRect& r, const IntSize& size, const int* margins) c… in inflateRect() 300 int widthDelta = r.width() - (size.width() + margins[leftMargin] + margins[rightMargin]); in inflateRect() 301 int heightDelta = r.height() - (size.height() + margins[topMargin] + margins[bottomMargin]); in inflateRect() 304 result.setX(result.x() - margins[leftMargin]); in inflateRect() 308 result.setY(result.y() - margins[topMargin]); in inflateRect() 433 static const int margins[3][4] = in checkboxMargins() local 439 return margins[controlSize]; in checkboxMargins() 472 static const int margins[3][4] = in radioMargins() local 478 return margins[controlSize]; in radioMargins() 557 static const int margins[3][4] = in buttonMargins() local [all …]
|
D | RenderThemeSafari.h | 145 IntRect inflateRect(const IntRect&, const IntSize&, const int* margins) const;
|
D | RenderThemeMac.mm | 532 IntRect RenderThemeMac::inflateRect(const IntRect& r, const IntSize& size, const int* margins, floa… 536 …int widthDelta = r.width() - (size.width() + margins[leftMargin] * zoomLevel + margins[rightMargin… 537 …int heightDelta = r.height() - (size.height() + margins[topMargin] * zoomLevel + margins[bottomMar… 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]];
|
D | RenderThemeMac.h | 181 …IntRect inflateRect(const IntRect&, const IntSize&, const int* margins, float zoomLevel = 1.0f) co…
|
D | RenderBox.cpp | 1868 int margins = collapsedMarginBefore() + collapsedMarginAfter(); in computeLogicalHeight() local 1879 setLogicalHeight(max(logicalHeight(), visHeight - margins)); in computeLogicalHeight() 1881 …int marginsBordersPadding = margins + parentBox()->marginBefore() + parentBox()->marginAfter() + p… in computeLogicalHeight()
|
D | RenderBlock.cpp | 4845 float margins = 0; in computeInlinePreferredLogicalWidths() local 4849 margins += startMargin.value(); in computeInlinePreferredLogicalWidths() 4851 margins += endMargin.value(); in computeInlinePreferredLogicalWidths() 4852 childMin += margins; in computeInlinePreferredLogicalWidths() 4853 childMax += margins; in computeInlinePreferredLogicalWidths()
|
/external/webkit/Source/WebCore/platform/mac/ |
D | ThemeMac.mm | 187 static IntRect inflateRect(const IntRect& zoomedRect, const IntSize& zoomedSize, const int* margins… 191 …idthDelta = zoomedRect.width() - (zoomedSize.width() + margins[leftMargin] * zoomFactor + margins[… 192 …ghtDelta = zoomedRect.height() - (zoomedSize.height() + margins[topMargin] * zoomFactor + margins[… 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] = 303 return margins[controlSize]; 384 static const int margins[3][4] = [all …]
|
D | ScrollViewMac.mm | 67 // Suppress the resetting of drag margins since we know we can't affect them.
|
D | WidgetMac.mm | 86 // Suppress the resetting of drag margins since we know we can't affect them.
|
/external/webkit/Source/WebCore/platform/chromium/ |
D | ThemeChromiumMac.mm | 305 static IntRect inflateRect(const IntRect& zoomedRect, const IntSize& zoomedSize, const int* margins… 309 …idthDelta = zoomedRect.width() - (zoomedSize.width() + margins[leftMargin] * zoomFactor + margins[… 310 …ghtDelta = zoomedRect.height() - (zoomedSize.height() + margins[topMargin] * zoomFactor + margins[… 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] = 424 return margins[controlSize]; 508 static const int margins[3][4] = [all …]
|
/external/skia/include/utils/ |
D | SkNinePatch.h | 30 const SkBitmap& bitmap, const SkIRect& margins,
|
/external/webkit/Source/WebCore/css/ |
D | quirks.css | 24 /* Give floated images margins of 3px */
|
/external/webkit/Source/WebKit2/UIProcess/API/mac/ |
D | WKPrintingView.mm | 111 …// We need to modify the top and bottom margins in the NSPrintInfo to account for the space needed… 113 …// we stash away the unmodified top and bottom margins the first time this method is called, and w… 527 // all the way across the printed page (inset by printing margins).
|
/external/webkit/Source/WebKit/mac/WebInspector/ |
D | WebNodeHighlight.mm | 154 // need updated, since the highlight can be larger than the element to show margins.
|
/external/chromium/chrome/browser/ui/cocoa/location_bar/ |
D | content_setting_decoration.mm | 305 // Add the margins, fixed for all animation states.
|
/external/kernel-headers/original/linux/ |
D | fb.h | 1105 extern int fb_find_mode_cvt(struct fb_videomode *mode, int margins, int rb);
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2002-12-03 | 173 Finally tweak headline font sizes and margins to match Gecko and CSS 476 from the <p> so that the margins of the <p> still get collapsed 755 subtract out their margins when computing percentage widths. 1360 <body> has margins of its own. 1746 Fix for floats. Force relayout if collapsing margins 1822 deal with margins and padding on inline elements like <a>. 1930 A problem with <form> margins has been fixed (this is a 2216 - fixed 3090452 -- REGRESSION: orbitz Box extends way over margins 2696 vertical margins, to web pages all over. 3244 margins at the tops and bottoms of kids. [all …]
|
D | ChangeLog-2003-10-25 | 554 Fix the calcWidth method of tables to account for horizontal margins properly. 3176 renderobject's computed margins except when it has to. This makes 7034 I am reducing the intrinsic margins of text fields down to 2px 7052 apply left/right intrinsic margins. If a Web page specifies margins 7054 margins. The same rules apply for height and top/bottom margins. 7831 Fix for 3184113, bottom margins didn't collapse with their children 7833 caching whether or not the top and bottom margins can collapse 8983 of the document to the paper width minus margins, and relayout before paginating 12767 Patch calcInlineMaxWidth to add in left/right margins/borders/padding 13288 … - fixed 3162013 -- Safari collapses margins through bottom borders (affects top of zeldman.com) [all …]
|
/external/e2fsprogs/lib/et/ |
D | texinfo.tex | 1412 % Amount to narrow the margins by for @lisp. 1499 % This is @format; same as @lisp except use roman font and don't narrow margins 1545 % @quotation - narrow the margins.
|
/external/webkit/Source/WebKit/mac/WebView/ |
D | WebFrameView.mm | 145 // Suppress the resetting of drag margins since we know we can't affect them.
|
D | WebView.mm | 4942 …// We need to modify the top and bottom margins in the NSPrintInfo to account for the space needed… 4944 …// we stash away the unmodified top and bottom margins the first time this method is called, and w… 4970 // all the way across the printed page (inset by printing margins).
|