Home
last modified time | relevance | path

Searched refs:topMargin (Results 1 – 6 of 6) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMarginLayoutParams.java22 realMarginLayoutParams.topMargin = top; in setMargins()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DMarginLayoutParamsTest.java24 assertThat(marginLayoutParams.topMargin, equalTo(2)); in testSetMargins()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DContentViewCore.java576 int topMargin = Math.round(mRenderCoordinates.getContentOffsetYPix() + y * scale); in getViewAndroidDelegate() local
586 lp.topMargin = topMargin; in getViewAndroidDelegate()
595 topMargin += mRenderCoordinates.getScrollYPixInt(); in getViewAndroidDelegate()
599 scaledWidth, (int) (height * scale), leftMargin, topMargin); in getViewAndroidDelegate()
/external/chromium_org/third_party/WebKit/Source/core/platform/mac/
DThemeMac.mm95 topMargin,
212 …int heightDelta = zoomedRect.height() - (zoomedSize.height() + margins[topMargin] * zoomFactor + m…
219 result.setY(result.y() - margins[topMargin] * zoomFactor);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderThemeChromiumMac.mm158 topMargin,
562 …int heightDelta = r.height() - (size.height() + margins[topMargin] * zoomLevel + margins[bottomMar…
569 result.setY(result.y() - margins[topMargin] * zoomLevel);
DRenderBlock.cpp5267 float topMargin = prevInlineHasLineBox ? collapsedMarginBefore() : LayoutUnit(); in addFocusRingRects() local
5269 …tRect rect(additionalOffset.x(), additionalOffset.y() - topMargin, width(), height() + topMargin +… in addFocusRingRects()