Home
last modified time | relevance | path

Searched refs:previousScrollX (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/text/src/android/text/method/cts/
DScrollingMovementMethodTest.java134 int previousScrollX = mTextView.getScrollX(); in testOnTouchEventHorizontalMotion() local
142 assertEquals(previousScrollX, mTextView.getScrollX()); in testOnTouchEventHorizontalMotion()
161 previousScrollX = mTextView.getScrollX(); in testOnTouchEventHorizontalMotion()
169 assertTrue(mTextView.getScrollX() > previousScrollX); in testOnTouchEventHorizontalMotion()
172 previousScrollX = mTextView.getScrollX(); in testOnTouchEventHorizontalMotion()
181 assertTrue(mTextView.getScrollX() > previousScrollX); in testOnTouchEventHorizontalMotion()
184 previousScrollX = mTextView.getScrollX(); in testOnTouchEventHorizontalMotion()
192 assertTrue(mTextView.getScrollX() < previousScrollX); in testOnTouchEventHorizontalMotion()
394 int previousScrollX = mTextView.getScrollX(); in testOnKeyDownHorizontalMovement() local
398 assertTrue(mTextView.getScrollX() > previousScrollX); in testOnKeyDownHorizontalMovement()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DHorizontalScrollViewTest.java829 final int[] previousScrollX = new int[] { mScrollViewCustom.getScrollX() }; in pollingCheckFling() local
831 if (mScrollViewCustom.getScrollX() == previousScrollX[0]) { in pollingCheckFling()
834 previousScrollX[0] = mScrollViewCustom.getScrollX(); in pollingCheckFling()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java1694 final int previousScrollX = mOnUiThread.getScrollX(); in testFlingScroll() local
1702 return mOnUiThread.getScrollX() > previousScrollX && in testFlingScroll()