Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/text/method/
DBaseMovementMethod.java468 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()
DTouch.java101 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()
DScrollingMovementMethod.java99 widget.scrollTo(widget.getScrollX(), in onTakeFocus()
107 widget.scrollTo(widget.getScrollX(), in onTakeFocus()
DLinkMovementMethod.java205 x += widget.getScrollX(); in onTouchEvent()
/frameworks/support/transition/tests/src/android/support/transition/
DChangeScrollTest.java47 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/
DNestedScrollView.java732 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 …]
DExploreByTouchHelper.java873 mTempScreenRect.offset(mTempGlobalRect[0] - mHost.getScrollX(), in createNodeForChild()
878 mTempVisibleRect.offset(mTempGlobalRect[0] - mHost.getScrollX(), in createNodeForChild()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java1008 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/
DTextViewAssertions.java215 diff = drawableBounds.left - editText.getScrollX() + drawablePadding.left;
220 - editText.getCompoundPaddingLeft() + editText.getScrollX();
/frameworks/support/transition/api14/android/support/transition/
DViewUtilsApi14.java82 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/
DViewPager.java960 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/
DViewPager.java770 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/
DAccessibilityRecordCompat.java482 public int getScrollX() { in getScrollX() method in AccessibilityRecordCompat
483 return mRecord.getScrollX(); in getScrollX()
/frameworks/support/design/src/android/support/design/widget/
DViewGroupUtils.java78 m.preTranslate(-vp.getScrollX(), -vp.getScrollY()); in offsetDescendantMatrix()
/frameworks/base/core/java/android/transition/
DChangeScroll.java62 transitionValues.values.put(PROPNAME_SCROLL_X, transitionValues.view.getScrollX()); in captureValues()
DTransitionUtils.java90 matrix.setTranslate(-parent.getScrollX(), -parent.getScrollY()); in copyViewImage()
/frameworks/support/transition/src/android/support/transition/
DChangeScroll.java66 transitionValues.values.put(PROPNAME_SCROLL_X, transitionValues.view.getScrollX()); in captureValues()
DTransitionUtils.java44 matrix.setTranslate(-parent.getScrollX(), -parent.getScrollY()); in copyViewImage()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistVisualizer.java168 left -= root.getScrollX();
170 matrix.preTranslate(-root.getScrollX(), -root.getScrollY());
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java380 } 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/
DScrimInsetsFrameLayout.java93 canvas.translate(getScrollX(), getScrollY()); in draw()
/frameworks/support/design/tests/src/android/support/design/widget/
DTabLayoutTest.java267 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/
DBaseRecyclerViewInstrumentationTest.java1216 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/
DAutofillPopupWindow.java166 actualAnchor.setScrollX(anchor.getScrollX()); in update()
/frameworks/support/wear/src/android/support/wear/widget/
DSwipeDismissLayout.java433 final int scrollX = v.getScrollX(); in canScroll()

1234