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.java253 int previousScrollY = mTextView.getScrollY(); local
261 assertEquals(previousScrollY, mTextView.getScrollY());
280 previousScrollY = mTextView.getScrollY();
288 assertTrue(mTextView.getScrollY() > previousScrollY);
299 previousScrollY = mTextView.getScrollY();
310 assertTrue(mTextView.getScrollY() > previousScrollY);
313 previousScrollY = mTextView.getScrollY();
321 assertTrue(mTextView.getScrollY() < previousScrollY); in mTextView.getScrollY()
657 int previousScrollY = mTextView.getScrollY(); in testOnTakeFocus() local
659 assertTrue(mTextView.getScrollY() >= previousScrollY); in testOnTakeFocus()
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java1405 int previousScrollY = mOnUiThread.getScrollY(); in testFindNext() local
1409 waitForScrollingComplete(previousScrollY); in testFindNext()
1410 assertThat(mOnUiThread.getScrollY(), greaterThan(previousScrollY)); in testFindNext()
1411 previousScrollY = mOnUiThread.getScrollY(); in testFindNext()
1415 waitForScrollingComplete(previousScrollY); in testFindNext()
1416 assertThat(mOnUiThread.getScrollY(), lessThan(previousScrollY)); in testFindNext()
1417 previousScrollY = mOnUiThread.getScrollY(); in testFindNext()
1421 waitForScrollingComplete(previousScrollY); in testFindNext()
1422 assertThat(mOnUiThread.getScrollY(), greaterThan(previousScrollY)); in testFindNext()
1423 previousScrollY = mOnUiThread.getScrollY(); in testFindNext()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DScrollViewTest.java1462 final int[] previousScrollY = new int[] { mScrollViewCustom.getScrollY() }; in pollingCheckFling() local
1464 if (mScrollViewCustom.getScrollY() == previousScrollY[0]) { in pollingCheckFling()
1467 previousScrollY[0] = mScrollViewCustom.getScrollY(); in pollingCheckFling()