Home
last modified time | relevance | path

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

12

/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Dscrollbar.js169 var scrollPosition;
171 scrollPosition = Math.max(totalSize - clientSize, 0) *
174 scrollPosition = 0;
177 this.scrollTop_ = scrollPosition;
178 this.view_.scrollTop = scrollPosition;
207 var scrollPosition = this.scrollTop_;
214 buttonPosition = scrollPosition / (totalSize - clientSize) *
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsLayerTest.cpp149 virtual IntPoint scrollPosition() const OVERRIDE { return m_scrollPosition; } in scrollPosition() function in __anon9e4d41630111::FakeScrollableArea
160 WebPoint scrollPosition(7, 9); in TEST_F() local
161 m_platformLayer->setScrollPosition(scrollPosition); in TEST_F()
164 EXPECT_EQ(scrollPosition, WebPoint(scrollableArea.scrollPosition())); in TEST_F()
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXObject.cpp735 IntPoint scrollPosition = scrollableArea->scrollPosition(); in scrollToMakeVisibleWithSubFocus() local
739 scrollPosition.x(), in scrollToMakeVisibleWithSubFocus()
744 scrollPosition.y(), in scrollToMakeVisibleWithSubFocus()
781 IntPoint scrollPosition = scrollableArea->scrollPosition(); in scrollToGlobalPoint() local
786 objectRect.move(scrollPosition.x(), scrollPosition.y()); in scrollToGlobalPoint()
804 scrollPosition = scrollableArea->scrollPosition(); in scrollToGlobalPoint()
805 offsetX -= (scrollPosition.x() + point.x()); in scrollToGlobalPoint()
806 offsetY -= (scrollPosition.y() + point.y()); in scrollToGlobalPoint()
807 point.move(scrollPosition.x() - innerRect.x(), scrollPosition.y() - innerRect.y()); in scrollToGlobalPoint()
/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.cpp193 IntPoint oldPosition = scrollPosition(); in scrollPositionChanged()
220 if (scrollPosition() != oldPosition) in scrollPositionChanged()
221 scrollAnimator()->notifyContentAreaScrolled(scrollPosition() - oldPosition); in scrollPositionChanged()
455 return IntRect(scrollPosition().x(), in visibleContentRect()
456 scrollPosition().y(), in visibleContentRect()
461 IntPoint ScrollableArea::clampScrollPosition(const IntPoint& scrollPosition) const in clampScrollPosition()
463 return scrollPosition.shrunkTo(maximumScrollPosition()).expandedTo(minimumScrollPosition()); in clampScrollPosition()
DScrollView.h133 virtual IntPoint scrollPosition() const OVERRIDE { return visibleContentRect().location(); } in scrollPosition() function
140 int scrollX() const { return scrollPosition().x(); } in scrollX()
141 int scrollY() const { return scrollPosition().y(); } in scrollY()
145 void cacheCurrentScrollPosition() { m_cachedScrollPosition = scrollPosition(); } in cacheCurrentScrollPosition()
152 return setScrollPosition(scrollPosition() + s, behavior);
DScrollableArea.h163 virtual IntPoint scrollPosition() const = 0;
205 …int scrollPosition(ScrollbarOrientation orientation) { return orientation == HorizontalScrollbar ?… in scrollPosition() function
DScrollAnimator.cpp90 …orwardScrollDelta = m_scrollableArea->maximumScrollPosition() - m_scrollableArea->scrollPosition(); in handleWheelEvent()
91 …IntSize maxBackwardScrollDelta = m_scrollableArea->scrollPosition() - m_scrollableArea->minimumScr… in handleWheelEvent()
DProgrammaticScrollAnimator.cpp43 m_animationCurve->setInitialValue(FloatPoint(m_scrollableArea->scrollPosition())); in animateToOffset()
DScrollView.cpp285 if (newScrollPosition == scrollPosition()) in setScrollPosition()
306 IntPoint currentScrollPosition = scrollPosition(); in overhangAmount()
507 if (adjustedScrollPosition != scrollPosition() || scrollOriginChanged()) { in setScrollOffsetFromUpdateScrollbars()
883 documentDirtyRect.moveBy(-location() + scrollPosition()); in paint()
914 int physicalScrollY = scrollPosition().y() + scrollOrigin().y(); in calculateOverhangAreasForPainting()
927 int physicalScrollX = scrollPosition().x() + scrollOrigin().x(); in calculateOverhangAreasForPainting()
DScrollbar.cpp589 … return m_scrollableArea->scrollPosition().x() - m_scrollableArea->minimumScrollPosition().x(); in scrollableAreaCurrentPos()
591 return m_scrollableArea->scrollPosition().y() - m_scrollableArea->minimumScrollPosition().y(); in scrollableAreaCurrentPos()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DPinchViewportTest.cpp235 EXPECT_POINT_EQ(IntPoint(0, 400), frame()->view()->scrollPosition()); in TEST_F()
253 EXPECT_POINT_EQ(IntPoint(0, 625), frame()->view()->scrollPosition()); in TEST_F()
312 EXPECT_POINT_EQ(IntPoint(0, 0), frame()->view()->scrollPosition()); in TEST_F()
715 EXPECT_POINT_EQ(IntPoint(100, 150), frame()->view()->scrollPosition()); in TEST_F()
770 frame()->view()->scrollPosition()); in TEST_F()
781 frame()->view()->scrollPosition()); in TEST_F()
795 EXPECT_POINT_EQ(IntPoint(200-30-75, 600-50-65), frame()->view()->scrollPosition()); in TEST_F()
901 EXPECT_POINT_EQ(IntPoint(75, 150), frame()->view()->scrollPosition()); in TEST_F()
905 EXPECT_POINT_EQ(IntPoint(0, 0), frame()->view()->scrollPosition()); in TEST_F()
914 EXPECT_POINT_EQ(IntPoint(50, 75), frame()->view()->scrollPosition()); in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/web/
DPopupListBox.h116 virtual IntPoint scrollPosition() const OVERRIDE { return visibleContentRect().location(); } in scrollPosition() function
241 int scrollX() const { return scrollPosition().x(); } in scrollX()
242 int scrollY() const { return scrollPosition().y(); } in scrollY()
DScrollbarGroup.h60 virtual IntPoint scrollPosition() const OVERRIDE;
DPopupListBox.cpp919 viewRect.moveBy(-scrollPosition()); in contentsToWindow()
928 updateScrollbars(scrollPosition()); in setContentsSize()
938 updateScrollbars(scrollPosition()); in setFrameRect()
972 if (desiredOffset != scrollPosition()) in updateScrollbars()
DScrollbarGroup.cpp167 IntPoint ScrollbarGroup::scrollPosition() const in scrollPosition() function in blink::ScrollbarGroup
/external/chromium_org/third_party/WebKit/Source/core/dom/
DTouch.cpp44 return FloatPoint(frameView->scrollPosition()).scaledBy(scale); in contentsOffset()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DLocalFrame.cpp551 LayoutPoint scrollPosition = view->scrollPosition(); in setPageAndTextZoomFactors() local
553 …view->setScrollPosition(IntPoint(scrollPosition.x() * percentDifference, scrollPosition.y() * perc… in setPageAndTextZoomFactors()
DPinchViewport.h120 virtual IntPoint scrollPosition() const OVERRIDE { return flooredIntPoint(m_offset); } in scrollPosition() function
DFrameView.cpp1173 viewportRect.setLocation(clampScrollPosition(scrollPosition())); in viewportConstrainedVisibleContentRect()
1213 return toIntSize(clampScrollPosition(scrollPosition())); in scrollOffsetForFixedPosition()
1296 updateRect.moveBy(scrollPosition()); in scrollContentsFastPath()
1456 IntPoint remainder = IntPoint(targetOffset - scrollPosition()); in scrollElementToRect()
1469 if (newScrollPosition == scrollPosition()) in setScrollPosition()
1486 if (newScrollPosition == scrollPosition()) in setScrollPositionNonProgrammatically()
2799 rect.moveBy(-scrollPosition()); in convertFromRenderer()
2809 rect.moveBy(scrollPosition()); in convertToRenderer()
2822 point.moveBy(-scrollPosition()); in convertFromRenderer()
DPinchViewport.cpp148 FloatPoint remainder = FloatPoint(targetOffset - view->scrollPosition()); in scrollIntoView()
/external/chromium_org/third_party/WebKit/public/platform/
DWebLayer.h165 virtual WebPoint scrollPosition() const = 0;
/external/chromium_org/cc/blink/
Dweb_layer_impl.h106 virtual blink::WebPoint scrollPosition() const;
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/
DRenderLayerCompositor.cpp527 IntPoint scrollPosition = frameView->scrollPosition(); in frameViewDidScroll() local
546 m_scrollLayer->setPosition(-scrollPosition); in frameViewDidScroll()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderLayerScrollableArea.h94 virtual IntPoint scrollPosition() const OVERRIDE;

12