Home
last modified time | relevance | path

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

12

/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/
Dscrollbar.js157 var scrollPosition;
159 scrollPosition = Math.max(totalSize - clientSize, 0) *
162 scrollPosition = 0;
165 this.scrollTop_ = scrollPosition;
166 this.view_.scrollTop = scrollPosition;
195 var scrollPosition = this.scrollTop_;
202 buttonPosition = scrollPosition / (totalSize - clientSize) *
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXObject.cpp739 IntPoint scrollPosition = scrollableArea->scrollPosition(); in scrollToMakeVisibleWithSubFocus() local
743 scrollPosition.x(), in scrollToMakeVisibleWithSubFocus()
748 scrollPosition.y(), in scrollToMakeVisibleWithSubFocus()
785 IntPoint scrollPosition = scrollableArea->scrollPosition(); in scrollToGlobalPoint() local
790 objectRect.move(scrollPosition.x(), scrollPosition.y()); in scrollToGlobalPoint()
808 scrollPosition = scrollableArea->scrollPosition(); in scrollToGlobalPoint()
809 offsetX -= (scrollPosition.x() + point.x()); in scrollToGlobalPoint()
810 offsetY -= (scrollPosition.y() + point.y()); in scrollToGlobalPoint()
811 point.move(scrollPosition.x() - innerRect.x(), scrollPosition.y() - innerRect.y()); in scrollToGlobalPoint()
DAXRenderObject.cpp1193 if (scrollableArea && scrollableArea->scrollPosition() != m_cachedScrollPosition) in checkCachedElementRect()
1218 m_cachedScrollPosition = scrollableArea->scrollPosition(); in updateCachedElementRect()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DGraphicsLayerTest.cpp144 virtual IntPoint scrollPosition() const OVERRIDE { return m_scrollPosition; } in scrollPosition() function in __anon759da6710111::FakeScrollableArea
155 WebPoint scrollPosition(7, 9); in TEST_F() local
156 m_platformLayer->setScrollPosition(scrollPosition); in TEST_F()
159 EXPECT_EQ(scrollPosition, WebPoint(scrollableArea.scrollPosition())); in TEST_F()
DScrollingCoordinatorChromiumTest.cpp465 ASSERT_EQ(expectedScrollPosition, webScrollLayer->scrollPosition().x); in TEST_F()
/external/chromium_org/third_party/WebKit/Source/core/events/
DMouseRelatedEvent.cpp65 LayoutPoint scrollPosition; in MouseRelatedEvent() local
70 scrollPosition = frameView->scrollPosition(); in MouseRelatedEvent()
75 scrollPosition.scale(scaleFactor, scaleFactor); in MouseRelatedEvent()
80 m_clientLocation = adjustedPageLocation - toLayoutSize(scrollPosition); in MouseRelatedEvent()
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollableArea.cpp160 IntPoint oldPosition = scrollPosition(); in scrollPositionChanged()
187 if (scrollPosition() != oldPosition) in scrollPositionChanged()
188 scrollAnimator()->notifyContentAreaScrolled(scrollPosition() - oldPosition); in scrollPositionChanged()
383 return IntRect(scrollPosition().x(), in visibleContentRect()
384 scrollPosition().y(), in visibleContentRect()
389 IntPoint ScrollableArea::clampScrollPosition(const IntPoint& scrollPosition) const in clampScrollPosition()
391 return scrollPosition.shrunkTo(maximumScrollPosition()).expandedTo(minimumScrollPosition()); in clampScrollPosition()
DScrollableArea.h137 virtual IntPoint scrollPosition() const = 0;
183 …int scrollPosition(ScrollbarOrientation orientation) { return orientation == HorizontalScrollbar ?… in scrollPosition() function
DScrollView.h148 virtual IntPoint scrollPosition() const OVERRIDE { return visibleContentRect().location(); } in scrollPosition() function
154 int scrollX() const { return scrollPosition().x(); } in scrollX()
155 int scrollY() const { return scrollPosition().y(); } in scrollY()
159 void cacheCurrentScrollPosition() { m_cachedScrollPosition = scrollPosition(); } in cacheCurrentScrollPosition()
164 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()
DScrollView.cpp292 if (newScrollPosition == scrollPosition()) in setScrollPosition()
310 IntPoint currentScrollPosition = scrollPosition(); in overhangAmount()
495 if (adjustedScrollPosition != scrollPosition() || scrollOriginChanged()) { in updateScrollbars()
899 documentDirtyRect.moveBy(scrollPosition()); in paint()
933 int physicalScrollY = scrollPosition().y() + scrollOrigin().y(); in calculateOverhangAreasForPainting()
946 int physicalScrollX = scrollPosition().x() + scrollOrigin().x(); in calculateOverhangAreasForPainting()
DScrollbar.cpp601 … return m_scrollableArea->scrollPosition().x() - m_scrollableArea->minimumScrollPosition().x(); in scrollableAreaCurrentPos()
603 return m_scrollableArea->scrollPosition().y() - m_scrollableArea->minimumScrollPosition().y(); in scrollableAreaCurrentPos()
/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/chromium_org/third_party/WebKit/Source/core/frame/
DFrame.cpp541 LayoutPoint scrollPosition = view->scrollPosition(); in setPageAndTextZoomFactors() local
543 …view->setScrollPosition(IntPoint(scrollPosition.x() * percentDifference, scrollPosition.y() * perc… in setPageAndTextZoomFactors()
DFrameView.cpp1414 viewportRect.setLocation(clampScrollPosition(scrollPosition())); in viewportConstrainedVisibleContentRect()
1421 return toIntSize(clampScrollPosition(scrollPosition())); in scrollOffsetForFixedPosition()
1480 updateRect.moveBy(scrollPosition()); in scrollContentsFastPath()
1668 if (newScrollPosition == scrollPosition()) in setScrollPosition()
1678 if (newScrollPosition == scrollPosition()) in setScrollPositionNonProgrammatically()
3182 rect.moveBy(-scrollPosition()); in convertFromRenderer()
3192 rect.moveBy(scrollPosition()); in convertToRenderer()
3205 point.moveBy(-scrollPosition()); in convertFromRenderer()
/external/chromium_org/third_party/WebKit/Source/web/
DScrollbarGroup.h64 virtual WebCore::IntPoint scrollPosition() const OVERRIDE;
DScrollbarGroup.cpp175 IntPoint ScrollbarGroup::scrollPosition() const in scrollPosition() function in blink::ScrollbarGroup
DWebViewImpl.h570 …void updateMainFrameScrollPosition(const WebCore::IntPoint& scrollPosition, bool programmaticScrol…
/external/chromium_org/third_party/WebKit/public/platform/
DWebLayer.h175 virtual WebPoint scrollPosition() const = 0;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderListBox.h106 virtual IntPoint scrollPosition() const OVERRIDE;
DRenderLayerScrollableArea.h97 virtual IntPoint scrollPosition() const OVERRIDE;
DRenderLayerCompositor.cpp1280 IntPoint scrollPosition = frameView->scrollPosition(); in frameViewDidScroll() local
1299 m_scrollLayer->setPosition(-scrollPosition); in frameViewDidScroll()
/external/chromium_org/webkit/renderer/compositor_bindings/
Dweb_layer_impl.h109 virtual blink::WebPoint scrollPosition() const;
Dweb_layer_impl.cc246 blink::WebPoint WebLayerImpl::scrollPosition() const { in scrollPosition() function in webkit::WebLayerImpl
/external/chromium_org/third_party/WebKit/Source/core/page/
DPage.cpp356 if (view && view->scrollPosition() != origin) in setPageScaleFactor()

12