Home
last modified time | relevance | path

Searched refs:viewportRect (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/page/scrolling/
DScrollingConstraints.cpp31 …FixedPositionViewportConstraints::layerPositionForViewportRect(const FloatRect& viewportRect) const in layerPositionForViewportRect()
36 offset.setWidth(viewportRect.x() - m_viewportRectAtLastLayout.x()); in layerPositionForViewportRect()
38 offset.setWidth(viewportRect.maxX() - m_viewportRectAtLastLayout.maxX()); in layerPositionForViewportRect()
41 offset.setHeight(viewportRect.y() - m_viewportRectAtLastLayout.y()); in layerPositionForViewportRect()
43 offset.setHeight(viewportRect.maxY() - m_viewportRectAtLastLayout.maxY()); in layerPositionForViewportRect()
DScrollingConstraints.h88 FloatPoint layerPositionForViewportRect(const FloatRect& viewportRect) const;
/external/chromium_org/third_party/WebKit/Source/core/paint/
DSVGForeignObjectPainter.cpp27 childPaintInfo.context->clip(m_renderSVGForeignObject.viewportRect()); in paint()
DBoxPainter.cpp675 IntRect viewportRect = pixelSnappedIntRect(obj.viewRect()); in calculateBackgroundImageGeometry() local
677 viewportRect.setLocation(IntPoint()); in calculateBackgroundImageGeometry()
679 viewportRect.setLocation(IntPoint(frameView->scrollOffsetForFixedPosition())); in calculateBackgroundImageGeometry()
683 viewportRect.moveBy(-absoluteContainerOffset); in calculateBackgroundImageGeometry()
686 geometry.setDestRect(pixelSnappedIntRect(viewportRect)); in calculateBackgroundImageGeometry()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGForeignObject.h53 FloatRect viewportRect() { return m_viewport; } in viewportRect() function
/external/chromium_org/chrome/browser/resources/pdf/
Dviewport.js301 var viewportRect = { variable
309 viewportRect);
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGSVGElement.cpp639 FloatRect viewportRect = toRenderSVGViewportContainer(renderer())->viewport(); in currentViewportSize() local
640 return FloatSize(viewportRect.width(), viewportRect.height()); in currentViewportSize()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBox.cpp2699 LayoutRect viewportRect = frameView->viewportConstrainedVisibleContentRect(); in containingBlockLogicalWidthForPositioned() local
2700 … return containingBlock->isHorizontalWritingMode() ? viewportRect.width() : viewportRect.height(); in containingBlockLogicalWidthForPositioned()
2739 LayoutRect viewportRect = frameView->viewportConstrainedVisibleContentRect(); in containingBlockLogicalHeightForPositioned() local
2740 … return containingBlock->isHorizontalWritingMode() ? viewportRect.height() : viewportRect.width(); in containingBlockLogicalHeightForPositioned()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DFrameView.cpp1171 LayoutRect viewportRect = visibleContentRect(); in viewportConstrainedVisibleContentRect() local
1173 viewportRect.setLocation(clampScrollPosition(scrollPosition())); in viewportConstrainedVisibleContentRect()
1174 return viewportRect; in viewportConstrainedVisibleContentRect()
/external/deqp/framework/referencerenderer/
DrrRenderer.cpp1294 …const tcu::IVec4 viewportRect = tcu::IVec4(state.viewport.rect.left, state.viewport.rect.botto… in rasterize() local
1296 const tcu::IVec4 renderTargetRect = rectIntersection(viewportRect, bufferRect); in rasterize()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebFrameTest.cpp2499 WebRect viewportRect(0, 0, viewportWidth, viewportHeight); in TEST_F() local
2509 simulateMultiTargetZoom(webViewHelper.webViewImpl(), viewportRect, scale); in TEST_F()