Home
last modified time | relevance | path

Searched refs:scrollX (Results 1 – 7 of 7) 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.java95 protected void scrollTestApp(int scrollX, int scrollY, boolean scrollTextView, in scrollTestApp() argument
97 super.scrollTestApp(scrollX, scrollY, scrollTextView, scrollScrollView); in scrollTestApp()
104 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.java406 protected void scrollTestApp(int scrollX, int scrollY, boolean scrollTextView, in scrollTestApp() argument
408 mTestActivity.scrollText(scrollX, scrollY, scrollTextView, scrollScrollView); in scrollTestApp()
415 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.java723 int scrollX = mScrollViewCustom.getScrollX(); in testRequestChildFocus() local
726 assertTrue(mScrollViewCustom.getScrollX() > scrollX); in testRequestChildFocus()
728 scrollX = mScrollViewCustom.getScrollX(); in testRequestChildFocus()
731 assertTrue(mScrollViewCustom.getScrollX() < scrollX); in testRequestChildFocus()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt1440 field public static final int scrollX = 16842962; // 0x10100d2