Home
last modified time | relevance | path

Searched refs:getScrollX (Results 1 – 25 of 30) 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.java99 widget.getScrollX(), widget.getScrollY()), in onTouchEvent()
150 int nx = widget.getScrollX() + (int) dx; in onTouchEvent()
159 int oldX = widget.getScrollX(); in onTouchEvent()
165 if (oldX != widget.getScrollX() || oldY != widget.getScrollY()) { in onTouchEvent()
DScrollingMovementMethod.java98 widget.scrollTo(widget.getScrollX(), in onTakeFocus()
106 widget.scrollTo(widget.getScrollX(), in onTakeFocus()
DLinkMovementMethod.java201 x += widget.getScrollX(); in onTouchEvent()
DArrowKeyMovementMethod.java274 (initialScrollX >= 0 && initialScrollX != widget.getScrollX())) { in onTouchEvent()
/frameworks/base/core/java/android/webkit/
DZoomManager.java410 mAnchorX = mWebView.viewToContentX((int) mZoomCenterX + mWebView.getScrollX()); in zoom()
424 mInitialScrollX = mWebView.getScrollX(); in startZoomAnimation()
492 * zoomScale)) + mWebView.getScrollX(); in animateZoom()
502 … mWebView.updateScrollCoordinates(mWebView.getScrollX() - tx, mWebView.getScrollY() - ty); in animateZoom()
582 int oldX = mWebView.getScrollX();
640 mAnchorX = mWebView.viewToContentX((int) lastTouchX + mWebView.getScrollX());
699 mWebView.updateScrollCoordinates(mWebView.getScrollX(), 0);
712 - mWebView.getScrollX();
894 mAnchorX = mWebView.viewToContentX((int) mZoomCenterX + mWebView.getScrollX());
919 mAnchorX = mWebView.viewToContentX(mWebView.getScrollX());
DWebViewClassic.java1411 int getScrollX() { in getScrollX() method in WebViewClassic
1412 return mWebView.getScrollX(); in getScrollX()
1731 event.setScrollX(getScrollX()); in onInitializeAccessibilityEvent()
2277 b.putInt("scrollX", getScrollX()); in savePicture()
2723 return pinScrollTo(getScrollX(), 0, true, 0); in pageUp()
2746 return pinScrollTo(getScrollX(), computeRealVerticalScrollRange(), true, 0); in pageDown()
2863 int contentX = viewToContentX(mLastTouchX + getScrollX()); in requestFocusNodeHref()
3061 updateScrollCoordinates(pinLocX(getScrollX()), pinLocY(getScrollY())); in recordNewContentSize()
3235 final int scrollX = getScrollX(); in computeHorizontalScrollRange()
3248 return Math.max(getScrollX(), 0); in computeHorizontalScrollOffset()
[all …]
DOverScrollGlow.java64 if (oldX == mHostView.getScrollX() && oldY == mHostView.getScrollY()) { in pullGlow()
159 final int scrollX = mHostView.getScrollX(); in drawEdgeGlows()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java940 mTempRect.left = getScrollX() + width; in pageScroll()
949 mTempRect.left = getScrollX() - width; in pageScroll()
1006 int containerLeft = getScrollX(); in scrollAndFocus()
1053 if (direction == View.FOCUS_LEFT && getScrollX() < scrollDelta) { in arrowScroll()
1054 scrollDelta = getScrollX(); in arrowScroll()
1059 int screenRight = getScrollX() + getWidth(); in arrowScroll()
1102 return (mTempRect.right + delta) >= getScrollX() in isWithinDeltaOfScreen()
1103 && (mTempRect.left - delta) <= (getScrollX() + getWidth()); in isWithinDeltaOfScreen()
1319 int screenLeft = getScrollX(); in computeScrollDeltaToGetChildRectOnScreen()
1368 scrollXDelta = Math.max(scrollXDelta, -getScrollX()); in computeScrollDeltaToGetChildRectOnScreen()
[all …]
DStackView.java1306 globalInvalidateRect.offset(p.getLeft() - p.getScrollX(), p.getTop()
1311 parentRect.set(p.getScrollX(), p.getScrollY(),
1312 p.getWidth() + p.getScrollX(), p.getHeight() + p.getScrollY());
DPopupWindow.java1118 int scrollX = anchor.getScrollX(); in findDropDownPosition()
DScrollView.java1410 rectangle.offset(child.getLeft() - child.getScrollX(), in requestChildRectangleOnScreen()
DListView.java551 rect.offset(-child.getScrollX(), -child.getScrollY()); in requestChildRectangleOnScreen()
DEditor.java725 position[0] -= view.getScrollX(); in isPositionVisible()
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityRecordCompat.java57 public int getScrollX(Object record); in getScrollX() method
134 public int getScrollX(Object record) { in getScrollX() method in AccessibilityRecordCompat.AccessibilityRecordStubImpl
324 public int getScrollX(Object record) { in getScrollX() method in AccessibilityRecordCompat.AccessibilityRecordIcsImpl
325 return AccessibilityRecordCompatIcs.getScrollX(record); in getScrollX()
800 public int getScrollX() { in getScrollX() method in AccessibilityRecordCompat
801 return IMPL.getScrollX(mRecord); in getScrollX()
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
DAccessibilityRecordCompatIcs.java74 public static int getScrollX(Object record) { in getScrollX() method in AccessibilityRecordCompatIcs
75 return ((AccessibilityRecord) record).getScrollX(); in getScrollX()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java654 int sx = getScrollX(); in smoothScrollTo()
1269 final int xpos = getScrollX();
1285 if (scrollPos != getScrollX()) {
1305 final int scrollX = getScrollX();
1403 int oldX = getScrollX();
1468 final int scrollX = getScrollX();
1521 int oldX = getScrollX();
1765 final int scrollX = getScrollX();
1815 float oldScrollX = getScrollX();
1862 final float scrollOffset = width > 0 ? (float) getScrollX() / width : 0;
[all …]
/frameworks/base/core/java/android/view/
DFocusFinder.java215 final int rootRight = root.getScrollX() + root.getWidth(); in setFocusBottomRight()
221 final int rootLeft = root.getScrollX(); in setFocusTopLeft()
DView.java4307 rectangle.offset(-child.getScrollX(), -child.getScrollY()); in requestRectangleOnScreen()
8533 public final int getScrollX() {
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java396 public int getScrollX() { in getScrollX() method in AccessibilityRecord
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsHorizontalScrollView.java213 final float x = ev.getX() + getScrollX(); in getChildAtPosition()
DRecentsVerticalScrollView.java220 final float x = ev.getX() + getScrollX(); in getChildAtPosition()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DWebViewEventSender.java360 return Math.round(x * mWebView.getScale()) - mWebView.getScrollX(); in contentsToWindowX()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DEventSenderImpl.java76 return new Point(Math.round(x * mWebView.getScale()) - mWebView.getScrollX(), in createViewPointFromContentCoordinates()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java1948 + " scroll " + mScrollView.getScrollX() + "," + mScrollView.getScrollY());

12