Home
last modified time | relevance | path

Searched refs:getScrollY (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
DButtonsWithTallTextViewInBetweenTest.java82 mScrollView.getScrollY()); in testPanTopButtonOffScreenLosesFocus()
85 getBottomWithinScrollView(mTopButton) < mScrollView.getScrollY()); in testPanTopButtonOffScreenLosesFocus()
95 final int screenBottom = mScrollView.getScrollY() + mScrollView.getHeight(); in testScrollDownToBottomButton()
107 mScrollView.getScrollY()); in testScrollDownToBottomButton()
125 mScrollView.getScrollY()); in testPanBottomButtonOffScreenLosesFocus()
132 mScrollView.getScrollY()); in testPanBottomButtonOffScreenLosesFocus()
135 … getTopWithinScrollView(mBottomButton) > mScrollView.getScrollY() + mScrollView.getHeight()); in testPanBottomButtonOffScreenLosesFocus()
DShortButtonsTest.java69 mScrollView.getScrollY()); in testScrollDownToBottomThroughButtons()
98 mScrollView.getScrollY()); in testScrollFromBottomToTopThroughButtons()
105 return mTempRect.bottom >= mScrollView.getScrollY() in isButtonOnScreen()
106 && mTempRect.top <= (mScrollView.getScrollY() + mScrollView.getHeight()); in isButtonOnScreen()
DMultiPageTextWithPaddingTest.java66 .getPaddingBottom()), mScrollView.getScrollY()); in testScrollDownToBottom()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DButtonAboveTallInternalSelectionViewTest.java39 getActivity().getScrollView().getScrollY()); in testPreconditions()
45 getActivity().getScrollView().getScrollY()); in testPreconditions()
61 getActivity().getScrollView().getScrollY()); in testMovingFocusDownToItemTallerThanScreenStillOnScreen()
DRequestRectangleVisibleWithInternalScroll.java69 rect.offset(0, mTextBlob.getScrollY()); in onCreate()
DRequestRectangleVisibleWithInternalScrollTest.java60 assertEquals(getActivity().getScrollYofBlob(), mTextBlob.getScrollY()); in testPreconditions()
/frameworks/base/core/java/android/text/method/
DBaseMovementMethod.java403 return widget.getLayout().getLineForVertical(widget.getScrollY()); in getTopLine()
407 return widget.getLayout().getLineForVertical(widget.getScrollY() + getInnerHeight(widget)); in getBottomLine()
471 widget.scrollTo(scrollX, widget.getScrollY()); in scrollLeft()
492 widget.scrollTo(scrollX, widget.getScrollY()); in scrollRight()
510 final int top = widget.getScrollY(); in scrollUp()
538 final int bottom = widget.getScrollY() + innerHeight; in scrollDown()
567 final int top = widget.getScrollY() - getInnerHeight(widget); in scrollPageUp()
588 final int bottom = widget.getScrollY() + innerHeight + innerHeight; in scrollPageDown()
649 widget.scrollTo(minScrollX, widget.getScrollY()); in scrollLineStart()
668 widget.scrollTo(maxScrollX, widget.getScrollY()); in scrollLineEnd()
DTouch.java99 widget.getScrollX(), widget.getScrollY()), in onTouchEvent()
151 int ny = widget.getScrollY() + (int) dy; in onTouchEvent()
160 int oldY = widget.getScrollY(); in onTouchEvent()
165 if (oldX != widget.getScrollX() || oldY != widget.getScrollY()) { in onTouchEvent()
DLinkMovementMethod.java96 int areatop = widget.getScrollY(); in action()
202 y += widget.getScrollY(); in onTouchEvent()
DArrowKeyMovementMethod.java273 if ((initialScrollY >= 0 && initialScrollY != widget.getScrollY()) || in onTouchEvent()
/frameworks/base/core/java/android/webkit/
DZoomManager.java411 mAnchorY = mWebView.viewToContentY((int) mZoomCenterY + mWebView.getScrollY()); in zoom()
425 mInitialScrollY = mWebView.getScrollY(); in startZoomAnimation()
499 * zoomScale)) + titleHeight) + mWebView.getScrollY(); in animateZoom()
502 … mWebView.updateScrollCoordinates(mWebView.getScrollX() - tx, mWebView.getScrollY() - ty); in animateZoom()
583 int oldY = mWebView.getScrollY();
641 mAnchorY = mWebView.viewToContentY((int) lastTouchY + mWebView.getScrollY());
697 int scrollY = mWebView.getScrollY();
895 mAnchorY = mWebView.viewToContentY((int) mZoomCenterY + mWebView.getScrollY());
920 mAnchorY = mWebView.viewToContentY(visibleTitleHeight + mWebView.getScrollY());
DWebViewClassic.java1415 int getScrollY() { in getScrollY() method in WebViewClassic
1416 return mWebView.getScrollY(); in getScrollY()
1684 final boolean canScrollBackward = (getScrollY() > 0); in performAccessibilityAction()
1685 final boolean canScrollForward = ((getScrollY() - maxScrollY) > 0); in performAccessibilityAction()
1714 final boolean canScrollBackward = (getScrollY() > 0); in onInitializeAccessibilityNodeInfo()
1715 final boolean canScrollForward = ((getScrollY() - maxScrollY) > 0); in onInitializeAccessibilityNodeInfo()
1732 event.setScrollY(getScrollY()); in onInitializeAccessibilityEvent()
1948 return Math.max(getTitleHeight() - Math.max(0, getScrollY()), in getVisibleTitleHeightImpl()
2278 b.putInt("scrollY", getScrollY()); in savePicture()
2864 int contentY = viewToContentY(mLastTouchY + getScrollY()); in requestFocusNodeHref()
[all …]
DOverScrollGlow.java64 if (oldX == mHostView.getScrollX() && oldY == mHostView.getScrollY()) { in pullGlow()
160 final int scrollY = mHostView.getScrollY(); in drawEdgeGlows()
/frameworks/base/core/java/android/widget/
DScrollView.java917 mTempRect.top = getScrollY() + height; in pageScroll()
926 mTempRect.top = getScrollY() - height; in pageScroll()
983 int containerTop = getScrollY(); in scrollAndFocus()
1030 if (direction == View.FOCUS_UP && getScrollY() < scrollDelta) { in arrowScroll()
1031 scrollDelta = getScrollY(); in arrowScroll()
1035 int screenBottom = getScrollY() + getHeight() - mPaddingBottom; in arrowScroll()
1078 return (mTempRect.bottom + delta) >= getScrollY() in isWithinDeltaOfScreen()
1079 && (mTempRect.top - delta) <= (getScrollY() + height); in isWithinDeltaOfScreen()
1305 int screenTop = getScrollY(); in computeScrollDeltaToGetChildRectOnScreen()
1354 scrollYDelta = Math.max(scrollYDelta, -getScrollY()); in computeScrollDeltaToGetChildRectOnScreen()
[all …]
DStackView.java1307 - p.getScrollY());
1311 parentRect.set(p.getScrollX(), p.getScrollY(),
1312 p.getWidth() + p.getScrollX(), p.getHeight() + p.getScrollY());
DPopupWindow.java1119 int scrollY = anchor.getScrollY(); in findDropDownPosition()
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityRecordCompat.java59 public int getScrollY(Object record); in getScrollY() method
138 public int getScrollY(Object record) { in getScrollY() method in AccessibilityRecordCompat.AccessibilityRecordStubImpl
329 public int getScrollY(Object record) { in getScrollY() method in AccessibilityRecordCompat.AccessibilityRecordIcsImpl
330 return AccessibilityRecordCompatIcs.getScrollY(record); in getScrollY()
818 public int getScrollY() { in getScrollY() method in AccessibilityRecordCompat
819 return IMPL.getScrollY(mRecord); in getScrollY()
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
DAccessibilityRecordCompatIcs.java78 public static int getScrollY(Object record) { in getScrollY() method in AccessibilityRecordCompatIcs
79 return ((AccessibilityRecord) record).getScrollY(); in getScrollY()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java655 int sy = getScrollY(); in smoothScrollTo()
1273 scrollTo(newOffsetPixels, getScrollY());
1287 scrollTo(scrollPos, getScrollY());
1404 int oldY = getScrollY();
1522 int oldY = getScrollY();
1850 scrollTo((int) scrollX, getScrollY());
2111 scrollTo((int) scrollX, getScrollY());
2190 final int scrollY = v.getScrollY();
/frameworks/base/core/java/android/view/
DFocusFinder.java214 final int rootBottom = root.getScrollY() + root.getHeight(); in setFocusBottomRight()
220 final int rootTop = root.getScrollY(); in setFocusTopLeft()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java415 public int getScrollY() { in getScrollY() method in AccessibilityRecord
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsHorizontalScrollView.java214 final float y = ev.getY() + getScrollY(); in getChildAtPosition()
DRecentsVerticalScrollView.java221 final float y = ev.getY() + getScrollY(); in getChildAtPosition()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DWebViewEventSender.java364 return Math.round(y * mWebView.getScale()) - mWebView.getScrollY(); in contentsToWindowY()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DEventSenderImpl.java77 Math.round(y * mWebView.getScale()) - mWebView.getScrollY()); in createViewPointFromContentCoordinates()

12