Searched refs:viewportRect (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/page/scrolling/ |
D | ScrollingConstraints.cpp | 31 …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() 48 FloatSize StickyPositionViewportConstraints::computeStickyOffset(const FloatRect& viewportRect) con… in computeStickyOffset() 53 float rightLimit = viewportRect.maxX() - m_rightOffset; in computeStickyOffset() 63 float leftLimit = viewportRect.x() + m_leftOffset; in computeStickyOffset() 73 float bottomLimit = viewportRect.maxY() - m_bottomOffset; in computeStickyOffset() 83 float topLimit = viewportRect.y() + m_topOffset; in computeStickyOffset() [all …]
|
D | ScrollingConstraints.h | 88 FloatPoint layerPositionForViewportRect(const FloatRect& viewportRect) const; 134 FloatSize computeStickyOffset(const FloatRect& viewportRect) const; 139 FloatPoint layerPositionForViewportRect(const FloatRect& viewportRect) const;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | SVGSVGElement.cpp | 588 FloatRect viewportRect = toRenderSVGViewportContainer(renderer())->viewport(); in currentViewportSize() local 589 return FloatSize(viewportRect.width(), viewportRect.height()); in currentViewportSize()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderBoxModelObject.cpp | 322 …ionConstraints(StickyPositionViewportConstraints& constraints, const FloatRect& viewportRect) const in computeStickyPositionConstraints() 355 constraints.setLeftOffset(valueForLength(style()->left(), viewportRect.width(), view())); in computeStickyPositionConstraints() 360 constraints.setRightOffset(valueForLength(style()->right(), viewportRect.width(), view())); in computeStickyPositionConstraints() 365 constraints.setTopOffset(valueForLength(style()->top(), viewportRect.height(), view())); in computeStickyPositionConstraints() 370 … constraints.setBottomOffset(valueForLength(style()->bottom(), viewportRect.height(), view())); in computeStickyPositionConstraints() 377 LayoutRect viewportRect = view()->frameView()->viewportConstrainedVisibleContentRect(); in stickyPositionOffset() local 380 computeStickyPositionConstraints(constraints, viewportRect); in stickyPositionOffset() 383 return LayoutSize(constraints.computeStickyOffset(viewportRect)); in stickyPositionOffset() 1050 IntRect viewportRect = pixelSnappedIntRect(viewRect()); in calculateBackgroundImageGeometry() local 1052 viewportRect.setLocation(IntPoint()); in calculateBackgroundImageGeometry() [all …]
|
D | RenderBoxModelObject.h | 69 …StickyPositionConstraints(StickyPositionViewportConstraints&, const FloatRect& viewportRect) const;
|
D | RenderLayerCompositor.cpp | 2503 LayoutRect viewportRect = frameView->viewportConstrainedVisibleContentRect(); in computeFixedViewportConstraints() local 2510 constraints.setViewportRectAtLastLayout(viewportRect); in computeFixedViewportConstraints() 2541 LayoutRect viewportRect = frameView->viewportConstrainedVisibleContentRect(); in computeStickyViewportConstraints() local 2547 renderer->computeStickyPositionConstraints(constraints, viewportRect); in computeStickyViewportConstraints()
|
D | RenderBox.cpp | 3175 LayoutRect viewportRect = frameView->viewportConstrainedVisibleContentRect(); in containingBlockLogicalWidthForPositioned() local 3176 … return containingBlock->isHorizontalWritingMode() ? viewportRect.width() : viewportRect.height(); in containingBlockLogicalWidthForPositioned() 3237 LayoutRect viewportRect = frameView->viewportConstrainedVisibleContentRect(); in containingBlockLogicalHeightForPositioned() local 3238 … return containingBlock->isHorizontalWritingMode() ? viewportRect.height() : viewportRect.width(); in containingBlockLogicalHeightForPositioned()
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
D | FrameView.cpp | 1412 LayoutRect viewportRect = visibleContentRect(); in viewportConstrainedVisibleContentRect() local 1414 viewportRect.setLocation(clampScrollPosition(scrollPosition())); in viewportConstrainedVisibleContentRect() 1415 return viewportRect; in viewportConstrainedVisibleContentRect()
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | WebFrameTest.cpp | 2470 WebRect viewportRect(0, 0, viewportWidth, viewportHeight); in TEST_F() local 2480 simulateMultiTargetZoom(webViewHelper.webViewImpl(), viewportRect, scale); in TEST_F()
|