Home
last modified time | relevance | path

Searched refs:scrollX (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/assist/testapp/src/android/assist/testapp/
DTextViewActivity.java47 int scrollX, scrollY; in onReceivedEventFromCaller() local
48 scrollX = results.getInt(Utils.SCROLL_X_POSITION, 0); in onReceivedEventFromCaller()
51 Log.i(TAG, "Scrolling textview to (" + scrollX + "," + scrollY + ")"); in onReceivedEventFromCaller()
52 if (scrollX < 0 || scrollY < 0) { in onReceivedEventFromCaller()
54 scrollX = mTextView.getWidth(); 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/
DTextViewTest.java79 protected void scrollTestApp(int scrollX, int scrollY, boolean scrollTextView, in scrollTestApp() argument
81 super.scrollTestApp(scrollX, scrollY, scrollTextView, scrollScrollView); in scrollTestApp()
88 bundle.putInt(Utils.SCROLL_X_POSITION, scrollX); in scrollTestApp()
DTestStartActivity.java112 public void scrollText(int scrollX, int scrollY, boolean scrollTextView, in scrollText() argument
114 if (scrollX < 0 || scrollY < 0) { in scrollText()
115 scrollX = mTextView.getWidth(); in scrollText()
118 int finalScrollX = scrollX; in scrollText()
DAssistTestBase.java321 protected void scrollTestApp(int scrollX, int scrollY, boolean scrollTextView, in scrollTestApp() argument
323 mTestActivity.scrollText(scrollX, scrollY, scrollTextView, scrollScrollView); in scrollTestApp()
330 intent.putExtra(Utils.SCROLL_X_POSITION, scrollX); in scrollTestApp()
/cts/tests/tests/transition/src/android/transition/cts/
DChangeScrollTest.java70 final int scrollX = view.getScrollX(); in testChangeScroll() local
72 assertTrue(scrollX > 0); in testChangeScroll()
73 assertTrue(scrollX < 150); in testChangeScroll()
/cts/tests/tests/widget/src/android/widget/cts/
DHorizontalScrollViewTest.java679 int scrollX = mScrollViewCustom.getScrollX(); in testRequestChildFocus() local
682 assertTrue(mScrollViewCustom.getScrollX() > scrollX); in testRequestChildFocus()
684 scrollX = mScrollViewCustom.getScrollX(); in testRequestChildFocus()
687 assertTrue(mScrollViewCustom.getScrollX() < scrollX); in testRequestChildFocus()