/cts/tests/tests/assist/testapp/src/android/assist/testapp/ |
D | TextViewActivity.java | 47 int scrollX, scrollY; in onReceivedEventFromCaller() local 49 scrollY = results.getInt(Utils.SCROLL_Y_POSITION, 0); in onReceivedEventFromCaller() 51 Log.i(TAG, "Scrolling textview to (" + scrollX + "," + scrollY + ")"); in onReceivedEventFromCaller() 52 if (scrollX < 0 || scrollY < 0) { in onReceivedEventFromCaller() 55 scrollY = mTextView.getLayout().getLineTop(mTextView.getLineCount()) in onReceivedEventFromCaller() 58 TextViewActivity.this.mTextView.scrollTo(scrollX, scrollY); in onReceivedEventFromCaller() 60 Log.i(TAG, "Scrolling scrollview to (" + scrollX + "," + scrollY + ")"); in onReceivedEventFromCaller() 61 if (scrollX < 0 || scrollY < 0) { in onReceivedEventFromCaller() 66 TextViewActivity.this.mScrollView.scrollTo(scrollX, scrollY); in onReceivedEventFromCaller()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | TextViewTest.java | 95 protected void scrollTestApp(int scrollX, int scrollY, boolean scrollTextView, in scrollTestApp() argument 97 super.scrollTestApp(scrollX, scrollY, scrollTextView, scrollScrollView); in scrollTestApp() 105 bundle.putInt(Utils.SCROLL_Y_POSITION, scrollY); in scrollTestApp()
|
D | TestStartActivity.java | 112 public void scrollText(int scrollX, int scrollY, boolean scrollTextView, in scrollText() argument 114 if (scrollX < 0 || scrollY < 0) { in scrollText() 116 … scrollY = mTextView.getLayout().getLineTop(mTextView.getLineCount()) - mTextView.getHeight(); in scrollText() 119 int finalScrollY = scrollY; in scrollText()
|
D | AssistTestBase.java | 406 protected void scrollTestApp(int scrollX, int scrollY, boolean scrollTextView, in scrollTestApp() argument 408 mTestActivity.scrollText(scrollX, scrollY, scrollTextView, scrollScrollView); in scrollTestApp() 416 intent.putExtra(Utils.SCROLL_Y_POSITION, scrollY); in scrollTestApp()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeScrollTest.java | 71 final int scrollY = view.getScrollY(); in testChangeScroll() local 74 assertTrue(scrollY > 0); in testChangeScroll() 75 assertTrue(scrollY < 300); in testChangeScroll()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | InteractiveVerifierActivity.java | 177 int scrollY = (savedState == null) ? 0 : savedState.getInt(SCROLLY, 0); in onCreate() local 196 setupTests(savedStateIndex, savedStatus, scrollY); in onCreate() 208 private void setupTests(int savedStateIndex, int savedStatus, int scrollY) { in setupTests() argument 222 mScrollView.post(() -> mScrollView.smoothScrollTo(0, scrollY)); in setupTests()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | ScrollingMovementMethodTest.java | 749 final int scrollY = mTextView.getScrollY(); in verifyVisibleLineInTextView() local 751 assertTrue(layout.getLineForVertical(scrollY) <= line); in verifyVisibleLineInTextView() 752 assertTrue(layout.getLineForVertical(scrollY + mTextView.getHeight() - padding) >= line); in verifyVisibleLineInTextView()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ScrollViewTest.java | 850 int scrollY = mScrollViewCustom.getScrollY(); in testRequestChildFocus() local 853 assertTrue(mScrollViewCustom.getScrollY() > scrollY); in testRequestChildFocus() 855 scrollY = mScrollViewCustom.getScrollY(); in testRequestChildFocus() 858 assertTrue(mScrollViewCustom.getScrollY() < scrollY); in testRequestChildFocus()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewTest.java | 2806 int scrollY = previousScrollY; in waitForScrollingComplete() local 2814 int oldScrollY = scrollY; in waitForScrollingComplete() 2815 scrollY = mOnUiThread.getScrollY(); in waitForScrollingComplete() 2816 scrollChanging = (scrollY != oldScrollY); in waitForScrollingComplete() 2817 scrollChanged = (scrollY != previousScrollY); in waitForScrollingComplete()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 1441 field public static final int scrollY = 16842963; // 0x10100d3
|