/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewWidgetImageView.java | 40 canvas.clipRect(getScrollX() + getPaddingLeft(), 42 getScrollX() + getRight() - getLeft() - getPaddingRight(),
|
BubbleTextView.java | 184 destCanvas.translate(-getScrollX() + padding / 2, -getScrollY() + padding / 2); 282 final int scrollX = getScrollX(); 310 canvas.clipRect(getScrollX(), getScrollY() + getExtendedPaddingTop(), 311 getScrollX() + getWidth(),
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ScrollViewTest.java | 17 assertEquals(7, scrollView.getScrollX());
|
/cts/tests/tests/transition/src/android/transition/cts/ |
ChangeScrollTest.java | 42 assertEquals(0, view.getScrollX()); 54 final int scrollX = view.getScrollX(); 67 assertEquals(150, view.getScrollX());
|
/cts/tests/tests/widget/src/android/widget/cts/ |
HorizontalScrollViewTest.java | 263 assertEquals(SCROLL_RIGHT, mScrollView.getScrollX()); 270 assertEquals(0, mScrollView.getScrollX()); 282 assertEquals(SCROLL_RIGHT, mScrollView.getScrollX()); 290 assertEquals(0, mScrollView.getScrollX()); 515 assertEquals(0, mScrollView.getScrollX()); 518 assertEquals(PAGE_WIDTH, mScrollView.getScrollX()); 522 assertEquals(SCROLL_RIGHT, mScrollView.getScrollX()); 525 assertEquals(SCROLL_RIGHT - PAGE_WIDTH, mScrollView.getScrollX()); 529 assertEquals(0, mScrollView.getScrollX()); 535 assertEquals(0, mScrollView.getScrollX()); [all...] |
ScrollViewTest.java | 602 assertEquals(0, mScrollView.getScrollX()); 612 assertEquals(0, mScrollView.getScrollX()); 621 assertEquals(0, mScrollView.getScrollX()); 626 assertEquals(0, mScrollView.getScrollX()); 636 assertEquals(0, mScrollView.getScrollX()); 645 assertEquals(0, mScrollView.getScrollX()); 707 assertEquals(0, mScrollView.getScrollX()); 711 assertEquals(0, mScrollView.getScrollX()); 750 assertEquals(10, mScrollView.getScrollX()); 754 assertEquals(mPageWidth, mScrollView.getScrollX()); [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
ScrollingMovementMethodTest.java | 107 int leftMost = mTextView.getScrollX(); 119 int previousScrollX = mTextView.getScrollX(); 127 assertEquals(previousScrollX, mTextView.getScrollX()); 146 previousScrollX = mTextView.getScrollX(); 154 assertTrue(mTextView.getScrollX() > previousScrollX); 155 assertTrue(mTextView.getScrollX() < rightMost); 157 previousScrollX = mTextView.getScrollX(); 166 assertTrue(mTextView.getScrollX() > previousScrollX); 167 assertEquals(rightMost, mTextView.getScrollX(), 1.0f); 169 previousScrollX = mTextView.getScrollX(); [all...] |
TouchTest.java | 86 assertEquals(width - tv.getWidth() - 1, tv.getScrollX()); 96 assertEquals(width - tv.getWidth(), tv.getScrollX(), 1.0f); 105 assertEquals(width - tv.getWidth(), tv.getScrollX(), 1.0f); 146 assertEquals(0, tv.getScrollX()); 157 assertEquals(0, tv.getScrollX()); 171 assertEquals(dragAmount, tv.getScrollX()); 185 assertEquals(dragAmount, tv.getScrollX());
|
/external/droiddriver/src/io/appium/droiddriver/scroll/ |
AccessibilityEventScrollStepStrategy.java | 144 if (event.getScrollX() != -1 && event.getScrollY() != -1) { 148 return event.getScrollX() == 0 || event.getScrollX() == event.getMaxScrollX(); 154 && event.getScrollX() == -1 && event.getScrollY() == -1;
|
/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()), 153 int nx = widget.getScrollX() + (int) dx; 162 int oldX = widget.getScrollX(); 168 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();
|
/frameworks/support/design/honeycomb/android/support/design/widget/ |
ViewGroupUtilsHoneycomb.java | 57 m.preTranslate(-vp.getScrollX(), -vp.getScrollY());
|
/frameworks/support/design/src/android/support/design/widget/ |
ViewGroupUtils.java | 37 rect.offset(child.getScrollX(), child.getScrollY());
|
/cts/tests/tests/view/src/android/view/cts/ |
SurfaceViewTest.java | 135 int oldHorizontal = mMockSurfaceView.getScrollX(); 142 assertEquals(scrollToX, mMockSurfaceView.getScrollX());
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
TextViewAssertions.java | 203 diff = drawableBounds.left - editText.getScrollX() + drawablePadding.left; 208 - editText.getCompoundPaddingLeft() + editText.getScrollX();
|
/frameworks/support/compat/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()) {
|
/frameworks/base/core/java/android/transition/ |
ChangeScroll.java | 54 transitionValues.values.put(PROPNAME_SCROLL_X, transitionValues.view.getScrollX());
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
NestedScrollView.java | 408 * @see android.view.View#getScrollX() 700 if (mScroller.springBack(getScrollX(), getScrollY(), 0, 0, 0, getScrollRange())) { 839 } else if (mScroller.springBack(getScrollX(), getScrollY(), 0, 0, 0, 849 if (mScroller.springBack(getScrollX(), getScrollY(), 0, 0, 0, [all...] |
/cts/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());
|
/frameworks/support/compat/java/android/support/v4/view/accessibility/ |
AccessibilityRecordCompat.java | 58 public int getScrollX(Object record); 149 public int getScrollX(Object record) { 371 public int getScrollX(Object record) { 372 return AccessibilityRecordCompatIcs.getScrollX(record); 856 public int getScrollX() { 857 return IMPL.getScrollX(mRecord);
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
CalculatorPadViewPager.java | 118 final int x = (int) ev.getX() + getScrollX();
|
/frameworks/base/core/java/android/widget/ |
HorizontalScrollView.java | [all...] |