/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 | 40 canvas.clipRect(getScrollX() + getPaddingLeft(), 42 getScrollX() + getRight() - getLeft() - getPaddingRight(),
|
BubbleTextView.java | 181 destCanvas.translate(-getScrollX() + padding / 2, -getScrollY() + padding / 2); 279 final int scrollX = getScrollX(); 307 canvas.clipRect(getScrollX(), getScrollY() + getExtendedPaddingTop(), 308 getScrollX() + getWidth(),
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
PagedViewWidgetImageView.java | 40 canvas.clipRect(getScrollX() + getPaddingLeft(), 42 getScrollX() + getRight() - getLeft() - getPaddingRight(),
|
PagedViewIcon.java | 126 canvas.clipRect(getScrollX(), getScrollY() + getExtendedPaddingTop(), 127 getScrollX() + getWidth(),
|
BubbleTextView.java | 199 destCanvas.translate(-getScrollX() + padding / 2, -getScrollY() + padding / 2); 306 final int scrollX = getScrollX(); 334 canvas.clipRect(getScrollX(), getScrollY() + getExtendedPaddingTop(), 335 getScrollX() + getWidth(),
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ScrollViewTest.java | 17 assertEquals(7, scrollView.getScrollX());
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
AwScrollOffsetManagerTest.java | 38 public int getScrollX() { 101 assertEquals(scrollX, delegate.getOverScrollDeltaX() + delegate.getScrollX()); 112 delegate.getOverScrollDeltaX() + delegate.getScrollX(), 142 assertEquals(0, delegate.getScrollX()); 156 assertEquals(0, delegate.getScrollX()); 192 assertEquals(MAX_HORIZONTAL_OFFSET, delegate.getScrollX()); 199 assertEquals(0, delegate.getScrollX()); 305 assertEquals(0, delegate.getScrollX()); 311 assertEquals(scrollX, delegate.getScrollX()); 332 assertEquals(scrollX, delegate.getScrollX()); [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 | 101 widget.getScrollX(), widget.getScrollY()), 152 int nx = widget.getScrollX() + (int) dx; 161 int oldX = widget.getScrollX(); 167 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...] |
/cts/tests/tests/view/src/android/view/cts/ |
SurfaceViewTest.java | 134 int oldHorizontal = mMockSurfaceView.getScrollX(); 141 assertEquals(scrollToX, mMockSurfaceView.getScrollX());
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
OverScrollGlow.java | 48 if (oldX == mHostView.getScrollX() && oldY == mHostView.getScrollY()) { 147 final int scrollX = mHostView.getScrollX();
|
/frameworks/support/v4/ics/android/support/v4/view/accessibility/ |
AccessibilityRecordCompatIcs.java | 74 public static int getScrollX(Object record) { 75 return ((AccessibilityRecord) record).getScrollX();
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
IconEditor.java | 54 if (x < scroller.getScrollX() || 55 x > scroller.getScrollX() + scroller.getWidth()) {
|
/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());
|
/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/support/v4/java/android/support/v4/view/accessibility/ |
AccessibilityRecordCompat.java | 58 public int getScrollX(Object record); 135 public int getScrollX(Object record) { 325 public int getScrollX(Object record) { 326 return AccessibilityRecordCompatIcs.getScrollX(record); 808 public int getScrollX() { 809 return IMPL.getScrollX(mRecord);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
RenderCoordinates.java | 146 public float getScrollX() { return mScrollXCss; }
|