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);
266 previousScrollY = mTextView.getScrollY();
275 assertTrue(mTextView.getScrollY() > previousScrollY);
278 previousScrollY = mTextView.getScrollY();
286 assertTrue(mTextView.getScrollY() < previousScrollY); in mTextView.getScrollY()
622 int previousScrollY = mTextView.getScrollY(); in testOnTakeFocus() local
624 assertTrue(mTextView.getScrollY() >= previousScrollY); in testOnTakeFocus()
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java1413 int previousScrollY = mOnUiThread.getScrollY(); in testFindNext() local
1417 waitForScrollingComplete(previousScrollY); in testFindNext()
1418 assertThat(mOnUiThread.getScrollY(), greaterThan(previousScrollY)); in testFindNext()
1419 previousScrollY = mOnUiThread.getScrollY(); in testFindNext()
1423 waitForScrollingComplete(previousScrollY); in testFindNext()
1424 assertThat(mOnUiThread.getScrollY(), lessThan(previousScrollY)); in testFindNext()
1425 previousScrollY = mOnUiThread.getScrollY(); in testFindNext()
1429 waitForScrollingComplete(previousScrollY); in testFindNext()
1430 assertThat(mOnUiThread.getScrollY(), greaterThan(previousScrollY)); in testFindNext()
1431 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()