/cts/tests/tests/widget/src/android/widget/cts/ |
ScrollViewTest.java | 281 assertEquals(mScrollBottom, mScrollView.getScrollY(), TOLERANCE); 288 assertEquals(0, mScrollView.getScrollY()); 300 assertEquals(mScrollBottom, mScrollView.getScrollY(), TOLERANCE); 308 assertEquals(0, mScrollView.getScrollY()); 357 assertEquals(0, mScrollView.getScrollY()); 360 assertEquals(mPageHeight, mScrollView.getScrollY(), TOLERANCE); 363 assertEquals(mPageHeight * 2, mScrollView.getScrollY(), TOLERANCE); 367 assertEquals(mScrollBottom, mScrollView.getScrollY(), TOLERANCE); 370 assertEquals(mScrollBottom - mPageHeight, mScrollView.getScrollY(), TOLERANCE); 373 assertEquals(mScrollBottom -mPageHeight * 2, mScrollView.getScrollY(), TOLERANCE) [all...] |
HorizontalScrollViewTest.java | 400 assertEquals(0, mScrollView.getScrollY()); 409 assertEquals(0, mScrollView.getScrollY()); 418 assertEquals(0, mScrollView.getScrollY()); 423 assertEquals(0, mScrollView.getScrollY()); 432 assertEquals(0, mScrollView.getScrollY()); 441 assertEquals(0, mScrollView.getScrollY()); 499 assertEquals(0, mScrollView.getScrollY()); 503 assertEquals(0, mScrollView.getScrollY()); 542 assertEquals(0, mScrollView.getScrollY()); 546 assertEquals(0, mScrollView.getScrollY()); [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
ButtonAboveTallInternalSelectionViewTest.java | 39 getActivity().getScrollView().getScrollY()); 45 getActivity().getScrollView().getScrollY()); 61 getActivity().getScrollView().getScrollY());
|
RequestRectangleVisibleWithInternalScroll.java | 69 rect.offset(0, mTextBlob.getScrollY());
|
RequestRectangleVisibleWithInternalScrollTest.java | 60 assertEquals(getActivity().getScrollYofBlob(), mTextBlob.getScrollY());
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
ButtonsWithTallTextViewInBetweenTest.java | 82 mScrollView.getScrollY()); 85 getBottomWithinScrollView(mTopButton) < mScrollView.getScrollY()); 95 final int screenBottom = mScrollView.getScrollY() + mScrollView.getHeight(); 107 mScrollView.getScrollY()); 125 mScrollView.getScrollY()); 132 mScrollView.getScrollY()); 135 getTopWithinScrollView(mBottomButton) > mScrollView.getScrollY() + mScrollView.getHeight());
|
ShortButtonsTest.java | 69 mScrollView.getScrollY()); 98 mScrollView.getScrollY()); 105 return mTempRect.bottom >= mScrollView.getScrollY() 106 && mTempRect.top <= (mScrollView.getScrollY() + mScrollView.getHeight());
|
MultiPageTextWithPaddingTest.java | 66 .getPaddingBottom()), mScrollView.getScrollY());
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewWidgetImageView.java | 49 getScrollY() + getPaddingTop() + insets.top, 51 getScrollY() + getBottom() - getTop() - getPaddingBottom() - insets.bottom);
|
BubbleTextView.java | 173 destCanvas.translate(-getScrollX() + padding / 2, -getScrollY() + padding / 2); 272 final int scrollY = getScrollY(); 299 canvas.clipRect(getScrollX(), getScrollY() + getExtendedPaddingTop(), 301 getScrollY() + getHeight(), Region.Op.INTERSECT);
|
SmoothPagedView.java | 178 scrollTo(Math.round(mUnboundedScrollX + dx * e), getScrollY());
|
/cts/tests/tests/text/src/android/text/method/cts/ |
TouchTest.java | 81 assertEquals(0, tv.getScrollY()); 91 assertEquals(5, tv.getScrollY()); 100 assertEquals(5, tv.getScrollY()); 140 assertEquals(0, tv.getScrollY()); 151 assertEquals(0, tv.getScrollY()); 165 assertEquals(0, tv.getScrollY()); 179 assertEquals(0, tv.getScrollY());
|
ScrollingMovementMethodTest.java | 209 int top = mTextView.getScrollY(); 221 int previousScrollY = mTextView.getScrollY(); 229 assertEquals(previousScrollY, mTextView.getScrollY()); 248 previousScrollY = mTextView.getScrollY(); 256 assertTrue(mTextView.getScrollY() > previousScrollY); 259 previousScrollY = mTextView.getScrollY(); 268 assertTrue(mTextView.getScrollY() > previousScrollY); 269 assertEquals(bottom, mTextView.getScrollY(), 0f); 271 previousScrollY = mTextView.getScrollY(); 279 assertTrue(mTextView.getScrollY() < previousScrollY) [all...] |
/frameworks/base/core/java/android/text/method/ |
BaseMovementMethod.java | 403 return widget.getLayout().getLineForVertical(widget.getScrollY()); 407 return widget.getLayout().getLineForVertical(widget.getScrollY() + getInnerHeight(widget)); 471 widget.scrollTo(scrollX, widget.getScrollY()); 492 widget.scrollTo(scrollX, widget.getScrollY()); 510 final int top = widget.getScrollY(); 538 final int bottom = widget.getScrollY() + innerHeight; 567 final int top = widget.getScrollY() - getInnerHeight(widget); 588 final int bottom = widget.getScrollY() + innerHeight + innerHeight; 649 widget.scrollTo(minScrollX, widget.getScrollY()); 668 widget.scrollTo(maxScrollX, widget.getScrollY()); [all...] |
Touch.java | 99 widget.getScrollX(), widget.getScrollY()), 151 int ny = widget.getScrollY() + (int) dy; 160 int oldY = widget.getScrollY(); 165 if (oldX != widget.getScrollX() || oldY != widget.getScrollY()) {
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebViewTest.java | [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
SurfaceViewTest.java | 128 int oldVertical = mMockSurfaceView.getScrollY(); 135 assertEquals(scrollToY, mMockSurfaceView.getScrollY());
|
/frameworks/support/v4/ics/android/support/v4/view/accessibility/ |
AccessibilityRecordCompatIcs.java | 78 public static int getScrollY(Object record) { 79 return ((AccessibilityRecord) record).getScrollY();
|
/cts/tests/tests/accessibility/src/android/view/accessibility/cts/ |
AccessibilityRecordTest.java | 103 TestCase.assertSame("scrollY not properly recycled", -1, record.getScrollY()); 168 assertSame("scrollY has incorect value", expectedRecord.getScrollY(), 169 receivedRecord.getScrollY());
|
/frameworks/base/core/java/android/widget/ |
ScrollView.java | [all...] |
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
AccessibilityRecordCompat.java | 59 public int getScrollY(Object record); 138 public int getScrollY(Object record) { 329 public int getScrollY(Object record) { 330 return AccessibilityRecordCompatIcs.getScrollY(record); 818 public int getScrollY() { 819 return IMPL.getScrollY(mRecord);
|
/frameworks/base/core/java/android/webkit/ |
ZoomManager.java | 411 mAnchorY = mWebView.viewToContentY((int) mZoomCenterY + mWebView.getScrollY()); 425 mInitialScrollY = mWebView.getScrollY(); 499 * zoomScale)) + titleHeight) + mWebView.getScrollY(); 502 mWebView.updateScrollCoordinates(mWebView.getScrollX() - tx, mWebView.getScrollY() - ty); 583 int oldY = mWebView.getScrollY(); 641 mAnchorY = mWebView.viewToContentY((int) lastTouchY + mWebView.getScrollY()); 697 int scrollY = mWebView.getScrollY(); [all...] |
WebViewClassic.java | [all...] |
/packages/apps/Browser/src/com/android/browser/ |
UrlBarAutoShowManager.java | 129 || (!mIsScrolling && web.getScrollY() > 0))) {
|
/packages/apps/Browser/src/com/android/browser/view/ |
ScrollerView.java | [all...] |