Home
last modified time | relevance | path

Searched refs:visibleContentRect (Results 1 – 25 of 55) sorted by relevance

123

/external/webkit/Source/WebCore/platform/graphics/android/
DGLWebViewState.cpp127 void GLWebViewState::setVisibleContentRect(const SkRect& visibleContentRect, float scale) in setVisibleContentRect() argument
134 static_cast<int>(ceilf((visibleContentRect.width()-1) * invTileContentWidth)) + 1; in setVisibleContentRect()
136 static_cast<int>(ceilf((visibleContentRect.height()-1) * invTileContentHeight)) + 1; in setVisibleContentRect()
144 if ((m_visibleContentRect == visibleContentRect) in setVisibleContentRect()
152 m_goingDown = m_visibleContentRect.fTop - visibleContentRect.fTop <= 0; in setVisibleContentRect()
153 m_goingLeft = m_visibleContentRect.fLeft - visibleContentRect.fLeft >= 0; in setVisibleContentRect()
156 m_isVisibleContentRectScrolling = m_visibleContentRect != visibleContentRect in setVisibleContentRect()
157 && SkRect::Intersects(m_visibleContentRect, visibleContentRect); in setVisibleContentRect()
158 m_visibleContentRect = visibleContentRect; in setVisibleContentRect()
207 const SkRect& visibleContentRect, in setupDrawing() argument
[all …]
DGLWebViewState.h180 int drawGL(IntRect& rect, SkRect& visibleContentRect, IntRect* invalRect,
216 void setVisibleContentRect(const SkRect& visibleContentRect, float scale);
217 double setupDrawing(const IntRect& invScreenRect, const SkRect& visibleContentRect,
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DSurfaceCollection.cpp85 void SurfaceCollection::prepareGL(const SkRect& visibleContentRect, bool tryToFastBlit) in prepareGL() argument
88 updateLayerPositions(visibleContentRect); in prepareGL()
98 bool SurfaceCollection::drawGL(const SkRect& visibleContentRect) in drawGL() argument
105 updateLayerPositions(visibleContentRect); in drawGL()
219 void SurfaceCollection::updateLayerPositions(const SkRect& visibleContentRect) in updateLayerPositions() argument
221 m_compositedRoot->updatePositionsRecursive(visibleContentRect); in updateLayerPositions()
DSurfaceCollection.h51 void prepareGL(const SkRect& visibleContentRect, bool tryToFastBlit = false);
52 bool drawGL(const SkRect& visibleContentRect);
75 void updateLayerPositions(const SkRect& visibleContentRect);
DSurfaceCollectionManager.cpp233 SkRect& visibleContentRect, float scale, in drawGL() argument
255 m_paintingCollection->prepareGL(visibleContentRect, tryFastBlit); in drawGL()
272 m_drawingCollection->prepareGL(visibleContentRect); in drawGL()
288 m_paintingCollection->prepareGL(visibleContentRect, tryFastBlit); in drawGL()
311 m_paintingCollection->prepareGL(visibleContentRect, tryFastBlit); in drawGL()
348 if (m_drawingCollection && m_drawingCollection->drawGL(visibleContentRect)) in drawGL()
DGLExtras.h46 void setVisibleContentRect(const SkRect & visibleContentRect) in setVisibleContentRect() argument
48 m_visibleContentRect = visibleContentRect; in setVisibleContentRect()
DShaderProgram.cpp491 const SkRect& visibleContentRect, in setupDrawing() argument
500 visibleContentRect.fLeft, in setupDrawing()
501 visibleContentRect.fTop, in setupDrawing()
502 visibleContentRect.fRight, in setupDrawing()
503 visibleContentRect.fBottom, in setupDrawing()
520 m_visibleContentRect = visibleContentRect; in setupDrawing()
653 FloatRect visibleContentRect = m_contentToViewMatrix.inverse().mapRect(rect); in convertViewCoordToInvViewCoord() local
654 return rectInInvViewCoord(visibleContentRect); in convertViewCoordToInvViewCoord()
659 FloatRect visibleContentRect = m_contentToInvViewMatrix.inverse().mapRect(rect); in convertInvViewCoordToViewCoord() local
660 return rectInViewCoord(visibleContentRect); in convertInvViewCoordToViewCoord()
DSurfaceCollectionManager.h53 SkRect& visibleContentRect, float scale,
DShaderProgram.h123 void setupDrawing(const IntRect& invScreenRect, const SkRect& visibleContentRect,
/external/webkit/Source/WebCore/platform/
DScrollView.h152 IntRect visibleContentRect(bool includeScrollbars = false) const;
153 …ontentRect() const { return m_actualVisibleContentRect.isEmpty() ? visibleContentRect() : m_actual… in actualVisibleContentRect()
155 int visibleWidth() const { return visibleContentRect().width(); } in visibleWidth()
156 int visibleHeight() const { return visibleContentRect().height(); } in visibleHeight()
183 IntPoint scrollPosition() const { return visibleContentRect().location(); } in scrollPosition()
184 …IntSize scrollOffset() const { return visibleContentRect().location() - IntPoint(); } // Gets the … in scrollOffset()
DScrollView.cpp237 IntRect ScrollView::visibleContentRect(bool includeScrollbars) const in visibleContentRect() function in WebCore::ScrollView
483 else if (physicalScrollY > contentsHeight() - visibleContentRect().height()) in overhangAmount()
484 stretch.setHeight(physicalScrollY - (contentsHeight() - visibleContentRect().height())); in overhangAmount()
489 else if (physicalScrollX > contentsWidth() - visibleContentRect().width()) in overhangAmount()
490 stretch.setWidth(physicalScrollX - (contentsWidth() - visibleContentRect().width())); in overhangAmount()
952 paintRect.intersect(visibleContentRect()); in wheelEvent()
955 platformOffscreenContentRectangle(visibleContentRect(), rect); in wheelEvent()
1066 context->clip(visibleContentRect()); in wheelEvent()
1109 } else if (physicalScrollY > contentsHeight() - visibleContentRect().height()) { in wheelEvent()
1110 int height = physicalScrollY - (contentsHeight() - visibleContentRect().height()); in wheelEvent()
[all …]
DScrollableArea.h123 … virtual IntRect visibleContentRect(bool = false) const { ASSERT_NOT_REACHED(); return IntRect(); }
/external/webkit/Source/WebKit/android/nav/
DWebView.cpp559 void setVisibleContentRect(SkRect& visibleContentRect) { in setVisibleContentRect() argument
560 m_visibleContentRect = visibleContentRect; in setVisibleContentRect()
707 void findMaxVisibleRect(int movingLayerId, SkIRect& visibleContentRect) in findMaxVisibleRect() argument
712 FloatRect visibleContentFloatRect(visibleContentRect); in findMaxVisibleRect()
729 largeRect.round(&visibleContentRect); in findMaxVisibleRect()
903 SkRect visibleContentRect = jrectf_to_rect(env, visible); in nativeDraw() local
904 webView->setVisibleContentRect(visibleContentRect); in nativeDraw()
914 SkRect visibleContentRect = jrectf_to_rect(env, jvisiblecontentrect); in nativeCreateDrawGLFunction() local
915 wvInstance->setVisibleContentRect(visibleContentRect); in nativeCreateDrawGLFunction()
952 SkRect visibleContentRect = jrectf_to_rect(env, jvisiblecontentrect); in nativeUpdateDrawGLFunction() local
[all …]
/external/webkit/Source/WebCore/platform/graphics/android/layers/
DCanvasLayer.cpp74 m_visibleContentRect = layer.visibleContentRect(); in CanvasLayer()
165 IntRect CanvasLayer::visibleContentRect() const in visibleContentRect() function in WebCore::CanvasLayer
DCanvasLayer.h67 IntRect visibleContentRect() const;
DBaseLayerAndroid.h48 void updatePositionsRecursive(const SkRect& visibleContentRect);
DBaseLayerAndroid.cpp81 void BaseLayerAndroid::updatePositionsRecursive(const SkRect& visibleContentRect) in updatePositionsRecursive() argument
85 updateLayerPositions(visibleContentRect); in updatePositionsRecursive()
/external/webkit/Source/WebCore/platform/chromium/
DFramelessScrollView.cpp73 return contentsToWindow(visibleContentRect(!clipToContents)); in windowClipRect()
/external/webkit/Source/WebCore/page/
DSpatialNavigation.cpp305 IntRect containerViewportRect = frameView->visibleContentRect(); in hasOffscreenRect()
489 IntRect rect = frame->view()->visibleContentRect(true); in canScrollInDirection()
540 return rectToAbsoluteCoordinates(frame, frame->view()->visibleContentRect()); in frameRectInAbsoluteCoordinates()
678 …Size = candidate.visibleNode->document()->page()->mainFrame()->view()->visibleContentRect().size(); in distanceDataForNode()
DFrameView.cpp1202 int visibleContentWidth = visibleContentRect().width(); in scrollXForFixedPosition()
1230 int visibleContentHeight = visibleContentRect().height(); in scrollYForFixedPosition()
1544 paintRect.intersect(visibleContentRect()); in repaintContentRectangle()
1547 ScrollView::platformOffscreenContentRectangle(visibleContentRect(), r); in repaintContentRectangle()
2110 IntRect clipRect = contentsToWindow(visibleContentRect(!clipToContents)); in windowClipRect()
2333 paintContents(&context, visibleContentRect()); in updateControlTints()
/external/webkit/Source/WebCore/dom/
DElement.cpp560 IntRect visibleContentRect = view->visibleContentRect(); in getClientRects() local
562 quads[i].move(-visibleContentRect.x(), -visibleContentRect.y()); in getClientRects()
600 IntRect visibleContentRect = view->visibleContentRect(); in getBoundingClientRect() local
601 result.move(-visibleContentRect.x(), -visibleContentRect.y()); in getBoundingClientRect()
/external/webkit/Source/WebCore/inspector/
DDOMNodeHighlighter.cpp231 FloatRect overlayRect = view->visibleContentRect(); in DrawNodeHighlight()
233 overlayRect = view->visibleContentRect(); in DrawNodeHighlight()
/external/webkit/Source/WebCore/platform/gtk/
DScrollViewGtk.cpp166 IntRect ScrollView::visibleContentRect(bool includeScrollbars) const in visibleContentRect() function in WebCore::ScrollView
/external/webkit/Source/WebCore/platform/mac/
DScrollAnimatorMac.mm848 …limitDelta.setHeight(m_scrollableArea->visibleContentRect().y() + + m_scrollableArea->scrollOrigin…
851 …ght(m_scrollableArea->contentsSize().height() - (m_scrollableArea->visibleContentRect().maxY() + m…
856 …limitDelta.setWidth(m_scrollableArea->visibleContentRect().x() + m_scrollableArea->scrollOrigin().…
859 …idth(m_scrollableArea->contentsSize().width() - (m_scrollableArea->visibleContentRect().maxX() + m…
1040 …FloatPoint origOrigin = (m_scrollableArea->visibleContentRect().location() + m_scrollableArea->scr…
1137 …m_origOrigin = (m_scrollableArea->visibleContentRect().location() + m_scrollableArea->scrollOrigin…
/external/webkit/Source/WebKit2/WebProcess/WebPage/
DWebFrame.cpp486 IntRect contentRect = view->visibleContentRect(true); in visibleContentBounds()
499 IntRect contentRect = view->visibleContentRect(false); in visibleContentBoundsExcludingScrollbars()

123