Home
last modified time | relevance | path

Searched refs:scrollY (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/
DTextViewActivity.java88 int scrollX, scrollY; in onReceive() local
90 scrollY = intent.getIntExtra(Utils.SCROLL_Y_POSITION, 0); in onReceive()
92 Log.i(TAG, "Scrolling textview to (" + scrollX + "," + scrollY + ")"); in onReceive()
93 if (scrollX < 0 || scrollY < 0) { in onReceive()
96 scrollY = mTextView.getLayout().getLineTop(mTextView.getLineCount()) in onReceive()
99 TextViewActivity.this.mTextView.scrollTo(scrollX, scrollY); in onReceive()
101 Log.i(TAG, "Scrolling scrollview to (" + scrollX + "," + scrollY + ")"); in onReceive()
102 if (scrollX < 0 || scrollY < 0) { in onReceive()
107 TextViewActivity.this.mScrollView.scrollTo(scrollX, scrollY); in onReceive()
/cts/tests/tests/assist/src/android/assist/cts/
DTestStartActivity.java145 public void scrollText(int scrollX, int scrollY, boolean scrollTextView, in scrollText() argument
148 if (scrollX < 0 || scrollY < 0) { in scrollText()
150scrollY = mTextView.getLayout().getLineTop(mTextView.getLineCount()) - mTextView.getHeight(); in scrollText()
152 Log.i(TAG, "Scrolling text view to " + scrollX + ", " + scrollY); in scrollText()
153 mTextView.scrollTo(scrollX, scrollY); in scrollText()
155 if (scrollX < 0 || scrollY < 0) { in scrollText()
160 Log.i(TAG, "Scrolling scroll view to " + scrollX + ", " + scrollY); in scrollText()
161 mScrollView.scrollTo(scrollX, scrollY); in scrollText()
DAssistTestBase.java231 protected void scrollTestApp(int scrollX, int scrollY, boolean scrollTextView, in scrollTestApp() argument
233 mTestActivity.scrollText(scrollX, scrollY, scrollTextView, scrollScrollView); in scrollTestApp()
241 intent.putExtra(Utils.SCROLL_Y_POSITION, scrollY); in scrollTestApp()
/cts/tests/tests/transition/src/android/transition/cts/
DChangeScrollTest.java55 final int scrollY = view.getScrollY(); in testChangeScroll()
58 assertTrue(scrollY > 0); in testChangeScroll()
59 assertTrue(scrollY < 300); in testChangeScroll()
/cts/tests/tests/widget/src/android/widget/cts/
DScrollViewTest.java683 int scrollY = mScrollView.getScrollY(); in testRequestChildFocus() local
686 assertTrue(mScrollView.getScrollY() > scrollY); in testRequestChildFocus()
688 scrollY = mScrollView.getScrollY(); in testRequestChildFocus()
691 assertTrue(mScrollView.getScrollY() < scrollY); in testRequestChildFocus()
/cts/tests/tests/text/src/android/text/method/cts/
DScrollingMovementMethodTest.java816 int scrollY = mTextView.getScrollY();
818 assertTrue(layout.getLineForVertical(scrollY) <= line);
819 assertTrue(layout.getLineForVertical(scrollY + mTextView.getHeight() - padding) >= line);
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java2696 int scrollY = previousScrollY;
2704 int oldScrollY = scrollY;
2705 scrollY = mOnUiThread.getScrollY();
2706 scrollChanging = (scrollY != oldScrollY);
2707 scrollChanged = (scrollY != previousScrollY);
/cts/tools/dex-tools/dex/
Dclasses.out.dex1004 public static final int scrollY
110252 public static final int scrollY