Home
last modified time | relevance | path

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

12

/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.java216 x += widget.getScrollX(); in onTouchEvent()
DArrowKeyMovementMethod.java283 (initialScrollX >= 0 && initialScrollX != widget.getScrollX())) { in onTouchEvent()
/frameworks/base/core/java/com/android/internal/view/
DScrollViewCaptureHelper.java125 view.getScrollX() - contentView.getLeft(), in onScrollRequested()
160 contentView.getLeft() - view.getScrollX(), in onScrollRequested()
DScrollCaptureInternal.java135 view.scrollTo(view.getScrollX(), 1); in detectScrollingType()
139 view.scrollTo(view.getScrollX(), 0); in detectScrollingType()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewAssertions.java219 diff = drawableBounds.left - editText.getScrollX() + drawablePadding.left;
224 - editText.getCompoundPaddingLeft() + editText.getScrollX();
DTextViewActions.java663 return new float[]{ x + textView.getTotalPaddingLeft() - textView.getScrollX() + xy[0], in convertToScreenCoordinates()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java1130 mTempRect.left = getScrollX() + width; in pageScroll()
1139 mTempRect.left = getScrollX() - width; in pageScroll()
1196 int containerLeft = getScrollX(); in scrollAndFocus()
1243 if (direction == View.FOCUS_LEFT && getScrollX() < scrollDelta) { in arrowScroll()
1244 scrollDelta = getScrollX(); in arrowScroll()
1249 int screenRight = getScrollX() + getWidth(); in arrowScroll()
1292 return (mTempRect.right + delta) >= getScrollX() in isWithinDeltaOfScreen()
1293 && (mTempRect.left - delta) <= (getScrollX() + getWidth()); in isWithinDeltaOfScreen()
1512 int screenLeft = getScrollX(); in computeScrollDeltaToGetChildRectOnScreen()
1561 scrollXDelta = Math.max(scrollXDelta, -getScrollX()); in computeScrollDeltaToGetChildRectOnScreen()
[all …]
DStackView.java1352 globalInvalidateRect.offset(p.getLeft() - p.getScrollX(), p.getTop()
1357 parentRect.set(p.getScrollX(), p.getScrollY(),
1358 p.getWidth() + p.getScrollX(), p.getHeight() + p.getScrollY());
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java777 int sx = getScrollX(); in smoothScrollTo()
1476 final int xpos = getScrollX();
1493 if (scrollPos != getScrollX()) {
1509 final int scrollX = getScrollX();
1625 final int oldX = getScrollX();
1700 final int scrollX = getScrollX();
1746 final int scrollX = getScrollX();
1768 int oldX = getScrollX();
2143 final float nextScrollX = getScrollX() + deltaX;
2258 return MAX_SCROLL_X - getScrollX();
[all …]
/frameworks/base/core/java/android/transition/
DChangeScroll.java62 transitionValues.values.put(PROPNAME_SCROLL_X, transitionValues.view.getScrollX()); in captureValues()
DTransitionUtils.java91 matrix.setTranslate(-parent.getScrollX(), -parent.getScrollY()); in copyViewImage()
DChangeTransform.java206 parentMatrix.preTranslate(-parent.getScrollX(), -parent.getScrollY()); in captureValues()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistVisualizer.java168 left -= root.getScrollX();
170 matrix.preTranslate(-root.getScrollX(), -root.getScrollY());
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPagedTileLayout.java211 fakeDragBy(getScrollX() - mScroller.getCurrX()); in computeScroll()
463 if (tileSpecs.isEmpty() || mPages.size() < 2 || getScrollX() != 0 || !beginFakeDrag()) { in startTileReveal()
496 mScroller.startScroll(getScrollX(), getScrollY(), isLayoutRtl() ? -dx : dx, 0, in startTileReveal()
/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRowTest.java294 assertEquals(50, -mGroupRow.getEntry().getIcons().getShelfIcon().getScrollX()); in testIconScrollXAfterTranslationAndReset()
297 assertEquals(0, mGroupRow.getEntry().getIcons().getShelfIcon().getScrollX()); in testIconScrollXAfterTranslationAndReset()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelper.java308 x += view.getScrollX(); in convertToLocalHorizontalCoordinate()
/frameworks/base/core/java/android/view/autofill/
DAutofillPopupWindow.java209 actualAnchor.setScrollX(anchor.getScrollX()); in update()
/frameworks/base/core/java/android/view/
DGhostView.java94 matrix.preTranslate(-parent.getScrollX(), -parent.getScrollY()); in calculateMatrix()
DFocusFinder.java328 final int rootRight = root.getScrollX() + root.getWidth(); in setFocusBottomRight()
334 final int rootLeft = root.getScrollX(); in setFocusTopLeft()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java455 public int getScrollX() { in getScrollX() method in AccessibilityRecord
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java580 matrix.postTranslate(parent.getScrollX(), parent.getScrollY()); in setSharedElementMatrices()
596 matrix.postTranslate(parent.getScrollX(), parent.getScrollY()); in getSharedElementParentMatrix()

12