/frameworks/base/core/java/android/text/method/ |
D | BaseMovementMethod.java | 468 int scrollX = widget.getScrollX(); in scrollLeft() 489 int scrollX = widget.getScrollX(); in scrollRight() 519 Touch.scrollTo(widget, layout, widget.getScrollX(), layout.getLineTop(topLine)); in scrollUp() 549 Touch.scrollTo(widget, layout, widget.getScrollX(), in scrollDown() 570 Touch.scrollTo(widget, layout, widget.getScrollX(), layout.getLineTop(topLine)); in scrollPageUp() 591 Touch.scrollTo(widget, layout, widget.getScrollX(), in scrollPageDown() 610 Touch.scrollTo(widget, layout, widget.getScrollX(), layout.getLineTop(0)); in scrollTop() 629 Touch.scrollTo(widget, layout, widget.getScrollX(), in scrollBottom() 647 int scrollX = widget.getScrollX(); in scrollLineStart() 666 int scrollX = widget.getScrollX(); in scrollLineEnd()
|
D | Touch.java | 101 widget.getScrollX(), widget.getScrollY()), in onTouchEvent() 153 int nx = widget.getScrollX() + (int) dx; in onTouchEvent() 162 int oldX = widget.getScrollX(); in onTouchEvent() 168 if (oldX != widget.getScrollX() || oldY != widget.getScrollY()) { in onTouchEvent()
|
D | ScrollingMovementMethod.java | 99 widget.scrollTo(widget.getScrollX(), in onTakeFocus() 107 widget.scrollTo(widget.getScrollX(), in onTakeFocus()
|
D | LinkMovementMethod.java | 205 x += widget.getScrollX(); in onTouchEvent()
|
/frameworks/support/transition/tests/src/android/support/transition/ |
D | ChangeScrollTest.java | 47 assertEquals(0, view.getScrollX()); in testChangeScroll() 59 final int scrollX = view.getScrollX(); in testChangeScroll() 70 assertEquals(150, view.getScrollX()); in testChangeScroll()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | NestedScrollView.java | 732 if (mScroller.springBack(getScrollX(), getScrollY(), 0, 0, 0, getScrollRange())) { in onInterceptTouchEvent() 870 } else if (mScroller.springBack(getScrollX(), getScrollY(), 0, 0, 0, in onTouchEvent() 879 if (mScroller.springBack(getScrollX(), getScrollY(), 0, 0, 0, in onTouchEvent() 940 super.scrollTo(getScrollX(), newScrollY); in onGenericMotionEvent() 1337 mScroller.startScroll(getScrollX(), scrollY, 0, dy); in smoothScrollBy() 1355 smoothScrollBy(x - getScrollX(), y - getScrollY()); in smoothScrollTo() 1466 overScrollByCompat(0, dy, getScrollX(), oldScrollY, 0, range, 0, 0, false); in computeScroll() 1656 rectangle.offset(child.getLeft() - child.getScrollX(), in requestChildRectangleOnScreen() 1680 scrollTo(getScrollX(), mSavedState.scrollPosition); in onLayout() 1690 scrollTo(getScrollX(), scrollRange); in onLayout() [all …]
|
D | ExploreByTouchHelper.java | 873 mTempScreenRect.offset(mTempGlobalRect[0] - mHost.getScrollX(), in createNodeForChild() 878 mTempVisibleRect.offset(mTempGlobalRect[0] - mHost.getScrollX(), in createNodeForChild()
|
/frameworks/base/core/java/android/widget/ |
D | HorizontalScrollView.java | 1008 mTempRect.left = getScrollX() + width; in pageScroll() 1017 mTempRect.left = getScrollX() - width; in pageScroll() 1074 int containerLeft = getScrollX(); in scrollAndFocus() 1121 if (direction == View.FOCUS_LEFT && getScrollX() < scrollDelta) { in arrowScroll() 1122 scrollDelta = getScrollX(); in arrowScroll() 1127 int screenRight = getScrollX() + getWidth(); in arrowScroll() 1170 return (mTempRect.right + delta) >= getScrollX() in isWithinDeltaOfScreen() 1171 && (mTempRect.left - delta) <= (getScrollX() + getWidth()); in isWithinDeltaOfScreen() 1390 int screenLeft = getScrollX(); in computeScrollDeltaToGetChildRectOnScreen() 1439 scrollXDelta = Math.max(scrollXDelta, -getScrollX()); in computeScrollDeltaToGetChildRectOnScreen() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | TextViewAssertions.java | 215 diff = drawableBounds.left - editText.getScrollX() + drawablePadding.left; 220 - editText.getCompoundPaddingLeft() + editText.getScrollX();
|
/frameworks/support/transition/api14/android/support/transition/ |
D | ViewUtilsApi14.java | 82 matrix.preTranslate(-vp.getScrollX(), -vp.getScrollY()); in transformMatrixToGlobal() 97 matrix.postTranslate(vp.getScrollX(), vp.getScrollY()); in transformMatrixToLocal()
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
D | ViewPager.java | 960 sx = getScrollX(); in smoothScrollTo() 1654 final int xpos = getScrollX(); 1665 if (scrollPos != getScrollX()) { 1681 final int scrollX = getScrollX(); 1787 int oldX = getScrollX(); 1858 final int scrollX = getScrollX(); 1899 final int scrollX = getScrollX(); 1973 int oldX = getScrollX(); 2244 final int scrollX = getScrollX(); 2307 float oldScrollX = getScrollX(); [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 770 int sx = getScrollX(); in smoothScrollTo() 1468 final int xpos = getScrollX(); 1485 if (scrollPos != getScrollX()) { 1501 final int scrollX = getScrollX(); 1617 final int oldX = getScrollX(); 1692 final int scrollX = getScrollX(); 1738 final int scrollX = getScrollX(); 1760 int oldX = getScrollX(); 2093 final float nextScrollX = getScrollX() + deltaX; 2208 return MAX_SCROLL_X - getScrollX(); [all …]
|
/frameworks/support/compat/java/android/support/v4/view/accessibility/ |
D | AccessibilityRecordCompat.java | 482 public int getScrollX() { in getScrollX() method in AccessibilityRecordCompat 483 return mRecord.getScrollX(); in getScrollX()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | ViewGroupUtils.java | 78 m.preTranslate(-vp.getScrollX(), -vp.getScrollY()); in offsetDescendantMatrix()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeScroll.java | 62 transitionValues.values.put(PROPNAME_SCROLL_X, transitionValues.view.getScrollX()); in captureValues()
|
D | TransitionUtils.java | 90 matrix.setTranslate(-parent.getScrollX(), -parent.getScrollY()); in copyViewImage()
|
/frameworks/support/transition/src/android/support/transition/ |
D | ChangeScroll.java | 66 transitionValues.values.put(PROPNAME_SCROLL_X, transitionValues.view.getScrollX()); in captureValues()
|
D | TransitionUtils.java | 44 matrix.setTranslate(-parent.getScrollX(), -parent.getScrollY()); in copyViewImage()
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | AssistVisualizer.java | 168 left -= root.getScrollX(); 170 matrix.preTranslate(-root.getScrollX(), -root.getScrollY());
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | InteractionController.java | 380 } else if (event.getScrollX() != -1 && event.getScrollY() != -1) { 389 foundEnd = event.getScrollX() == 0 || 390 event.getScrollX() == event.getMaxScrollX();
|
/frameworks/support/design/src/android/support/design/internal/ |
D | ScrimInsetsFrameLayout.java | 93 canvas.translate(getScrollX(), getScrollY()); in draw()
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | TabLayoutTest.java | 267 final AtomicInteger lastScrollX = new AtomicInteger(tabs.getScrollX()); in testSetScrollPosition() 278 int sx = view.getScrollX(); in testSetScrollPosition()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | BaseRecyclerViewInstrumentationTest.java | 1216 final int childLeft = child.getLeft() - child.getScrollX(); in isViewPartiallyInBound() 1218 final int childRight = child.getRight() - child.getScrollX(); in isViewPartiallyInBound() 1244 final int childLeft = child.getLeft() - child.getScrollX(); in isViewFullyInBound() 1246 final int childRight = child.getRight() - child.getScrollX(); in isViewFullyInBound()
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillPopupWindow.java | 166 actualAnchor.setScrollX(anchor.getScrollX()); in update()
|
/frameworks/support/wear/src/android/support/wear/widget/ |
D | SwipeDismissLayout.java | 433 final int scrollX = v.getScrollX(); in canScroll()
|