Home
last modified time | relevance | path

Searched refs:scrollX (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DAwScrollOffsetManager.java36 void overScrollContainerViewBy(int deltaX, int deltaY, int scrollX, int scrollY, in overScrollContainerViewBy() argument
157 final int scrollX = mDelegate.getContainerViewScrollX(); in scrollContainerViewTo() local
159 final int deltaX = x - scrollX; in scrollContainerViewTo()
166 mDelegate.overScrollContainerViewBy(deltaX, deltaY, scrollX, scrollY, in scrollContainerViewTo()
189 final int scrollX = mDelegate.getContainerViewScrollX(); in scrollBy() local
196 mDelegate.overScrollContainerViewBy(deltaX, deltaY, scrollX, scrollY, in scrollBy()
200 private int clampHorizontalScroll(int scrollX) { in clampHorizontalScroll() argument
201 scrollX = Math.max(0, scrollX); in clampHorizontalScroll()
202 scrollX = Math.min(computeMaximumHorizontalScrollOffset(), scrollX); in clampHorizontalScroll()
203 return scrollX; in clampHorizontalScroll()
[all …]
DOverScrollGlow.java147 final int scrollX = mHostView.getScrollX(); in drawEdgeGlows() local
156 canvas.translate(scrollX, Math.min(0, scrollY)); in drawEdgeGlows()
164 canvas.translate(-width + scrollX, Math.max(maxScrollY, scrollY) + height); in drawEdgeGlows()
174 canvas.translate(-height - scrollY, Math.min(0, scrollX)); in drawEdgeGlows()
183 canvas.translate(scrollY, -(Math.max(scrollX, maxScrollX) + width)); in drawEdgeGlows()
DAwContents.java110 int scrollX, int scrollY, in overScrollBy() argument
118 void super_scrollTo(int scrollX, int scrollY); in super_scrollTo() argument
353 public void overScrollContainerViewBy(int deltaX, int deltaY, int scrollX, int scrollY, in overScrollContainerViewBy() argument
355 mInternalAccessAdapter.overScrollBy(deltaX, deltaY, scrollX, scrollY, in overScrollContainerViewBy()
1055 public void onContainerViewOverScrolled(int scrollX, int scrollY, boolean clampedX, in onContainerViewOverScrolled() argument
1060 mScrollOffsetManager.onContainerViewOverScrolled(scrollX, scrollY, clampedX, clampedY); in onContainerViewOverScrolled()
2050 boolean isHardwareAccelerated, int scrollX, int scrollY,
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DScrollBehavior.cpp62 ScrollBehavior scrollX; in getRectToExpose() local
69 scrollX = getVisibleBehavior(alignX); in getRectToExpose()
72 scrollX = getVisibleBehavior(alignX); in getRectToExpose()
73 if (scrollX == alignCenter) in getRectToExpose()
74 scrollX = noScroll; in getRectToExpose()
77 scrollX = getPartialBehavior(alignX); in getRectToExpose()
79 scrollX = getHiddenBehavior(alignX); in getRectToExpose()
82 if (scrollX == alignToClosestEdge) { in getRectToExpose()
88 scrollX = alignRight; in getRectToExpose()
94 if (scrollX == noScroll) in getRectToExpose()
[all …]
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwScrollOffsetManagerTest.java59 public void overScrollContainerViewBy(int deltaX, int deltaY, int scrollX, int scrollY, in overScrollContainerViewBy() argument
95 TestScrollOffsetManagerDelegate delegate, int scrollX, int scrollY) { in simulateScrolling() argument
98 offsetManager.scrollContainerViewTo(scrollX, scrollY); in simulateScrolling()
101 assertEquals(scrollX, delegate.getOverScrollDeltaX() + delegate.getScrollX()); in simulateScrolling()
104 offsetManager.onContainerViewOverScrolled(scrollX, scrollY, false, false); in simulateScrolling()
125 final int scrollX = 11; in testWhenContentSizeMatchesView() local
139 simulateScrolling(offsetManager, delegate, scrollX, scrollY); in testWhenContentSizeMatchesView()
140 assertEquals(scrollX, delegate.getOverScrollDeltaX()); in testWhenContentSizeMatchesView()
153 simulateScrolling(offsetManager, delegate, -scrollX, -scrollY); in testWhenContentSizeMatchesView()
154 assertEquals(-scrollX, delegate.getOverScrollDeltaX()); in testWhenContentSizeMatchesView()
[all …]
DAndroidScrollIntegrationTest.java80 protected boolean overScrollBy(int deltaX, int deltaY, int scrollX, int scrollY, in overScrollBy() argument
84 return super.overScrollBy(deltaX, deltaY, scrollX, scrollY, in overScrollBy()
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/
DAwTestContainerView.java111 public void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) { in onOverScrolled() argument
112 mAwContents.onContainerViewOverScrolled(scrollX, scrollY, clampedX, clampedY); in onOverScrolled()
213 public void super_scrollTo(int scrollX, int scrollY) { in super_scrollTo() argument
215 AwTestContainerView.this.scrollTo(scrollX, scrollY); in super_scrollTo()
220 int scrollX, int scrollY, in overScrollBy() argument
225 AwTestContainerView.this.overScrollBy(deltaX, deltaY, scrollX, scrollY, in overScrollBy()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/third_party/
DGestureDetector.java578 final float scrollX = mLastFocusX - focusX; in onTouchEvent() local
588 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
599 } else if ((Math.abs(scrollX) >= 1) || (Math.abs(scrollY) >= 1)) { in onTouchEvent()
600 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
/external/chromium/chrome/browser/resources/ntp/
Ddrag_drop_controller.js111 this.startScrollXY_ = {x: window.scrollX, y: window.scrollY};
186 window.scrollX - this.startScrollXY_.x;
Dapps.js490 var left = rect.left + window.scrollX;
/external/skia/gm/
Dbitmapscroll.cpp122 int scrollX, int scrollY) { in draw9() argument
138 subset, scrollX * xMult, scrollY * yMult); in draw9()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DTouch.cpp42 return frameView->scrollX() / frame->pageZoomFactor(); in contentsX()
DTreeScope.cpp227 …IntPoint point = roundedIntPoint(FloatPoint(x * scaleFactor + frameView->scrollX(), y * scaleFact… in rendererFromPoint()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLBodyElement.cpp218 return view ? adjustForZoom(view->scrollX(), &document) : 0; in scrollLeft()
270 …view->setScrollPosition(IntPoint(view->scrollX(), static_cast<int>(scrollTop * frame->pageZoomFact… in setScrollTop()
DImageDocument.cpp263 int scrollX = static_cast<int>(x / scale - (float)frame()->view()->width() / 2); in imageClicked() local
266 frame()->view()->setScrollPosition(IntPoint(scrollX, scrollY)); in imageClicked()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DDOMWindow.h172 int scrollX() const;
174 int pageXOffset() const { return scrollX(); } in pageXOffset()
DWindow.idl91 [Replaceable] readonly attribute long scrollX;
DDOMWindow.cpp1175 int DOMWindow::scrollX() const in scrollX() function in WebCore::DOMWindow
1186 return adjustForAbsoluteZoom(view->scrollX(), m_frame->pageZoomFactor()); in scrollX()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorOverlay.h159 …void reset(const IntSize& viewportSize, const IntSize& frameViewFullSize, int scrollX, int scrollY…
DInspectorOverlay.cpp642 …lay::reset(const IntSize& viewportSize, const IntSize& frameViewFullSize, int scrollX, int scrollY) in reset() argument
650 resetData->setNumber("scrollX", scrollX); in reset()
/external/chromium_org/third_party/WebKit/Source/core/events/
DMouseRelatedEvent.cpp52 return LayoutSize(frameView->scrollX() / scaleFactor, frameView->scrollY() / scaleFactor); in contentsScrollOffset()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/
DBrowserAccessibilityManager.java532 int scrollX, int scrollY, int maxScrollX, int maxScrollY) { in setAccessibilityEventScrollAttributes() argument
533 event.setScrollX(scrollX); in setAccessibilityEventScrollAttributes()
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollView.h154 int scrollX() const { return scrollPosition().x(); } in scrollX() function
DScrollView.cpp898 context->translate(-scrollX(), -scrollY()); in paint()
/external/chromium_org/third_party/WebKit/Source/web/
DPopupListBox.cpp367 …int tx = x() - scrollX() + ((shouldPlaceVerticalScrollbarOnLeft() && verticalScrollbar()) ? vertic… in paint()

12