HomeSort by relevance Sort by last modified time
    Searched refs:getScrollX (Results 1 - 25 of 35) sorted by null

1 2

  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowScrollViewTest.java 18 assertEquals(7, scrollView.getScrollX());
28 assertEquals(17, scrollView.getScrollX());
ShadowViewTest.java 411 assertEquals(7, view.getScrollX());
421 assertThat(view.getScrollX()).isEqualTo(14);
427 assertEquals(0, view.getScrollX());
725 assertThat(view.getScrollX()).isEqualTo(234);
  /cts/tests/tests/widget/src/android/widget/cts/
HorizontalScrollViewTest.java 292 assertEquals(SCROLL_RIGHT, mScrollViewCustom.getScrollX());
295 assertEquals(0, mScrollViewCustom.getScrollX());
303 assertEquals(SCROLL_RIGHT, mScrollViewCustom.getScrollX());
307 assertEquals(0, mScrollViewCustom.getScrollX());
545 assertEquals(0, mScrollViewCustom.getScrollX());
548 assertEquals(PAGE_WIDTH, mScrollViewCustom.getScrollX());
552 assertEquals(SCROLL_RIGHT, mScrollViewCustom.getScrollX());
555 assertEquals(SCROLL_RIGHT - PAGE_WIDTH, mScrollViewCustom.getScrollX());
559 assertEquals(0, mScrollViewCustom.getScrollX());
566 assertEquals(0, mScrollViewCustom.getScrollX());
    [all...]
ScrollViewTest.java 630 assertEquals(0, mScrollViewCustom.getScrollX());
637 assertEquals(0, mScrollViewCustom.getScrollX());
643 assertEquals(0, mScrollViewCustom.getScrollX());
649 assertEquals(0, mScrollViewCustom.getScrollX());
656 assertEquals(0, mScrollViewCustom.getScrollX());
662 assertEquals(0, mScrollViewCustom.getScrollX());
733 assertEquals(0, mScrollViewCustom.getScrollX());
737 assertEquals(0, mScrollViewCustom.getScrollX());
771 assertEquals(10, mScrollViewCustom.getScrollX());
775 assertEquals(mPageWidth, mScrollViewCustom.getScrollX());
    [all...]
TextViewTest.java     [all...]
  /cts/tests/tests/transition/src/android/transition/cts/
ChangeScrollTest.java 60 assertEquals(0, view.getScrollX());
70 final int scrollX = view.getScrollX();
80 assertEquals(150, view.getScrollX());
  /cts/tests/tests/text/src/android/text/method/cts/
ScrollingMovementMethodTest.java 122 final int leftMost = mTextView.getScrollX();
134 int previousScrollX = mTextView.getScrollX();
142 assertEquals(previousScrollX, mTextView.getScrollX());
161 previousScrollX = mTextView.getScrollX();
169 assertTrue(mTextView.getScrollX() > previousScrollX);
170 assertTrue(mTextView.getScrollX() < rightMost);
172 previousScrollX = mTextView.getScrollX();
181 assertTrue(mTextView.getScrollX() > previousScrollX);
182 assertEquals(rightMost, mTextView.getScrollX(), 1.0f);
184 previousScrollX = mTextView.getScrollX();
    [all...]
TouchTest.java 99 assertEquals(width - mTextView.getWidth() - 1, mTextView.getScrollX());
105 assertEquals(width - mTextView.getWidth(), mTextView.getScrollX(), 1.0f);
110 assertEquals(width - mTextView.getWidth(), mTextView.getScrollX(), 1.0f);
147 assertEquals(0, mTextView.getScrollX());
155 assertEquals(0, mTextView.getScrollX());
166 assertEquals(dragAmount, mTextView.getScrollX());
177 assertEquals(dragAmount, mTextView.getScrollX());
BaseMovementMethodTest.java 87 assertEquals(0, mTextView.getScrollX());
96 assertEquals(lineSpacing, mTextView.getScrollX(), lineSpacing / 4);
103 assertEquals(0, mTextView.getScrollX());
127 assertEquals(lineSpacing, mTextView.getScrollX(), lineSpacing / 4);
134 assertEquals(0, mTextView.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;
  /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();
  /cts/tests/accessibility/src/android/view/accessibility/cts/
AccessibilityRecordTest.java 89 TestCase.assertSame("scrollX not properly recycled", -1, record.getScrollX());
153 assertSame("scrollX has incorect value", expectedRecord.getScrollX(),
154 receivedRecord.getScrollX());
AccessibilityEventTest.java 253 assertSame("scrollX has incorect value", expectedEvent.getScrollX(),
254 receivedEvent.getScrollX());
  /cts/tests/framework/base/windowmanager/src/android/server/wm/
SurfaceViewTest.java 147 int oldHorizontal = mMockSurfaceView.getScrollX();
154 assertEquals(scrollToX, mMockSurfaceView.getScrollX());
LocationInWindowTests.java 127 expected[0] -= parent.getScrollX();
  /cts/libs/deviceutillegacy/src/android/webkit/cts/
WebViewOnUiThread.java 444 public int getScrollX() {
446 return mWebView.getScrollX();
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowView.java 406 scrollTo(getScrollX() + x, getScrollY() + y);
410 protected int getScrollX() {
  /cts/tests/tests/assist/src/android/assist/cts/
AssistTestBase.java 550 assertEquals("Scroll X does not match.", parentView.getScrollX(), parentNode.getScrollX());
569 if (parentNode.getScrollX() == 0 && parentNode.getScrollY() == 0) {
585 } else if (parentNode.getScrollX() == parentView.getWidth()) {
  /external/setupdesign/main/src/com/google/android/setupdesign/util/
LinkAccessibilityHelper.java 308 x += view.getScrollX();
  /cts/tests/tests/webkit/src/android/webkit/cts/
WebViewTest.java     [all...]
  /cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/
ViewNodeTest.java 317 assertThat(node.getScrollX()).isEqualTo(15);
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityEndToEndTest.java     [all...]
  /development/samples/training/multiscreen/newsreader/libs/
android-support-v4.jar 
  /development/samples/training/basic/ActivityLifecycle/libs/
android-support-v13.jar 
  /development/samples/training/basic/FragmentBasics/libs/
android-support-v4.jar 

Completed in 573 milliseconds

1 2