/cts/tests/tests/widget/src/android/widget/cts/ |
HorizontalScrollViewTest.java | 261 assertEquals(SCROLL_RIGHT, mScrollView.getScrollX()); 268 assertEquals(0, mScrollView.getScrollX()); 280 assertEquals(SCROLL_RIGHT, mScrollView.getScrollX()); 288 assertEquals(0, mScrollView.getScrollX()); 337 assertEquals(0, mScrollView.getScrollX()); 340 assertEquals(PAGE_WIDTH, mScrollView.getScrollX()); 344 assertEquals(SCROLL_RIGHT, mScrollView.getScrollX()); 347 assertEquals(SCROLL_RIGHT - PAGE_WIDTH, mScrollView.getScrollX()); 351 assertEquals(0, mScrollView.getScrollX()); 357 assertEquals(0, mScrollView.getScrollX()); [all...] |
ScrollViewTest.java | 425 assertEquals(0, mScrollView.getScrollX()); 435 assertEquals(0, mScrollView.getScrollX()); 444 assertEquals(0, mScrollView.getScrollX()); 449 assertEquals(0, mScrollView.getScrollX()); 459 assertEquals(0, mScrollView.getScrollX()); 468 assertEquals(0, mScrollView.getScrollX()); 530 assertEquals(0, mScrollView.getScrollX()); 534 assertEquals(0, mScrollView.getScrollX()); 573 assertEquals(10, mScrollView.getScrollX()); 577 assertEquals(mPageWidth, mScrollView.getScrollX()); [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewWidgetImageView.java | 48 canvas.clipRect(getScrollX() + getPaddingLeft() + insets.left, 50 getScrollX() + getRight() - getLeft() - getPaddingRight() - insets.right,
|
BubbleTextView.java | 173 destCanvas.translate(-getScrollX() + padding / 2, -getScrollY() + padding / 2); 271 final int scrollX = getScrollX(); 299 canvas.clipRect(getScrollX(), getScrollY() + getExtendedPaddingTop(), 300 getScrollX() + getWidth(),
|
PagedView.java | 139 // mOverScrollX is equal to getScrollX() when we're within the normal scroll range. Otherwise 406 if (getScrollX() != mScroller.getCurrX() 554 int delta = newX - getScrollX(); 743 currPage.getPaddingRight() < getScrollX()) { 750 currPage.getX() - currPage.getPaddingLeft() < getScrollX() + screenWidth) { 769 // mOverScrollX is equal to getScrollX() when we're within the normal scroll range. 791 canvas.clipRect(getScrollX(), getScrollY(), getScrollX() + getRight() - getLeft(), [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
ScrollingMovementMethodTest.java | 106 int leftMost = mTextView.getScrollX(); 118 int previousScrollX = mTextView.getScrollX(); 126 assertEquals(previousScrollX, mTextView.getScrollX()); 145 previousScrollX = mTextView.getScrollX(); 153 assertTrue(mTextView.getScrollX() > previousScrollX); 154 assertTrue(mTextView.getScrollX() < rightMost); 156 previousScrollX = mTextView.getScrollX(); 165 assertTrue(mTextView.getScrollX() > previousScrollX); 166 assertEquals(rightMost, mTextView.getScrollX(), 1.0f); 168 previousScrollX = mTextView.getScrollX(); [all...] |
TouchTest.java | 80 assertEquals(width - tv.getWidth() - 1, tv.getScrollX()); 90 assertEquals(width - tv.getWidth(), tv.getScrollX(), 1.0f); 99 assertEquals(width - tv.getWidth(), tv.getScrollX(), 1.0f); 139 assertEquals(0, tv.getScrollX()); 150 assertEquals(0, tv.getScrollX()); 164 assertEquals(dragAmount, tv.getScrollX()); 178 assertEquals(dragAmount, tv.getScrollX());
|
/frameworks/base/core/java/android/text/method/ |
BaseMovementMethod.java | 468 int scrollX = widget.getScrollX(); 489 int scrollX = widget.getScrollX(); 519 Touch.scrollTo(widget, layout, widget.getScrollX(), layout.getLineTop(topLine)); 549 Touch.scrollTo(widget, layout, widget.getScrollX(), 570 Touch.scrollTo(widget, layout, widget.getScrollX(), layout.getLineTop(topLine)); 591 Touch.scrollTo(widget, layout, widget.getScrollX(), 610 Touch.scrollTo(widget, layout, widget.getScrollX(), layout.getLineTop(0)); 629 Touch.scrollTo(widget, layout, widget.getScrollX(), 647 int scrollX = widget.getScrollX(); 666 int scrollX = widget.getScrollX(); [all...] |
ScrollingMovementMethod.java | 98 widget.scrollTo(widget.getScrollX(), 106 widget.scrollTo(widget.getScrollX(),
|
Touch.java | 99 widget.getScrollX(), widget.getScrollY()), 150 int nx = widget.getScrollX() + (int) dx; 159 int oldX = widget.getScrollX(); 165 if (oldX != widget.getScrollX() || oldY != widget.getScrollY()) {
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
CandidateView.java | 103 int sx = getScrollX(); 176 final int scrollX = getScrollX(); 215 if (mTargetScrollX != getScrollX()) { 221 int sx = getScrollX();
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
TimelineHorizontalScrollView.java | 68 listener.onScrollEnd(TimelineHorizontalScrollView.this, getScrollX(), 180 if (getScrollX() == scrollX) { 213 final int scrollX = getScrollX(); 246 startX = mHalfParentWidth + getScrollX();
|
HorizontalScrollView.java | [all...] |
PlayheadView.java | 109 mScrollX = scrollView.getScrollX();
|
/cts/tests/tests/view/src/android/view/cts/ |
SurfaceViewTest.java | 127 int oldHorizontal = mMockSurfaceView.getScrollX(); 134 assertEquals(scrollToX, mMockSurfaceView.getScrollX());
|
/frameworks/support/v4/ics/android/support/v4/view/accessibility/ |
AccessibilityRecordCompatIcs.java | 74 public static int getScrollX(Object record) { 75 return ((AccessibilityRecord) record).getScrollX();
|
/cts/tests/tests/accessibility/src/android/view/accessibility/cts/ |
AccessibilityRecordTest.java | 102 TestCase.assertSame("scrollX not properly recycled", -1, record.getScrollX()); 166 assertSame("scrollX has incorect value", expectedRecord.getScrollX(), 167 receivedRecord.getScrollX());
|
AccessibilityEventTest.java | 239 assertSame("scrollX has incorect value", expectedEvent.getScrollX(), 240 receivedEvent.getScrollX());
|
/packages/apps/Browser/src/com/android/browser/ |
TabScrollView.java | 148 int viewl = getScrollX(); 170 // tab, "TranslationX", 0, getScrollX() - tab.getRight()); 183 ObjectAnimator animator = ObjectAnimator.ofInt(this, "scroll", getScrollX(), newscroll); 199 return getScrollX();
|
/frameworks/base/core/java/android/widget/ |
HorizontalScrollView.java | [all...] |
/frameworks/base/core/java/android/webkit/ |
ZoomManager.java | 410 mAnchorX = mWebView.viewToContentX((int) mZoomCenterX + mWebView.getScrollX()); 424 mInitialScrollX = mWebView.getScrollX(); 492 * zoomScale)) + mWebView.getScrollX(); 502 mWebView.updateScrollCoordinates(mWebView.getScrollX() - tx, mWebView.getScrollY() - ty); 582 int oldX = mWebView.getScrollX(); 640 mAnchorX = mWebView.viewToContentX((int) lastTouchX + mWebView.getScrollX()); 699 mWebView.updateScrollCoordinates(mWebView.getScrollX(), 0); 712 - mWebView.getScrollX(); [all...] |
OverScrollGlow.java | 64 if (oldX == mHostView.getScrollX() && oldY == mHostView.getScrollY()) { 159 final int scrollX = mHostView.getScrollX();
|
WebViewClassic.java | [all...] |
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
AccessibilityRecordCompat.java | 57 public int getScrollX(Object record); 134 public int getScrollX(Object record) { 324 public int getScrollX(Object record) { 325 return AccessibilityRecordCompatIcs.getScrollX(record); 800 public int getScrollX() { 801 return IMPL.getScrollX(mRecord);
|
/frameworks/support/v4/java/android/support/v4/view/ |
ViewPager.java | 654 int sx = getScrollX(); [all...] |