/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
D | AwScrollOffsetManager.java | 36 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 …]
|
D | OverScrollGlow.java | 147 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()
|
D | AwContents.java | 110 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/ |
D | ScrollBehavior.cpp | 62 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/ |
D | AwScrollOffsetManagerTest.java | 59 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 …]
|
D | AndroidScrollIntegrationTest.java | 80 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/ |
D | AwTestContainerView.java | 111 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/ |
D | GestureDetector.java | 578 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/ |
D | drag_drop_controller.js | 111 this.startScrollXY_ = {x: window.scrollX, y: window.scrollY}; 186 window.scrollX - this.startScrollXY_.x;
|
D | apps.js | 490 var left = rect.left + window.scrollX;
|
/external/skia/gm/ |
D | bitmapscroll.cpp | 122 int scrollX, int scrollY) { in draw9() argument 138 subset, scrollX * xMult, scrollY * yMult); in draw9()
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | Touch.cpp | 42 return frameView->scrollX() / frame->pageZoomFactor(); in contentsX()
|
D | TreeScope.cpp | 227 …IntPoint point = roundedIntPoint(FloatPoint(x * scaleFactor + frameView->scrollX(), y * scaleFact… in rendererFromPoint()
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
D | HTMLBodyElement.cpp | 218 return view ? adjustForZoom(view->scrollX(), &document) : 0; in scrollLeft() 270 …view->setScrollPosition(IntPoint(view->scrollX(), static_cast<int>(scrollTop * frame->pageZoomFact… in setScrollTop()
|
D | ImageDocument.cpp | 263 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/ |
D | DOMWindow.h | 172 int scrollX() const; 174 int pageXOffset() const { return scrollX(); } in pageXOffset()
|
D | Window.idl | 91 [Replaceable] readonly attribute long scrollX;
|
D | DOMWindow.cpp | 1175 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/ |
D | InspectorOverlay.h | 159 …void reset(const IntSize& viewportSize, const IntSize& frameViewFullSize, int scrollX, int scrollY…
|
D | InspectorOverlay.cpp | 642 …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/ |
D | MouseRelatedEvent.cpp | 52 return LayoutSize(frameView->scrollX() / scaleFactor, frameView->scrollY() / scaleFactor); in contentsScrollOffset()
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/ |
D | BrowserAccessibilityManager.java | 532 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/ |
D | ScrollView.h | 154 int scrollX() const { return scrollPosition().x(); } in scrollX() function
|
D | ScrollView.cpp | 898 context->translate(-scrollX(), -scrollY()); in paint()
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | PopupListBox.cpp | 367 …int tx = x() - scrollX() + ((shouldPlaceVerticalScrollbarOnLeft() && verticalScrollbar()) ? vertic… in paint()
|