Home
last modified time | relevance | path

Searched refs:viewportRect (Results 1 – 9 of 9) 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()
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 …]
DScrollingConstraints.h88 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/
DSVGSVGElement.cpp588 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/
DRenderBoxModelObject.cpp322 …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 …]
DRenderBoxModelObject.h69 …StickyPositionConstraints(StickyPositionViewportConstraints&, const FloatRect& viewportRect) const;
DRenderLayerCompositor.cpp2503 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()
DRenderBox.cpp3175 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/
DFrameView.cpp1412 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/
DWebFrameTest.cpp2470 WebRect viewportRect(0, 0, viewportWidth, viewportHeight); in TEST_F() local
2480 simulateMultiTargetZoom(webViewHelper.webViewImpl(), viewportRect, scale); in TEST_F()