Home
last modified time | relevance | path

Searched refs:scrollPosition (Results 1 – 25 of 48) sorted by relevance

12

/external/webkit/Source/WebCore/dom/
DMouseRelatedEvent.cpp90 IntPoint scrollPosition; in MouseRelatedEvent() local
95 scrollPosition = frameView->scrollPosition(); in MouseRelatedEvent()
102 scrollPosition.setX(scrollPosition.x() / pageZoom); in MouseRelatedEvent()
103 scrollPosition.setY(scrollPosition.y() / pageZoom); in MouseRelatedEvent()
108 IntPoint clientLocation(adjustedPageLocation - scrollPosition); in MouseRelatedEvent()
/external/webkit/Source/WebCore/platform/
DScrollView.h66 virtual int scrollPosition(Scrollbar*) const;
183 IntPoint scrollPosition() const { return visibleContentRect().location(); } in scrollPosition() function
189 int scrollX() const { return scrollPosition().x(); } in scrollX()
190 int scrollY() const { return scrollPosition().y(); } in scrollY()
194 void cacheCurrentScrollPosition() { m_cachedScrollPosition = scrollPosition(); } in cacheCurrentScrollPosition()
199 void scrollBy(const IntSize& s) { return setScrollPosition(scrollPosition() + s); } in scrollBy()
DScrollAnimator.cpp94 …orwardScrollDelta = m_scrollableArea->maximumScrollPosition() - m_scrollableArea->scrollPosition(); in handleWheelEvent()
95 …IntSize maxBackwardScrollDelta = m_scrollableArea->scrollPosition() - m_scrollableArea->minimumScr… in handleWheelEvent()
DScrollableArea.h86 virtual int scrollPosition(Scrollbar*) const = 0;
120 virtual IntPoint scrollPosition() const { ASSERT_NOT_REACHED(); return IntPoint(); } in scrollPosition() function
DScrollView.cpp427 int ScrollView::scrollPosition(Scrollbar* scrollbar) const in scrollPosition() function in WebCore::ScrollView
430 return scrollPosition().x() + m_scrollOrigin.x(); in scrollPosition()
432 return scrollPosition().y() + m_scrollOrigin.y(); in scrollPosition()
457 if (newScrollPosition == scrollPosition()) in setScrollPosition()
480 int physicalScrollY = scrollPosition().y() + m_scrollOrigin.y(); in overhangAmount()
486 int physicalScrollX = scrollPosition().x() + m_scrollOrigin.x(); in overhangAmount()
1105 int physicalScrollY = scrollPosition().y() + m_scrollOrigin.y(); in wheelEvent()
1116 int physicalScrollX = scrollPosition().x() + m_scrollOrigin.x(); in wheelEvent()
DScrollbar.cpp111 float position = static_cast<float>(m_scrollableArea->scrollPosition(this)); in offsetDidChange()
/external/webkit/Source/WebKit/qt/Api/
Dqwebframe.h116 Q_PROPERTY(QPoint scrollPosition READ scrollPosition WRITE setScrollPosition)
162 QPoint scrollPosition() const;
Dqwebview.cpp179 QPoint scrollPosition() const in scrollPosition() function in QWebViewKineticScroller
182 return frame ? frame->scrollPosition() : QPoint(); in scrollPosition()
/external/chromium/chrome/browser/resources/options/
Doptions_page.js484 var scrollPosition = document.body.scrollTop;
488 container.style.top = -scrollPosition + 'px';
491 var scrollPosition = - parseInt(container.style.top, 10);
499 window.scroll(document.body.scrollLeft, scrollPosition);
/external/webkit/Source/WebKit/chromium/src/
DWebScrollbarImpl.h62 virtual int scrollPosition(WebCore::Scrollbar*) const;
DWebScrollbarImpl.cpp261 int WebScrollbarImpl::scrollPosition(Scrollbar*) const in scrollPosition() function in WebKit::WebScrollbarImpl
/external/webkit/Source/WebKit2/WebProcess/WebPage/mac/
DAccessibilityWebPageObject.mm181 point.y += fv->scrollPosition().y();
182 point.x += fv->scrollPosition().x();
/external/webkit/Source/WebCore/platform/win/
DPopupMenuWin.h95 virtual int scrollPosition(Scrollbar*) const;
/external/webkit/Source/WebKit/win/
DWebScrollBar.h115 virtual int scrollPosition(WebCore::Scrollbar*) const;
DWebScrollBar.cpp261 int WebScrollBar::scrollPosition(Scrollbar*) const in scrollPosition() function in WebScrollBar
/external/webkit/Source/WebCore/page/
DFrame.cpp996 IntPoint scrollPosition = view->scrollPosition(); in setPageAndTextZoomFactors() local
998 …view->setScrollPosition(IntPoint(scrollPosition.x() * percentDifference, scrollPosition.y() * perc… in setPageAndTextZoomFactors()
/external/webkit/Source/WebCore/rendering/
DRenderLayerCompositor.cpp1080 IntPoint scrollPosition = frameView->scrollPosition(); local
1081 m_scrollLayer->setPosition(FloatPoint(-scrollPosition.x(), -scrollPosition.y()));
1086 void RenderLayerCompositor::frameViewDidScroll(const IntPoint& scrollPosition) argument
1089 m_scrollLayer->setPosition(FloatPoint(-scrollPosition.x(), -scrollPosition.y()));
1828 frameViewDidScroll(m_renderView->frameView()->scrollPosition());
DRenderListBox.h103 virtual int scrollPosition(Scrollbar*) const;
/external/webkit/Tools/DumpRenderTree/win/
DDumpRenderTree.cpp408 SIZE scrollPosition; in dumpFrameScrollPosition() local
409 if (FAILED(framePrivate->scrollOffset(&scrollPosition))) in dumpFrameScrollPosition()
412 if (abs(scrollPosition.cx) > 0.00000001 || abs(scrollPosition.cy) > 0.00000001) { in dumpFrameScrollPosition()
423 printf("scrolled to %.f,%.f\n", (double)scrollPosition.cx, (double)scrollPosition.cy); in dumpFrameScrollPosition()
/external/webkit/Source/WebKit2/WebProcess/WebPage/
DWebPage.cpp625 IntPoint scrollPosition = frame->view()->scrollPosition(); in scrollMainFrameIfNotAtMaxScrollPosition() local
631 if (scrollPosition.x() < maximumScrollPosition.x()) in scrollMainFrameIfNotAtMaxScrollPosition()
633 if (scrollPosition.y() < maximumScrollPosition.y()) in scrollMainFrameIfNotAtMaxScrollPosition()
639 frame->view()->setScrollPosition(frame->view()->scrollPosition() + newScrollOffset); in scrollMainFrameIfNotAtMaxScrollPosition()
1793 IntPoint scrollPosition = frame->view()->scrollPosition(); in didChangeScrollOffsetForMainFrame() local
1797 bool isPinnedToLeftSide = (scrollPosition.x() <= minimumScrollPosition.x()); in didChangeScrollOffsetForMainFrame()
1798 bool isPinnedToRightSide = (scrollPosition.x() >= maximumScrollPosition.x()); in didChangeScrollOffsetForMainFrame()
/external/webkit/Source/WebKit2/UIProcess/win/
DWebPopupMenuProxyWin.h65 virtual int scrollPosition(WebCore::Scrollbar*) const;
/external/webkit/Source/WebCore/platform/graphics/chromium/
DLayerRendererChromium.h78 …etViewport(const IntRect& visibleRect, const IntRect& contentRect, const IntPoint& scrollPosition);
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DChromeClientQt.cpp446 QPoint currentPosition(m_webPage->mainFrame()->scrollPosition()); in delegatedScrollRequested()
658 … return QRect(m_webPage->mainFrame()->scrollPosition(), m_webPage->mainFrame()->geometry().size()); in visibleRectForTiledBackingStore()
/external/webkit/Source/WebKit/qt/tests/qwebframe/
Dtst_qwebframe.cpp642 void scrollPosition();
3054 void tst_QWebFrame::scrollPosition() in scrollPosition() function in tst_QWebFrame
3069 QCOMPARE(frame->scrollPosition().x(), 23); in scrollPosition()
3070 QCOMPARE(frame->scrollPosition().y(), 29); in scrollPosition()
3090 QCOMPARE(frame->scrollPosition().x(), 0); in scrollToAnchor()
3091 QCOMPARE(frame->scrollPosition().y(), 0); in scrollToAnchor()
3096 QCOMPARE(frame->scrollPosition().y(), fooAnchor.geometry().top()); in scrollToAnchor()
3100 QCOMPARE(frame->scrollPosition().y(), fooAnchor.geometry().top()); in scrollToAnchor()
3103 QCOMPARE(frame->scrollPosition().y(), 0); in scrollToAnchor()
3107 QVERIFY(frame->scrollPosition().y() != 0); in scrollToAnchor()
/external/webkit/Tools/DumpRenderTree/mac/
DDumpRenderTree.mm781 NSPoint scrollPosition = NSMakePoint(
784 if (ABS(scrollPosition.x) > 0.00000001 || ABS(scrollPosition.y) > 0.00000001) {
787 printf("scrolled to %.f,%.f\n", scrollPosition.x, scrollPosition.y);

12