Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/method/cts/
DScrollingMovementMethodTest.java228 int previousScrollY = mTextView.getScrollY(); local
236 assertEquals(previousScrollY, mTextView.getScrollY());
255 previousScrollY = mTextView.getScrollY();
263 assertTrue(mTextView.getScrollY() > previousScrollY);
274 previousScrollY = mTextView.getScrollY();
285 assertTrue(mTextView.getScrollY() > previousScrollY);
288 previousScrollY = mTextView.getScrollY();
296 assertTrue(mTextView.getScrollY() < previousScrollY); in mTextView.getScrollY()
632 int previousScrollY = mTextView.getScrollY(); in testOnTakeFocus() local
634 assertTrue(mTextView.getScrollY() >= previousScrollY); in testOnTakeFocus()
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java1417 int previousScrollY = mOnUiThread.getScrollY(); in testFindNext() local
1421 waitForScrollingComplete(previousScrollY); in testFindNext()
1422 assertThat(mOnUiThread.getScrollY(), greaterThan(previousScrollY)); in testFindNext()
1423 previousScrollY = mOnUiThread.getScrollY(); in testFindNext()
1427 waitForScrollingComplete(previousScrollY); in testFindNext()
1428 assertThat(mOnUiThread.getScrollY(), lessThan(previousScrollY)); in testFindNext()
1429 previousScrollY = mOnUiThread.getScrollY(); in testFindNext()
1433 waitForScrollingComplete(previousScrollY); in testFindNext()
1434 assertThat(mOnUiThread.getScrollY(), greaterThan(previousScrollY)); in testFindNext()
1435 previousScrollY = mOnUiThread.getScrollY(); in testFindNext()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DScrollViewTest.java877 final int[] previousScrollY = new int[] { mScrollViewCustom.getScrollY() }; in pollingCheckFling() local
879 if (mScrollViewCustom.getScrollY() == previousScrollY[0]) { in pollingCheckFling()
882 previousScrollY[0] = mScrollViewCustom.getScrollY(); in pollingCheckFling()