Home
last modified time | relevance | path

Searched refs:getScrollX (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwScrollOffsetManagerTest.java38 public int getScrollX() { in getScrollX() method in AwScrollOffsetManagerTest.TestScrollOffsetManagerDelegate
101 assertEquals(scrollX, delegate.getOverScrollDeltaX() + delegate.getScrollX()); in simulateScrolling()
112 delegate.getOverScrollDeltaX() + delegate.getScrollX(), in simlateOverScrollPropagation()
142 assertEquals(0, delegate.getScrollX()); in testWhenContentSizeMatchesView()
156 assertEquals(0, delegate.getScrollX()); in testWhenContentSizeMatchesView()
192 assertEquals(MAX_HORIZONTAL_OFFSET, delegate.getScrollX()); in testScrollRangeAndMaxOffset()
199 assertEquals(0, delegate.getScrollX()); in testScrollRangeAndMaxOffset()
305 assertEquals(0, delegate.getScrollX()); in testOnContainerViewOverScrolled()
311 assertEquals(scrollX, delegate.getScrollX()); in testOnContainerViewOverScrolled()
332 assertEquals(scrollX, delegate.getScrollX()); in testDefersScrollUntilTouchEnd()
[all …]
DAndroidScrollIntegrationTest.java175 equal.set((scrollXPix == testContainerView.getScrollX()) &&
187 assertEquals(scrollXPix, testContainerView.getScrollX());
603 assertTrue(testContainerView.getScrollX() > 0);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DScrollViewTest.java17 assertEquals(7, scrollView.getScrollX()); in shouldSmoothScrollTo()
DViewTest.java268 assertEquals(7, view.getScrollX()); in shouldScrollTo()
274 assertEquals(0, view.getScrollX()); in shouldGetScrollXAndY()
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DOverScrollGlow.java48 if (oldX == mHostView.getScrollX() && oldY == mHostView.getScrollY()) { in pullGlow()
147 final int scrollX = mHostView.getScrollX(); in drawEdgeGlows()
DAwContents.java372 return mContainerView.getScrollX(); in getContainerViewScrollX()
754 mContainerView.getScrollX(), mContainerView.getScrollY(), in onDraw()
1057 int oldX = mContainerView.getScrollX(); in onContainerViewOverScrolled()
1063 mOverScrollGlow.pullGlow(mContainerView.getScrollX(), mContainerView.getScrollY(), in onContainerViewOverScrolled()
1075 child.getLeft() - child.getScrollX(), child.getTop() - child.getScrollY(), in requestChildRectangleOnScreen()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DRenderCoordinates.java146 public float getScrollX() { return mScrollXCss; } in getScrollX() method in RenderCoordinates
DContentViewCore.java2484 || scrollOffsetX != mRenderCoordinates.getScrollX()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/
DBrowserAccessibilityManager.java212 mRenderCoordinates.getScrollX()); in onHoverEvent()
459 rect.offset(-(int) mRenderCoordinates.getScrollX(), in setAccessibilityNodeInfoLocation()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowView.java968 public int getScrollX() { in getScrollX() method in ShadowView